pulp-python-client 3.10.0__py3-none-any.whl → 3.11.1__py3-none-any.whl
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.
Potentially problematic release.
This version of pulp-python-client might be problematic. Click here for more details.
- {pulp_python_client-3.10.0.dist-info → pulp_python_client-3.11.1.dist-info}/METADATA +6 -8
- {pulp_python_client-3.10.0.dist-info → pulp_python_client-3.11.1.dist-info}/RECORD +34 -30
- {pulp_python_client-3.10.0.dist-info → pulp_python_client-3.11.1.dist-info}/WHEEL +1 -1
- pulpcore/client/pulp_python/__init__.py +5 -1
- pulpcore/client/pulp_python/api/content_packages_api.py +19 -9
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +281 -2
- pulpcore/client/pulp_python/api/publications_pypi_api.py +5 -0
- pulpcore/client/pulp_python/api/remotes_python_api.py +279 -0
- pulpcore/client/pulp_python/api/repositories_python_api.py +279 -0
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +5 -0
- pulpcore/client/pulp_python/api_client.py +1 -1
- pulpcore/client/pulp_python/configuration.py +3 -3
- pulpcore/client/pulp_python/models/__init__.py +4 -0
- pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +6 -4
- pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +6 -4
- pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +6 -4
- pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +6 -4
- pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +6 -4
- pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +6 -4
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +29 -1
- pulpcore/client/pulp_python/models/python_python_distribution.py +29 -1
- pulpcore/client/pulp_python/models/python_python_distribution_response.py +57 -1
- pulpcore/client/pulp_python/models/python_python_package_content.py +33 -33
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +29 -1
- pulpcore/client/pulp_python/models/python_python_publication_response.py +29 -1
- pulpcore/client/pulp_python/models/python_python_remote_response.py +29 -29
- pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields.py +6 -4
- pulpcore/client/pulp_python/models/python_python_repository_response.py +29 -1
- pulpcore/client/pulp_python/models/repository_version_response.py +29 -1
- pulpcore/client/pulp_python/models/set_label.py +153 -0
- pulpcore/client/pulp_python/models/set_label_response.py +150 -0
- pulpcore/client/pulp_python/models/unset_label.py +128 -0
- pulpcore/client/pulp_python/models/unset_label_response.py +151 -0
- {pulp_python_client-3.10.0.dist-info → pulp_python_client-3.11.1.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,7 @@ class PatchedpythonPythonDistribution(object):
|
|
|
36
36
|
openapi_types = {
|
|
37
37
|
'base_path': 'str',
|
|
38
38
|
'content_guard': 'str',
|
|
39
|
+
'hidden': 'bool',
|
|
39
40
|
'pulp_labels': 'dict(str, str)',
|
|
40
41
|
'name': 'str',
|
|
41
42
|
'repository': 'str',
|
|
@@ -47,6 +48,7 @@ class PatchedpythonPythonDistribution(object):
|
|
|
47
48
|
attribute_map = {
|
|
48
49
|
'base_path': 'base_path',
|
|
49
50
|
'content_guard': 'content_guard',
|
|
51
|
+
'hidden': 'hidden',
|
|
50
52
|
'pulp_labels': 'pulp_labels',
|
|
51
53
|
'name': 'name',
|
|
52
54
|
'repository': 'repository',
|
|
@@ -55,7 +57,7 @@ class PatchedpythonPythonDistribution(object):
|
|
|
55
57
|
'remote': 'remote'
|
|
56
58
|
}
|
|
57
59
|
|
|
58
|
-
def __init__(self, base_path=None, content_guard=None, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
|
|
60
|
+
def __init__(self, base_path=None, content_guard=None, hidden=False, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
|
|
59
61
|
"""PatchedpythonPythonDistribution - a model defined in OpenAPI""" # noqa: E501
|
|
60
62
|
if local_vars_configuration is None:
|
|
61
63
|
local_vars_configuration = Configuration()
|
|
@@ -63,6 +65,7 @@ class PatchedpythonPythonDistribution(object):
|
|
|
63
65
|
|
|
64
66
|
self._base_path = None
|
|
65
67
|
self._content_guard = None
|
|
68
|
+
self._hidden = None
|
|
66
69
|
self._pulp_labels = None
|
|
67
70
|
self._name = None
|
|
68
71
|
self._repository = None
|
|
@@ -74,6 +77,8 @@ class PatchedpythonPythonDistribution(object):
|
|
|
74
77
|
if base_path is not None:
|
|
75
78
|
self.base_path = base_path
|
|
76
79
|
self.content_guard = content_guard
|
|
80
|
+
if hidden is not None:
|
|
81
|
+
self.hidden = hidden
|
|
77
82
|
if pulp_labels is not None:
|
|
78
83
|
self.pulp_labels = pulp_labels
|
|
79
84
|
if name is not None:
|
|
@@ -133,6 +138,29 @@ class PatchedpythonPythonDistribution(object):
|
|
|
133
138
|
|
|
134
139
|
self._content_guard = content_guard
|
|
135
140
|
|
|
141
|
+
@property
|
|
142
|
+
def hidden(self):
|
|
143
|
+
"""Gets the hidden of this PatchedpythonPythonDistribution. # noqa: E501
|
|
144
|
+
|
|
145
|
+
Whether this distribution should be shown in the content app. # noqa: E501
|
|
146
|
+
|
|
147
|
+
:return: The hidden of this PatchedpythonPythonDistribution. # noqa: E501
|
|
148
|
+
:rtype: bool
|
|
149
|
+
"""
|
|
150
|
+
return self._hidden
|
|
151
|
+
|
|
152
|
+
@hidden.setter
|
|
153
|
+
def hidden(self, hidden):
|
|
154
|
+
"""Sets the hidden of this PatchedpythonPythonDistribution.
|
|
155
|
+
|
|
156
|
+
Whether this distribution should be shown in the content app. # noqa: E501
|
|
157
|
+
|
|
158
|
+
:param hidden: The hidden of this PatchedpythonPythonDistribution. # noqa: E501
|
|
159
|
+
:type: bool
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._hidden = hidden
|
|
163
|
+
|
|
136
164
|
@property
|
|
137
165
|
def pulp_labels(self):
|
|
138
166
|
"""Gets the pulp_labels of this PatchedpythonPythonDistribution. # noqa: E501
|
|
@@ -36,6 +36,7 @@ class PythonPythonDistribution(object):
|
|
|
36
36
|
openapi_types = {
|
|
37
37
|
'base_path': 'str',
|
|
38
38
|
'content_guard': 'str',
|
|
39
|
+
'hidden': 'bool',
|
|
39
40
|
'pulp_labels': 'dict(str, str)',
|
|
40
41
|
'name': 'str',
|
|
41
42
|
'repository': 'str',
|
|
@@ -47,6 +48,7 @@ class PythonPythonDistribution(object):
|
|
|
47
48
|
attribute_map = {
|
|
48
49
|
'base_path': 'base_path',
|
|
49
50
|
'content_guard': 'content_guard',
|
|
51
|
+
'hidden': 'hidden',
|
|
50
52
|
'pulp_labels': 'pulp_labels',
|
|
51
53
|
'name': 'name',
|
|
52
54
|
'repository': 'repository',
|
|
@@ -55,7 +57,7 @@ class PythonPythonDistribution(object):
|
|
|
55
57
|
'remote': 'remote'
|
|
56
58
|
}
|
|
57
59
|
|
|
58
|
-
def __init__(self, base_path=None, content_guard=None, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
|
|
60
|
+
def __init__(self, base_path=None, content_guard=None, hidden=False, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
|
|
59
61
|
"""PythonPythonDistribution - a model defined in OpenAPI""" # noqa: E501
|
|
60
62
|
if local_vars_configuration is None:
|
|
61
63
|
local_vars_configuration = Configuration()
|
|
@@ -63,6 +65,7 @@ class PythonPythonDistribution(object):
|
|
|
63
65
|
|
|
64
66
|
self._base_path = None
|
|
65
67
|
self._content_guard = None
|
|
68
|
+
self._hidden = None
|
|
66
69
|
self._pulp_labels = None
|
|
67
70
|
self._name = None
|
|
68
71
|
self._repository = None
|
|
@@ -73,6 +76,8 @@ class PythonPythonDistribution(object):
|
|
|
73
76
|
|
|
74
77
|
self.base_path = base_path
|
|
75
78
|
self.content_guard = content_guard
|
|
79
|
+
if hidden is not None:
|
|
80
|
+
self.hidden = hidden
|
|
76
81
|
if pulp_labels is not None:
|
|
77
82
|
self.pulp_labels = pulp_labels
|
|
78
83
|
self.name = name
|
|
@@ -133,6 +138,29 @@ class PythonPythonDistribution(object):
|
|
|
133
138
|
|
|
134
139
|
self._content_guard = content_guard
|
|
135
140
|
|
|
141
|
+
@property
|
|
142
|
+
def hidden(self):
|
|
143
|
+
"""Gets the hidden of this PythonPythonDistribution. # noqa: E501
|
|
144
|
+
|
|
145
|
+
Whether this distribution should be shown in the content app. # noqa: E501
|
|
146
|
+
|
|
147
|
+
:return: The hidden of this PythonPythonDistribution. # noqa: E501
|
|
148
|
+
:rtype: bool
|
|
149
|
+
"""
|
|
150
|
+
return self._hidden
|
|
151
|
+
|
|
152
|
+
@hidden.setter
|
|
153
|
+
def hidden(self, hidden):
|
|
154
|
+
"""Sets the hidden of this PythonPythonDistribution.
|
|
155
|
+
|
|
156
|
+
Whether this distribution should be shown in the content app. # noqa: E501
|
|
157
|
+
|
|
158
|
+
:param hidden: The hidden of this PythonPythonDistribution. # noqa: E501
|
|
159
|
+
:type: bool
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._hidden = hidden
|
|
163
|
+
|
|
136
164
|
@property
|
|
137
165
|
def pulp_labels(self):
|
|
138
166
|
"""Gets the pulp_labels of this PythonPythonDistribution. # noqa: E501
|
|
@@ -36,9 +36,11 @@ class PythonPythonDistributionResponse(object):
|
|
|
36
36
|
openapi_types = {
|
|
37
37
|
'pulp_href': 'str',
|
|
38
38
|
'pulp_created': 'datetime',
|
|
39
|
+
'pulp_last_updated': 'datetime',
|
|
39
40
|
'base_path': 'str',
|
|
40
41
|
'base_url': 'str',
|
|
41
42
|
'content_guard': 'str',
|
|
43
|
+
'hidden': 'bool',
|
|
42
44
|
'pulp_labels': 'dict(str, str)',
|
|
43
45
|
'name': 'str',
|
|
44
46
|
'repository': 'str',
|
|
@@ -50,9 +52,11 @@ class PythonPythonDistributionResponse(object):
|
|
|
50
52
|
attribute_map = {
|
|
51
53
|
'pulp_href': 'pulp_href',
|
|
52
54
|
'pulp_created': 'pulp_created',
|
|
55
|
+
'pulp_last_updated': 'pulp_last_updated',
|
|
53
56
|
'base_path': 'base_path',
|
|
54
57
|
'base_url': 'base_url',
|
|
55
58
|
'content_guard': 'content_guard',
|
|
59
|
+
'hidden': 'hidden',
|
|
56
60
|
'pulp_labels': 'pulp_labels',
|
|
57
61
|
'name': 'name',
|
|
58
62
|
'repository': 'repository',
|
|
@@ -61,7 +65,7 @@ class PythonPythonDistributionResponse(object):
|
|
|
61
65
|
'remote': 'remote'
|
|
62
66
|
}
|
|
63
67
|
|
|
64
|
-
def __init__(self, pulp_href=None, pulp_created=None, base_path=None, base_url=None, content_guard=None, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
|
|
68
|
+
def __init__(self, pulp_href=None, pulp_created=None, pulp_last_updated=None, base_path=None, base_url=None, content_guard=None, hidden=False, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
|
|
65
69
|
"""PythonPythonDistributionResponse - a model defined in OpenAPI""" # noqa: E501
|
|
66
70
|
if local_vars_configuration is None:
|
|
67
71
|
local_vars_configuration = Configuration()
|
|
@@ -69,9 +73,11 @@ class PythonPythonDistributionResponse(object):
|
|
|
69
73
|
|
|
70
74
|
self._pulp_href = None
|
|
71
75
|
self._pulp_created = None
|
|
76
|
+
self._pulp_last_updated = None
|
|
72
77
|
self._base_path = None
|
|
73
78
|
self._base_url = None
|
|
74
79
|
self._content_guard = None
|
|
80
|
+
self._hidden = None
|
|
75
81
|
self._pulp_labels = None
|
|
76
82
|
self._name = None
|
|
77
83
|
self._repository = None
|
|
@@ -84,10 +90,14 @@ class PythonPythonDistributionResponse(object):
|
|
|
84
90
|
self.pulp_href = pulp_href
|
|
85
91
|
if pulp_created is not None:
|
|
86
92
|
self.pulp_created = pulp_created
|
|
93
|
+
if pulp_last_updated is not None:
|
|
94
|
+
self.pulp_last_updated = pulp_last_updated
|
|
87
95
|
self.base_path = base_path
|
|
88
96
|
if base_url is not None:
|
|
89
97
|
self.base_url = base_url
|
|
90
98
|
self.content_guard = content_guard
|
|
99
|
+
if hidden is not None:
|
|
100
|
+
self.hidden = hidden
|
|
91
101
|
if pulp_labels is not None:
|
|
92
102
|
self.pulp_labels = pulp_labels
|
|
93
103
|
self.name = name
|
|
@@ -141,6 +151,29 @@ class PythonPythonDistributionResponse(object):
|
|
|
141
151
|
|
|
142
152
|
self._pulp_created = pulp_created
|
|
143
153
|
|
|
154
|
+
@property
|
|
155
|
+
def pulp_last_updated(self):
|
|
156
|
+
"""Gets the pulp_last_updated of this PythonPythonDistributionResponse. # noqa: E501
|
|
157
|
+
|
|
158
|
+
Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. # noqa: E501
|
|
159
|
+
|
|
160
|
+
:return: The pulp_last_updated of this PythonPythonDistributionResponse. # noqa: E501
|
|
161
|
+
:rtype: datetime
|
|
162
|
+
"""
|
|
163
|
+
return self._pulp_last_updated
|
|
164
|
+
|
|
165
|
+
@pulp_last_updated.setter
|
|
166
|
+
def pulp_last_updated(self, pulp_last_updated):
|
|
167
|
+
"""Sets the pulp_last_updated of this PythonPythonDistributionResponse.
|
|
168
|
+
|
|
169
|
+
Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. # noqa: E501
|
|
170
|
+
|
|
171
|
+
:param pulp_last_updated: The pulp_last_updated of this PythonPythonDistributionResponse. # noqa: E501
|
|
172
|
+
:type: datetime
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
self._pulp_last_updated = pulp_last_updated
|
|
176
|
+
|
|
144
177
|
@property
|
|
145
178
|
def base_path(self):
|
|
146
179
|
"""Gets the base_path of this PythonPythonDistributionResponse. # noqa: E501
|
|
@@ -210,6 +243,29 @@ class PythonPythonDistributionResponse(object):
|
|
|
210
243
|
|
|
211
244
|
self._content_guard = content_guard
|
|
212
245
|
|
|
246
|
+
@property
|
|
247
|
+
def hidden(self):
|
|
248
|
+
"""Gets the hidden of this PythonPythonDistributionResponse. # noqa: E501
|
|
249
|
+
|
|
250
|
+
Whether this distribution should be shown in the content app. # noqa: E501
|
|
251
|
+
|
|
252
|
+
:return: The hidden of this PythonPythonDistributionResponse. # noqa: E501
|
|
253
|
+
:rtype: bool
|
|
254
|
+
"""
|
|
255
|
+
return self._hidden
|
|
256
|
+
|
|
257
|
+
@hidden.setter
|
|
258
|
+
def hidden(self, hidden):
|
|
259
|
+
"""Sets the hidden of this PythonPythonDistributionResponse.
|
|
260
|
+
|
|
261
|
+
Whether this distribution should be shown in the content app. # noqa: E501
|
|
262
|
+
|
|
263
|
+
:param hidden: The hidden of this PythonPythonDistributionResponse. # noqa: E501
|
|
264
|
+
:type: bool
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
self._hidden = hidden
|
|
268
|
+
|
|
213
269
|
@property
|
|
214
270
|
def pulp_labels(self):
|
|
215
271
|
"""Gets the pulp_labels of this PythonPythonDistributionResponse. # noqa: E501
|
|
@@ -34,10 +34,10 @@ class PythonPythonPackageContent(object):
|
|
|
34
34
|
and the value is json key in definition.
|
|
35
35
|
"""
|
|
36
36
|
openapi_types = {
|
|
37
|
+
'repository': 'str',
|
|
37
38
|
'artifact': 'str',
|
|
38
39
|
'relative_path': 'str',
|
|
39
40
|
'file': 'file',
|
|
40
|
-
'repository': 'str',
|
|
41
41
|
'upload': 'str',
|
|
42
42
|
'sha256': 'str',
|
|
43
43
|
'summary': 'str',
|
|
@@ -64,10 +64,10 @@ class PythonPythonPackageContent(object):
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
attribute_map = {
|
|
67
|
+
'repository': 'repository',
|
|
67
68
|
'artifact': 'artifact',
|
|
68
69
|
'relative_path': 'relative_path',
|
|
69
70
|
'file': 'file',
|
|
70
|
-
'repository': 'repository',
|
|
71
71
|
'upload': 'upload',
|
|
72
72
|
'sha256': 'sha256',
|
|
73
73
|
'summary': 'summary',
|
|
@@ -93,16 +93,16 @@ class PythonPythonPackageContent(object):
|
|
|
93
93
|
'classifiers': 'classifiers'
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
def __init__(self,
|
|
96
|
+
def __init__(self, repository=None, artifact=None, relative_path=None, file=None, upload=None, sha256='', summary=None, description=None, description_content_type=None, keywords=None, home_page=None, download_url=None, author=None, author_email=None, maintainer=None, maintainer_email=None, license=None, requires_python=None, project_url=None, project_urls=None, platform=None, supported_platform=None, requires_dist=None, provides_dist=None, obsoletes_dist=None, requires_external=None, classifiers=None, local_vars_configuration=None): # noqa: E501
|
|
97
97
|
"""PythonPythonPackageContent - a model defined in OpenAPI""" # noqa: E501
|
|
98
98
|
if local_vars_configuration is None:
|
|
99
99
|
local_vars_configuration = Configuration()
|
|
100
100
|
self.local_vars_configuration = local_vars_configuration
|
|
101
101
|
|
|
102
|
+
self._repository = None
|
|
102
103
|
self._artifact = None
|
|
103
104
|
self._relative_path = None
|
|
104
105
|
self._file = None
|
|
105
|
-
self._repository = None
|
|
106
106
|
self._upload = None
|
|
107
107
|
self._sha256 = None
|
|
108
108
|
self._summary = None
|
|
@@ -128,13 +128,13 @@ class PythonPythonPackageContent(object):
|
|
|
128
128
|
self._classifiers = None
|
|
129
129
|
self.discriminator = None
|
|
130
130
|
|
|
131
|
+
if repository is not None:
|
|
132
|
+
self.repository = repository
|
|
131
133
|
if artifact is not None:
|
|
132
134
|
self.artifact = artifact
|
|
133
135
|
self.relative_path = relative_path
|
|
134
136
|
if file is not None:
|
|
135
137
|
self.file = file
|
|
136
|
-
if repository is not None:
|
|
137
|
-
self.repository = repository
|
|
138
138
|
if upload is not None:
|
|
139
139
|
self.upload = upload
|
|
140
140
|
if sha256 is not None:
|
|
@@ -182,6 +182,29 @@ class PythonPythonPackageContent(object):
|
|
|
182
182
|
if classifiers is not None:
|
|
183
183
|
self.classifiers = classifiers
|
|
184
184
|
|
|
185
|
+
@property
|
|
186
|
+
def repository(self):
|
|
187
|
+
"""Gets the repository of this PythonPythonPackageContent. # noqa: E501
|
|
188
|
+
|
|
189
|
+
A URI of a repository the new content unit should be associated with. # noqa: E501
|
|
190
|
+
|
|
191
|
+
:return: The repository of this PythonPythonPackageContent. # noqa: E501
|
|
192
|
+
:rtype: str
|
|
193
|
+
"""
|
|
194
|
+
return self._repository
|
|
195
|
+
|
|
196
|
+
@repository.setter
|
|
197
|
+
def repository(self, repository):
|
|
198
|
+
"""Sets the repository of this PythonPythonPackageContent.
|
|
199
|
+
|
|
200
|
+
A URI of a repository the new content unit should be associated with. # noqa: E501
|
|
201
|
+
|
|
202
|
+
:param repository: The repository of this PythonPythonPackageContent. # noqa: E501
|
|
203
|
+
:type: str
|
|
204
|
+
"""
|
|
205
|
+
|
|
206
|
+
self._repository = repository
|
|
207
|
+
|
|
185
208
|
@property
|
|
186
209
|
def artifact(self):
|
|
187
210
|
"""Gets the artifact of this PythonPythonPackageContent. # noqa: E501
|
|
@@ -237,7 +260,7 @@ class PythonPythonPackageContent(object):
|
|
|
237
260
|
def file(self):
|
|
238
261
|
"""Gets the file of this PythonPythonPackageContent. # noqa: E501
|
|
239
262
|
|
|
240
|
-
An uploaded file that may be turned into the
|
|
263
|
+
An uploaded file that may be turned into the content unit. # noqa: E501
|
|
241
264
|
|
|
242
265
|
:return: The file of this PythonPythonPackageContent. # noqa: E501
|
|
243
266
|
:rtype: file
|
|
@@ -248,7 +271,7 @@ class PythonPythonPackageContent(object):
|
|
|
248
271
|
def file(self, file):
|
|
249
272
|
"""Sets the file of this PythonPythonPackageContent.
|
|
250
273
|
|
|
251
|
-
An uploaded file that may be turned into the
|
|
274
|
+
An uploaded file that may be turned into the content unit. # noqa: E501
|
|
252
275
|
|
|
253
276
|
:param file: The file of this PythonPythonPackageContent. # noqa: E501
|
|
254
277
|
:type: file
|
|
@@ -256,34 +279,11 @@ class PythonPythonPackageContent(object):
|
|
|
256
279
|
|
|
257
280
|
self._file = file
|
|
258
281
|
|
|
259
|
-
@property
|
|
260
|
-
def repository(self):
|
|
261
|
-
"""Gets the repository of this PythonPythonPackageContent. # noqa: E501
|
|
262
|
-
|
|
263
|
-
A URI of a repository the new content unit should be associated with. # noqa: E501
|
|
264
|
-
|
|
265
|
-
:return: The repository of this PythonPythonPackageContent. # noqa: E501
|
|
266
|
-
:rtype: str
|
|
267
|
-
"""
|
|
268
|
-
return self._repository
|
|
269
|
-
|
|
270
|
-
@repository.setter
|
|
271
|
-
def repository(self, repository):
|
|
272
|
-
"""Sets the repository of this PythonPythonPackageContent.
|
|
273
|
-
|
|
274
|
-
A URI of a repository the new content unit should be associated with. # noqa: E501
|
|
275
|
-
|
|
276
|
-
:param repository: The repository of this PythonPythonPackageContent. # noqa: E501
|
|
277
|
-
:type: str
|
|
278
|
-
"""
|
|
279
|
-
|
|
280
|
-
self._repository = repository
|
|
281
|
-
|
|
282
282
|
@property
|
|
283
283
|
def upload(self):
|
|
284
284
|
"""Gets the upload of this PythonPythonPackageContent. # noqa: E501
|
|
285
285
|
|
|
286
|
-
An uncommitted upload that may be turned into the
|
|
286
|
+
An uncommitted upload that may be turned into the content unit. # noqa: E501
|
|
287
287
|
|
|
288
288
|
:return: The upload of this PythonPythonPackageContent. # noqa: E501
|
|
289
289
|
:rtype: str
|
|
@@ -294,7 +294,7 @@ class PythonPythonPackageContent(object):
|
|
|
294
294
|
def upload(self, upload):
|
|
295
295
|
"""Sets the upload of this PythonPythonPackageContent.
|
|
296
296
|
|
|
297
|
-
An uncommitted upload that may be turned into the
|
|
297
|
+
An uncommitted upload that may be turned into the content unit. # noqa: E501
|
|
298
298
|
|
|
299
299
|
:param upload: The upload of this PythonPythonPackageContent. # noqa: E501
|
|
300
300
|
:type: str
|
|
@@ -36,6 +36,7 @@ class PythonPythonPackageContentResponse(object):
|
|
|
36
36
|
openapi_types = {
|
|
37
37
|
'pulp_href': 'str',
|
|
38
38
|
'pulp_created': 'datetime',
|
|
39
|
+
'pulp_last_updated': 'datetime',
|
|
39
40
|
'artifact': 'str',
|
|
40
41
|
'filename': 'str',
|
|
41
42
|
'packagetype': 'str',
|
|
@@ -69,6 +70,7 @@ class PythonPythonPackageContentResponse(object):
|
|
|
69
70
|
attribute_map = {
|
|
70
71
|
'pulp_href': 'pulp_href',
|
|
71
72
|
'pulp_created': 'pulp_created',
|
|
73
|
+
'pulp_last_updated': 'pulp_last_updated',
|
|
72
74
|
'artifact': 'artifact',
|
|
73
75
|
'filename': 'filename',
|
|
74
76
|
'packagetype': 'packagetype',
|
|
@@ -99,7 +101,7 @@ class PythonPythonPackageContentResponse(object):
|
|
|
99
101
|
'classifiers': 'classifiers'
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
def __init__(self, pulp_href=None, pulp_created=None, artifact=None, filename=None, packagetype=None, name=None, version=None, sha256='', metadata_version=None, summary=None, description=None, description_content_type=None, keywords=None, home_page=None, download_url=None, author=None, author_email=None, maintainer=None, maintainer_email=None, license=None, requires_python=None, project_url=None, project_urls=None, platform=None, supported_platform=None, requires_dist=None, provides_dist=None, obsoletes_dist=None, requires_external=None, classifiers=None, local_vars_configuration=None): # noqa: E501
|
|
104
|
+
def __init__(self, pulp_href=None, pulp_created=None, pulp_last_updated=None, artifact=None, filename=None, packagetype=None, name=None, version=None, sha256='', metadata_version=None, summary=None, description=None, description_content_type=None, keywords=None, home_page=None, download_url=None, author=None, author_email=None, maintainer=None, maintainer_email=None, license=None, requires_python=None, project_url=None, project_urls=None, platform=None, supported_platform=None, requires_dist=None, provides_dist=None, obsoletes_dist=None, requires_external=None, classifiers=None, local_vars_configuration=None): # noqa: E501
|
|
103
105
|
"""PythonPythonPackageContentResponse - a model defined in OpenAPI""" # noqa: E501
|
|
104
106
|
if local_vars_configuration is None:
|
|
105
107
|
local_vars_configuration = Configuration()
|
|
@@ -107,6 +109,7 @@ class PythonPythonPackageContentResponse(object):
|
|
|
107
109
|
|
|
108
110
|
self._pulp_href = None
|
|
109
111
|
self._pulp_created = None
|
|
112
|
+
self._pulp_last_updated = None
|
|
110
113
|
self._artifact = None
|
|
111
114
|
self._filename = None
|
|
112
115
|
self._packagetype = None
|
|
@@ -141,6 +144,8 @@ class PythonPythonPackageContentResponse(object):
|
|
|
141
144
|
self.pulp_href = pulp_href
|
|
142
145
|
if pulp_created is not None:
|
|
143
146
|
self.pulp_created = pulp_created
|
|
147
|
+
if pulp_last_updated is not None:
|
|
148
|
+
self.pulp_last_updated = pulp_last_updated
|
|
144
149
|
if artifact is not None:
|
|
145
150
|
self.artifact = artifact
|
|
146
151
|
if filename is not None:
|
|
@@ -242,6 +247,29 @@ class PythonPythonPackageContentResponse(object):
|
|
|
242
247
|
|
|
243
248
|
self._pulp_created = pulp_created
|
|
244
249
|
|
|
250
|
+
@property
|
|
251
|
+
def pulp_last_updated(self):
|
|
252
|
+
"""Gets the pulp_last_updated of this PythonPythonPackageContentResponse. # noqa: E501
|
|
253
|
+
|
|
254
|
+
Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. # noqa: E501
|
|
255
|
+
|
|
256
|
+
:return: The pulp_last_updated of this PythonPythonPackageContentResponse. # noqa: E501
|
|
257
|
+
:rtype: datetime
|
|
258
|
+
"""
|
|
259
|
+
return self._pulp_last_updated
|
|
260
|
+
|
|
261
|
+
@pulp_last_updated.setter
|
|
262
|
+
def pulp_last_updated(self, pulp_last_updated):
|
|
263
|
+
"""Sets the pulp_last_updated of this PythonPythonPackageContentResponse.
|
|
264
|
+
|
|
265
|
+
Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. # noqa: E501
|
|
266
|
+
|
|
267
|
+
:param pulp_last_updated: The pulp_last_updated of this PythonPythonPackageContentResponse. # noqa: E501
|
|
268
|
+
:type: datetime
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
self._pulp_last_updated = pulp_last_updated
|
|
272
|
+
|
|
245
273
|
@property
|
|
246
274
|
def artifact(self):
|
|
247
275
|
"""Gets the artifact of this PythonPythonPackageContentResponse. # noqa: E501
|
|
@@ -36,6 +36,7 @@ class PythonPythonPublicationResponse(object):
|
|
|
36
36
|
openapi_types = {
|
|
37
37
|
'pulp_href': 'str',
|
|
38
38
|
'pulp_created': 'datetime',
|
|
39
|
+
'pulp_last_updated': 'datetime',
|
|
39
40
|
'repository_version': 'str',
|
|
40
41
|
'repository': 'str',
|
|
41
42
|
'distributions': 'list[str]'
|
|
@@ -44,12 +45,13 @@ class PythonPythonPublicationResponse(object):
|
|
|
44
45
|
attribute_map = {
|
|
45
46
|
'pulp_href': 'pulp_href',
|
|
46
47
|
'pulp_created': 'pulp_created',
|
|
48
|
+
'pulp_last_updated': 'pulp_last_updated',
|
|
47
49
|
'repository_version': 'repository_version',
|
|
48
50
|
'repository': 'repository',
|
|
49
51
|
'distributions': 'distributions'
|
|
50
52
|
}
|
|
51
53
|
|
|
52
|
-
def __init__(self, pulp_href=None, pulp_created=None, repository_version=None, repository=None, distributions=None, local_vars_configuration=None): # noqa: E501
|
|
54
|
+
def __init__(self, pulp_href=None, pulp_created=None, pulp_last_updated=None, repository_version=None, repository=None, distributions=None, local_vars_configuration=None): # noqa: E501
|
|
53
55
|
"""PythonPythonPublicationResponse - a model defined in OpenAPI""" # noqa: E501
|
|
54
56
|
if local_vars_configuration is None:
|
|
55
57
|
local_vars_configuration = Configuration()
|
|
@@ -57,6 +59,7 @@ class PythonPythonPublicationResponse(object):
|
|
|
57
59
|
|
|
58
60
|
self._pulp_href = None
|
|
59
61
|
self._pulp_created = None
|
|
62
|
+
self._pulp_last_updated = None
|
|
60
63
|
self._repository_version = None
|
|
61
64
|
self._repository = None
|
|
62
65
|
self._distributions = None
|
|
@@ -66,6 +69,8 @@ class PythonPythonPublicationResponse(object):
|
|
|
66
69
|
self.pulp_href = pulp_href
|
|
67
70
|
if pulp_created is not None:
|
|
68
71
|
self.pulp_created = pulp_created
|
|
72
|
+
if pulp_last_updated is not None:
|
|
73
|
+
self.pulp_last_updated = pulp_last_updated
|
|
69
74
|
if repository_version is not None:
|
|
70
75
|
self.repository_version = repository_version
|
|
71
76
|
if repository is not None:
|
|
@@ -117,6 +122,29 @@ class PythonPythonPublicationResponse(object):
|
|
|
117
122
|
|
|
118
123
|
self._pulp_created = pulp_created
|
|
119
124
|
|
|
125
|
+
@property
|
|
126
|
+
def pulp_last_updated(self):
|
|
127
|
+
"""Gets the pulp_last_updated of this PythonPythonPublicationResponse. # noqa: E501
|
|
128
|
+
|
|
129
|
+
Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. # noqa: E501
|
|
130
|
+
|
|
131
|
+
:return: The pulp_last_updated of this PythonPythonPublicationResponse. # noqa: E501
|
|
132
|
+
:rtype: datetime
|
|
133
|
+
"""
|
|
134
|
+
return self._pulp_last_updated
|
|
135
|
+
|
|
136
|
+
@pulp_last_updated.setter
|
|
137
|
+
def pulp_last_updated(self, pulp_last_updated):
|
|
138
|
+
"""Sets the pulp_last_updated of this PythonPythonPublicationResponse.
|
|
139
|
+
|
|
140
|
+
Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. # noqa: E501
|
|
141
|
+
|
|
142
|
+
:param pulp_last_updated: The pulp_last_updated of this PythonPythonPublicationResponse. # noqa: E501
|
|
143
|
+
:type: datetime
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._pulp_last_updated = pulp_last_updated
|
|
147
|
+
|
|
120
148
|
@property
|
|
121
149
|
def repository_version(self):
|
|
122
150
|
"""Gets the repository_version of this PythonPythonPublicationResponse. # noqa: E501
|