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,823 @@
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 PatchedpythonPythonRemote(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
+ 'name': 'str',
38
+ 'url': 'str',
39
+ 'ca_cert': 'str',
40
+ 'client_cert': 'str',
41
+ 'client_key': 'str',
42
+ 'tls_validation': 'bool',
43
+ 'proxy_url': 'str',
44
+ 'proxy_username': 'str',
45
+ 'proxy_password': 'str',
46
+ 'username': 'str',
47
+ 'password': 'str',
48
+ 'pulp_labels': 'object',
49
+ 'download_concurrency': 'int',
50
+ 'policy': 'PolicyEnum',
51
+ 'total_timeout': 'float',
52
+ 'connect_timeout': 'float',
53
+ 'sock_connect_timeout': 'float',
54
+ 'sock_read_timeout': 'float',
55
+ 'headers': 'list[object]',
56
+ 'rate_limit': 'int',
57
+ 'includes': 'object',
58
+ 'excludes': 'object',
59
+ 'prereleases': 'bool',
60
+ 'package_types': 'list[PackageTypesEnum]',
61
+ 'keep_latest_packages': 'int',
62
+ 'exclude_platforms': 'list[ExcludePlatformsEnum]'
63
+ }
64
+
65
+ attribute_map = {
66
+ 'name': 'name',
67
+ 'url': 'url',
68
+ 'ca_cert': 'ca_cert',
69
+ 'client_cert': 'client_cert',
70
+ 'client_key': 'client_key',
71
+ 'tls_validation': 'tls_validation',
72
+ 'proxy_url': 'proxy_url',
73
+ 'proxy_username': 'proxy_username',
74
+ 'proxy_password': 'proxy_password',
75
+ 'username': 'username',
76
+ 'password': 'password',
77
+ 'pulp_labels': 'pulp_labels',
78
+ 'download_concurrency': 'download_concurrency',
79
+ 'policy': 'policy',
80
+ 'total_timeout': 'total_timeout',
81
+ 'connect_timeout': 'connect_timeout',
82
+ 'sock_connect_timeout': 'sock_connect_timeout',
83
+ 'sock_read_timeout': 'sock_read_timeout',
84
+ 'headers': 'headers',
85
+ 'rate_limit': 'rate_limit',
86
+ 'includes': 'includes',
87
+ 'excludes': 'excludes',
88
+ 'prereleases': 'prereleases',
89
+ 'package_types': 'package_types',
90
+ 'keep_latest_packages': 'keep_latest_packages',
91
+ 'exclude_platforms': 'exclude_platforms'
92
+ }
93
+
94
+ def __init__(self, name=None, url=None, ca_cert=None, client_cert=None, client_key=None, tls_validation=None, proxy_url=None, proxy_username=None, proxy_password=None, username=None, password=None, pulp_labels=None, download_concurrency=None, policy=None, total_timeout=None, connect_timeout=None, sock_connect_timeout=None, sock_read_timeout=None, headers=None, rate_limit=None, includes=None, excludes=None, prereleases=None, package_types=None, keep_latest_packages=0, exclude_platforms=None, local_vars_configuration=None): # noqa: E501
95
+ """PatchedpythonPythonRemote - a model defined in OpenAPI""" # noqa: E501
96
+ if local_vars_configuration is None:
97
+ local_vars_configuration = Configuration()
98
+ self.local_vars_configuration = local_vars_configuration
99
+
100
+ self._name = None
101
+ self._url = None
102
+ self._ca_cert = None
103
+ self._client_cert = None
104
+ self._client_key = None
105
+ self._tls_validation = None
106
+ self._proxy_url = None
107
+ self._proxy_username = None
108
+ self._proxy_password = None
109
+ self._username = None
110
+ self._password = None
111
+ self._pulp_labels = None
112
+ self._download_concurrency = None
113
+ self._policy = None
114
+ self._total_timeout = None
115
+ self._connect_timeout = None
116
+ self._sock_connect_timeout = None
117
+ self._sock_read_timeout = None
118
+ self._headers = None
119
+ self._rate_limit = None
120
+ self._includes = None
121
+ self._excludes = None
122
+ self._prereleases = None
123
+ self._package_types = None
124
+ self._keep_latest_packages = None
125
+ self._exclude_platforms = None
126
+ self.discriminator = None
127
+
128
+ if name is not None:
129
+ self.name = name
130
+ if url is not None:
131
+ self.url = url
132
+ self.ca_cert = ca_cert
133
+ self.client_cert = client_cert
134
+ self.client_key = client_key
135
+ if tls_validation is not None:
136
+ self.tls_validation = tls_validation
137
+ self.proxy_url = proxy_url
138
+ self.proxy_username = proxy_username
139
+ self.proxy_password = proxy_password
140
+ self.username = username
141
+ self.password = password
142
+ if pulp_labels is not None:
143
+ self.pulp_labels = pulp_labels
144
+ if download_concurrency is not None:
145
+ self.download_concurrency = download_concurrency
146
+ if policy is not None:
147
+ self.policy = policy
148
+ self.total_timeout = total_timeout
149
+ self.connect_timeout = connect_timeout
150
+ self.sock_connect_timeout = sock_connect_timeout
151
+ self.sock_read_timeout = sock_read_timeout
152
+ if headers is not None:
153
+ self.headers = headers
154
+ self.rate_limit = rate_limit
155
+ if includes is not None:
156
+ self.includes = includes
157
+ if excludes is not None:
158
+ self.excludes = excludes
159
+ if prereleases is not None:
160
+ self.prereleases = prereleases
161
+ if package_types is not None:
162
+ self.package_types = package_types
163
+ if keep_latest_packages is not None:
164
+ self.keep_latest_packages = keep_latest_packages
165
+ if exclude_platforms is not None:
166
+ self.exclude_platforms = exclude_platforms
167
+
168
+ @property
169
+ def name(self):
170
+ """Gets the name of this PatchedpythonPythonRemote. # noqa: E501
171
+
172
+ A unique name for this remote. # noqa: E501
173
+
174
+ :return: The name of this PatchedpythonPythonRemote. # noqa: E501
175
+ :rtype: str
176
+ """
177
+ return self._name
178
+
179
+ @name.setter
180
+ def name(self, name):
181
+ """Sets the name of this PatchedpythonPythonRemote.
182
+
183
+ A unique name for this remote. # noqa: E501
184
+
185
+ :param name: The name of this PatchedpythonPythonRemote. # noqa: E501
186
+ :type: str
187
+ """
188
+
189
+ self._name = name
190
+
191
+ @property
192
+ def url(self):
193
+ """Gets the url of this PatchedpythonPythonRemote. # noqa: E501
194
+
195
+ The URL of an external content source. # noqa: E501
196
+
197
+ :return: The url of this PatchedpythonPythonRemote. # noqa: E501
198
+ :rtype: str
199
+ """
200
+ return self._url
201
+
202
+ @url.setter
203
+ def url(self, url):
204
+ """Sets the url of this PatchedpythonPythonRemote.
205
+
206
+ The URL of an external content source. # noqa: E501
207
+
208
+ :param url: The url of this PatchedpythonPythonRemote. # noqa: E501
209
+ :type: str
210
+ """
211
+
212
+ self._url = url
213
+
214
+ @property
215
+ def ca_cert(self):
216
+ """Gets the ca_cert of this PatchedpythonPythonRemote. # noqa: E501
217
+
218
+ A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
219
+
220
+ :return: The ca_cert of this PatchedpythonPythonRemote. # noqa: E501
221
+ :rtype: str
222
+ """
223
+ return self._ca_cert
224
+
225
+ @ca_cert.setter
226
+ def ca_cert(self, ca_cert):
227
+ """Sets the ca_cert of this PatchedpythonPythonRemote.
228
+
229
+ A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
230
+
231
+ :param ca_cert: The ca_cert of this PatchedpythonPythonRemote. # noqa: E501
232
+ :type: str
233
+ """
234
+
235
+ self._ca_cert = ca_cert
236
+
237
+ @property
238
+ def client_cert(self):
239
+ """Gets the client_cert of this PatchedpythonPythonRemote. # noqa: E501
240
+
241
+ A PEM encoded client certificate used for authentication. # noqa: E501
242
+
243
+ :return: The client_cert of this PatchedpythonPythonRemote. # noqa: E501
244
+ :rtype: str
245
+ """
246
+ return self._client_cert
247
+
248
+ @client_cert.setter
249
+ def client_cert(self, client_cert):
250
+ """Sets the client_cert of this PatchedpythonPythonRemote.
251
+
252
+ A PEM encoded client certificate used for authentication. # noqa: E501
253
+
254
+ :param client_cert: The client_cert of this PatchedpythonPythonRemote. # noqa: E501
255
+ :type: str
256
+ """
257
+
258
+ self._client_cert = client_cert
259
+
260
+ @property
261
+ def client_key(self):
262
+ """Gets the client_key of this PatchedpythonPythonRemote. # noqa: E501
263
+
264
+ A PEM encoded private key used for authentication. # noqa: E501
265
+
266
+ :return: The client_key of this PatchedpythonPythonRemote. # noqa: E501
267
+ :rtype: str
268
+ """
269
+ return self._client_key
270
+
271
+ @client_key.setter
272
+ def client_key(self, client_key):
273
+ """Sets the client_key of this PatchedpythonPythonRemote.
274
+
275
+ A PEM encoded private key used for authentication. # noqa: E501
276
+
277
+ :param client_key: The client_key of this PatchedpythonPythonRemote. # noqa: E501
278
+ :type: str
279
+ """
280
+
281
+ self._client_key = client_key
282
+
283
+ @property
284
+ def tls_validation(self):
285
+ """Gets the tls_validation of this PatchedpythonPythonRemote. # noqa: E501
286
+
287
+ If True, TLS peer validation must be performed. # noqa: E501
288
+
289
+ :return: The tls_validation of this PatchedpythonPythonRemote. # noqa: E501
290
+ :rtype: bool
291
+ """
292
+ return self._tls_validation
293
+
294
+ @tls_validation.setter
295
+ def tls_validation(self, tls_validation):
296
+ """Sets the tls_validation of this PatchedpythonPythonRemote.
297
+
298
+ If True, TLS peer validation must be performed. # noqa: E501
299
+
300
+ :param tls_validation: The tls_validation of this PatchedpythonPythonRemote. # noqa: E501
301
+ :type: bool
302
+ """
303
+
304
+ self._tls_validation = tls_validation
305
+
306
+ @property
307
+ def proxy_url(self):
308
+ """Gets the proxy_url of this PatchedpythonPythonRemote. # noqa: E501
309
+
310
+ The proxy URL. Format: scheme://host:port # noqa: E501
311
+
312
+ :return: The proxy_url of this PatchedpythonPythonRemote. # noqa: E501
313
+ :rtype: str
314
+ """
315
+ return self._proxy_url
316
+
317
+ @proxy_url.setter
318
+ def proxy_url(self, proxy_url):
319
+ """Sets the proxy_url of this PatchedpythonPythonRemote.
320
+
321
+ The proxy URL. Format: scheme://host:port # noqa: E501
322
+
323
+ :param proxy_url: The proxy_url of this PatchedpythonPythonRemote. # noqa: E501
324
+ :type: str
325
+ """
326
+
327
+ self._proxy_url = proxy_url
328
+
329
+ @property
330
+ def proxy_username(self):
331
+ """Gets the proxy_username of this PatchedpythonPythonRemote. # noqa: E501
332
+
333
+ The username to authenticte to the proxy. # noqa: E501
334
+
335
+ :return: The proxy_username of this PatchedpythonPythonRemote. # noqa: E501
336
+ :rtype: str
337
+ """
338
+ return self._proxy_username
339
+
340
+ @proxy_username.setter
341
+ def proxy_username(self, proxy_username):
342
+ """Sets the proxy_username of this PatchedpythonPythonRemote.
343
+
344
+ The username to authenticte to the proxy. # noqa: E501
345
+
346
+ :param proxy_username: The proxy_username of this PatchedpythonPythonRemote. # noqa: E501
347
+ :type: str
348
+ """
349
+
350
+ self._proxy_username = proxy_username
351
+
352
+ @property
353
+ def proxy_password(self):
354
+ """Gets the proxy_password of this PatchedpythonPythonRemote. # noqa: E501
355
+
356
+ The password to authenticte to the proxy. # noqa: E501
357
+
358
+ :return: The proxy_password of this PatchedpythonPythonRemote. # noqa: E501
359
+ :rtype: str
360
+ """
361
+ return self._proxy_password
362
+
363
+ @proxy_password.setter
364
+ def proxy_password(self, proxy_password):
365
+ """Sets the proxy_password of this PatchedpythonPythonRemote.
366
+
367
+ The password to authenticte to the proxy. # noqa: E501
368
+
369
+ :param proxy_password: The proxy_password of this PatchedpythonPythonRemote. # noqa: E501
370
+ :type: str
371
+ """
372
+
373
+ self._proxy_password = proxy_password
374
+
375
+ @property
376
+ def username(self):
377
+ """Gets the username of this PatchedpythonPythonRemote. # noqa: E501
378
+
379
+ The username to be used for authentication when syncing. # noqa: E501
380
+
381
+ :return: The username of this PatchedpythonPythonRemote. # noqa: E501
382
+ :rtype: str
383
+ """
384
+ return self._username
385
+
386
+ @username.setter
387
+ def username(self, username):
388
+ """Sets the username of this PatchedpythonPythonRemote.
389
+
390
+ The username to be used for authentication when syncing. # noqa: E501
391
+
392
+ :param username: The username of this PatchedpythonPythonRemote. # noqa: E501
393
+ :type: str
394
+ """
395
+
396
+ self._username = username
397
+
398
+ @property
399
+ def password(self):
400
+ """Gets the password of this PatchedpythonPythonRemote. # noqa: E501
401
+
402
+ The password to be used for authentication when syncing. # noqa: E501
403
+
404
+ :return: The password of this PatchedpythonPythonRemote. # noqa: E501
405
+ :rtype: str
406
+ """
407
+ return self._password
408
+
409
+ @password.setter
410
+ def password(self, password):
411
+ """Sets the password of this PatchedpythonPythonRemote.
412
+
413
+ The password to be used for authentication when syncing. # noqa: E501
414
+
415
+ :param password: The password of this PatchedpythonPythonRemote. # noqa: E501
416
+ :type: str
417
+ """
418
+
419
+ self._password = password
420
+
421
+ @property
422
+ def pulp_labels(self):
423
+ """Gets the pulp_labels of this PatchedpythonPythonRemote. # noqa: E501
424
+
425
+
426
+ :return: The pulp_labels of this PatchedpythonPythonRemote. # noqa: E501
427
+ :rtype: object
428
+ """
429
+ return self._pulp_labels
430
+
431
+ @pulp_labels.setter
432
+ def pulp_labels(self, pulp_labels):
433
+ """Sets the pulp_labels of this PatchedpythonPythonRemote.
434
+
435
+
436
+ :param pulp_labels: The pulp_labels of this PatchedpythonPythonRemote. # noqa: E501
437
+ :type: object
438
+ """
439
+
440
+ self._pulp_labels = pulp_labels
441
+
442
+ @property
443
+ def download_concurrency(self):
444
+ """Gets the download_concurrency of this PatchedpythonPythonRemote. # noqa: E501
445
+
446
+ Total number of simultaneous connections. # noqa: E501
447
+
448
+ :return: The download_concurrency of this PatchedpythonPythonRemote. # noqa: E501
449
+ :rtype: int
450
+ """
451
+ return self._download_concurrency
452
+
453
+ @download_concurrency.setter
454
+ def download_concurrency(self, download_concurrency):
455
+ """Sets the download_concurrency of this PatchedpythonPythonRemote.
456
+
457
+ Total number of simultaneous connections. # noqa: E501
458
+
459
+ :param download_concurrency: The download_concurrency of this PatchedpythonPythonRemote. # noqa: E501
460
+ :type: int
461
+ """
462
+ if (self.local_vars_configuration.client_side_validation and
463
+ download_concurrency is not None and download_concurrency < 1): # noqa: E501
464
+ raise ValueError("Invalid value for `download_concurrency`, must be a value greater than or equal to `1`") # noqa: E501
465
+
466
+ self._download_concurrency = download_concurrency
467
+
468
+ @property
469
+ def policy(self):
470
+ """Gets the policy of this PatchedpythonPythonRemote. # noqa: E501
471
+
472
+ The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. # noqa: E501
473
+
474
+ :return: The policy of this PatchedpythonPythonRemote. # noqa: E501
475
+ :rtype: PolicyEnum
476
+ """
477
+ return self._policy
478
+
479
+ @policy.setter
480
+ def policy(self, policy):
481
+ """Sets the policy of this PatchedpythonPythonRemote.
482
+
483
+ The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. # noqa: E501
484
+
485
+ :param policy: The policy of this PatchedpythonPythonRemote. # noqa: E501
486
+ :type: PolicyEnum
487
+ """
488
+
489
+ self._policy = policy
490
+
491
+ @property
492
+ def total_timeout(self):
493
+ """Gets the total_timeout of this PatchedpythonPythonRemote. # noqa: E501
494
+
495
+ aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
496
+
497
+ :return: The total_timeout of this PatchedpythonPythonRemote. # noqa: E501
498
+ :rtype: float
499
+ """
500
+ return self._total_timeout
501
+
502
+ @total_timeout.setter
503
+ def total_timeout(self, total_timeout):
504
+ """Sets the total_timeout of this PatchedpythonPythonRemote.
505
+
506
+ aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
507
+
508
+ :param total_timeout: The total_timeout of this PatchedpythonPythonRemote. # noqa: E501
509
+ :type: float
510
+ """
511
+ if (self.local_vars_configuration.client_side_validation and
512
+ total_timeout is not None and total_timeout < 0.0): # noqa: E501
513
+ raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
514
+
515
+ self._total_timeout = total_timeout
516
+
517
+ @property
518
+ def connect_timeout(self):
519
+ """Gets the connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
520
+
521
+ aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
522
+
523
+ :return: The connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
524
+ :rtype: float
525
+ """
526
+ return self._connect_timeout
527
+
528
+ @connect_timeout.setter
529
+ def connect_timeout(self, connect_timeout):
530
+ """Sets the connect_timeout of this PatchedpythonPythonRemote.
531
+
532
+ aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
533
+
534
+ :param connect_timeout: The connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
535
+ :type: float
536
+ """
537
+ if (self.local_vars_configuration.client_side_validation and
538
+ connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
539
+ raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
540
+
541
+ self._connect_timeout = connect_timeout
542
+
543
+ @property
544
+ def sock_connect_timeout(self):
545
+ """Gets the sock_connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
546
+
547
+ aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
548
+
549
+ :return: The sock_connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
550
+ :rtype: float
551
+ """
552
+ return self._sock_connect_timeout
553
+
554
+ @sock_connect_timeout.setter
555
+ def sock_connect_timeout(self, sock_connect_timeout):
556
+ """Sets the sock_connect_timeout of this PatchedpythonPythonRemote.
557
+
558
+ aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
559
+
560
+ :param sock_connect_timeout: The sock_connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
561
+ :type: float
562
+ """
563
+ if (self.local_vars_configuration.client_side_validation and
564
+ sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
565
+ raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
566
+
567
+ self._sock_connect_timeout = sock_connect_timeout
568
+
569
+ @property
570
+ def sock_read_timeout(self):
571
+ """Gets the sock_read_timeout of this PatchedpythonPythonRemote. # noqa: E501
572
+
573
+ aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
574
+
575
+ :return: The sock_read_timeout of this PatchedpythonPythonRemote. # noqa: E501
576
+ :rtype: float
577
+ """
578
+ return self._sock_read_timeout
579
+
580
+ @sock_read_timeout.setter
581
+ def sock_read_timeout(self, sock_read_timeout):
582
+ """Sets the sock_read_timeout of this PatchedpythonPythonRemote.
583
+
584
+ aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
585
+
586
+ :param sock_read_timeout: The sock_read_timeout of this PatchedpythonPythonRemote. # noqa: E501
587
+ :type: float
588
+ """
589
+ if (self.local_vars_configuration.client_side_validation and
590
+ sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
591
+ raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
592
+
593
+ self._sock_read_timeout = sock_read_timeout
594
+
595
+ @property
596
+ def headers(self):
597
+ """Gets the headers of this PatchedpythonPythonRemote. # noqa: E501
598
+
599
+ Headers for aiohttp.Clientsession # noqa: E501
600
+
601
+ :return: The headers of this PatchedpythonPythonRemote. # noqa: E501
602
+ :rtype: list[object]
603
+ """
604
+ return self._headers
605
+
606
+ @headers.setter
607
+ def headers(self, headers):
608
+ """Sets the headers of this PatchedpythonPythonRemote.
609
+
610
+ Headers for aiohttp.Clientsession # noqa: E501
611
+
612
+ :param headers: The headers of this PatchedpythonPythonRemote. # noqa: E501
613
+ :type: list[object]
614
+ """
615
+
616
+ self._headers = headers
617
+
618
+ @property
619
+ def rate_limit(self):
620
+ """Gets the rate_limit of this PatchedpythonPythonRemote. # noqa: E501
621
+
622
+ Limits total download rate in requests per second # noqa: E501
623
+
624
+ :return: The rate_limit of this PatchedpythonPythonRemote. # noqa: E501
625
+ :rtype: int
626
+ """
627
+ return self._rate_limit
628
+
629
+ @rate_limit.setter
630
+ def rate_limit(self, rate_limit):
631
+ """Sets the rate_limit of this PatchedpythonPythonRemote.
632
+
633
+ Limits total download rate in requests per second # noqa: E501
634
+
635
+ :param rate_limit: The rate_limit of this PatchedpythonPythonRemote. # noqa: E501
636
+ :type: int
637
+ """
638
+
639
+ self._rate_limit = rate_limit
640
+
641
+ @property
642
+ def includes(self):
643
+ """Gets the includes of this PatchedpythonPythonRemote. # noqa: E501
644
+
645
+ A JSON list containing project specifiers for Python packages to include. # noqa: E501
646
+
647
+ :return: The includes of this PatchedpythonPythonRemote. # noqa: E501
648
+ :rtype: object
649
+ """
650
+ return self._includes
651
+
652
+ @includes.setter
653
+ def includes(self, includes):
654
+ """Sets the includes of this PatchedpythonPythonRemote.
655
+
656
+ A JSON list containing project specifiers for Python packages to include. # noqa: E501
657
+
658
+ :param includes: The includes of this PatchedpythonPythonRemote. # noqa: E501
659
+ :type: object
660
+ """
661
+
662
+ self._includes = includes
663
+
664
+ @property
665
+ def excludes(self):
666
+ """Gets the excludes of this PatchedpythonPythonRemote. # noqa: E501
667
+
668
+ A JSON list containing project specifiers for Python packages to exclude. # noqa: E501
669
+
670
+ :return: The excludes of this PatchedpythonPythonRemote. # noqa: E501
671
+ :rtype: object
672
+ """
673
+ return self._excludes
674
+
675
+ @excludes.setter
676
+ def excludes(self, excludes):
677
+ """Sets the excludes of this PatchedpythonPythonRemote.
678
+
679
+ A JSON list containing project specifiers for Python packages to exclude. # noqa: E501
680
+
681
+ :param excludes: The excludes of this PatchedpythonPythonRemote. # noqa: E501
682
+ :type: object
683
+ """
684
+
685
+ self._excludes = excludes
686
+
687
+ @property
688
+ def prereleases(self):
689
+ """Gets the prereleases of this PatchedpythonPythonRemote. # noqa: E501
690
+
691
+ Whether or not to include pre-release packages in the sync. # noqa: E501
692
+
693
+ :return: The prereleases of this PatchedpythonPythonRemote. # noqa: E501
694
+ :rtype: bool
695
+ """
696
+ return self._prereleases
697
+
698
+ @prereleases.setter
699
+ def prereleases(self, prereleases):
700
+ """Sets the prereleases of this PatchedpythonPythonRemote.
701
+
702
+ Whether or not to include pre-release packages in the sync. # noqa: E501
703
+
704
+ :param prereleases: The prereleases of this PatchedpythonPythonRemote. # noqa: E501
705
+ :type: bool
706
+ """
707
+
708
+ self._prereleases = prereleases
709
+
710
+ @property
711
+ def package_types(self):
712
+ """Gets the package_types of this PatchedpythonPythonRemote. # noqa: E501
713
+
714
+ The package types to sync for Python content. Leave blank to get everypackage type. # noqa: E501
715
+
716
+ :return: The package_types of this PatchedpythonPythonRemote. # noqa: E501
717
+ :rtype: list[PackageTypesEnum]
718
+ """
719
+ return self._package_types
720
+
721
+ @package_types.setter
722
+ def package_types(self, package_types):
723
+ """Sets the package_types of this PatchedpythonPythonRemote.
724
+
725
+ The package types to sync for Python content. Leave blank to get everypackage type. # noqa: E501
726
+
727
+ :param package_types: The package_types of this PatchedpythonPythonRemote. # noqa: E501
728
+ :type: list[PackageTypesEnum]
729
+ """
730
+
731
+ self._package_types = package_types
732
+
733
+ @property
734
+ def keep_latest_packages(self):
735
+ """Gets the keep_latest_packages of this PatchedpythonPythonRemote. # noqa: E501
736
+
737
+ The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. # noqa: E501
738
+
739
+ :return: The keep_latest_packages of this PatchedpythonPythonRemote. # noqa: E501
740
+ :rtype: int
741
+ """
742
+ return self._keep_latest_packages
743
+
744
+ @keep_latest_packages.setter
745
+ def keep_latest_packages(self, keep_latest_packages):
746
+ """Sets the keep_latest_packages of this PatchedpythonPythonRemote.
747
+
748
+ The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. # noqa: E501
749
+
750
+ :param keep_latest_packages: The keep_latest_packages of this PatchedpythonPythonRemote. # noqa: E501
751
+ :type: int
752
+ """
753
+
754
+ self._keep_latest_packages = keep_latest_packages
755
+
756
+ @property
757
+ def exclude_platforms(self):
758
+ """Gets the exclude_platforms of this PatchedpythonPythonRemote. # noqa: E501
759
+
760
+ List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. # noqa: E501
761
+
762
+ :return: The exclude_platforms of this PatchedpythonPythonRemote. # noqa: E501
763
+ :rtype: list[ExcludePlatformsEnum]
764
+ """
765
+ return self._exclude_platforms
766
+
767
+ @exclude_platforms.setter
768
+ def exclude_platforms(self, exclude_platforms):
769
+ """Sets the exclude_platforms of this PatchedpythonPythonRemote.
770
+
771
+ List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. # noqa: E501
772
+
773
+ :param exclude_platforms: The exclude_platforms of this PatchedpythonPythonRemote. # noqa: E501
774
+ :type: list[ExcludePlatformsEnum]
775
+ """
776
+
777
+ self._exclude_platforms = exclude_platforms
778
+
779
+ def to_dict(self):
780
+ """Returns the model properties as a dict"""
781
+ result = {}
782
+
783
+ for attr, _ in six.iteritems(self.openapi_types):
784
+ value = getattr(self, attr)
785
+ if isinstance(value, list):
786
+ result[attr] = list(map(
787
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
788
+ value
789
+ ))
790
+ elif hasattr(value, "to_dict"):
791
+ result[attr] = value.to_dict()
792
+ elif isinstance(value, dict):
793
+ result[attr] = dict(map(
794
+ lambda item: (item[0], item[1].to_dict())
795
+ if hasattr(item[1], "to_dict") else item,
796
+ value.items()
797
+ ))
798
+ else:
799
+ result[attr] = value
800
+
801
+ return result
802
+
803
+ def to_str(self):
804
+ """Returns the string representation of the model"""
805
+ return pprint.pformat(self.to_dict())
806
+
807
+ def __repr__(self):
808
+ """For `print` and `pprint`"""
809
+ return self.to_str()
810
+
811
+ def __eq__(self, other):
812
+ """Returns true if both objects are equal"""
813
+ if not isinstance(other, PatchedpythonPythonRemote):
814
+ return False
815
+
816
+ return self.to_dict() == other.to_dict()
817
+
818
+ def __ne__(self, other):
819
+ """Returns true if both objects are not equal"""
820
+ if not isinstance(other, PatchedpythonPythonRemote):
821
+ return True
822
+
823
+ return self.to_dict() != other.to_dict()