pulp_python_client 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +4 -4
  4. data/docs/ContentPackagesApi.md +4 -0
  5. data/docs/RepositoryAddRemoveContent.md +2 -2
  6. data/lib/pulp_python_client/api/content_packages_api.rb +7 -1
  7. data/lib/pulp_python_client/api/distributions_pypi_api.rb +1 -1
  8. data/lib/pulp_python_client/api/publications_pypi_api.rb +1 -1
  9. data/lib/pulp_python_client/api/pypi_api.rb +1 -1
  10. data/lib/pulp_python_client/api/pypi_legacy_api.rb +1 -1
  11. data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
  12. data/lib/pulp_python_client/api/pypi_simple_api.rb +1 -1
  13. data/lib/pulp_python_client/api/remotes_python_api.rb +1 -1
  14. data/lib/pulp_python_client/api/repositories_python_api.rb +1 -1
  15. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +1 -1
  16. data/lib/pulp_python_client/api_client.rb +12 -8
  17. data/lib/pulp_python_client/api_error.rb +1 -1
  18. data/lib/pulp_python_client/configuration.rb +8 -1
  19. data/lib/pulp_python_client/models/async_operation_response.rb +1 -1
  20. data/lib/pulp_python_client/models/content_summary.rb +1 -1
  21. data/lib/pulp_python_client/models/content_summary_response.rb +1 -1
  22. data/lib/pulp_python_client/models/exclude_platforms_enum.rb +1 -1
  23. data/lib/pulp_python_client/models/package_metadata_response.rb +1 -1
  24. data/lib/pulp_python_client/models/package_types_enum.rb +1 -1
  25. data/lib/pulp_python_client/models/package_upload.rb +1 -1
  26. data/lib/pulp_python_client/models/package_upload_task_response.rb +1 -1
  27. data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +1 -1
  28. data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +1 -1
  29. data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +1 -1
  30. data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +1 -1
  31. data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +1 -1
  32. data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +1 -1
  33. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +1 -1
  34. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
  35. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +1 -1
  36. data/lib/pulp_python_client/models/policy_enum.rb +1 -1
  37. data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
  38. data/lib/pulp_python_client/models/python_python_distribution.rb +1 -1
  39. data/lib/pulp_python_client/models/python_python_distribution_response.rb +1 -1
  40. data/lib/pulp_python_client/models/python_python_package_content.rb +1 -1
  41. data/lib/pulp_python_client/models/python_python_package_content_response.rb +1 -1
  42. data/lib/pulp_python_client/models/python_python_publication.rb +1 -1
  43. data/lib/pulp_python_client/models/python_python_publication_response.rb +1 -1
  44. data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
  45. data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
  46. data/lib/pulp_python_client/models/python_python_repository.rb +1 -1
  47. data/lib/pulp_python_client/models/python_python_repository_response.rb +1 -1
  48. data/lib/pulp_python_client/models/repository_add_remove_content.rb +3 -3
  49. data/lib/pulp_python_client/models/repository_sync_url.rb +1 -1
  50. data/lib/pulp_python_client/models/repository_version.rb +1 -1
  51. data/lib/pulp_python_client/models/repository_version_response.rb +1 -1
  52. data/lib/pulp_python_client/models/summary_response.rb +1 -1
  53. data/lib/pulp_python_client/version.rb +2 -2
  54. data/lib/pulp_python_client.rb +1 -1
  55. data/pulp_python_client.gemspec +1 -1
  56. data/spec/api/content_packages_api_spec.rb +3 -1
  57. data/spec/api/distributions_pypi_api_spec.rb +1 -1
  58. data/spec/api/publications_pypi_api_spec.rb +1 -1
  59. data/spec/api/pypi_api_spec.rb +1 -1
  60. data/spec/api/pypi_legacy_api_spec.rb +1 -1
  61. data/spec/api/pypi_metadata_api_spec.rb +1 -1
  62. data/spec/api/pypi_simple_api_spec.rb +1 -1
  63. data/spec/api/remotes_python_api_spec.rb +1 -1
  64. data/spec/api/repositories_python_api_spec.rb +1 -1
  65. data/spec/api/repositories_python_versions_api_spec.rb +1 -1
  66. data/spec/api_client_spec.rb +2 -2
  67. data/spec/configuration_spec.rb +1 -1
  68. data/spec/models/async_operation_response_spec.rb +1 -1
  69. data/spec/models/content_summary_response_spec.rb +1 -1
  70. data/spec/models/content_summary_spec.rb +1 -1
  71. data/spec/models/exclude_platforms_enum_spec.rb +1 -1
  72. data/spec/models/package_metadata_response_spec.rb +1 -1
  73. data/spec/models/package_types_enum_spec.rb +1 -1
  74. data/spec/models/package_upload_spec.rb +1 -1
  75. data/spec/models/package_upload_task_response_spec.rb +1 -1
  76. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  77. data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +1 -1
  78. data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +1 -1
  79. data/spec/models/paginatedpython_python_publication_response_list_spec.rb +1 -1
  80. data/spec/models/paginatedpython_python_remote_response_list_spec.rb +1 -1
  81. data/spec/models/paginatedpython_python_repository_response_list_spec.rb +1 -1
  82. data/spec/models/patchedpython_python_distribution_spec.rb +1 -1
  83. data/spec/models/patchedpython_python_remote_spec.rb +1 -1
  84. data/spec/models/patchedpython_python_repository_spec.rb +1 -1
  85. data/spec/models/policy_enum_spec.rb +1 -1
  86. data/spec/models/python_bander_remote_spec.rb +1 -1
  87. data/spec/models/python_python_distribution_response_spec.rb +1 -1
  88. data/spec/models/python_python_distribution_spec.rb +1 -1
  89. data/spec/models/python_python_package_content_response_spec.rb +1 -1
  90. data/spec/models/python_python_package_content_spec.rb +1 -1
  91. data/spec/models/python_python_publication_response_spec.rb +1 -1
  92. data/spec/models/python_python_publication_spec.rb +1 -1
  93. data/spec/models/python_python_remote_response_spec.rb +1 -1
  94. data/spec/models/python_python_remote_spec.rb +1 -1
  95. data/spec/models/python_python_repository_response_spec.rb +1 -1
  96. data/spec/models/python_python_repository_spec.rb +1 -1
  97. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  98. data/spec/models/repository_sync_url_spec.rb +1 -1
  99. data/spec/models/repository_version_response_spec.rb +1 -1
  100. data/spec/models/repository_version_spec.rb +1 -1
  101. data/spec/models/summary_response_spec.rb +1 -1
  102. data/spec/spec_helper.rb +1 -1
  103. metadata +33 -196
  104. data/build/lib/pulpcore/__init__.py +0 -2
  105. data/build/lib/pulpcore/client/__init__.py +0 -2
  106. data/build/lib/pulpcore/client/pulp_python/__init__.py +0 -75
  107. data/build/lib/pulpcore/client/pulp_python/api/__init__.py +0 -15
  108. data/build/lib/pulpcore/client/pulp_python/api/content_packages_api.py +0 -626
  109. data/build/lib/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -830
  110. data/build/lib/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -566
  111. data/build/lib/pulpcore/client/pulp_python/api/pypi_api.py +0 -162
  112. data/build/lib/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -185
  113. data/build/lib/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -171
  114. data/build/lib/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -434
  115. data/build/lib/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -972
  116. data/build/lib/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -1063
  117. data/build/lib/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -614
  118. data/build/lib/pulpcore/client/pulp_python/api_client.py +0 -667
  119. data/build/lib/pulpcore/client/pulp_python/configuration.py +0 -427
  120. data/build/lib/pulpcore/client/pulp_python/exceptions.py +0 -121
  121. data/build/lib/pulpcore/client/pulp_python/models/__init__.py +0 -51
  122. data/build/lib/pulpcore/client/pulp_python/models/async_operation_response.py +0 -124
  123. data/build/lib/pulpcore/client/pulp_python/models/content_summary.py +0 -176
  124. data/build/lib/pulpcore/client/pulp_python/models/content_summary_response.py +0 -176
  125. data/build/lib/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -103
  126. data/build/lib/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -209
  127. data/build/lib/pulpcore/client/pulp_python/models/package_types_enum.py +0 -107
  128. data/build/lib/pulpcore/client/pulp_python/models/package_upload.py +0 -187
  129. data/build/lib/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -176
  130. data/build/lib/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -197
  131. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -197
  132. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -197
  133. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -197
  134. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -197
  135. data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -197
  136. data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -286
  137. data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -823
  138. data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -259
  139. data/build/lib/pulpcore/client/pulp_python/models/policy_enum.py +0 -102
  140. data/build/lib/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -181
  141. data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -288
  142. data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -368
  143. data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content.py +0 -824
  144. data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content_response.py +0 -933
  145. data/build/lib/pulpcore/client/pulp_python/models/python_python_publication.py +0 -149
  146. data/build/lib/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -231
  147. data/build/lib/pulpcore/client/pulp_python/models/python_python_remote.py +0 -825
  148. data/build/lib/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -772
  149. data/build/lib/pulpcore/client/pulp_python/models/python_python_repository.py +0 -260
  150. data/build/lib/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -366
  151. data/build/lib/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -179
  152. data/build/lib/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -151
  153. data/build/lib/pulpcore/client/pulp_python/models/repository_version.py +0 -123
  154. data/build/lib/pulpcore/client/pulp_python/models/repository_version_response.py +0 -257
  155. data/build/lib/pulpcore/client/pulp_python/models/summary_response.py +0 -182
  156. data/build/lib/pulpcore/client/pulp_python/rest.py +0 -292
  157. data/dist/pulp_python-client-3.4.0.tar.gz +0 -0
  158. data/dist/pulp_python_client-3.4.0-py3-none-any.whl +0 -0
  159. data/pulp_python_client.egg-info/PKG-INFO +0 -15
  160. data/pulp_python_client.egg-info/SOURCES.txt +0 -105
  161. data/pulp_python_client.egg-info/dependency_links.txt +0 -1
  162. data/pulp_python_client.egg-info/requires.txt +0 -4
  163. data/pulp_python_client.egg-info/top_level.txt +0 -1
  164. data/pulpcore/__init__.py +0 -2
  165. data/pulpcore/client/__init__.py +0 -2
  166. data/pulpcore/client/pulp_python/__init__.py +0 -75
  167. data/pulpcore/client/pulp_python/api/__init__.py +0 -15
  168. data/pulpcore/client/pulp_python/api/content_packages_api.py +0 -626
  169. data/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -830
  170. data/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -566
  171. data/pulpcore/client/pulp_python/api/pypi_api.py +0 -162
  172. data/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -185
  173. data/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -171
  174. data/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -434
  175. data/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -972
  176. data/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -1063
  177. data/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -614
  178. data/pulpcore/client/pulp_python/api_client.py +0 -667
  179. data/pulpcore/client/pulp_python/configuration.py +0 -427
  180. data/pulpcore/client/pulp_python/exceptions.py +0 -121
  181. data/pulpcore/client/pulp_python/models/__init__.py +0 -51
  182. data/pulpcore/client/pulp_python/models/async_operation_response.py +0 -124
  183. data/pulpcore/client/pulp_python/models/content_summary.py +0 -176
  184. data/pulpcore/client/pulp_python/models/content_summary_response.py +0 -176
  185. data/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -103
  186. data/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -209
  187. data/pulpcore/client/pulp_python/models/package_types_enum.py +0 -107
  188. data/pulpcore/client/pulp_python/models/package_upload.py +0 -187
  189. data/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -176
  190. data/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -197
  191. data/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -197
  192. data/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -197
  193. data/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -197
  194. data/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -197
  195. data/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -197
  196. data/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -286
  197. data/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -823
  198. data/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -259
  199. data/pulpcore/client/pulp_python/models/policy_enum.py +0 -102
  200. data/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -181
  201. data/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -288
  202. data/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -368
  203. data/pulpcore/client/pulp_python/models/python_python_package_content.py +0 -824
  204. data/pulpcore/client/pulp_python/models/python_python_package_content_response.py +0 -933
  205. data/pulpcore/client/pulp_python/models/python_python_publication.py +0 -149
  206. data/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -231
  207. data/pulpcore/client/pulp_python/models/python_python_remote.py +0 -825
  208. data/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -772
  209. data/pulpcore/client/pulp_python/models/python_python_repository.py +0 -260
  210. data/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -366
  211. data/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -179
  212. data/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -151
  213. data/pulpcore/client/pulp_python/models/repository_version.py +0 -123
  214. data/pulpcore/client/pulp_python/models/repository_version_response.py +0 -257
  215. data/pulpcore/client/pulp_python/models/summary_response.py +0 -182
  216. data/pulpcore/client/pulp_python/rest.py +0 -292
  217. data/requirements.txt +0 -6
  218. data/setup.cfg +0 -2
  219. data/setup.py +0 -42
  220. data/test/__init__.py +0 -0
  221. data/test/test_async_operation_response.py +0 -54
  222. data/test/test_content_packages_api.py +0 -55
  223. data/test/test_content_summary.py +0 -70
  224. data/test/test_content_summary_response.py +0 -70
  225. data/test/test_distributions_pypi_api.py +0 -76
  226. data/test/test_exclude_platforms_enum.py +0 -52
  227. data/test/test_package_metadata_response.py +0 -60
  228. data/test/test_package_types_enum.py +0 -52
  229. data/test/test_package_upload.py +0 -57
  230. data/test/test_package_upload_task_response.py +0 -58
  231. data/test/test_paginated_repository_version_response_list.py +0 -64
  232. data/test/test_paginatedpython_python_distribution_response_list.py +0 -68
  233. data/test/test_paginatedpython_python_package_content_response_list.py +0 -88
  234. data/test/test_paginatedpython_python_publication_response_list.py +0 -65
  235. data/test/test_paginatedpython_python_remote_response_list.py +0 -88
  236. data/test/test_paginatedpython_python_repository_response_list.py +0 -68
  237. data/test/test_patchedpython_python_distribution.py +0 -59
  238. data/test/test_patchedpython_python_remote.py +0 -84
  239. data/test/test_patchedpython_python_repository.py +0 -58
  240. data/test/test_policy_enum.py +0 -52
  241. data/test/test_publications_pypi_api.py +0 -62
  242. data/test/test_pypi_api.py +0 -41
  243. data/test/test_pypi_legacy_api.py +0 -41
  244. data/test/test_pypi_metadata_api.py +0 -41
  245. data/test/test_pypi_simple_api.py +0 -55
  246. data/test/test_python_bander_remote.py +0 -57
  247. data/test/test_python_python_distribution.py +0 -61
  248. data/test/test_python_python_distribution_response.py +0 -64
  249. data/test/test_python_python_package_content.py +0 -79
  250. data/test/test_python_python_package_content_response.py +0 -82
  251. data/test/test_python_python_publication.py +0 -54
  252. data/test/test_python_python_publication_response.py +0 -59
  253. data/test/test_python_python_remote.py +0 -86
  254. data/test/test_python_python_remote_response.py +0 -84
  255. data/test/test_python_python_repository.py +0 -59
  256. data/test/test_python_python_repository_response.py +0 -63
  257. data/test/test_remotes_python_api.py +0 -83
  258. data/test/test_repositories_python_api.py +0 -90
  259. data/test/test_repositories_python_versions_api.py +0 -61
  260. data/test/test_repository_add_remove_content.py +0 -59
  261. data/test/test_repository_sync_url.py +0 -54
  262. data/test/test_repository_version.py +0 -53
  263. data/test/test_repository_version_response.py +0 -58
  264. data/test/test_summary_response.py +0 -58
  265. data/test-requirements.txt +0 -3
  266. data/tox.ini +0 -9
@@ -1,51 +0,0 @@
1
- # coding: utf-8
2
-
3
- # flake8: noqa
4
- """
5
- Pulp 3 API
6
-
7
- Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
8
-
9
- The version of the OpenAPI document: v3
10
- Contact: pulp-list@redhat.com
11
- Generated by: https://openapi-generator.tech
12
- """
13
-
14
-
15
- from __future__ import absolute_import
16
-
17
- # import models into model package
18
- from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
19
- from pulpcore.client.pulp_python.models.content_summary import ContentSummary
20
- from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
21
- from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
22
- from pulpcore.client.pulp_python.models.package_metadata_response import PackageMetadataResponse
23
- from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
24
- from pulpcore.client.pulp_python.models.package_upload import PackageUpload
25
- from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
26
- from pulpcore.client.pulp_python.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
27
- from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_response_list import PaginatedpythonPythonDistributionResponseList
28
- from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_response_list import PaginatedpythonPythonPackageContentResponseList
29
- from pulpcore.client.pulp_python.models.paginatedpython_python_publication_response_list import PaginatedpythonPythonPublicationResponseList
30
- from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_list import PaginatedpythonPythonRemoteResponseList
31
- from pulpcore.client.pulp_python.models.paginatedpython_python_repository_response_list import PaginatedpythonPythonRepositoryResponseList
32
- from pulpcore.client.pulp_python.models.patchedpython_python_distribution import PatchedpythonPythonDistribution
33
- from pulpcore.client.pulp_python.models.patchedpython_python_remote import PatchedpythonPythonRemote
34
- from pulpcore.client.pulp_python.models.patchedpython_python_repository import PatchedpythonPythonRepository
35
- from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
36
- from pulpcore.client.pulp_python.models.python_bander_remote import PythonBanderRemote
37
- from pulpcore.client.pulp_python.models.python_python_distribution import PythonPythonDistribution
38
- from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
39
- from pulpcore.client.pulp_python.models.python_python_package_content import PythonPythonPackageContent
40
- from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
41
- from pulpcore.client.pulp_python.models.python_python_publication import PythonPythonPublication
42
- from pulpcore.client.pulp_python.models.python_python_publication_response import PythonPythonPublicationResponse
43
- from pulpcore.client.pulp_python.models.python_python_remote import PythonPythonRemote
44
- from pulpcore.client.pulp_python.models.python_python_remote_response import PythonPythonRemoteResponse
45
- from pulpcore.client.pulp_python.models.python_python_repository import PythonPythonRepository
46
- from pulpcore.client.pulp_python.models.python_python_repository_response import PythonPythonRepositoryResponse
47
- from pulpcore.client.pulp_python.models.repository_add_remove_content import RepositoryAddRemoveContent
48
- from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyncURL
49
- from pulpcore.client.pulp_python.models.repository_version import RepositoryVersion
50
- from pulpcore.client.pulp_python.models.repository_version_response import RepositoryVersionResponse
51
- from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
@@ -1,124 +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 AsyncOperationResponse(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
- 'task': 'str'
38
- }
39
-
40
- attribute_map = {
41
- 'task': 'task'
42
- }
43
-
44
- def __init__(self, task=None, local_vars_configuration=None): # noqa: E501
45
- """AsyncOperationResponse - a model defined in OpenAPI""" # noqa: E501
46
- if local_vars_configuration is None:
47
- local_vars_configuration = Configuration()
48
- self.local_vars_configuration = local_vars_configuration
49
-
50
- self._task = None
51
- self.discriminator = None
52
-
53
- self.task = task
54
-
55
- @property
56
- def task(self):
57
- """Gets the task of this AsyncOperationResponse. # noqa: E501
58
-
59
- The href of the task. # noqa: E501
60
-
61
- :return: The task of this AsyncOperationResponse. # noqa: E501
62
- :rtype: str
63
- """
64
- return self._task
65
-
66
- @task.setter
67
- def task(self, task):
68
- """Sets the task of this AsyncOperationResponse.
69
-
70
- The href of the task. # noqa: E501
71
-
72
- :param task: The task of this AsyncOperationResponse. # noqa: E501
73
- :type: str
74
- """
75
- if self.local_vars_configuration.client_side_validation and task is None: # noqa: E501
76
- raise ValueError("Invalid value for `task`, must not be `None`") # noqa: E501
77
-
78
- self._task = task
79
-
80
- def to_dict(self):
81
- """Returns the model properties as a dict"""
82
- result = {}
83
-
84
- for attr, _ in six.iteritems(self.openapi_types):
85
- value = getattr(self, attr)
86
- if isinstance(value, list):
87
- result[attr] = list(map(
88
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
89
- value
90
- ))
91
- elif hasattr(value, "to_dict"):
92
- result[attr] = value.to_dict()
93
- elif isinstance(value, dict):
94
- result[attr] = dict(map(
95
- lambda item: (item[0], item[1].to_dict())
96
- if hasattr(item[1], "to_dict") else item,
97
- value.items()
98
- ))
99
- else:
100
- result[attr] = value
101
-
102
- return result
103
-
104
- def to_str(self):
105
- """Returns the string representation of the model"""
106
- return pprint.pformat(self.to_dict())
107
-
108
- def __repr__(self):
109
- """For `print` and `pprint`"""
110
- return self.to_str()
111
-
112
- def __eq__(self, other):
113
- """Returns true if both objects are equal"""
114
- if not isinstance(other, AsyncOperationResponse):
115
- return False
116
-
117
- return self.to_dict() == other.to_dict()
118
-
119
- def __ne__(self, other):
120
- """Returns true if both objects are not equal"""
121
- if not isinstance(other, AsyncOperationResponse):
122
- return True
123
-
124
- return self.to_dict() != other.to_dict()
@@ -1,176 +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 ContentSummary(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
- 'added': 'dict(str, object)',
38
- 'removed': 'dict(str, object)',
39
- 'present': 'dict(str, object)'
40
- }
41
-
42
- attribute_map = {
43
- 'added': 'added',
44
- 'removed': 'removed',
45
- 'present': 'present'
46
- }
47
-
48
- def __init__(self, added=None, removed=None, present=None, local_vars_configuration=None): # noqa: E501
49
- """ContentSummary - a model defined in OpenAPI""" # noqa: E501
50
- if local_vars_configuration is None:
51
- local_vars_configuration = Configuration()
52
- self.local_vars_configuration = local_vars_configuration
53
-
54
- self._added = None
55
- self._removed = None
56
- self._present = None
57
- self.discriminator = None
58
-
59
- self.added = added
60
- self.removed = removed
61
- self.present = present
62
-
63
- @property
64
- def added(self):
65
- """Gets the added of this ContentSummary. # noqa: E501
66
-
67
-
68
- :return: The added of this ContentSummary. # noqa: E501
69
- :rtype: dict(str, object)
70
- """
71
- return self._added
72
-
73
- @added.setter
74
- def added(self, added):
75
- """Sets the added of this ContentSummary.
76
-
77
-
78
- :param added: The added of this ContentSummary. # noqa: E501
79
- :type: dict(str, object)
80
- """
81
- if self.local_vars_configuration.client_side_validation and added is None: # noqa: E501
82
- raise ValueError("Invalid value for `added`, must not be `None`") # noqa: E501
83
-
84
- self._added = added
85
-
86
- @property
87
- def removed(self):
88
- """Gets the removed of this ContentSummary. # noqa: E501
89
-
90
-
91
- :return: The removed of this ContentSummary. # noqa: E501
92
- :rtype: dict(str, object)
93
- """
94
- return self._removed
95
-
96
- @removed.setter
97
- def removed(self, removed):
98
- """Sets the removed of this ContentSummary.
99
-
100
-
101
- :param removed: The removed of this ContentSummary. # noqa: E501
102
- :type: dict(str, object)
103
- """
104
- if self.local_vars_configuration.client_side_validation and removed is None: # noqa: E501
105
- raise ValueError("Invalid value for `removed`, must not be `None`") # noqa: E501
106
-
107
- self._removed = removed
108
-
109
- @property
110
- def present(self):
111
- """Gets the present of this ContentSummary. # noqa: E501
112
-
113
-
114
- :return: The present of this ContentSummary. # noqa: E501
115
- :rtype: dict(str, object)
116
- """
117
- return self._present
118
-
119
- @present.setter
120
- def present(self, present):
121
- """Sets the present of this ContentSummary.
122
-
123
-
124
- :param present: The present of this ContentSummary. # noqa: E501
125
- :type: dict(str, object)
126
- """
127
- if self.local_vars_configuration.client_side_validation and present is None: # noqa: E501
128
- raise ValueError("Invalid value for `present`, must not be `None`") # noqa: E501
129
-
130
- self._present = present
131
-
132
- def to_dict(self):
133
- """Returns the model properties as a dict"""
134
- result = {}
135
-
136
- for attr, _ in six.iteritems(self.openapi_types):
137
- value = getattr(self, attr)
138
- if isinstance(value, list):
139
- result[attr] = list(map(
140
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
141
- value
142
- ))
143
- elif hasattr(value, "to_dict"):
144
- result[attr] = value.to_dict()
145
- elif isinstance(value, dict):
146
- result[attr] = dict(map(
147
- lambda item: (item[0], item[1].to_dict())
148
- if hasattr(item[1], "to_dict") else item,
149
- value.items()
150
- ))
151
- else:
152
- result[attr] = value
153
-
154
- return result
155
-
156
- def to_str(self):
157
- """Returns the string representation of the model"""
158
- return pprint.pformat(self.to_dict())
159
-
160
- def __repr__(self):
161
- """For `print` and `pprint`"""
162
- return self.to_str()
163
-
164
- def __eq__(self, other):
165
- """Returns true if both objects are equal"""
166
- if not isinstance(other, ContentSummary):
167
- return False
168
-
169
- return self.to_dict() == other.to_dict()
170
-
171
- def __ne__(self, other):
172
- """Returns true if both objects are not equal"""
173
- if not isinstance(other, ContentSummary):
174
- return True
175
-
176
- return self.to_dict() != other.to_dict()
@@ -1,176 +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 ContentSummaryResponse(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
- 'added': 'dict(str, object)',
38
- 'removed': 'dict(str, object)',
39
- 'present': 'dict(str, object)'
40
- }
41
-
42
- attribute_map = {
43
- 'added': 'added',
44
- 'removed': 'removed',
45
- 'present': 'present'
46
- }
47
-
48
- def __init__(self, added=None, removed=None, present=None, local_vars_configuration=None): # noqa: E501
49
- """ContentSummaryResponse - a model defined in OpenAPI""" # noqa: E501
50
- if local_vars_configuration is None:
51
- local_vars_configuration = Configuration()
52
- self.local_vars_configuration = local_vars_configuration
53
-
54
- self._added = None
55
- self._removed = None
56
- self._present = None
57
- self.discriminator = None
58
-
59
- self.added = added
60
- self.removed = removed
61
- self.present = present
62
-
63
- @property
64
- def added(self):
65
- """Gets the added of this ContentSummaryResponse. # noqa: E501
66
-
67
-
68
- :return: The added of this ContentSummaryResponse. # noqa: E501
69
- :rtype: dict(str, object)
70
- """
71
- return self._added
72
-
73
- @added.setter
74
- def added(self, added):
75
- """Sets the added of this ContentSummaryResponse.
76
-
77
-
78
- :param added: The added of this ContentSummaryResponse. # noqa: E501
79
- :type: dict(str, object)
80
- """
81
- if self.local_vars_configuration.client_side_validation and added is None: # noqa: E501
82
- raise ValueError("Invalid value for `added`, must not be `None`") # noqa: E501
83
-
84
- self._added = added
85
-
86
- @property
87
- def removed(self):
88
- """Gets the removed of this ContentSummaryResponse. # noqa: E501
89
-
90
-
91
- :return: The removed of this ContentSummaryResponse. # noqa: E501
92
- :rtype: dict(str, object)
93
- """
94
- return self._removed
95
-
96
- @removed.setter
97
- def removed(self, removed):
98
- """Sets the removed of this ContentSummaryResponse.
99
-
100
-
101
- :param removed: The removed of this ContentSummaryResponse. # noqa: E501
102
- :type: dict(str, object)
103
- """
104
- if self.local_vars_configuration.client_side_validation and removed is None: # noqa: E501
105
- raise ValueError("Invalid value for `removed`, must not be `None`") # noqa: E501
106
-
107
- self._removed = removed
108
-
109
- @property
110
- def present(self):
111
- """Gets the present of this ContentSummaryResponse. # noqa: E501
112
-
113
-
114
- :return: The present of this ContentSummaryResponse. # noqa: E501
115
- :rtype: dict(str, object)
116
- """
117
- return self._present
118
-
119
- @present.setter
120
- def present(self, present):
121
- """Sets the present of this ContentSummaryResponse.
122
-
123
-
124
- :param present: The present of this ContentSummaryResponse. # noqa: E501
125
- :type: dict(str, object)
126
- """
127
- if self.local_vars_configuration.client_side_validation and present is None: # noqa: E501
128
- raise ValueError("Invalid value for `present`, must not be `None`") # noqa: E501
129
-
130
- self._present = present
131
-
132
- def to_dict(self):
133
- """Returns the model properties as a dict"""
134
- result = {}
135
-
136
- for attr, _ in six.iteritems(self.openapi_types):
137
- value = getattr(self, attr)
138
- if isinstance(value, list):
139
- result[attr] = list(map(
140
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
141
- value
142
- ))
143
- elif hasattr(value, "to_dict"):
144
- result[attr] = value.to_dict()
145
- elif isinstance(value, dict):
146
- result[attr] = dict(map(
147
- lambda item: (item[0], item[1].to_dict())
148
- if hasattr(item[1], "to_dict") else item,
149
- value.items()
150
- ))
151
- else:
152
- result[attr] = value
153
-
154
- return result
155
-
156
- def to_str(self):
157
- """Returns the string representation of the model"""
158
- return pprint.pformat(self.to_dict())
159
-
160
- def __repr__(self):
161
- """For `print` and `pprint`"""
162
- return self.to_str()
163
-
164
- def __eq__(self, other):
165
- """Returns true if both objects are equal"""
166
- if not isinstance(other, ContentSummaryResponse):
167
- return False
168
-
169
- return self.to_dict() == other.to_dict()
170
-
171
- def __ne__(self, other):
172
- """Returns true if both objects are not equal"""
173
- if not isinstance(other, ContentSummaryResponse):
174
- return True
175
-
176
- return self.to_dict() != other.to_dict()