pulp-python-client 3.12.4__py3-none-any.whl → 3.13.0__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.13.0.dist-info/METADATA +17 -0
- pulp_python_client-3.13.0.dist-info/RECORD +64 -0
- {pulp_python_client-3.12.4.dist-info → pulp_python_client-3.13.0.dist-info}/WHEEL +1 -1
- pulpcore/client/pulp_python/__init__.py +9 -10
- pulpcore/client/pulp_python/api/__init__.py +1 -2
- pulpcore/client/pulp_python/api/content_packages_api.py +1800 -655
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +3755 -1474
- pulpcore/client/pulp_python/api/publications_pypi_api.py +2574 -982
- pulpcore/client/pulp_python/api/pypi_api.py +302 -128
- pulpcore/client/pulp_python/api/pypi_legacy_api.py +326 -153
- pulpcore/client/pulp_python/api/pypi_metadata_api.py +319 -139
- pulpcore/client/pulp_python/api/pypi_simple_api.py +899 -382
- pulpcore/client/pulp_python/api/remotes_python_api.py +4092 -1589
- pulpcore/client/pulp_python/api/repositories_python_api.py +4380 -1719
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +1526 -561
- pulpcore/client/pulp_python/api_client.py +444 -313
- pulpcore/client/pulp_python/api_response.py +21 -0
- pulpcore/client/pulp_python/configuration.py +266 -73
- pulpcore/client/pulp_python/exceptions.py +99 -20
- pulpcore/client/pulp_python/models/__init__.py +5 -8
- pulpcore/client/pulp_python/models/async_operation_response.py +60 -96
- pulpcore/client/pulp_python/models/content_summary_response.py +70 -154
- pulpcore/client/pulp_python/models/exclude_platforms_enum.py +19 -82
- pulpcore/client/pulp_python/models/my_permissions_response.py +60 -94
- pulpcore/client/pulp_python/models/nested_role.py +71 -155
- pulpcore/client/pulp_python/models/nested_role_response.py +70 -152
- pulpcore/client/pulp_python/models/object_roles_response.py +70 -96
- pulpcore/client/pulp_python/models/package_metadata_response.py +91 -191
- pulpcore/client/pulp_python/models/package_types_enum.py +23 -86
- pulpcore/client/pulp_python/models/package_upload_task_response.py +85 -154
- pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +94 -181
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +108 -330
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py +204 -864
- pulpcore/client/pulp_python/models/patchedpython_python_repository.py +96 -249
- pulpcore/client/pulp_python/models/policy_enum.py +18 -81
- pulpcore/client/pulp_python/models/python_python_distribution.py +108 -332
- pulpcore/client/pulp_python/models/python_python_distribution_response.py +132 -490
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +182 -972
- pulpcore/client/pulp_python/models/python_python_publication.py +68 -127
- pulpcore/client/pulp_python/models/python_python_publication_response.py +93 -269
- pulpcore/client/pulp_python/models/python_python_remote.py +204 -866
- pulpcore/client/pulp_python/models/python_python_remote_response.py +198 -839
- pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +90 -0
- pulpcore/client/pulp_python/models/python_python_repository.py +96 -250
- pulpcore/client/pulp_python/models/python_python_repository_response.py +122 -407
- pulpcore/client/pulp_python/models/repair.py +60 -95
- pulpcore/client/pulp_python/models/repository_add_remove_content.py +71 -157
- pulpcore/client/pulp_python/models/repository_sync_url.py +68 -129
- pulpcore/client/pulp_python/models/repository_version_response.py +104 -296
- pulpcore/client/pulp_python/models/set_label.py +80 -130
- pulpcore/client/pulp_python/models/set_label_response.py +80 -127
- pulpcore/client/pulp_python/models/summary_response.py +70 -160
- pulpcore/client/pulp_python/models/unset_label.py +75 -107
- pulpcore/client/pulp_python/models/unset_label_response.py +78 -129
- pulpcore/client/pulp_python/py.typed +0 -0
- pulpcore/client/pulp_python/rest.py +136 -170
- pulp_python_client-3.12.4.dist-info/METADATA +0 -17
- pulp_python_client-3.12.4.dist-info/RECORD +0 -65
- pulpcore/client/pulp_python/models/package_upload.py +0 -190
- pulpcore/client/pulp_python/models/python_bander_remote.py +0 -184
- pulpcore/client/pulp_python/models/python_python_package_content.py +0 -889
- pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields.py +0 -149
- {pulp_python_client-3.12.4.dist-info → pulp_python_client-3.13.0.dist-info}/top_level.txt +0 -0
|
@@ -1,889 +0,0 @@
|
|
|
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
|
-
import pprint
|
|
15
|
-
import re # noqa: F401
|
|
16
|
-
|
|
17
|
-
import six
|
|
18
|
-
|
|
19
|
-
from pulpcore.client.pulp_python.configuration import Configuration
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class PythonPythonPackageContent(object):
|
|
23
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
24
|
-
Ref: https://openapi-generator.tech
|
|
25
|
-
|
|
26
|
-
Do not edit the class manually.
|
|
27
|
-
"""
|
|
28
|
-
|
|
29
|
-
"""
|
|
30
|
-
Attributes:
|
|
31
|
-
openapi_types (dict): The key is attribute name
|
|
32
|
-
and the value is attribute type.
|
|
33
|
-
attribute_map (dict): The key is attribute name
|
|
34
|
-
and the value is json key in definition.
|
|
35
|
-
"""
|
|
36
|
-
openapi_types = {
|
|
37
|
-
'repository': 'str',
|
|
38
|
-
'artifact': 'str',
|
|
39
|
-
'relative_path': 'str',
|
|
40
|
-
'file': 'file',
|
|
41
|
-
'upload': 'str',
|
|
42
|
-
'file_url': 'str',
|
|
43
|
-
'sha256': 'str',
|
|
44
|
-
'summary': 'str',
|
|
45
|
-
'description': 'str',
|
|
46
|
-
'description_content_type': 'str',
|
|
47
|
-
'keywords': 'str',
|
|
48
|
-
'home_page': 'str',
|
|
49
|
-
'download_url': 'str',
|
|
50
|
-
'author': 'str',
|
|
51
|
-
'author_email': 'str',
|
|
52
|
-
'maintainer': 'str',
|
|
53
|
-
'maintainer_email': 'str',
|
|
54
|
-
'license': 'str',
|
|
55
|
-
'requires_python': 'str',
|
|
56
|
-
'project_url': 'str',
|
|
57
|
-
'project_urls': 'object',
|
|
58
|
-
'platform': 'str',
|
|
59
|
-
'supported_platform': 'str',
|
|
60
|
-
'requires_dist': 'object',
|
|
61
|
-
'provides_dist': 'object',
|
|
62
|
-
'obsoletes_dist': 'object',
|
|
63
|
-
'requires_external': 'object',
|
|
64
|
-
'classifiers': 'object'
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
attribute_map = {
|
|
68
|
-
'repository': 'repository',
|
|
69
|
-
'artifact': 'artifact',
|
|
70
|
-
'relative_path': 'relative_path',
|
|
71
|
-
'file': 'file',
|
|
72
|
-
'upload': 'upload',
|
|
73
|
-
'file_url': 'file_url',
|
|
74
|
-
'sha256': 'sha256',
|
|
75
|
-
'summary': 'summary',
|
|
76
|
-
'description': 'description',
|
|
77
|
-
'description_content_type': 'description_content_type',
|
|
78
|
-
'keywords': 'keywords',
|
|
79
|
-
'home_page': 'home_page',
|
|
80
|
-
'download_url': 'download_url',
|
|
81
|
-
'author': 'author',
|
|
82
|
-
'author_email': 'author_email',
|
|
83
|
-
'maintainer': 'maintainer',
|
|
84
|
-
'maintainer_email': 'maintainer_email',
|
|
85
|
-
'license': 'license',
|
|
86
|
-
'requires_python': 'requires_python',
|
|
87
|
-
'project_url': 'project_url',
|
|
88
|
-
'project_urls': 'project_urls',
|
|
89
|
-
'platform': 'platform',
|
|
90
|
-
'supported_platform': 'supported_platform',
|
|
91
|
-
'requires_dist': 'requires_dist',
|
|
92
|
-
'provides_dist': 'provides_dist',
|
|
93
|
-
'obsoletes_dist': 'obsoletes_dist',
|
|
94
|
-
'requires_external': 'requires_external',
|
|
95
|
-
'classifiers': 'classifiers'
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
def __init__(self, repository=None, artifact=None, relative_path=None, file=None, upload=None, file_url=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
|
|
99
|
-
"""PythonPythonPackageContent - a model defined in OpenAPI""" # noqa: E501
|
|
100
|
-
if local_vars_configuration is None:
|
|
101
|
-
local_vars_configuration = Configuration()
|
|
102
|
-
self.local_vars_configuration = local_vars_configuration
|
|
103
|
-
|
|
104
|
-
self._repository = None
|
|
105
|
-
self._artifact = None
|
|
106
|
-
self._relative_path = None
|
|
107
|
-
self._file = None
|
|
108
|
-
self._upload = None
|
|
109
|
-
self._file_url = None
|
|
110
|
-
self._sha256 = None
|
|
111
|
-
self._summary = None
|
|
112
|
-
self._description = None
|
|
113
|
-
self._description_content_type = None
|
|
114
|
-
self._keywords = None
|
|
115
|
-
self._home_page = None
|
|
116
|
-
self._download_url = None
|
|
117
|
-
self._author = None
|
|
118
|
-
self._author_email = None
|
|
119
|
-
self._maintainer = None
|
|
120
|
-
self._maintainer_email = None
|
|
121
|
-
self._license = None
|
|
122
|
-
self._requires_python = None
|
|
123
|
-
self._project_url = None
|
|
124
|
-
self._project_urls = None
|
|
125
|
-
self._platform = None
|
|
126
|
-
self._supported_platform = None
|
|
127
|
-
self._requires_dist = None
|
|
128
|
-
self._provides_dist = None
|
|
129
|
-
self._obsoletes_dist = None
|
|
130
|
-
self._requires_external = None
|
|
131
|
-
self._classifiers = None
|
|
132
|
-
self.discriminator = None
|
|
133
|
-
|
|
134
|
-
if repository is not None:
|
|
135
|
-
self.repository = repository
|
|
136
|
-
if artifact is not None:
|
|
137
|
-
self.artifact = artifact
|
|
138
|
-
self.relative_path = relative_path
|
|
139
|
-
if file is not None:
|
|
140
|
-
self.file = file
|
|
141
|
-
if upload is not None:
|
|
142
|
-
self.upload = upload
|
|
143
|
-
if file_url is not None:
|
|
144
|
-
self.file_url = file_url
|
|
145
|
-
if sha256 is not None:
|
|
146
|
-
self.sha256 = sha256
|
|
147
|
-
if summary is not None:
|
|
148
|
-
self.summary = summary
|
|
149
|
-
if description is not None:
|
|
150
|
-
self.description = description
|
|
151
|
-
if description_content_type is not None:
|
|
152
|
-
self.description_content_type = description_content_type
|
|
153
|
-
if keywords is not None:
|
|
154
|
-
self.keywords = keywords
|
|
155
|
-
if home_page is not None:
|
|
156
|
-
self.home_page = home_page
|
|
157
|
-
if download_url is not None:
|
|
158
|
-
self.download_url = download_url
|
|
159
|
-
if author is not None:
|
|
160
|
-
self.author = author
|
|
161
|
-
if author_email is not None:
|
|
162
|
-
self.author_email = author_email
|
|
163
|
-
if maintainer is not None:
|
|
164
|
-
self.maintainer = maintainer
|
|
165
|
-
if maintainer_email is not None:
|
|
166
|
-
self.maintainer_email = maintainer_email
|
|
167
|
-
if license is not None:
|
|
168
|
-
self.license = license
|
|
169
|
-
if requires_python is not None:
|
|
170
|
-
self.requires_python = requires_python
|
|
171
|
-
if project_url is not None:
|
|
172
|
-
self.project_url = project_url
|
|
173
|
-
if project_urls is not None:
|
|
174
|
-
self.project_urls = project_urls
|
|
175
|
-
if platform is not None:
|
|
176
|
-
self.platform = platform
|
|
177
|
-
if supported_platform is not None:
|
|
178
|
-
self.supported_platform = supported_platform
|
|
179
|
-
if requires_dist is not None:
|
|
180
|
-
self.requires_dist = requires_dist
|
|
181
|
-
if provides_dist is not None:
|
|
182
|
-
self.provides_dist = provides_dist
|
|
183
|
-
if obsoletes_dist is not None:
|
|
184
|
-
self.obsoletes_dist = obsoletes_dist
|
|
185
|
-
if requires_external is not None:
|
|
186
|
-
self.requires_external = requires_external
|
|
187
|
-
if classifiers is not None:
|
|
188
|
-
self.classifiers = classifiers
|
|
189
|
-
|
|
190
|
-
@property
|
|
191
|
-
def repository(self):
|
|
192
|
-
"""Gets the repository of this PythonPythonPackageContent. # noqa: E501
|
|
193
|
-
|
|
194
|
-
A URI of a repository the new content unit should be associated with. # noqa: E501
|
|
195
|
-
|
|
196
|
-
:return: The repository of this PythonPythonPackageContent. # noqa: E501
|
|
197
|
-
:rtype: str
|
|
198
|
-
"""
|
|
199
|
-
return self._repository
|
|
200
|
-
|
|
201
|
-
@repository.setter
|
|
202
|
-
def repository(self, repository):
|
|
203
|
-
"""Sets the repository of this PythonPythonPackageContent.
|
|
204
|
-
|
|
205
|
-
A URI of a repository the new content unit should be associated with. # noqa: E501
|
|
206
|
-
|
|
207
|
-
:param repository: The repository of this PythonPythonPackageContent. # noqa: E501
|
|
208
|
-
:type: str
|
|
209
|
-
"""
|
|
210
|
-
|
|
211
|
-
self._repository = repository
|
|
212
|
-
|
|
213
|
-
@property
|
|
214
|
-
def artifact(self):
|
|
215
|
-
"""Gets the artifact of this PythonPythonPackageContent. # noqa: E501
|
|
216
|
-
|
|
217
|
-
Artifact file representing the physical content # noqa: E501
|
|
218
|
-
|
|
219
|
-
:return: The artifact of this PythonPythonPackageContent. # noqa: E501
|
|
220
|
-
:rtype: str
|
|
221
|
-
"""
|
|
222
|
-
return self._artifact
|
|
223
|
-
|
|
224
|
-
@artifact.setter
|
|
225
|
-
def artifact(self, artifact):
|
|
226
|
-
"""Sets the artifact of this PythonPythonPackageContent.
|
|
227
|
-
|
|
228
|
-
Artifact file representing the physical content # noqa: E501
|
|
229
|
-
|
|
230
|
-
:param artifact: The artifact of this PythonPythonPackageContent. # noqa: E501
|
|
231
|
-
:type: str
|
|
232
|
-
"""
|
|
233
|
-
|
|
234
|
-
self._artifact = artifact
|
|
235
|
-
|
|
236
|
-
@property
|
|
237
|
-
def relative_path(self):
|
|
238
|
-
"""Gets the relative_path of this PythonPythonPackageContent. # noqa: E501
|
|
239
|
-
|
|
240
|
-
Path where the artifact is located relative to distributions base_path # noqa: E501
|
|
241
|
-
|
|
242
|
-
:return: The relative_path of this PythonPythonPackageContent. # noqa: E501
|
|
243
|
-
:rtype: str
|
|
244
|
-
"""
|
|
245
|
-
return self._relative_path
|
|
246
|
-
|
|
247
|
-
@relative_path.setter
|
|
248
|
-
def relative_path(self, relative_path):
|
|
249
|
-
"""Sets the relative_path of this PythonPythonPackageContent.
|
|
250
|
-
|
|
251
|
-
Path where the artifact is located relative to distributions base_path # noqa: E501
|
|
252
|
-
|
|
253
|
-
:param relative_path: The relative_path of this PythonPythonPackageContent. # noqa: E501
|
|
254
|
-
:type: str
|
|
255
|
-
"""
|
|
256
|
-
if self.local_vars_configuration.client_side_validation and relative_path is None: # noqa: E501
|
|
257
|
-
raise ValueError("Invalid value for `relative_path`, must not be `None`") # noqa: E501
|
|
258
|
-
if (self.local_vars_configuration.client_side_validation and
|
|
259
|
-
relative_path is not None and len(relative_path) < 1):
|
|
260
|
-
raise ValueError("Invalid value for `relative_path`, length must be greater than or equal to `1`") # noqa: E501
|
|
261
|
-
|
|
262
|
-
self._relative_path = relative_path
|
|
263
|
-
|
|
264
|
-
@property
|
|
265
|
-
def file(self):
|
|
266
|
-
"""Gets the file of this PythonPythonPackageContent. # noqa: E501
|
|
267
|
-
|
|
268
|
-
An uploaded file that may be turned into the content unit. # noqa: E501
|
|
269
|
-
|
|
270
|
-
:return: The file of this PythonPythonPackageContent. # noqa: E501
|
|
271
|
-
:rtype: file
|
|
272
|
-
"""
|
|
273
|
-
return self._file
|
|
274
|
-
|
|
275
|
-
@file.setter
|
|
276
|
-
def file(self, file):
|
|
277
|
-
"""Sets the file of this PythonPythonPackageContent.
|
|
278
|
-
|
|
279
|
-
An uploaded file that may be turned into the content unit. # noqa: E501
|
|
280
|
-
|
|
281
|
-
:param file: The file of this PythonPythonPackageContent. # noqa: E501
|
|
282
|
-
:type: file
|
|
283
|
-
"""
|
|
284
|
-
|
|
285
|
-
self._file = file
|
|
286
|
-
|
|
287
|
-
@property
|
|
288
|
-
def upload(self):
|
|
289
|
-
"""Gets the upload of this PythonPythonPackageContent. # noqa: E501
|
|
290
|
-
|
|
291
|
-
An uncommitted upload that may be turned into the content unit. # noqa: E501
|
|
292
|
-
|
|
293
|
-
:return: The upload of this PythonPythonPackageContent. # noqa: E501
|
|
294
|
-
:rtype: str
|
|
295
|
-
"""
|
|
296
|
-
return self._upload
|
|
297
|
-
|
|
298
|
-
@upload.setter
|
|
299
|
-
def upload(self, upload):
|
|
300
|
-
"""Sets the upload of this PythonPythonPackageContent.
|
|
301
|
-
|
|
302
|
-
An uncommitted upload that may be turned into the content unit. # noqa: E501
|
|
303
|
-
|
|
304
|
-
:param upload: The upload of this PythonPythonPackageContent. # noqa: E501
|
|
305
|
-
:type: str
|
|
306
|
-
"""
|
|
307
|
-
|
|
308
|
-
self._upload = upload
|
|
309
|
-
|
|
310
|
-
@property
|
|
311
|
-
def file_url(self):
|
|
312
|
-
"""Gets the file_url of this PythonPythonPackageContent. # noqa: E501
|
|
313
|
-
|
|
314
|
-
A url that Pulp can download and turn into the content unit. # noqa: E501
|
|
315
|
-
|
|
316
|
-
:return: The file_url of this PythonPythonPackageContent. # noqa: E501
|
|
317
|
-
:rtype: str
|
|
318
|
-
"""
|
|
319
|
-
return self._file_url
|
|
320
|
-
|
|
321
|
-
@file_url.setter
|
|
322
|
-
def file_url(self, file_url):
|
|
323
|
-
"""Sets the file_url of this PythonPythonPackageContent.
|
|
324
|
-
|
|
325
|
-
A url that Pulp can download and turn into the content unit. # noqa: E501
|
|
326
|
-
|
|
327
|
-
:param file_url: The file_url of this PythonPythonPackageContent. # noqa: E501
|
|
328
|
-
:type: str
|
|
329
|
-
"""
|
|
330
|
-
if (self.local_vars_configuration.client_side_validation and
|
|
331
|
-
file_url is not None and len(file_url) < 1):
|
|
332
|
-
raise ValueError("Invalid value for `file_url`, length must be greater than or equal to `1`") # noqa: E501
|
|
333
|
-
|
|
334
|
-
self._file_url = file_url
|
|
335
|
-
|
|
336
|
-
@property
|
|
337
|
-
def sha256(self):
|
|
338
|
-
"""Gets the sha256 of this PythonPythonPackageContent. # noqa: E501
|
|
339
|
-
|
|
340
|
-
The SHA256 digest of this package. # noqa: E501
|
|
341
|
-
|
|
342
|
-
:return: The sha256 of this PythonPythonPackageContent. # noqa: E501
|
|
343
|
-
:rtype: str
|
|
344
|
-
"""
|
|
345
|
-
return self._sha256
|
|
346
|
-
|
|
347
|
-
@sha256.setter
|
|
348
|
-
def sha256(self, sha256):
|
|
349
|
-
"""Sets the sha256 of this PythonPythonPackageContent.
|
|
350
|
-
|
|
351
|
-
The SHA256 digest of this package. # noqa: E501
|
|
352
|
-
|
|
353
|
-
:param sha256: The sha256 of this PythonPythonPackageContent. # noqa: E501
|
|
354
|
-
:type: str
|
|
355
|
-
"""
|
|
356
|
-
if (self.local_vars_configuration.client_side_validation and
|
|
357
|
-
sha256 is not None and len(sha256) < 1):
|
|
358
|
-
raise ValueError("Invalid value for `sha256`, length must be greater than or equal to `1`") # noqa: E501
|
|
359
|
-
|
|
360
|
-
self._sha256 = sha256
|
|
361
|
-
|
|
362
|
-
@property
|
|
363
|
-
def summary(self):
|
|
364
|
-
"""Gets the summary of this PythonPythonPackageContent. # noqa: E501
|
|
365
|
-
|
|
366
|
-
A one-line summary of what the package does. # noqa: E501
|
|
367
|
-
|
|
368
|
-
:return: The summary of this PythonPythonPackageContent. # noqa: E501
|
|
369
|
-
:rtype: str
|
|
370
|
-
"""
|
|
371
|
-
return self._summary
|
|
372
|
-
|
|
373
|
-
@summary.setter
|
|
374
|
-
def summary(self, summary):
|
|
375
|
-
"""Sets the summary of this PythonPythonPackageContent.
|
|
376
|
-
|
|
377
|
-
A one-line summary of what the package does. # noqa: E501
|
|
378
|
-
|
|
379
|
-
:param summary: The summary of this PythonPythonPackageContent. # noqa: E501
|
|
380
|
-
:type: str
|
|
381
|
-
"""
|
|
382
|
-
|
|
383
|
-
self._summary = summary
|
|
384
|
-
|
|
385
|
-
@property
|
|
386
|
-
def description(self):
|
|
387
|
-
"""Gets the description of this PythonPythonPackageContent. # noqa: E501
|
|
388
|
-
|
|
389
|
-
A longer description of the package that can run to several paragraphs. # noqa: E501
|
|
390
|
-
|
|
391
|
-
:return: The description of this PythonPythonPackageContent. # noqa: E501
|
|
392
|
-
:rtype: str
|
|
393
|
-
"""
|
|
394
|
-
return self._description
|
|
395
|
-
|
|
396
|
-
@description.setter
|
|
397
|
-
def description(self, description):
|
|
398
|
-
"""Sets the description of this PythonPythonPackageContent.
|
|
399
|
-
|
|
400
|
-
A longer description of the package that can run to several paragraphs. # noqa: E501
|
|
401
|
-
|
|
402
|
-
:param description: The description of this PythonPythonPackageContent. # noqa: E501
|
|
403
|
-
:type: str
|
|
404
|
-
"""
|
|
405
|
-
|
|
406
|
-
self._description = description
|
|
407
|
-
|
|
408
|
-
@property
|
|
409
|
-
def description_content_type(self):
|
|
410
|
-
"""Gets the description_content_type of this PythonPythonPackageContent. # noqa: E501
|
|
411
|
-
|
|
412
|
-
A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. # noqa: E501
|
|
413
|
-
|
|
414
|
-
:return: The description_content_type of this PythonPythonPackageContent. # noqa: E501
|
|
415
|
-
:rtype: str
|
|
416
|
-
"""
|
|
417
|
-
return self._description_content_type
|
|
418
|
-
|
|
419
|
-
@description_content_type.setter
|
|
420
|
-
def description_content_type(self, description_content_type):
|
|
421
|
-
"""Sets the description_content_type of this PythonPythonPackageContent.
|
|
422
|
-
|
|
423
|
-
A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. # noqa: E501
|
|
424
|
-
|
|
425
|
-
:param description_content_type: The description_content_type of this PythonPythonPackageContent. # noqa: E501
|
|
426
|
-
:type: str
|
|
427
|
-
"""
|
|
428
|
-
|
|
429
|
-
self._description_content_type = description_content_type
|
|
430
|
-
|
|
431
|
-
@property
|
|
432
|
-
def keywords(self):
|
|
433
|
-
"""Gets the keywords of this PythonPythonPackageContent. # noqa: E501
|
|
434
|
-
|
|
435
|
-
Additional keywords to be used to assist searching for the package in a larger catalog. # noqa: E501
|
|
436
|
-
|
|
437
|
-
:return: The keywords of this PythonPythonPackageContent. # noqa: E501
|
|
438
|
-
:rtype: str
|
|
439
|
-
"""
|
|
440
|
-
return self._keywords
|
|
441
|
-
|
|
442
|
-
@keywords.setter
|
|
443
|
-
def keywords(self, keywords):
|
|
444
|
-
"""Sets the keywords of this PythonPythonPackageContent.
|
|
445
|
-
|
|
446
|
-
Additional keywords to be used to assist searching for the package in a larger catalog. # noqa: E501
|
|
447
|
-
|
|
448
|
-
:param keywords: The keywords of this PythonPythonPackageContent. # noqa: E501
|
|
449
|
-
:type: str
|
|
450
|
-
"""
|
|
451
|
-
|
|
452
|
-
self._keywords = keywords
|
|
453
|
-
|
|
454
|
-
@property
|
|
455
|
-
def home_page(self):
|
|
456
|
-
"""Gets the home_page of this PythonPythonPackageContent. # noqa: E501
|
|
457
|
-
|
|
458
|
-
The URL for the package's home page. # noqa: E501
|
|
459
|
-
|
|
460
|
-
:return: The home_page of this PythonPythonPackageContent. # noqa: E501
|
|
461
|
-
:rtype: str
|
|
462
|
-
"""
|
|
463
|
-
return self._home_page
|
|
464
|
-
|
|
465
|
-
@home_page.setter
|
|
466
|
-
def home_page(self, home_page):
|
|
467
|
-
"""Sets the home_page of this PythonPythonPackageContent.
|
|
468
|
-
|
|
469
|
-
The URL for the package's home page. # noqa: E501
|
|
470
|
-
|
|
471
|
-
:param home_page: The home_page of this PythonPythonPackageContent. # noqa: E501
|
|
472
|
-
:type: str
|
|
473
|
-
"""
|
|
474
|
-
|
|
475
|
-
self._home_page = home_page
|
|
476
|
-
|
|
477
|
-
@property
|
|
478
|
-
def download_url(self):
|
|
479
|
-
"""Gets the download_url of this PythonPythonPackageContent. # noqa: E501
|
|
480
|
-
|
|
481
|
-
Legacy field denoting the URL from which this package can be downloaded. # noqa: E501
|
|
482
|
-
|
|
483
|
-
:return: The download_url of this PythonPythonPackageContent. # noqa: E501
|
|
484
|
-
:rtype: str
|
|
485
|
-
"""
|
|
486
|
-
return self._download_url
|
|
487
|
-
|
|
488
|
-
@download_url.setter
|
|
489
|
-
def download_url(self, download_url):
|
|
490
|
-
"""Sets the download_url of this PythonPythonPackageContent.
|
|
491
|
-
|
|
492
|
-
Legacy field denoting the URL from which this package can be downloaded. # noqa: E501
|
|
493
|
-
|
|
494
|
-
:param download_url: The download_url of this PythonPythonPackageContent. # noqa: E501
|
|
495
|
-
:type: str
|
|
496
|
-
"""
|
|
497
|
-
|
|
498
|
-
self._download_url = download_url
|
|
499
|
-
|
|
500
|
-
@property
|
|
501
|
-
def author(self):
|
|
502
|
-
"""Gets the author of this PythonPythonPackageContent. # noqa: E501
|
|
503
|
-
|
|
504
|
-
Text containing the author's name. Contact information can also be added, separated with newlines. # noqa: E501
|
|
505
|
-
|
|
506
|
-
:return: The author of this PythonPythonPackageContent. # noqa: E501
|
|
507
|
-
:rtype: str
|
|
508
|
-
"""
|
|
509
|
-
return self._author
|
|
510
|
-
|
|
511
|
-
@author.setter
|
|
512
|
-
def author(self, author):
|
|
513
|
-
"""Sets the author of this PythonPythonPackageContent.
|
|
514
|
-
|
|
515
|
-
Text containing the author's name. Contact information can also be added, separated with newlines. # noqa: E501
|
|
516
|
-
|
|
517
|
-
:param author: The author of this PythonPythonPackageContent. # noqa: E501
|
|
518
|
-
:type: str
|
|
519
|
-
"""
|
|
520
|
-
|
|
521
|
-
self._author = author
|
|
522
|
-
|
|
523
|
-
@property
|
|
524
|
-
def author_email(self):
|
|
525
|
-
"""Gets the author_email of this PythonPythonPackageContent. # noqa: E501
|
|
526
|
-
|
|
527
|
-
The author's e-mail address. # noqa: E501
|
|
528
|
-
|
|
529
|
-
:return: The author_email of this PythonPythonPackageContent. # noqa: E501
|
|
530
|
-
:rtype: str
|
|
531
|
-
"""
|
|
532
|
-
return self._author_email
|
|
533
|
-
|
|
534
|
-
@author_email.setter
|
|
535
|
-
def author_email(self, author_email):
|
|
536
|
-
"""Sets the author_email of this PythonPythonPackageContent.
|
|
537
|
-
|
|
538
|
-
The author's e-mail address. # noqa: E501
|
|
539
|
-
|
|
540
|
-
:param author_email: The author_email of this PythonPythonPackageContent. # noqa: E501
|
|
541
|
-
:type: str
|
|
542
|
-
"""
|
|
543
|
-
|
|
544
|
-
self._author_email = author_email
|
|
545
|
-
|
|
546
|
-
@property
|
|
547
|
-
def maintainer(self):
|
|
548
|
-
"""Gets the maintainer of this PythonPythonPackageContent. # noqa: E501
|
|
549
|
-
|
|
550
|
-
The maintainer's name at a minimum; additional contact information may be provided. # noqa: E501
|
|
551
|
-
|
|
552
|
-
:return: The maintainer of this PythonPythonPackageContent. # noqa: E501
|
|
553
|
-
:rtype: str
|
|
554
|
-
"""
|
|
555
|
-
return self._maintainer
|
|
556
|
-
|
|
557
|
-
@maintainer.setter
|
|
558
|
-
def maintainer(self, maintainer):
|
|
559
|
-
"""Sets the maintainer of this PythonPythonPackageContent.
|
|
560
|
-
|
|
561
|
-
The maintainer's name at a minimum; additional contact information may be provided. # noqa: E501
|
|
562
|
-
|
|
563
|
-
:param maintainer: The maintainer of this PythonPythonPackageContent. # noqa: E501
|
|
564
|
-
:type: str
|
|
565
|
-
"""
|
|
566
|
-
|
|
567
|
-
self._maintainer = maintainer
|
|
568
|
-
|
|
569
|
-
@property
|
|
570
|
-
def maintainer_email(self):
|
|
571
|
-
"""Gets the maintainer_email of this PythonPythonPackageContent. # noqa: E501
|
|
572
|
-
|
|
573
|
-
The maintainer's e-mail address. # noqa: E501
|
|
574
|
-
|
|
575
|
-
:return: The maintainer_email of this PythonPythonPackageContent. # noqa: E501
|
|
576
|
-
:rtype: str
|
|
577
|
-
"""
|
|
578
|
-
return self._maintainer_email
|
|
579
|
-
|
|
580
|
-
@maintainer_email.setter
|
|
581
|
-
def maintainer_email(self, maintainer_email):
|
|
582
|
-
"""Sets the maintainer_email of this PythonPythonPackageContent.
|
|
583
|
-
|
|
584
|
-
The maintainer's e-mail address. # noqa: E501
|
|
585
|
-
|
|
586
|
-
:param maintainer_email: The maintainer_email of this PythonPythonPackageContent. # noqa: E501
|
|
587
|
-
:type: str
|
|
588
|
-
"""
|
|
589
|
-
|
|
590
|
-
self._maintainer_email = maintainer_email
|
|
591
|
-
|
|
592
|
-
@property
|
|
593
|
-
def license(self):
|
|
594
|
-
"""Gets the license of this PythonPythonPackageContent. # noqa: E501
|
|
595
|
-
|
|
596
|
-
Text indicating the license covering the distribution # noqa: E501
|
|
597
|
-
|
|
598
|
-
:return: The license of this PythonPythonPackageContent. # noqa: E501
|
|
599
|
-
:rtype: str
|
|
600
|
-
"""
|
|
601
|
-
return self._license
|
|
602
|
-
|
|
603
|
-
@license.setter
|
|
604
|
-
def license(self, license):
|
|
605
|
-
"""Sets the license of this PythonPythonPackageContent.
|
|
606
|
-
|
|
607
|
-
Text indicating the license covering the distribution # noqa: E501
|
|
608
|
-
|
|
609
|
-
:param license: The license of this PythonPythonPackageContent. # noqa: E501
|
|
610
|
-
:type: str
|
|
611
|
-
"""
|
|
612
|
-
|
|
613
|
-
self._license = license
|
|
614
|
-
|
|
615
|
-
@property
|
|
616
|
-
def requires_python(self):
|
|
617
|
-
"""Gets the requires_python of this PythonPythonPackageContent. # noqa: E501
|
|
618
|
-
|
|
619
|
-
The Python version(s) that the distribution is guaranteed to be compatible with. # noqa: E501
|
|
620
|
-
|
|
621
|
-
:return: The requires_python of this PythonPythonPackageContent. # noqa: E501
|
|
622
|
-
:rtype: str
|
|
623
|
-
"""
|
|
624
|
-
return self._requires_python
|
|
625
|
-
|
|
626
|
-
@requires_python.setter
|
|
627
|
-
def requires_python(self, requires_python):
|
|
628
|
-
"""Sets the requires_python of this PythonPythonPackageContent.
|
|
629
|
-
|
|
630
|
-
The Python version(s) that the distribution is guaranteed to be compatible with. # noqa: E501
|
|
631
|
-
|
|
632
|
-
:param requires_python: The requires_python of this PythonPythonPackageContent. # noqa: E501
|
|
633
|
-
:type: str
|
|
634
|
-
"""
|
|
635
|
-
|
|
636
|
-
self._requires_python = requires_python
|
|
637
|
-
|
|
638
|
-
@property
|
|
639
|
-
def project_url(self):
|
|
640
|
-
"""Gets the project_url of this PythonPythonPackageContent. # noqa: E501
|
|
641
|
-
|
|
642
|
-
A browsable URL for the project and a label for it, separated by a comma. # noqa: E501
|
|
643
|
-
|
|
644
|
-
:return: The project_url of this PythonPythonPackageContent. # noqa: E501
|
|
645
|
-
:rtype: str
|
|
646
|
-
"""
|
|
647
|
-
return self._project_url
|
|
648
|
-
|
|
649
|
-
@project_url.setter
|
|
650
|
-
def project_url(self, project_url):
|
|
651
|
-
"""Sets the project_url of this PythonPythonPackageContent.
|
|
652
|
-
|
|
653
|
-
A browsable URL for the project and a label for it, separated by a comma. # noqa: E501
|
|
654
|
-
|
|
655
|
-
:param project_url: The project_url of this PythonPythonPackageContent. # noqa: E501
|
|
656
|
-
:type: str
|
|
657
|
-
"""
|
|
658
|
-
|
|
659
|
-
self._project_url = project_url
|
|
660
|
-
|
|
661
|
-
@property
|
|
662
|
-
def project_urls(self):
|
|
663
|
-
"""Gets the project_urls of this PythonPythonPackageContent. # noqa: E501
|
|
664
|
-
|
|
665
|
-
A dictionary of labels and URLs for the project. # noqa: E501
|
|
666
|
-
|
|
667
|
-
:return: The project_urls of this PythonPythonPackageContent. # noqa: E501
|
|
668
|
-
:rtype: object
|
|
669
|
-
"""
|
|
670
|
-
return self._project_urls
|
|
671
|
-
|
|
672
|
-
@project_urls.setter
|
|
673
|
-
def project_urls(self, project_urls):
|
|
674
|
-
"""Sets the project_urls of this PythonPythonPackageContent.
|
|
675
|
-
|
|
676
|
-
A dictionary of labels and URLs for the project. # noqa: E501
|
|
677
|
-
|
|
678
|
-
:param project_urls: The project_urls of this PythonPythonPackageContent. # noqa: E501
|
|
679
|
-
:type: object
|
|
680
|
-
"""
|
|
681
|
-
|
|
682
|
-
self._project_urls = project_urls
|
|
683
|
-
|
|
684
|
-
@property
|
|
685
|
-
def platform(self):
|
|
686
|
-
"""Gets the platform of this PythonPythonPackageContent. # noqa: E501
|
|
687
|
-
|
|
688
|
-
A comma-separated list of platform specifications, summarizing the operating systems supported by the package. # noqa: E501
|
|
689
|
-
|
|
690
|
-
:return: The platform of this PythonPythonPackageContent. # noqa: E501
|
|
691
|
-
:rtype: str
|
|
692
|
-
"""
|
|
693
|
-
return self._platform
|
|
694
|
-
|
|
695
|
-
@platform.setter
|
|
696
|
-
def platform(self, platform):
|
|
697
|
-
"""Sets the platform of this PythonPythonPackageContent.
|
|
698
|
-
|
|
699
|
-
A comma-separated list of platform specifications, summarizing the operating systems supported by the package. # noqa: E501
|
|
700
|
-
|
|
701
|
-
:param platform: The platform of this PythonPythonPackageContent. # noqa: E501
|
|
702
|
-
:type: str
|
|
703
|
-
"""
|
|
704
|
-
|
|
705
|
-
self._platform = platform
|
|
706
|
-
|
|
707
|
-
@property
|
|
708
|
-
def supported_platform(self):
|
|
709
|
-
"""Gets the supported_platform of this PythonPythonPackageContent. # noqa: E501
|
|
710
|
-
|
|
711
|
-
Field to specify the OS and CPU for which the binary package was compiled. # noqa: E501
|
|
712
|
-
|
|
713
|
-
:return: The supported_platform of this PythonPythonPackageContent. # noqa: E501
|
|
714
|
-
:rtype: str
|
|
715
|
-
"""
|
|
716
|
-
return self._supported_platform
|
|
717
|
-
|
|
718
|
-
@supported_platform.setter
|
|
719
|
-
def supported_platform(self, supported_platform):
|
|
720
|
-
"""Sets the supported_platform of this PythonPythonPackageContent.
|
|
721
|
-
|
|
722
|
-
Field to specify the OS and CPU for which the binary package was compiled. # noqa: E501
|
|
723
|
-
|
|
724
|
-
:param supported_platform: The supported_platform of this PythonPythonPackageContent. # noqa: E501
|
|
725
|
-
:type: str
|
|
726
|
-
"""
|
|
727
|
-
|
|
728
|
-
self._supported_platform = supported_platform
|
|
729
|
-
|
|
730
|
-
@property
|
|
731
|
-
def requires_dist(self):
|
|
732
|
-
"""Gets the requires_dist of this PythonPythonPackageContent. # noqa: E501
|
|
733
|
-
|
|
734
|
-
A JSON list containing names of some other distutils project required by this distribution. # noqa: E501
|
|
735
|
-
|
|
736
|
-
:return: The requires_dist of this PythonPythonPackageContent. # noqa: E501
|
|
737
|
-
:rtype: object
|
|
738
|
-
"""
|
|
739
|
-
return self._requires_dist
|
|
740
|
-
|
|
741
|
-
@requires_dist.setter
|
|
742
|
-
def requires_dist(self, requires_dist):
|
|
743
|
-
"""Sets the requires_dist of this PythonPythonPackageContent.
|
|
744
|
-
|
|
745
|
-
A JSON list containing names of some other distutils project required by this distribution. # noqa: E501
|
|
746
|
-
|
|
747
|
-
:param requires_dist: The requires_dist of this PythonPythonPackageContent. # noqa: E501
|
|
748
|
-
:type: object
|
|
749
|
-
"""
|
|
750
|
-
|
|
751
|
-
self._requires_dist = requires_dist
|
|
752
|
-
|
|
753
|
-
@property
|
|
754
|
-
def provides_dist(self):
|
|
755
|
-
"""Gets the provides_dist of this PythonPythonPackageContent. # noqa: E501
|
|
756
|
-
|
|
757
|
-
A JSON list containing names of a Distutils project which is contained within this distribution. # noqa: E501
|
|
758
|
-
|
|
759
|
-
:return: The provides_dist of this PythonPythonPackageContent. # noqa: E501
|
|
760
|
-
:rtype: object
|
|
761
|
-
"""
|
|
762
|
-
return self._provides_dist
|
|
763
|
-
|
|
764
|
-
@provides_dist.setter
|
|
765
|
-
def provides_dist(self, provides_dist):
|
|
766
|
-
"""Sets the provides_dist of this PythonPythonPackageContent.
|
|
767
|
-
|
|
768
|
-
A JSON list containing names of a Distutils project which is contained within this distribution. # noqa: E501
|
|
769
|
-
|
|
770
|
-
:param provides_dist: The provides_dist of this PythonPythonPackageContent. # noqa: E501
|
|
771
|
-
:type: object
|
|
772
|
-
"""
|
|
773
|
-
|
|
774
|
-
self._provides_dist = provides_dist
|
|
775
|
-
|
|
776
|
-
@property
|
|
777
|
-
def obsoletes_dist(self):
|
|
778
|
-
"""Gets the obsoletes_dist of this PythonPythonPackageContent. # noqa: E501
|
|
779
|
-
|
|
780
|
-
A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. # noqa: E501
|
|
781
|
-
|
|
782
|
-
:return: The obsoletes_dist of this PythonPythonPackageContent. # noqa: E501
|
|
783
|
-
:rtype: object
|
|
784
|
-
"""
|
|
785
|
-
return self._obsoletes_dist
|
|
786
|
-
|
|
787
|
-
@obsoletes_dist.setter
|
|
788
|
-
def obsoletes_dist(self, obsoletes_dist):
|
|
789
|
-
"""Sets the obsoletes_dist of this PythonPythonPackageContent.
|
|
790
|
-
|
|
791
|
-
A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. # noqa: E501
|
|
792
|
-
|
|
793
|
-
:param obsoletes_dist: The obsoletes_dist of this PythonPythonPackageContent. # noqa: E501
|
|
794
|
-
:type: object
|
|
795
|
-
"""
|
|
796
|
-
|
|
797
|
-
self._obsoletes_dist = obsoletes_dist
|
|
798
|
-
|
|
799
|
-
@property
|
|
800
|
-
def requires_external(self):
|
|
801
|
-
"""Gets the requires_external of this PythonPythonPackageContent. # noqa: E501
|
|
802
|
-
|
|
803
|
-
A JSON list containing some dependency in the system that the distribution is to be used. # noqa: E501
|
|
804
|
-
|
|
805
|
-
:return: The requires_external of this PythonPythonPackageContent. # noqa: E501
|
|
806
|
-
:rtype: object
|
|
807
|
-
"""
|
|
808
|
-
return self._requires_external
|
|
809
|
-
|
|
810
|
-
@requires_external.setter
|
|
811
|
-
def requires_external(self, requires_external):
|
|
812
|
-
"""Sets the requires_external of this PythonPythonPackageContent.
|
|
813
|
-
|
|
814
|
-
A JSON list containing some dependency in the system that the distribution is to be used. # noqa: E501
|
|
815
|
-
|
|
816
|
-
:param requires_external: The requires_external of this PythonPythonPackageContent. # noqa: E501
|
|
817
|
-
:type: object
|
|
818
|
-
"""
|
|
819
|
-
|
|
820
|
-
self._requires_external = requires_external
|
|
821
|
-
|
|
822
|
-
@property
|
|
823
|
-
def classifiers(self):
|
|
824
|
-
"""Gets the classifiers of this PythonPythonPackageContent. # noqa: E501
|
|
825
|
-
|
|
826
|
-
A JSON list containing classification values for a Python package. # noqa: E501
|
|
827
|
-
|
|
828
|
-
:return: The classifiers of this PythonPythonPackageContent. # noqa: E501
|
|
829
|
-
:rtype: object
|
|
830
|
-
"""
|
|
831
|
-
return self._classifiers
|
|
832
|
-
|
|
833
|
-
@classifiers.setter
|
|
834
|
-
def classifiers(self, classifiers):
|
|
835
|
-
"""Sets the classifiers of this PythonPythonPackageContent.
|
|
836
|
-
|
|
837
|
-
A JSON list containing classification values for a Python package. # noqa: E501
|
|
838
|
-
|
|
839
|
-
:param classifiers: The classifiers of this PythonPythonPackageContent. # noqa: E501
|
|
840
|
-
:type: object
|
|
841
|
-
"""
|
|
842
|
-
|
|
843
|
-
self._classifiers = classifiers
|
|
844
|
-
|
|
845
|
-
def to_dict(self):
|
|
846
|
-
"""Returns the model properties as a dict"""
|
|
847
|
-
result = {}
|
|
848
|
-
|
|
849
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
850
|
-
value = getattr(self, attr)
|
|
851
|
-
if isinstance(value, list):
|
|
852
|
-
result[attr] = list(map(
|
|
853
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
854
|
-
value
|
|
855
|
-
))
|
|
856
|
-
elif hasattr(value, "to_dict"):
|
|
857
|
-
result[attr] = value.to_dict()
|
|
858
|
-
elif isinstance(value, dict):
|
|
859
|
-
result[attr] = dict(map(
|
|
860
|
-
lambda item: (item[0], item[1].to_dict())
|
|
861
|
-
if hasattr(item[1], "to_dict") else item,
|
|
862
|
-
value.items()
|
|
863
|
-
))
|
|
864
|
-
else:
|
|
865
|
-
result[attr] = value
|
|
866
|
-
|
|
867
|
-
return result
|
|
868
|
-
|
|
869
|
-
def to_str(self):
|
|
870
|
-
"""Returns the string representation of the model"""
|
|
871
|
-
return pprint.pformat(self.to_dict())
|
|
872
|
-
|
|
873
|
-
def __repr__(self):
|
|
874
|
-
"""For `print` and `pprint`"""
|
|
875
|
-
return self.to_str()
|
|
876
|
-
|
|
877
|
-
def __eq__(self, other):
|
|
878
|
-
"""Returns true if both objects are equal"""
|
|
879
|
-
if not isinstance(other, PythonPythonPackageContent):
|
|
880
|
-
return False
|
|
881
|
-
|
|
882
|
-
return self.to_dict() == other.to_dict()
|
|
883
|
-
|
|
884
|
-
def __ne__(self, other):
|
|
885
|
-
"""Returns true if both objects are not equal"""
|
|
886
|
-
if not isinstance(other, PythonPythonPackageContent):
|
|
887
|
-
return True
|
|
888
|
-
|
|
889
|
-
return self.to_dict() != other.to_dict()
|