pulp_python_client 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -4
  3. data/build/lib/pulpcore/__init__.py +2 -0
  4. data/build/lib/pulpcore/client/__init__.py +2 -0
  5. data/build/lib/pulpcore/client/pulp_python/__init__.py +75 -0
  6. data/build/lib/pulpcore/client/pulp_python/api/__init__.py +15 -0
  7. data/build/lib/pulpcore/client/pulp_python/api/content_packages_api.py +626 -0
  8. data/build/lib/pulpcore/client/pulp_python/api/distributions_pypi_api.py +830 -0
  9. data/build/lib/pulpcore/client/pulp_python/api/publications_pypi_api.py +566 -0
  10. data/build/lib/pulpcore/client/pulp_python/api/pypi_api.py +162 -0
  11. data/build/lib/pulpcore/client/pulp_python/api/pypi_legacy_api.py +185 -0
  12. data/build/lib/pulpcore/client/pulp_python/api/pypi_metadata_api.py +171 -0
  13. data/build/lib/pulpcore/client/pulp_python/api/pypi_simple_api.py +434 -0
  14. data/build/lib/pulpcore/client/pulp_python/api/remotes_python_api.py +972 -0
  15. data/build/lib/pulpcore/client/pulp_python/api/repositories_python_api.py +1063 -0
  16. data/build/lib/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +614 -0
  17. data/build/lib/pulpcore/client/pulp_python/api_client.py +667 -0
  18. data/build/lib/pulpcore/client/pulp_python/configuration.py +427 -0
  19. data/build/lib/pulpcore/client/pulp_python/exceptions.py +121 -0
  20. data/build/lib/pulpcore/client/pulp_python/models/__init__.py +51 -0
  21. data/build/lib/pulpcore/client/pulp_python/models/async_operation_response.py +124 -0
  22. data/build/lib/pulpcore/client/pulp_python/models/content_summary.py +176 -0
  23. data/build/lib/pulpcore/client/pulp_python/models/content_summary_response.py +176 -0
  24. data/build/lib/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +103 -0
  25. data/build/lib/pulpcore/client/pulp_python/models/package_metadata_response.py +209 -0
  26. data/build/lib/pulpcore/client/pulp_python/models/package_types_enum.py +107 -0
  27. data/build/lib/pulpcore/client/pulp_python/models/package_upload.py +187 -0
  28. data/build/lib/pulpcore/client/pulp_python/models/package_upload_task_response.py +176 -0
  29. data/build/lib/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +197 -0
  30. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +197 -0
  31. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +197 -0
  32. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +197 -0
  33. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +197 -0
  34. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +197 -0
  35. data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +286 -0
  36. data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +823 -0
  37. data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +259 -0
  38. data/build/lib/pulpcore/client/pulp_python/models/policy_enum.py +102 -0
  39. data/build/lib/pulpcore/client/pulp_python/models/python_bander_remote.py +181 -0
  40. data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution.py +288 -0
  41. data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution_response.py +368 -0
  42. data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content.py +824 -0
  43. data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content_response.py +933 -0
  44. data/build/lib/pulpcore/client/pulp_python/models/python_python_publication.py +149 -0
  45. data/build/lib/pulpcore/client/pulp_python/models/python_python_publication_response.py +231 -0
  46. data/build/lib/pulpcore/client/pulp_python/models/python_python_remote.py +825 -0
  47. data/build/lib/pulpcore/client/pulp_python/models/python_python_remote_response.py +772 -0
  48. data/build/lib/pulpcore/client/pulp_python/models/python_python_repository.py +260 -0
  49. data/build/lib/pulpcore/client/pulp_python/models/python_python_repository_response.py +366 -0
  50. data/build/lib/pulpcore/client/pulp_python/models/repository_add_remove_content.py +179 -0
  51. data/build/lib/pulpcore/client/pulp_python/models/repository_sync_url.py +151 -0
  52. data/build/lib/pulpcore/client/pulp_python/models/repository_version.py +123 -0
  53. data/build/lib/pulpcore/client/pulp_python/models/repository_version_response.py +257 -0
  54. data/build/lib/pulpcore/client/pulp_python/models/summary_response.py +182 -0
  55. data/build/lib/pulpcore/client/pulp_python/rest.py +292 -0
  56. data/dist/pulp_python-client-3.4.0.tar.gz +0 -0
  57. data/dist/pulp_python_client-3.4.0-py3-none-any.whl +0 -0
  58. data/docs/ContentPackagesApi.md +6 -0
  59. data/docs/DistributionsPypiApi.md +2 -2
  60. data/docs/PackageMetadataResponse.md +23 -0
  61. data/docs/PackageUpload.md +21 -0
  62. data/docs/PackageUploadTaskResponse.md +21 -0
  63. data/docs/PatchedpythonPythonDistribution.md +3 -1
  64. data/docs/PatchedpythonPythonRemote.md +1 -1
  65. data/docs/PublicationsPypiApi.md +1 -1
  66. data/docs/PypiApi.md +62 -0
  67. data/docs/PypiLegacyApi.md +70 -0
  68. data/docs/PypiMetadataApi.md +64 -0
  69. data/docs/PypiSimpleApi.md +190 -0
  70. data/docs/PythonBanderRemote.md +1 -1
  71. data/docs/PythonPythonDistribution.md +3 -1
  72. data/docs/PythonPythonDistributionResponse.md +4 -2
  73. data/docs/PythonPythonPackageContent.md +6 -0
  74. data/docs/PythonPythonPackageContentResponse.md +5 -1
  75. data/docs/PythonPythonRemote.md +1 -1
  76. data/docs/PythonPythonRemoteResponse.md +1 -1
  77. data/docs/RemotesPythonApi.md +3 -3
  78. data/docs/RepositoriesPythonApi.md +4 -4
  79. data/docs/SummaryResponse.md +21 -0
  80. data/lib/pulp_python_client/api/content_packages_api.rb +9 -0
  81. data/lib/pulp_python_client/api/distributions_pypi_api.rb +4 -4
  82. data/lib/pulp_python_client/api/publications_pypi_api.rb +2 -2
  83. data/lib/pulp_python_client/api/pypi_api.rb +90 -0
  84. data/lib/pulp_python_client/api/pypi_legacy_api.rb +111 -0
  85. data/lib/pulp_python_client/api/pypi_metadata_api.rb +96 -0
  86. data/lib/pulp_python_client/api/pypi_simple_api.rb +249 -0
  87. data/lib/pulp_python_client/api/remotes_python_api.rb +4 -4
  88. data/lib/pulp_python_client/api/repositories_python_api.rb +8 -8
  89. data/lib/pulp_python_client/models/package_metadata_response.rb +257 -0
  90. data/lib/pulp_python_client/models/package_upload.rb +268 -0
  91. data/lib/pulp_python_client/models/package_upload_task_response.rb +240 -0
  92. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +17 -5
  93. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
  94. data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
  95. data/lib/pulp_python_client/models/python_python_distribution.rb +17 -5
  96. data/lib/pulp_python_client/models/python_python_distribution_response.rb +17 -6
  97. data/lib/pulp_python_client/models/python_python_package_content.rb +33 -1
  98. data/lib/pulp_python_client/models/python_python_package_content_response.rb +23 -1
  99. data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
  100. data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
  101. data/lib/pulp_python_client/models/summary_response.rb +243 -0
  102. data/lib/pulp_python_client/version.rb +1 -1
  103. data/lib/pulp_python_client.rb +8 -0
  104. data/pulp_python_client.egg-info/PKG-INFO +15 -0
  105. data/pulp_python_client.egg-info/SOURCES.txt +105 -0
  106. data/pulp_python_client.egg-info/dependency_links.txt +1 -0
  107. data/pulp_python_client.egg-info/requires.txt +4 -0
  108. data/pulp_python_client.egg-info/top_level.txt +1 -0
  109. data/pulpcore/__init__.py +2 -0
  110. data/pulpcore/client/__init__.py +2 -0
  111. data/pulpcore/client/pulp_python/__init__.py +75 -0
  112. data/pulpcore/client/pulp_python/api/__init__.py +15 -0
  113. data/pulpcore/client/pulp_python/api/content_packages_api.py +626 -0
  114. data/pulpcore/client/pulp_python/api/distributions_pypi_api.py +830 -0
  115. data/pulpcore/client/pulp_python/api/publications_pypi_api.py +566 -0
  116. data/pulpcore/client/pulp_python/api/pypi_api.py +162 -0
  117. data/pulpcore/client/pulp_python/api/pypi_legacy_api.py +185 -0
  118. data/pulpcore/client/pulp_python/api/pypi_metadata_api.py +171 -0
  119. data/pulpcore/client/pulp_python/api/pypi_simple_api.py +434 -0
  120. data/pulpcore/client/pulp_python/api/remotes_python_api.py +972 -0
  121. data/pulpcore/client/pulp_python/api/repositories_python_api.py +1063 -0
  122. data/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +614 -0
  123. data/pulpcore/client/pulp_python/api_client.py +667 -0
  124. data/pulpcore/client/pulp_python/configuration.py +427 -0
  125. data/pulpcore/client/pulp_python/exceptions.py +121 -0
  126. data/pulpcore/client/pulp_python/models/__init__.py +51 -0
  127. data/pulpcore/client/pulp_python/models/async_operation_response.py +124 -0
  128. data/pulpcore/client/pulp_python/models/content_summary.py +176 -0
  129. data/pulpcore/client/pulp_python/models/content_summary_response.py +176 -0
  130. data/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +103 -0
  131. data/pulpcore/client/pulp_python/models/package_metadata_response.py +209 -0
  132. data/pulpcore/client/pulp_python/models/package_types_enum.py +107 -0
  133. data/pulpcore/client/pulp_python/models/package_upload.py +187 -0
  134. data/pulpcore/client/pulp_python/models/package_upload_task_response.py +176 -0
  135. data/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +197 -0
  136. data/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +197 -0
  137. data/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +197 -0
  138. data/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +197 -0
  139. data/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +197 -0
  140. data/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +197 -0
  141. data/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +286 -0
  142. data/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +823 -0
  143. data/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +259 -0
  144. data/pulpcore/client/pulp_python/models/policy_enum.py +102 -0
  145. data/pulpcore/client/pulp_python/models/python_bander_remote.py +181 -0
  146. data/pulpcore/client/pulp_python/models/python_python_distribution.py +288 -0
  147. data/pulpcore/client/pulp_python/models/python_python_distribution_response.py +368 -0
  148. data/pulpcore/client/pulp_python/models/python_python_package_content.py +824 -0
  149. data/pulpcore/client/pulp_python/models/python_python_package_content_response.py +933 -0
  150. data/pulpcore/client/pulp_python/models/python_python_publication.py +149 -0
  151. data/pulpcore/client/pulp_python/models/python_python_publication_response.py +231 -0
  152. data/pulpcore/client/pulp_python/models/python_python_remote.py +825 -0
  153. data/pulpcore/client/pulp_python/models/python_python_remote_response.py +772 -0
  154. data/pulpcore/client/pulp_python/models/python_python_repository.py +260 -0
  155. data/pulpcore/client/pulp_python/models/python_python_repository_response.py +366 -0
  156. data/pulpcore/client/pulp_python/models/repository_add_remove_content.py +179 -0
  157. data/pulpcore/client/pulp_python/models/repository_sync_url.py +151 -0
  158. data/pulpcore/client/pulp_python/models/repository_version.py +123 -0
  159. data/pulpcore/client/pulp_python/models/repository_version_response.py +257 -0
  160. data/pulpcore/client/pulp_python/models/summary_response.py +182 -0
  161. data/pulpcore/client/pulp_python/rest.py +292 -0
  162. data/requirements.txt +6 -0
  163. data/setup.cfg +2 -0
  164. data/setup.py +42 -0
  165. data/spec/api/content_packages_api_spec.rb +3 -0
  166. data/spec/api/distributions_pypi_api_spec.rb +2 -2
  167. data/spec/api/publications_pypi_api_spec.rb +1 -1
  168. data/spec/api/pypi_api_spec.rb +49 -0
  169. data/spec/api/pypi_legacy_api_spec.rb +50 -0
  170. data/spec/api/pypi_metadata_api_spec.rb +50 -0
  171. data/spec/api/pypi_simple_api_spec.rb +79 -0
  172. data/spec/api/remotes_python_api_spec.rb +2 -2
  173. data/spec/api/repositories_python_api_spec.rb +4 -4
  174. data/spec/models/package_metadata_response_spec.rb +59 -0
  175. data/spec/models/package_upload_spec.rb +53 -0
  176. data/spec/models/package_upload_task_response_spec.rb +53 -0
  177. data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
  178. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  179. data/spec/models/python_python_distribution_spec.rb +6 -0
  180. data/spec/models/python_python_package_content_response_spec.rb +12 -0
  181. data/spec/models/python_python_package_content_spec.rb +18 -0
  182. data/spec/models/summary_response_spec.rb +53 -0
  183. data/test/__init__.py +0 -0
  184. data/test/test_async_operation_response.py +54 -0
  185. data/test/test_content_packages_api.py +55 -0
  186. data/test/test_content_summary.py +70 -0
  187. data/test/test_content_summary_response.py +70 -0
  188. data/test/test_distributions_pypi_api.py +76 -0
  189. data/test/test_exclude_platforms_enum.py +52 -0
  190. data/test/test_package_metadata_response.py +60 -0
  191. data/test/test_package_types_enum.py +52 -0
  192. data/test/test_package_upload.py +57 -0
  193. data/test/test_package_upload_task_response.py +58 -0
  194. data/test/test_paginated_repository_version_response_list.py +64 -0
  195. data/test/test_paginatedpython_python_distribution_response_list.py +68 -0
  196. data/test/test_paginatedpython_python_package_content_response_list.py +88 -0
  197. data/test/test_paginatedpython_python_publication_response_list.py +65 -0
  198. data/test/test_paginatedpython_python_remote_response_list.py +88 -0
  199. data/test/test_paginatedpython_python_repository_response_list.py +68 -0
  200. data/test/test_patchedpython_python_distribution.py +59 -0
  201. data/test/test_patchedpython_python_remote.py +84 -0
  202. data/test/test_patchedpython_python_repository.py +58 -0
  203. data/test/test_policy_enum.py +52 -0
  204. data/test/test_publications_pypi_api.py +62 -0
  205. data/test/test_pypi_api.py +41 -0
  206. data/test/test_pypi_legacy_api.py +41 -0
  207. data/test/test_pypi_metadata_api.py +41 -0
  208. data/test/test_pypi_simple_api.py +55 -0
  209. data/test/test_python_bander_remote.py +57 -0
  210. data/test/test_python_python_distribution.py +61 -0
  211. data/test/test_python_python_distribution_response.py +64 -0
  212. data/test/test_python_python_package_content.py +79 -0
  213. data/test/test_python_python_package_content_response.py +82 -0
  214. data/test/test_python_python_publication.py +54 -0
  215. data/test/test_python_python_publication_response.py +59 -0
  216. data/test/test_python_python_remote.py +86 -0
  217. data/test/test_python_python_remote_response.py +84 -0
  218. data/test/test_python_python_repository.py +59 -0
  219. data/test/test_python_python_repository_response.py +63 -0
  220. data/test/test_remotes_python_api.py +83 -0
  221. data/test/test_repositories_python_api.py +90 -0
  222. data/test/test_repositories_python_versions_api.py +61 -0
  223. data/test/test_repository_add_remove_content.py +59 -0
  224. data/test/test_repository_sync_url.py +54 -0
  225. data/test/test_repository_version.py +53 -0
  226. data/test/test_repository_version_response.py +58 -0
  227. data/test/test_summary_response.py +58 -0
  228. data/test-requirements.txt +3 -0
  229. data/tox.ini +9 -0
  230. metadata +221 -26
@@ -0,0 +1,933 @@
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 PythonPythonPackageContentResponse(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
+ 'pulp_href': 'str',
38
+ 'pulp_created': 'datetime',
39
+ 'artifact': 'str',
40
+ 'filename': 'str',
41
+ 'packagetype': 'str',
42
+ 'name': 'str',
43
+ 'version': 'str',
44
+ 'sha256': 'str',
45
+ 'metadata_version': 'str',
46
+ 'summary': 'str',
47
+ 'description': 'str',
48
+ 'description_content_type': 'str',
49
+ 'keywords': 'str',
50
+ 'home_page': 'str',
51
+ 'download_url': 'str',
52
+ 'author': 'str',
53
+ 'author_email': 'str',
54
+ 'maintainer': 'str',
55
+ 'maintainer_email': 'str',
56
+ 'license': 'str',
57
+ 'requires_python': 'str',
58
+ 'project_url': 'str',
59
+ 'project_urls': 'object',
60
+ 'platform': 'str',
61
+ 'supported_platform': 'str',
62
+ 'requires_dist': 'object',
63
+ 'provides_dist': 'object',
64
+ 'obsoletes_dist': 'object',
65
+ 'requires_external': 'object',
66
+ 'classifiers': 'object'
67
+ }
68
+
69
+ attribute_map = {
70
+ 'pulp_href': 'pulp_href',
71
+ 'pulp_created': 'pulp_created',
72
+ 'artifact': 'artifact',
73
+ 'filename': 'filename',
74
+ 'packagetype': 'packagetype',
75
+ 'name': 'name',
76
+ 'version': 'version',
77
+ 'sha256': 'sha256',
78
+ 'metadata_version': 'metadata_version',
79
+ 'summary': 'summary',
80
+ 'description': 'description',
81
+ 'description_content_type': 'description_content_type',
82
+ 'keywords': 'keywords',
83
+ 'home_page': 'home_page',
84
+ 'download_url': 'download_url',
85
+ 'author': 'author',
86
+ 'author_email': 'author_email',
87
+ 'maintainer': 'maintainer',
88
+ 'maintainer_email': 'maintainer_email',
89
+ 'license': 'license',
90
+ 'requires_python': 'requires_python',
91
+ 'project_url': 'project_url',
92
+ 'project_urls': 'project_urls',
93
+ 'platform': 'platform',
94
+ 'supported_platform': 'supported_platform',
95
+ 'requires_dist': 'requires_dist',
96
+ 'provides_dist': 'provides_dist',
97
+ 'obsoletes_dist': 'obsoletes_dist',
98
+ 'requires_external': 'requires_external',
99
+ 'classifiers': 'classifiers'
100
+ }
101
+
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
103
+ """PythonPythonPackageContentResponse - a model defined in OpenAPI""" # noqa: E501
104
+ if local_vars_configuration is None:
105
+ local_vars_configuration = Configuration()
106
+ self.local_vars_configuration = local_vars_configuration
107
+
108
+ self._pulp_href = None
109
+ self._pulp_created = None
110
+ self._artifact = None
111
+ self._filename = None
112
+ self._packagetype = None
113
+ self._name = None
114
+ self._version = None
115
+ self._sha256 = None
116
+ self._metadata_version = None
117
+ self._summary = None
118
+ self._description = None
119
+ self._description_content_type = None
120
+ self._keywords = None
121
+ self._home_page = None
122
+ self._download_url = None
123
+ self._author = None
124
+ self._author_email = None
125
+ self._maintainer = None
126
+ self._maintainer_email = None
127
+ self._license = None
128
+ self._requires_python = None
129
+ self._project_url = None
130
+ self._project_urls = None
131
+ self._platform = None
132
+ self._supported_platform = None
133
+ self._requires_dist = None
134
+ self._provides_dist = None
135
+ self._obsoletes_dist = None
136
+ self._requires_external = None
137
+ self._classifiers = None
138
+ self.discriminator = None
139
+
140
+ if pulp_href is not None:
141
+ self.pulp_href = pulp_href
142
+ if pulp_created is not None:
143
+ self.pulp_created = pulp_created
144
+ if artifact is not None:
145
+ self.artifact = artifact
146
+ if filename is not None:
147
+ self.filename = filename
148
+ if packagetype is not None:
149
+ self.packagetype = packagetype
150
+ if name is not None:
151
+ self.name = name
152
+ if version is not None:
153
+ self.version = version
154
+ if sha256 is not None:
155
+ self.sha256 = sha256
156
+ if metadata_version is not None:
157
+ self.metadata_version = metadata_version
158
+ if summary is not None:
159
+ self.summary = summary
160
+ if description is not None:
161
+ self.description = description
162
+ if description_content_type is not None:
163
+ self.description_content_type = description_content_type
164
+ if keywords is not None:
165
+ self.keywords = keywords
166
+ if home_page is not None:
167
+ self.home_page = home_page
168
+ if download_url is not None:
169
+ self.download_url = download_url
170
+ if author is not None:
171
+ self.author = author
172
+ if author_email is not None:
173
+ self.author_email = author_email
174
+ if maintainer is not None:
175
+ self.maintainer = maintainer
176
+ if maintainer_email is not None:
177
+ self.maintainer_email = maintainer_email
178
+ if license is not None:
179
+ self.license = license
180
+ if requires_python is not None:
181
+ self.requires_python = requires_python
182
+ if project_url is not None:
183
+ self.project_url = project_url
184
+ if project_urls is not None:
185
+ self.project_urls = project_urls
186
+ if platform is not None:
187
+ self.platform = platform
188
+ if supported_platform is not None:
189
+ self.supported_platform = supported_platform
190
+ if requires_dist is not None:
191
+ self.requires_dist = requires_dist
192
+ if provides_dist is not None:
193
+ self.provides_dist = provides_dist
194
+ if obsoletes_dist is not None:
195
+ self.obsoletes_dist = obsoletes_dist
196
+ if requires_external is not None:
197
+ self.requires_external = requires_external
198
+ if classifiers is not None:
199
+ self.classifiers = classifiers
200
+
201
+ @property
202
+ def pulp_href(self):
203
+ """Gets the pulp_href of this PythonPythonPackageContentResponse. # noqa: E501
204
+
205
+
206
+ :return: The pulp_href of this PythonPythonPackageContentResponse. # noqa: E501
207
+ :rtype: str
208
+ """
209
+ return self._pulp_href
210
+
211
+ @pulp_href.setter
212
+ def pulp_href(self, pulp_href):
213
+ """Sets the pulp_href of this PythonPythonPackageContentResponse.
214
+
215
+
216
+ :param pulp_href: The pulp_href of this PythonPythonPackageContentResponse. # noqa: E501
217
+ :type: str
218
+ """
219
+
220
+ self._pulp_href = pulp_href
221
+
222
+ @property
223
+ def pulp_created(self):
224
+ """Gets the pulp_created of this PythonPythonPackageContentResponse. # noqa: E501
225
+
226
+ Timestamp of creation. # noqa: E501
227
+
228
+ :return: The pulp_created of this PythonPythonPackageContentResponse. # noqa: E501
229
+ :rtype: datetime
230
+ """
231
+ return self._pulp_created
232
+
233
+ @pulp_created.setter
234
+ def pulp_created(self, pulp_created):
235
+ """Sets the pulp_created of this PythonPythonPackageContentResponse.
236
+
237
+ Timestamp of creation. # noqa: E501
238
+
239
+ :param pulp_created: The pulp_created of this PythonPythonPackageContentResponse. # noqa: E501
240
+ :type: datetime
241
+ """
242
+
243
+ self._pulp_created = pulp_created
244
+
245
+ @property
246
+ def artifact(self):
247
+ """Gets the artifact of this PythonPythonPackageContentResponse. # noqa: E501
248
+
249
+ Artifact file representing the physical content # noqa: E501
250
+
251
+ :return: The artifact of this PythonPythonPackageContentResponse. # noqa: E501
252
+ :rtype: str
253
+ """
254
+ return self._artifact
255
+
256
+ @artifact.setter
257
+ def artifact(self, artifact):
258
+ """Sets the artifact of this PythonPythonPackageContentResponse.
259
+
260
+ Artifact file representing the physical content # noqa: E501
261
+
262
+ :param artifact: The artifact of this PythonPythonPackageContentResponse. # noqa: E501
263
+ :type: str
264
+ """
265
+
266
+ self._artifact = artifact
267
+
268
+ @property
269
+ def filename(self):
270
+ """Gets the filename of this PythonPythonPackageContentResponse. # noqa: E501
271
+
272
+ The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} # noqa: E501
273
+
274
+ :return: The filename of this PythonPythonPackageContentResponse. # noqa: E501
275
+ :rtype: str
276
+ """
277
+ return self._filename
278
+
279
+ @filename.setter
280
+ def filename(self, filename):
281
+ """Sets the filename of this PythonPythonPackageContentResponse.
282
+
283
+ The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} # noqa: E501
284
+
285
+ :param filename: The filename of this PythonPythonPackageContentResponse. # noqa: E501
286
+ :type: str
287
+ """
288
+
289
+ self._filename = filename
290
+
291
+ @property
292
+ def packagetype(self):
293
+ """Gets the packagetype of this PythonPythonPackageContentResponse. # noqa: E501
294
+
295
+ The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) # noqa: E501
296
+
297
+ :return: The packagetype of this PythonPythonPackageContentResponse. # noqa: E501
298
+ :rtype: str
299
+ """
300
+ return self._packagetype
301
+
302
+ @packagetype.setter
303
+ def packagetype(self, packagetype):
304
+ """Sets the packagetype of this PythonPythonPackageContentResponse.
305
+
306
+ The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) # noqa: E501
307
+
308
+ :param packagetype: The packagetype of this PythonPythonPackageContentResponse. # noqa: E501
309
+ :type: str
310
+ """
311
+
312
+ self._packagetype = packagetype
313
+
314
+ @property
315
+ def name(self):
316
+ """Gets the name of this PythonPythonPackageContentResponse. # noqa: E501
317
+
318
+ The name of the python project. # noqa: E501
319
+
320
+ :return: The name of this PythonPythonPackageContentResponse. # noqa: E501
321
+ :rtype: str
322
+ """
323
+ return self._name
324
+
325
+ @name.setter
326
+ def name(self, name):
327
+ """Sets the name of this PythonPythonPackageContentResponse.
328
+
329
+ The name of the python project. # noqa: E501
330
+
331
+ :param name: The name of this PythonPythonPackageContentResponse. # noqa: E501
332
+ :type: str
333
+ """
334
+
335
+ self._name = name
336
+
337
+ @property
338
+ def version(self):
339
+ """Gets the version of this PythonPythonPackageContentResponse. # noqa: E501
340
+
341
+ The packages version number. # noqa: E501
342
+
343
+ :return: The version of this PythonPythonPackageContentResponse. # noqa: E501
344
+ :rtype: str
345
+ """
346
+ return self._version
347
+
348
+ @version.setter
349
+ def version(self, version):
350
+ """Sets the version of this PythonPythonPackageContentResponse.
351
+
352
+ The packages version number. # noqa: E501
353
+
354
+ :param version: The version of this PythonPythonPackageContentResponse. # noqa: E501
355
+ :type: str
356
+ """
357
+
358
+ self._version = version
359
+
360
+ @property
361
+ def sha256(self):
362
+ """Gets the sha256 of this PythonPythonPackageContentResponse. # noqa: E501
363
+
364
+ The SHA256 digest of this package. # noqa: E501
365
+
366
+ :return: The sha256 of this PythonPythonPackageContentResponse. # noqa: E501
367
+ :rtype: str
368
+ """
369
+ return self._sha256
370
+
371
+ @sha256.setter
372
+ def sha256(self, sha256):
373
+ """Sets the sha256 of this PythonPythonPackageContentResponse.
374
+
375
+ The SHA256 digest of this package. # noqa: E501
376
+
377
+ :param sha256: The sha256 of this PythonPythonPackageContentResponse. # noqa: E501
378
+ :type: str
379
+ """
380
+
381
+ self._sha256 = sha256
382
+
383
+ @property
384
+ def metadata_version(self):
385
+ """Gets the metadata_version of this PythonPythonPackageContentResponse. # noqa: E501
386
+
387
+ Version of the file format # noqa: E501
388
+
389
+ :return: The metadata_version of this PythonPythonPackageContentResponse. # noqa: E501
390
+ :rtype: str
391
+ """
392
+ return self._metadata_version
393
+
394
+ @metadata_version.setter
395
+ def metadata_version(self, metadata_version):
396
+ """Sets the metadata_version of this PythonPythonPackageContentResponse.
397
+
398
+ Version of the file format # noqa: E501
399
+
400
+ :param metadata_version: The metadata_version of this PythonPythonPackageContentResponse. # noqa: E501
401
+ :type: str
402
+ """
403
+
404
+ self._metadata_version = metadata_version
405
+
406
+ @property
407
+ def summary(self):
408
+ """Gets the summary of this PythonPythonPackageContentResponse. # noqa: E501
409
+
410
+ A one-line summary of what the package does. # noqa: E501
411
+
412
+ :return: The summary of this PythonPythonPackageContentResponse. # noqa: E501
413
+ :rtype: str
414
+ """
415
+ return self._summary
416
+
417
+ @summary.setter
418
+ def summary(self, summary):
419
+ """Sets the summary of this PythonPythonPackageContentResponse.
420
+
421
+ A one-line summary of what the package does. # noqa: E501
422
+
423
+ :param summary: The summary of this PythonPythonPackageContentResponse. # noqa: E501
424
+ :type: str
425
+ """
426
+
427
+ self._summary = summary
428
+
429
+ @property
430
+ def description(self):
431
+ """Gets the description of this PythonPythonPackageContentResponse. # noqa: E501
432
+
433
+ A longer description of the package that can run to several paragraphs. # noqa: E501
434
+
435
+ :return: The description of this PythonPythonPackageContentResponse. # noqa: E501
436
+ :rtype: str
437
+ """
438
+ return self._description
439
+
440
+ @description.setter
441
+ def description(self, description):
442
+ """Sets the description of this PythonPythonPackageContentResponse.
443
+
444
+ A longer description of the package that can run to several paragraphs. # noqa: E501
445
+
446
+ :param description: The description of this PythonPythonPackageContentResponse. # noqa: E501
447
+ :type: str
448
+ """
449
+
450
+ self._description = description
451
+
452
+ @property
453
+ def description_content_type(self):
454
+ """Gets the description_content_type of this PythonPythonPackageContentResponse. # noqa: E501
455
+
456
+ A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. # noqa: E501
457
+
458
+ :return: The description_content_type of this PythonPythonPackageContentResponse. # noqa: E501
459
+ :rtype: str
460
+ """
461
+ return self._description_content_type
462
+
463
+ @description_content_type.setter
464
+ def description_content_type(self, description_content_type):
465
+ """Sets the description_content_type of this PythonPythonPackageContentResponse.
466
+
467
+ A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. # noqa: E501
468
+
469
+ :param description_content_type: The description_content_type of this PythonPythonPackageContentResponse. # noqa: E501
470
+ :type: str
471
+ """
472
+
473
+ self._description_content_type = description_content_type
474
+
475
+ @property
476
+ def keywords(self):
477
+ """Gets the keywords of this PythonPythonPackageContentResponse. # noqa: E501
478
+
479
+ Additional keywords to be used to assist searching for the package in a larger catalog. # noqa: E501
480
+
481
+ :return: The keywords of this PythonPythonPackageContentResponse. # noqa: E501
482
+ :rtype: str
483
+ """
484
+ return self._keywords
485
+
486
+ @keywords.setter
487
+ def keywords(self, keywords):
488
+ """Sets the keywords of this PythonPythonPackageContentResponse.
489
+
490
+ Additional keywords to be used to assist searching for the package in a larger catalog. # noqa: E501
491
+
492
+ :param keywords: The keywords of this PythonPythonPackageContentResponse. # noqa: E501
493
+ :type: str
494
+ """
495
+
496
+ self._keywords = keywords
497
+
498
+ @property
499
+ def home_page(self):
500
+ """Gets the home_page of this PythonPythonPackageContentResponse. # noqa: E501
501
+
502
+ The URL for the package's home page. # noqa: E501
503
+
504
+ :return: The home_page of this PythonPythonPackageContentResponse. # noqa: E501
505
+ :rtype: str
506
+ """
507
+ return self._home_page
508
+
509
+ @home_page.setter
510
+ def home_page(self, home_page):
511
+ """Sets the home_page of this PythonPythonPackageContentResponse.
512
+
513
+ The URL for the package's home page. # noqa: E501
514
+
515
+ :param home_page: The home_page of this PythonPythonPackageContentResponse. # noqa: E501
516
+ :type: str
517
+ """
518
+
519
+ self._home_page = home_page
520
+
521
+ @property
522
+ def download_url(self):
523
+ """Gets the download_url of this PythonPythonPackageContentResponse. # noqa: E501
524
+
525
+ Legacy field denoting the URL from which this package can be downloaded. # noqa: E501
526
+
527
+ :return: The download_url of this PythonPythonPackageContentResponse. # noqa: E501
528
+ :rtype: str
529
+ """
530
+ return self._download_url
531
+
532
+ @download_url.setter
533
+ def download_url(self, download_url):
534
+ """Sets the download_url of this PythonPythonPackageContentResponse.
535
+
536
+ Legacy field denoting the URL from which this package can be downloaded. # noqa: E501
537
+
538
+ :param download_url: The download_url of this PythonPythonPackageContentResponse. # noqa: E501
539
+ :type: str
540
+ """
541
+
542
+ self._download_url = download_url
543
+
544
+ @property
545
+ def author(self):
546
+ """Gets the author of this PythonPythonPackageContentResponse. # noqa: E501
547
+
548
+ Text containing the author's name. Contact information can also be added, separated with newlines. # noqa: E501
549
+
550
+ :return: The author of this PythonPythonPackageContentResponse. # noqa: E501
551
+ :rtype: str
552
+ """
553
+ return self._author
554
+
555
+ @author.setter
556
+ def author(self, author):
557
+ """Sets the author of this PythonPythonPackageContentResponse.
558
+
559
+ Text containing the author's name. Contact information can also be added, separated with newlines. # noqa: E501
560
+
561
+ :param author: The author of this PythonPythonPackageContentResponse. # noqa: E501
562
+ :type: str
563
+ """
564
+
565
+ self._author = author
566
+
567
+ @property
568
+ def author_email(self):
569
+ """Gets the author_email of this PythonPythonPackageContentResponse. # noqa: E501
570
+
571
+ The author's e-mail address. # noqa: E501
572
+
573
+ :return: The author_email of this PythonPythonPackageContentResponse. # noqa: E501
574
+ :rtype: str
575
+ """
576
+ return self._author_email
577
+
578
+ @author_email.setter
579
+ def author_email(self, author_email):
580
+ """Sets the author_email of this PythonPythonPackageContentResponse.
581
+
582
+ The author's e-mail address. # noqa: E501
583
+
584
+ :param author_email: The author_email of this PythonPythonPackageContentResponse. # noqa: E501
585
+ :type: str
586
+ """
587
+
588
+ self._author_email = author_email
589
+
590
+ @property
591
+ def maintainer(self):
592
+ """Gets the maintainer of this PythonPythonPackageContentResponse. # noqa: E501
593
+
594
+ The maintainer's name at a minimum; additional contact information may be provided. # noqa: E501
595
+
596
+ :return: The maintainer of this PythonPythonPackageContentResponse. # noqa: E501
597
+ :rtype: str
598
+ """
599
+ return self._maintainer
600
+
601
+ @maintainer.setter
602
+ def maintainer(self, maintainer):
603
+ """Sets the maintainer of this PythonPythonPackageContentResponse.
604
+
605
+ The maintainer's name at a minimum; additional contact information may be provided. # noqa: E501
606
+
607
+ :param maintainer: The maintainer of this PythonPythonPackageContentResponse. # noqa: E501
608
+ :type: str
609
+ """
610
+
611
+ self._maintainer = maintainer
612
+
613
+ @property
614
+ def maintainer_email(self):
615
+ """Gets the maintainer_email of this PythonPythonPackageContentResponse. # noqa: E501
616
+
617
+ The maintainer's e-mail address. # noqa: E501
618
+
619
+ :return: The maintainer_email of this PythonPythonPackageContentResponse. # noqa: E501
620
+ :rtype: str
621
+ """
622
+ return self._maintainer_email
623
+
624
+ @maintainer_email.setter
625
+ def maintainer_email(self, maintainer_email):
626
+ """Sets the maintainer_email of this PythonPythonPackageContentResponse.
627
+
628
+ The maintainer's e-mail address. # noqa: E501
629
+
630
+ :param maintainer_email: The maintainer_email of this PythonPythonPackageContentResponse. # noqa: E501
631
+ :type: str
632
+ """
633
+
634
+ self._maintainer_email = maintainer_email
635
+
636
+ @property
637
+ def license(self):
638
+ """Gets the license of this PythonPythonPackageContentResponse. # noqa: E501
639
+
640
+ Text indicating the license covering the distribution # noqa: E501
641
+
642
+ :return: The license of this PythonPythonPackageContentResponse. # noqa: E501
643
+ :rtype: str
644
+ """
645
+ return self._license
646
+
647
+ @license.setter
648
+ def license(self, license):
649
+ """Sets the license of this PythonPythonPackageContentResponse.
650
+
651
+ Text indicating the license covering the distribution # noqa: E501
652
+
653
+ :param license: The license of this PythonPythonPackageContentResponse. # noqa: E501
654
+ :type: str
655
+ """
656
+
657
+ self._license = license
658
+
659
+ @property
660
+ def requires_python(self):
661
+ """Gets the requires_python of this PythonPythonPackageContentResponse. # noqa: E501
662
+
663
+ The Python version(s) that the distribution is guaranteed to be compatible with. # noqa: E501
664
+
665
+ :return: The requires_python of this PythonPythonPackageContentResponse. # noqa: E501
666
+ :rtype: str
667
+ """
668
+ return self._requires_python
669
+
670
+ @requires_python.setter
671
+ def requires_python(self, requires_python):
672
+ """Sets the requires_python of this PythonPythonPackageContentResponse.
673
+
674
+ The Python version(s) that the distribution is guaranteed to be compatible with. # noqa: E501
675
+
676
+ :param requires_python: The requires_python of this PythonPythonPackageContentResponse. # noqa: E501
677
+ :type: str
678
+ """
679
+
680
+ self._requires_python = requires_python
681
+
682
+ @property
683
+ def project_url(self):
684
+ """Gets the project_url of this PythonPythonPackageContentResponse. # noqa: E501
685
+
686
+ A browsable URL for the project and a label for it, separated by a comma. # noqa: E501
687
+
688
+ :return: The project_url of this PythonPythonPackageContentResponse. # noqa: E501
689
+ :rtype: str
690
+ """
691
+ return self._project_url
692
+
693
+ @project_url.setter
694
+ def project_url(self, project_url):
695
+ """Sets the project_url of this PythonPythonPackageContentResponse.
696
+
697
+ A browsable URL for the project and a label for it, separated by a comma. # noqa: E501
698
+
699
+ :param project_url: The project_url of this PythonPythonPackageContentResponse. # noqa: E501
700
+ :type: str
701
+ """
702
+
703
+ self._project_url = project_url
704
+
705
+ @property
706
+ def project_urls(self):
707
+ """Gets the project_urls of this PythonPythonPackageContentResponse. # noqa: E501
708
+
709
+ A dictionary of labels and URLs for the project. # noqa: E501
710
+
711
+ :return: The project_urls of this PythonPythonPackageContentResponse. # noqa: E501
712
+ :rtype: object
713
+ """
714
+ return self._project_urls
715
+
716
+ @project_urls.setter
717
+ def project_urls(self, project_urls):
718
+ """Sets the project_urls of this PythonPythonPackageContentResponse.
719
+
720
+ A dictionary of labels and URLs for the project. # noqa: E501
721
+
722
+ :param project_urls: The project_urls of this PythonPythonPackageContentResponse. # noqa: E501
723
+ :type: object
724
+ """
725
+
726
+ self._project_urls = project_urls
727
+
728
+ @property
729
+ def platform(self):
730
+ """Gets the platform of this PythonPythonPackageContentResponse. # noqa: E501
731
+
732
+ A comma-separated list of platform specifications, summarizing the operating systems supported by the package. # noqa: E501
733
+
734
+ :return: The platform of this PythonPythonPackageContentResponse. # noqa: E501
735
+ :rtype: str
736
+ """
737
+ return self._platform
738
+
739
+ @platform.setter
740
+ def platform(self, platform):
741
+ """Sets the platform of this PythonPythonPackageContentResponse.
742
+
743
+ A comma-separated list of platform specifications, summarizing the operating systems supported by the package. # noqa: E501
744
+
745
+ :param platform: The platform of this PythonPythonPackageContentResponse. # noqa: E501
746
+ :type: str
747
+ """
748
+
749
+ self._platform = platform
750
+
751
+ @property
752
+ def supported_platform(self):
753
+ """Gets the supported_platform of this PythonPythonPackageContentResponse. # noqa: E501
754
+
755
+ Field to specify the OS and CPU for which the binary package was compiled. # noqa: E501
756
+
757
+ :return: The supported_platform of this PythonPythonPackageContentResponse. # noqa: E501
758
+ :rtype: str
759
+ """
760
+ return self._supported_platform
761
+
762
+ @supported_platform.setter
763
+ def supported_platform(self, supported_platform):
764
+ """Sets the supported_platform of this PythonPythonPackageContentResponse.
765
+
766
+ Field to specify the OS and CPU for which the binary package was compiled. # noqa: E501
767
+
768
+ :param supported_platform: The supported_platform of this PythonPythonPackageContentResponse. # noqa: E501
769
+ :type: str
770
+ """
771
+
772
+ self._supported_platform = supported_platform
773
+
774
+ @property
775
+ def requires_dist(self):
776
+ """Gets the requires_dist of this PythonPythonPackageContentResponse. # noqa: E501
777
+
778
+ A JSON list containing names of some other distutils project required by this distribution. # noqa: E501
779
+
780
+ :return: The requires_dist of this PythonPythonPackageContentResponse. # noqa: E501
781
+ :rtype: object
782
+ """
783
+ return self._requires_dist
784
+
785
+ @requires_dist.setter
786
+ def requires_dist(self, requires_dist):
787
+ """Sets the requires_dist of this PythonPythonPackageContentResponse.
788
+
789
+ A JSON list containing names of some other distutils project required by this distribution. # noqa: E501
790
+
791
+ :param requires_dist: The requires_dist of this PythonPythonPackageContentResponse. # noqa: E501
792
+ :type: object
793
+ """
794
+
795
+ self._requires_dist = requires_dist
796
+
797
+ @property
798
+ def provides_dist(self):
799
+ """Gets the provides_dist of this PythonPythonPackageContentResponse. # noqa: E501
800
+
801
+ A JSON list containing names of a Distutils project which is contained within this distribution. # noqa: E501
802
+
803
+ :return: The provides_dist of this PythonPythonPackageContentResponse. # noqa: E501
804
+ :rtype: object
805
+ """
806
+ return self._provides_dist
807
+
808
+ @provides_dist.setter
809
+ def provides_dist(self, provides_dist):
810
+ """Sets the provides_dist of this PythonPythonPackageContentResponse.
811
+
812
+ A JSON list containing names of a Distutils project which is contained within this distribution. # noqa: E501
813
+
814
+ :param provides_dist: The provides_dist of this PythonPythonPackageContentResponse. # noqa: E501
815
+ :type: object
816
+ """
817
+
818
+ self._provides_dist = provides_dist
819
+
820
+ @property
821
+ def obsoletes_dist(self):
822
+ """Gets the obsoletes_dist of this PythonPythonPackageContentResponse. # noqa: E501
823
+
824
+ 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
825
+
826
+ :return: The obsoletes_dist of this PythonPythonPackageContentResponse. # noqa: E501
827
+ :rtype: object
828
+ """
829
+ return self._obsoletes_dist
830
+
831
+ @obsoletes_dist.setter
832
+ def obsoletes_dist(self, obsoletes_dist):
833
+ """Sets the obsoletes_dist of this PythonPythonPackageContentResponse.
834
+
835
+ 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
836
+
837
+ :param obsoletes_dist: The obsoletes_dist of this PythonPythonPackageContentResponse. # noqa: E501
838
+ :type: object
839
+ """
840
+
841
+ self._obsoletes_dist = obsoletes_dist
842
+
843
+ @property
844
+ def requires_external(self):
845
+ """Gets the requires_external of this PythonPythonPackageContentResponse. # noqa: E501
846
+
847
+ A JSON list containing some dependency in the system that the distribution is to be used. # noqa: E501
848
+
849
+ :return: The requires_external of this PythonPythonPackageContentResponse. # noqa: E501
850
+ :rtype: object
851
+ """
852
+ return self._requires_external
853
+
854
+ @requires_external.setter
855
+ def requires_external(self, requires_external):
856
+ """Sets the requires_external of this PythonPythonPackageContentResponse.
857
+
858
+ A JSON list containing some dependency in the system that the distribution is to be used. # noqa: E501
859
+
860
+ :param requires_external: The requires_external of this PythonPythonPackageContentResponse. # noqa: E501
861
+ :type: object
862
+ """
863
+
864
+ self._requires_external = requires_external
865
+
866
+ @property
867
+ def classifiers(self):
868
+ """Gets the classifiers of this PythonPythonPackageContentResponse. # noqa: E501
869
+
870
+ A JSON list containing classification values for a Python package. # noqa: E501
871
+
872
+ :return: The classifiers of this PythonPythonPackageContentResponse. # noqa: E501
873
+ :rtype: object
874
+ """
875
+ return self._classifiers
876
+
877
+ @classifiers.setter
878
+ def classifiers(self, classifiers):
879
+ """Sets the classifiers of this PythonPythonPackageContentResponse.
880
+
881
+ A JSON list containing classification values for a Python package. # noqa: E501
882
+
883
+ :param classifiers: The classifiers of this PythonPythonPackageContentResponse. # noqa: E501
884
+ :type: object
885
+ """
886
+
887
+ self._classifiers = classifiers
888
+
889
+ def to_dict(self):
890
+ """Returns the model properties as a dict"""
891
+ result = {}
892
+
893
+ for attr, _ in six.iteritems(self.openapi_types):
894
+ value = getattr(self, attr)
895
+ if isinstance(value, list):
896
+ result[attr] = list(map(
897
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
898
+ value
899
+ ))
900
+ elif hasattr(value, "to_dict"):
901
+ result[attr] = value.to_dict()
902
+ elif isinstance(value, dict):
903
+ result[attr] = dict(map(
904
+ lambda item: (item[0], item[1].to_dict())
905
+ if hasattr(item[1], "to_dict") else item,
906
+ value.items()
907
+ ))
908
+ else:
909
+ result[attr] = value
910
+
911
+ return result
912
+
913
+ def to_str(self):
914
+ """Returns the string representation of the model"""
915
+ return pprint.pformat(self.to_dict())
916
+
917
+ def __repr__(self):
918
+ """For `print` and `pprint`"""
919
+ return self.to_str()
920
+
921
+ def __eq__(self, other):
922
+ """Returns true if both objects are equal"""
923
+ if not isinstance(other, PythonPythonPackageContentResponse):
924
+ return False
925
+
926
+ return self.to_dict() == other.to_dict()
927
+
928
+ def __ne__(self, other):
929
+ """Returns true if both objects are not equal"""
930
+ if not isinstance(other, PythonPythonPackageContentResponse):
931
+ return True
932
+
933
+ return self.to_dict() != other.to_dict()