pulp_ansible_client 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (467) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +4 -4
  4. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  5. data/docs/AnsibleRoleResponse.md +4 -4
  6. data/docs/RepositoryAddRemoveContent.md +2 -2
  7. data/lib/pulp_ansible_client.rb +1 -1
  8. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +1 -1
  9. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
  10. data/lib/pulp_ansible_client/api/api_collections_api.rb +1 -1
  11. data/lib/pulp_ansible_client/api/api_roles_api.rb +1 -1
  12. data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
  13. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +1 -1
  14. data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
  15. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +1 -1
  16. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +1 -1
  17. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
  18. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +1 -1
  19. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
  20. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +1 -1
  21. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
  22. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
  23. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +1 -1
  24. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +1 -1
  25. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +1 -1
  26. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +1 -1
  27. data/lib/pulp_ansible_client/api/remotes_role_api.rb +1 -1
  28. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +1 -1
  29. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  30. data/lib/pulp_ansible_client/api/versions_api.rb +1 -1
  31. data/lib/pulp_ansible_client/api_client.rb +12 -8
  32. data/lib/pulp_ansible_client/api_error.rb +1 -1
  33. data/lib/pulp_ansible_client/configuration.rb +8 -1
  34. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
  35. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
  36. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  37. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
  38. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  39. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
  40. data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
  41. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
  42. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
  43. data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
  44. data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
  45. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
  46. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  47. data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
  48. data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
  49. data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
  50. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  51. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
  52. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
  53. data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
  54. data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
  55. data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
  56. data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
  57. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  58. data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
  59. data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
  60. data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
  61. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  62. data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
  63. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
  64. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
  65. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
  66. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
  67. data/lib/pulp_ansible_client/models/paginated_collection_response_list.rb +1 -1
  68. data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +1 -1
  69. data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +1 -1
  70. data/lib/pulp_ansible_client/models/paginated_collection_version_response_list.rb +1 -1
  71. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +1 -1
  72. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +1 -1
  73. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +1 -1
  74. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +1 -1
  75. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +1 -1
  76. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +1 -1
  77. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +1 -1
  78. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +1 -1
  79. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +1 -1
  80. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +1 -1
  81. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +1 -1
  82. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +1 -1
  83. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +1 -1
  84. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +1 -1
  85. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  86. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
  87. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
  88. data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
  89. data/lib/pulp_ansible_client/models/repo_metadata_response.rb +1 -1
  90. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
  91. data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
  92. data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
  93. data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
  94. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +1 -1
  95. data/lib/pulp_ansible_client/version.rb +2 -2
  96. data/pulp_ansible_client.gemspec +1 -1
  97. data/spec/api/ansible_collections_api_spec.rb +1 -1
  98. data/spec/api/ansible_copy_api_spec.rb +1 -1
  99. data/spec/api/api_collections_api_spec.rb +1 -1
  100. data/spec/api/api_roles_api_spec.rb +1 -1
  101. data/spec/api/collection_import_api_spec.rb +1 -1
  102. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  103. data/spec/api/content_roles_api_spec.rb +1 -1
  104. data/spec/api/distributions_ansible_api_spec.rb +1 -1
  105. data/spec/api/galaxy_detail_api_spec.rb +1 -1
  106. data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
  107. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
  108. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
  109. data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +1 -1
  110. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
  111. data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
  112. data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +1 -1
  113. data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +1 -1
  114. data/spec/api/pulp_ansible_tags_api_spec.rb +1 -1
  115. data/spec/api/remotes_collection_api_spec.rb +1 -1
  116. data/spec/api/remotes_role_api_spec.rb +1 -1
  117. data/spec/api/repositories_ansible_api_spec.rb +1 -1
  118. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
  119. data/spec/api/versions_api_spec.rb +1 -1
  120. data/spec/api_client_spec.rb +2 -2
  121. data/spec/configuration_spec.rb +1 -1
  122. data/spec/models/ansible_ansible_distribution_response_spec.rb +1 -1
  123. data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
  124. data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
  125. data/spec/models/ansible_ansible_repository_spec.rb +1 -1
  126. data/spec/models/ansible_collection_remote_response_spec.rb +1 -1
  127. data/spec/models/ansible_collection_remote_spec.rb +1 -1
  128. data/spec/models/ansible_collection_response_spec.rb +1 -1
  129. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  130. data/spec/models/ansible_collection_version_spec.rb +1 -1
  131. data/spec/models/ansible_repository_sync_url_spec.rb +1 -1
  132. data/spec/models/ansible_role_remote_response_spec.rb +1 -1
  133. data/spec/models/ansible_role_remote_spec.rb +1 -1
  134. data/spec/models/ansible_role_response_spec.rb +3 -3
  135. data/spec/models/ansible_role_spec.rb +1 -1
  136. data/spec/models/ansible_tag_response_spec.rb +1 -1
  137. data/spec/models/artifact_ref_response_spec.rb +1 -1
  138. data/spec/models/async_operation_response_spec.rb +1 -1
  139. data/spec/models/collection_import_detail_response_spec.rb +1 -1
  140. data/spec/models/collection_metadata_response_spec.rb +1 -1
  141. data/spec/models/collection_namespace_response_spec.rb +1 -1
  142. data/spec/models/collection_one_shot_spec.rb +1 -1
  143. data/spec/models/collection_ref_response_spec.rb +1 -1
  144. data/spec/models/collection_response_spec.rb +1 -1
  145. data/spec/models/collection_version_docs_response_spec.rb +1 -1
  146. data/spec/models/collection_version_response_spec.rb +1 -1
  147. data/spec/models/content_summary_response_spec.rb +1 -1
  148. data/spec/models/content_summary_spec.rb +1 -1
  149. data/spec/models/copy_spec.rb +1 -1
  150. data/spec/models/galaxy_collection_response_spec.rb +1 -1
  151. data/spec/models/galaxy_collection_spec.rb +1 -1
  152. data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
  153. data/spec/models/galaxy_role_response_spec.rb +1 -1
  154. data/spec/models/galaxy_role_version_response_spec.rb +1 -1
  155. data/spec/models/paginated_collection_response_list_links_spec.rb +1 -1
  156. data/spec/models/paginated_collection_response_list_meta_spec.rb +1 -1
  157. data/spec/models/paginated_collection_response_list_spec.rb +1 -1
  158. data/spec/models/paginated_collection_version_response_list_spec.rb +1 -1
  159. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +1 -1
  160. data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +1 -1
  161. data/spec/models/paginated_galaxy_role_response_list_spec.rb +1 -1
  162. data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +1 -1
  163. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  164. data/spec/models/paginated_tag_response_list_spec.rb +1 -1
  165. data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +1 -1
  166. data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +1 -1
  167. data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +1 -1
  168. data/spec/models/paginatedansible_collection_response_list_spec.rb +1 -1
  169. data/spec/models/paginatedansible_collection_version_response_list_spec.rb +1 -1
  170. data/spec/models/paginatedansible_role_remote_response_list_spec.rb +1 -1
  171. data/spec/models/paginatedansible_role_response_list_spec.rb +1 -1
  172. data/spec/models/patchedansible_ansible_distribution_spec.rb +1 -1
  173. data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
  174. data/spec/models/patchedansible_collection_remote_spec.rb +1 -1
  175. data/spec/models/patchedansible_role_remote_spec.rb +1 -1
  176. data/spec/models/policy_enum_spec.rb +1 -1
  177. data/spec/models/repo_metadata_response_spec.rb +1 -1
  178. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  179. data/spec/models/repository_version_response_spec.rb +1 -1
  180. data/spec/models/repository_version_spec.rb +1 -1
  181. data/spec/models/tag_response_spec.rb +1 -1
  182. data/spec/models/unpaginated_collection_version_response_spec.rb +1 -1
  183. data/spec/spec_helper.rb +1 -1
  184. metadata +68 -351
  185. data/build/lib/pulpcore/__init__.py +0 -2
  186. data/build/lib/pulpcore/client/__init__.py +0 -2
  187. data/build/lib/pulpcore/client/pulp_ansible/__init__.py +0 -115
  188. data/build/lib/pulpcore/client/pulp_ansible/api/__init__.py +0 -28
  189. data/build/lib/pulpcore/client/pulp_ansible/api/ansible_collections_api.py +0 -316
  190. data/build/lib/pulpcore/client/pulp_ansible/api/ansible_copy_api.py +0 -156
  191. data/build/lib/pulpcore/client/pulp_ansible/api/api_collections_api.py +0 -294
  192. data/build/lib/pulpcore/client/pulp_ansible/api/api_roles_api.py +0 -172
  193. data/build/lib/pulpcore/client/pulp_ansible/api/collection_import_api.py +0 -167
  194. data/build/lib/pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +0 -455
  195. data/build/lib/pulpcore/client/pulp_ansible/api/content_roles_api.py +0 -440
  196. data/build/lib/pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +0 -830
  197. data/build/lib/pulpcore/client/pulp_ansible/api/galaxy_detail_api.py +0 -162
  198. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +0 -158
  199. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_collections_api.py +0 -474
  200. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v2_versions_api.py +0 -185
  201. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_all_api.py +0 -301
  202. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_api.py +0 -185
  203. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +0 -189
  204. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_versions_api.py +0 -386
  205. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_v3_api.py +0 -162
  206. data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +0 -168
  207. data/build/lib/pulpcore/client/pulp_ansible/api/remotes_collection_api.py +0 -840
  208. data/build/lib/pulpcore/client/pulp_ansible/api/remotes_role_api.py +0 -840
  209. data/build/lib/pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +0 -1063
  210. data/build/lib/pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +0 -614
  211. data/build/lib/pulpcore/client/pulp_ansible/api/versions_api.py +0 -301
  212. data/build/lib/pulpcore/client/pulp_ansible/api_client.py +0 -667
  213. data/build/lib/pulpcore/client/pulp_ansible/configuration.py +0 -427
  214. data/build/lib/pulpcore/client/pulp_ansible/exceptions.py +0 -121
  215. data/build/lib/pulpcore/client/pulp_ansible/models/__init__.py +0 -78
  216. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +0 -260
  217. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +0 -342
  218. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +0 -259
  219. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +0 -365
  220. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +0 -771
  221. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +0 -718
  222. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_response.py +0 -153
  223. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_version.py +0 -639
  224. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +0 -887
  225. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +0 -179
  226. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role.py +0 -205
  227. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_remote.py +0 -657
  228. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +0 -604
  229. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_response.py +0 -259
  230. data/build/lib/pulpcore/client/pulp_ansible/models/ansible_tag_response.py +0 -123
  231. data/build/lib/pulpcore/client/pulp_ansible/models/artifact_ref_response.py +0 -176
  232. data/build/lib/pulpcore/client/pulp_ansible/models/async_operation_response.py +0 -124
  233. data/build/lib/pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +0 -311
  234. data/build/lib/pulpcore/client/pulp_ansible/models/collection_metadata_response.py +0 -356
  235. data/build/lib/pulpcore/client/pulp_ansible/models/collection_namespace_response.py +0 -122
  236. data/build/lib/pulpcore/client/pulp_ansible/models/collection_one_shot.py +0 -236
  237. data/build/lib/pulpcore/client/pulp_ansible/models/collection_ref_response.py +0 -175
  238. data/build/lib/pulpcore/client/pulp_ansible/models/collection_response.py +0 -303
  239. data/build/lib/pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +0 -122
  240. data/build/lib/pulpcore/client/pulp_ansible/models/collection_version_response.py +0 -441
  241. data/build/lib/pulpcore/client/pulp_ansible/models/content_summary.py +0 -176
  242. data/build/lib/pulpcore/client/pulp_ansible/models/content_summary_response.py +0 -176
  243. data/build/lib/pulpcore/client/pulp_ansible/models/copy.py +0 -124
  244. data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection.py +0 -203
  245. data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection_response.py +0 -307
  246. data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection_version_response.py +0 -253
  247. data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_role_response.py +0 -175
  248. data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +0 -148
  249. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +0 -173
  250. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +0 -195
  251. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +0 -121
  252. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_version_response_list.py +0 -173
  253. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_response_list.py +0 -197
  254. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_version_response_list.py +0 -197
  255. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +0 -197
  256. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +0 -197
  257. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +0 -197
  258. data/build/lib/pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +0 -197
  259. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +0 -197
  260. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +0 -197
  261. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +0 -197
  262. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +0 -197
  263. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +0 -197
  264. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +0 -197
  265. data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +0 -197
  266. data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +0 -258
  267. data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +0 -258
  268. data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +0 -769
  269. data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +0 -655
  270. data/build/lib/pulpcore/client/pulp_ansible/models/policy_enum.py +0 -101
  271. data/build/lib/pulpcore/client/pulp_ansible/models/repo_metadata_response.py +0 -122
  272. data/build/lib/pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +0 -179
  273. data/build/lib/pulpcore/client/pulp_ansible/models/repository_version.py +0 -123
  274. data/build/lib/pulpcore/client/pulp_ansible/models/repository_version_response.py +0 -257
  275. data/build/lib/pulpcore/client/pulp_ansible/models/tag_response.py +0 -121
  276. data/build/lib/pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +0 -385
  277. data/build/lib/pulpcore/client/pulp_ansible/rest.py +0 -292
  278. data/dist/pulp_ansible-client-0.8.0.tar.gz +0 -0
  279. data/dist/pulp_ansible_client-0.8.0-py3-none-any.whl +0 -0
  280. data/pulp_ansible_client.egg-info/PKG-INFO +0 -15
  281. data/pulp_ansible_client.egg-info/SOURCES.txt +0 -185
  282. data/pulp_ansible_client.egg-info/dependency_links.txt +0 -1
  283. data/pulp_ansible_client.egg-info/requires.txt +0 -4
  284. data/pulp_ansible_client.egg-info/top_level.txt +0 -1
  285. data/pulpcore/__init__.py +0 -2
  286. data/pulpcore/client/__init__.py +0 -2
  287. data/pulpcore/client/pulp_ansible/__init__.py +0 -115
  288. data/pulpcore/client/pulp_ansible/api/__init__.py +0 -28
  289. data/pulpcore/client/pulp_ansible/api/ansible_collections_api.py +0 -316
  290. data/pulpcore/client/pulp_ansible/api/ansible_copy_api.py +0 -156
  291. data/pulpcore/client/pulp_ansible/api/api_collections_api.py +0 -294
  292. data/pulpcore/client/pulp_ansible/api/api_roles_api.py +0 -172
  293. data/pulpcore/client/pulp_ansible/api/collection_import_api.py +0 -167
  294. data/pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +0 -455
  295. data/pulpcore/client/pulp_ansible/api/content_roles_api.py +0 -440
  296. data/pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +0 -830
  297. data/pulpcore/client/pulp_ansible/api/galaxy_detail_api.py +0 -162
  298. data/pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +0 -158
  299. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_collections_api.py +0 -474
  300. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v2_versions_api.py +0 -185
  301. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_all_api.py +0 -301
  302. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_api.py +0 -185
  303. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +0 -189
  304. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_versions_api.py +0 -386
  305. data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_v3_api.py +0 -162
  306. data/pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +0 -168
  307. data/pulpcore/client/pulp_ansible/api/remotes_collection_api.py +0 -840
  308. data/pulpcore/client/pulp_ansible/api/remotes_role_api.py +0 -840
  309. data/pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +0 -1063
  310. data/pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +0 -614
  311. data/pulpcore/client/pulp_ansible/api/versions_api.py +0 -301
  312. data/pulpcore/client/pulp_ansible/api_client.py +0 -667
  313. data/pulpcore/client/pulp_ansible/configuration.py +0 -427
  314. data/pulpcore/client/pulp_ansible/exceptions.py +0 -121
  315. data/pulpcore/client/pulp_ansible/models/__init__.py +0 -78
  316. data/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +0 -260
  317. data/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +0 -342
  318. data/pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +0 -259
  319. data/pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +0 -365
  320. data/pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +0 -771
  321. data/pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +0 -718
  322. data/pulpcore/client/pulp_ansible/models/ansible_collection_response.py +0 -153
  323. data/pulpcore/client/pulp_ansible/models/ansible_collection_version.py +0 -639
  324. data/pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +0 -887
  325. data/pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +0 -179
  326. data/pulpcore/client/pulp_ansible/models/ansible_role.py +0 -205
  327. data/pulpcore/client/pulp_ansible/models/ansible_role_remote.py +0 -657
  328. data/pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +0 -604
  329. data/pulpcore/client/pulp_ansible/models/ansible_role_response.py +0 -259
  330. data/pulpcore/client/pulp_ansible/models/ansible_tag_response.py +0 -123
  331. data/pulpcore/client/pulp_ansible/models/artifact_ref_response.py +0 -176
  332. data/pulpcore/client/pulp_ansible/models/async_operation_response.py +0 -124
  333. data/pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +0 -311
  334. data/pulpcore/client/pulp_ansible/models/collection_metadata_response.py +0 -356
  335. data/pulpcore/client/pulp_ansible/models/collection_namespace_response.py +0 -122
  336. data/pulpcore/client/pulp_ansible/models/collection_one_shot.py +0 -236
  337. data/pulpcore/client/pulp_ansible/models/collection_ref_response.py +0 -175
  338. data/pulpcore/client/pulp_ansible/models/collection_response.py +0 -303
  339. data/pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +0 -122
  340. data/pulpcore/client/pulp_ansible/models/collection_version_response.py +0 -441
  341. data/pulpcore/client/pulp_ansible/models/content_summary.py +0 -176
  342. data/pulpcore/client/pulp_ansible/models/content_summary_response.py +0 -176
  343. data/pulpcore/client/pulp_ansible/models/copy.py +0 -124
  344. data/pulpcore/client/pulp_ansible/models/galaxy_collection.py +0 -203
  345. data/pulpcore/client/pulp_ansible/models/galaxy_collection_response.py +0 -307
  346. data/pulpcore/client/pulp_ansible/models/galaxy_collection_version_response.py +0 -253
  347. data/pulpcore/client/pulp_ansible/models/galaxy_role_response.py +0 -175
  348. data/pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +0 -148
  349. data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +0 -173
  350. data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +0 -195
  351. data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +0 -121
  352. data/pulpcore/client/pulp_ansible/models/paginated_collection_version_response_list.py +0 -173
  353. data/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_response_list.py +0 -197
  354. data/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_version_response_list.py +0 -197
  355. data/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +0 -197
  356. data/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +0 -197
  357. data/pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +0 -197
  358. data/pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +0 -197
  359. data/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +0 -197
  360. data/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +0 -197
  361. data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +0 -197
  362. data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +0 -197
  363. data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +0 -197
  364. data/pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +0 -197
  365. data/pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +0 -197
  366. data/pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +0 -258
  367. data/pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +0 -258
  368. data/pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +0 -769
  369. data/pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +0 -655
  370. data/pulpcore/client/pulp_ansible/models/policy_enum.py +0 -101
  371. data/pulpcore/client/pulp_ansible/models/repo_metadata_response.py +0 -122
  372. data/pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +0 -179
  373. data/pulpcore/client/pulp_ansible/models/repository_version.py +0 -123
  374. data/pulpcore/client/pulp_ansible/models/repository_version_response.py +0 -257
  375. data/pulpcore/client/pulp_ansible/models/tag_response.py +0 -121
  376. data/pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +0 -385
  377. data/pulpcore/client/pulp_ansible/rest.py +0 -292
  378. data/requirements.txt +0 -6
  379. data/setup.cfg +0 -2
  380. data/setup.py +0 -42
  381. data/test-requirements.txt +0 -3
  382. data/test/__init__.py +0 -0
  383. data/test/test_ansible_ansible_distribution.py +0 -60
  384. data/test/test_ansible_ansible_distribution_response.py +0 -63
  385. data/test/test_ansible_ansible_repository.py +0 -59
  386. data/test/test_ansible_ansible_repository_response.py +0 -63
  387. data/test/test_ansible_collection_remote.py +0 -80
  388. data/test/test_ansible_collection_remote_response.py +0 -78
  389. data/test/test_ansible_collection_response.py +0 -56
  390. data/test/test_ansible_collection_version.py +0 -99
  391. data/test/test_ansible_collection_version_response.py +0 -111
  392. data/test/test_ansible_collections_api.py +0 -48
  393. data/test/test_ansible_copy_api.py +0 -41
  394. data/test/test_ansible_repository_sync_url.py +0 -55
  395. data/test/test_ansible_role.py +0 -60
  396. data/test/test_ansible_role_remote.py +0 -76
  397. data/test/test_ansible_role_remote_response.py +0 -74
  398. data/test/test_ansible_role_response.py +0 -62
  399. data/test/test_ansible_tag_response.py +0 -53
  400. data/test/test_api_collections_api.py +0 -46
  401. data/test/test_api_roles_api.py +0 -40
  402. data/test/test_artifact_ref_response.py +0 -58
  403. data/test/test_async_operation_response.py +0 -54
  404. data/test/test_collection_import_api.py +0 -41
  405. data/test/test_collection_import_detail_response.py +0 -68
  406. data/test/test_collection_metadata_response.py +0 -71
  407. data/test/test_collection_namespace_response.py +0 -54
  408. data/test/test_collection_one_shot.py +0 -58
  409. data/test/test_collection_ref_response.py +0 -57
  410. data/test/test_collection_response.py +0 -60
  411. data/test/test_collection_version_docs_response.py +0 -54
  412. data/test/test_collection_version_response.py +0 -67
  413. data/test/test_content_collection_versions_api.py +0 -55
  414. data/test/test_content_roles_api.py +0 -55
  415. data/test/test_content_summary.py +0 -70
  416. data/test/test_content_summary_response.py +0 -70
  417. data/test/test_copy.py +0 -54
  418. data/test/test_distributions_ansible_api.py +0 -76
  419. data/test/test_galaxy_collection.py +0 -60
  420. data/test/test_galaxy_collection_response.py +0 -64
  421. data/test/test_galaxy_collection_version_response.py +0 -92
  422. data/test/test_galaxy_detail_api.py +0 -40
  423. data/test/test_galaxy_role_response.py +0 -57
  424. data/test/test_galaxy_role_version_response.py +0 -55
  425. data/test/test_paginated_collection_response_list.py +0 -70
  426. data/test/test_paginated_collection_response_list_links.py +0 -56
  427. data/test/test_paginated_collection_response_list_meta.py +0 -53
  428. data/test/test_paginated_collection_version_response_list.py +0 -75
  429. data/test/test_paginated_galaxy_collection_response_list.py +0 -66
  430. data/test/test_paginated_galaxy_collection_version_response_list.py +0 -80
  431. data/test/test_paginated_galaxy_role_response_list.py +0 -61
  432. data/test/test_paginated_galaxy_role_version_response_list.py +0 -60
  433. data/test/test_paginated_repository_version_response_list.py +0 -64
  434. data/test/test_paginated_tag_response_list.py +0 -59
  435. data/test/test_paginatedansible_ansible_distribution_response_list.py +0 -67
  436. data/test/test_paginatedansible_ansible_repository_response_list.py +0 -68
  437. data/test/test_paginatedansible_collection_remote_response_list.py +0 -82
  438. data/test/test_paginatedansible_collection_response_list.py +0 -60
  439. data/test/test_paginatedansible_collection_version_response_list.py +0 -94
  440. data/test/test_paginatedansible_role_remote_response_list.py +0 -78
  441. data/test/test_paginatedansible_role_response_list.py +0 -64
  442. data/test/test_patchedansible_ansible_distribution.py +0 -58
  443. data/test/test_patchedansible_ansible_repository.py +0 -58
  444. data/test/test_patchedansible_collection_remote.py +0 -78
  445. data/test/test_patchedansible_role_remote.py +0 -74
  446. data/test/test_policy_enum.py +0 -52
  447. data/test/test_pulp_ansible_api_api.py +0 -40
  448. data/test/test_pulp_ansible_galaxy_api_collections_api.py +0 -52
  449. data/test/test_pulp_ansible_galaxy_api_v2_versions_api.py +0 -40
  450. data/test/test_pulp_ansible_galaxy_api_v3_all_api.py +0 -46
  451. data/test/test_pulp_ansible_galaxy_api_v3_collections_api.py +0 -41
  452. data/test/test_pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +0 -40
  453. data/test/test_pulp_ansible_galaxy_api_v3_versions_api.py +0 -46
  454. data/test/test_pulp_ansible_galaxy_v3_api.py +0 -40
  455. data/test/test_pulp_ansible_tags_api.py +0 -41
  456. data/test/test_remotes_collection_api.py +0 -76
  457. data/test/test_remotes_role_api.py +0 -76
  458. data/test/test_repo_metadata_response.py +0 -54
  459. data/test/test_repositories_ansible_api.py +0 -89
  460. data/test/test_repositories_ansible_versions_api.py +0 -61
  461. data/test/test_repository_add_remove_content.py +0 -59
  462. data/test/test_repository_version.py +0 -53
  463. data/test/test_repository_version_response.py +0 -58
  464. data/test/test_tag_response.py +0 -53
  465. data/test/test_unpaginated_collection_version_response.py +0 -65
  466. data/test/test_versions_api.py +0 -46
  467. data/tox.ini +0 -9
@@ -1,258 +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_ansible.configuration import Configuration
20
-
21
-
22
- class PatchedansibleAnsibleRepository(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_labels': 'object',
38
- 'name': 'str',
39
- 'description': 'str',
40
- 'retained_versions': 'int',
41
- 'remote': 'str',
42
- 'last_synced_metadata_time': 'datetime'
43
- }
44
-
45
- attribute_map = {
46
- 'pulp_labels': 'pulp_labels',
47
- 'name': 'name',
48
- 'description': 'description',
49
- 'retained_versions': 'retained_versions',
50
- 'remote': 'remote',
51
- 'last_synced_metadata_time': 'last_synced_metadata_time'
52
- }
53
-
54
- def __init__(self, pulp_labels=None, name=None, description=None, retained_versions=None, remote=None, last_synced_metadata_time=None, local_vars_configuration=None): # noqa: E501
55
- """PatchedansibleAnsibleRepository - a model defined in OpenAPI""" # noqa: E501
56
- if local_vars_configuration is None:
57
- local_vars_configuration = Configuration()
58
- self.local_vars_configuration = local_vars_configuration
59
-
60
- self._pulp_labels = None
61
- self._name = None
62
- self._description = None
63
- self._retained_versions = None
64
- self._remote = None
65
- self._last_synced_metadata_time = None
66
- self.discriminator = None
67
-
68
- if pulp_labels is not None:
69
- self.pulp_labels = pulp_labels
70
- if name is not None:
71
- self.name = name
72
- self.description = description
73
- self.retained_versions = retained_versions
74
- self.remote = remote
75
- self.last_synced_metadata_time = last_synced_metadata_time
76
-
77
- @property
78
- def pulp_labels(self):
79
- """Gets the pulp_labels of this PatchedansibleAnsibleRepository. # noqa: E501
80
-
81
-
82
- :return: The pulp_labels of this PatchedansibleAnsibleRepository. # noqa: E501
83
- :rtype: object
84
- """
85
- return self._pulp_labels
86
-
87
- @pulp_labels.setter
88
- def pulp_labels(self, pulp_labels):
89
- """Sets the pulp_labels of this PatchedansibleAnsibleRepository.
90
-
91
-
92
- :param pulp_labels: The pulp_labels of this PatchedansibleAnsibleRepository. # noqa: E501
93
- :type: object
94
- """
95
-
96
- self._pulp_labels = pulp_labels
97
-
98
- @property
99
- def name(self):
100
- """Gets the name of this PatchedansibleAnsibleRepository. # noqa: E501
101
-
102
- A unique name for this repository. # noqa: E501
103
-
104
- :return: The name of this PatchedansibleAnsibleRepository. # noqa: E501
105
- :rtype: str
106
- """
107
- return self._name
108
-
109
- @name.setter
110
- def name(self, name):
111
- """Sets the name of this PatchedansibleAnsibleRepository.
112
-
113
- A unique name for this repository. # noqa: E501
114
-
115
- :param name: The name of this PatchedansibleAnsibleRepository. # noqa: E501
116
- :type: str
117
- """
118
-
119
- self._name = name
120
-
121
- @property
122
- def description(self):
123
- """Gets the description of this PatchedansibleAnsibleRepository. # noqa: E501
124
-
125
- An optional description. # noqa: E501
126
-
127
- :return: The description of this PatchedansibleAnsibleRepository. # noqa: E501
128
- :rtype: str
129
- """
130
- return self._description
131
-
132
- @description.setter
133
- def description(self, description):
134
- """Sets the description of this PatchedansibleAnsibleRepository.
135
-
136
- An optional description. # noqa: E501
137
-
138
- :param description: The description of this PatchedansibleAnsibleRepository. # noqa: E501
139
- :type: str
140
- """
141
-
142
- self._description = description
143
-
144
- @property
145
- def retained_versions(self):
146
- """Gets the retained_versions of this PatchedansibleAnsibleRepository. # noqa: E501
147
-
148
- Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
149
-
150
- :return: The retained_versions of this PatchedansibleAnsibleRepository. # noqa: E501
151
- :rtype: int
152
- """
153
- return self._retained_versions
154
-
155
- @retained_versions.setter
156
- def retained_versions(self, retained_versions):
157
- """Sets the retained_versions of this PatchedansibleAnsibleRepository.
158
-
159
- Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
160
-
161
- :param retained_versions: The retained_versions of this PatchedansibleAnsibleRepository. # noqa: E501
162
- :type: int
163
- """
164
- if (self.local_vars_configuration.client_side_validation and
165
- retained_versions is not None and retained_versions < 1): # noqa: E501
166
- raise ValueError("Invalid value for `retained_versions`, must be a value greater than or equal to `1`") # noqa: E501
167
-
168
- self._retained_versions = retained_versions
169
-
170
- @property
171
- def remote(self):
172
- """Gets the remote of this PatchedansibleAnsibleRepository. # noqa: E501
173
-
174
-
175
- :return: The remote of this PatchedansibleAnsibleRepository. # noqa: E501
176
- :rtype: str
177
- """
178
- return self._remote
179
-
180
- @remote.setter
181
- def remote(self, remote):
182
- """Sets the remote of this PatchedansibleAnsibleRepository.
183
-
184
-
185
- :param remote: The remote of this PatchedansibleAnsibleRepository. # noqa: E501
186
- :type: str
187
- """
188
-
189
- self._remote = remote
190
-
191
- @property
192
- def last_synced_metadata_time(self):
193
- """Gets the last_synced_metadata_time of this PatchedansibleAnsibleRepository. # noqa: E501
194
-
195
- Last synced metadata time. # noqa: E501
196
-
197
- :return: The last_synced_metadata_time of this PatchedansibleAnsibleRepository. # noqa: E501
198
- :rtype: datetime
199
- """
200
- return self._last_synced_metadata_time
201
-
202
- @last_synced_metadata_time.setter
203
- def last_synced_metadata_time(self, last_synced_metadata_time):
204
- """Sets the last_synced_metadata_time of this PatchedansibleAnsibleRepository.
205
-
206
- Last synced metadata time. # noqa: E501
207
-
208
- :param last_synced_metadata_time: The last_synced_metadata_time of this PatchedansibleAnsibleRepository. # noqa: E501
209
- :type: datetime
210
- """
211
-
212
- self._last_synced_metadata_time = last_synced_metadata_time
213
-
214
- def to_dict(self):
215
- """Returns the model properties as a dict"""
216
- result = {}
217
-
218
- for attr, _ in six.iteritems(self.openapi_types):
219
- value = getattr(self, attr)
220
- if isinstance(value, list):
221
- result[attr] = list(map(
222
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
223
- value
224
- ))
225
- elif hasattr(value, "to_dict"):
226
- result[attr] = value.to_dict()
227
- elif isinstance(value, dict):
228
- result[attr] = dict(map(
229
- lambda item: (item[0], item[1].to_dict())
230
- if hasattr(item[1], "to_dict") else item,
231
- value.items()
232
- ))
233
- else:
234
- result[attr] = value
235
-
236
- return result
237
-
238
- def to_str(self):
239
- """Returns the string representation of the model"""
240
- return pprint.pformat(self.to_dict())
241
-
242
- def __repr__(self):
243
- """For `print` and `pprint`"""
244
- return self.to_str()
245
-
246
- def __eq__(self, other):
247
- """Returns true if both objects are equal"""
248
- if not isinstance(other, PatchedansibleAnsibleRepository):
249
- return False
250
-
251
- return self.to_dict() == other.to_dict()
252
-
253
- def __ne__(self, other):
254
- """Returns true if both objects are not equal"""
255
- if not isinstance(other, PatchedansibleAnsibleRepository):
256
- return True
257
-
258
- return self.to_dict() != other.to_dict()
@@ -1,769 +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_ansible.configuration import Configuration
20
-
21
-
22
- class PatchedansibleCollectionRemote(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
- 'requirements_file': 'str',
58
- 'auth_url': 'str',
59
- 'token': 'str',
60
- 'sync_dependencies': 'bool'
61
- }
62
-
63
- attribute_map = {
64
- 'name': 'name',
65
- 'url': 'url',
66
- 'ca_cert': 'ca_cert',
67
- 'client_cert': 'client_cert',
68
- 'client_key': 'client_key',
69
- 'tls_validation': 'tls_validation',
70
- 'proxy_url': 'proxy_url',
71
- 'proxy_username': 'proxy_username',
72
- 'proxy_password': 'proxy_password',
73
- 'username': 'username',
74
- 'password': 'password',
75
- 'pulp_labels': 'pulp_labels',
76
- 'download_concurrency': 'download_concurrency',
77
- 'policy': 'policy',
78
- 'total_timeout': 'total_timeout',
79
- 'connect_timeout': 'connect_timeout',
80
- 'sock_connect_timeout': 'sock_connect_timeout',
81
- 'sock_read_timeout': 'sock_read_timeout',
82
- 'headers': 'headers',
83
- 'rate_limit': 'rate_limit',
84
- 'requirements_file': 'requirements_file',
85
- 'auth_url': 'auth_url',
86
- 'token': 'token',
87
- 'sync_dependencies': 'sync_dependencies'
88
- }
89
-
90
- 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, requirements_file=None, auth_url=None, token=None, sync_dependencies=True, local_vars_configuration=None): # noqa: E501
91
- """PatchedansibleCollectionRemote - a model defined in OpenAPI""" # noqa: E501
92
- if local_vars_configuration is None:
93
- local_vars_configuration = Configuration()
94
- self.local_vars_configuration = local_vars_configuration
95
-
96
- self._name = None
97
- self._url = None
98
- self._ca_cert = None
99
- self._client_cert = None
100
- self._client_key = None
101
- self._tls_validation = None
102
- self._proxy_url = None
103
- self._proxy_username = None
104
- self._proxy_password = None
105
- self._username = None
106
- self._password = None
107
- self._pulp_labels = None
108
- self._download_concurrency = None
109
- self._policy = None
110
- self._total_timeout = None
111
- self._connect_timeout = None
112
- self._sock_connect_timeout = None
113
- self._sock_read_timeout = None
114
- self._headers = None
115
- self._rate_limit = None
116
- self._requirements_file = None
117
- self._auth_url = None
118
- self._token = None
119
- self._sync_dependencies = None
120
- self.discriminator = None
121
-
122
- if name is not None:
123
- self.name = name
124
- if url is not None:
125
- self.url = url
126
- self.ca_cert = ca_cert
127
- self.client_cert = client_cert
128
- self.client_key = client_key
129
- if tls_validation is not None:
130
- self.tls_validation = tls_validation
131
- self.proxy_url = proxy_url
132
- self.proxy_username = proxy_username
133
- self.proxy_password = proxy_password
134
- self.username = username
135
- self.password = password
136
- if pulp_labels is not None:
137
- self.pulp_labels = pulp_labels
138
- if download_concurrency is not None:
139
- self.download_concurrency = download_concurrency
140
- if policy is not None:
141
- self.policy = policy
142
- self.total_timeout = total_timeout
143
- self.connect_timeout = connect_timeout
144
- self.sock_connect_timeout = sock_connect_timeout
145
- self.sock_read_timeout = sock_read_timeout
146
- if headers is not None:
147
- self.headers = headers
148
- self.rate_limit = rate_limit
149
- self.requirements_file = requirements_file
150
- self.auth_url = auth_url
151
- self.token = token
152
- self.sync_dependencies = sync_dependencies
153
-
154
- @property
155
- def name(self):
156
- """Gets the name of this PatchedansibleCollectionRemote. # noqa: E501
157
-
158
- A unique name for this remote. # noqa: E501
159
-
160
- :return: The name of this PatchedansibleCollectionRemote. # noqa: E501
161
- :rtype: str
162
- """
163
- return self._name
164
-
165
- @name.setter
166
- def name(self, name):
167
- """Sets the name of this PatchedansibleCollectionRemote.
168
-
169
- A unique name for this remote. # noqa: E501
170
-
171
- :param name: The name of this PatchedansibleCollectionRemote. # noqa: E501
172
- :type: str
173
- """
174
-
175
- self._name = name
176
-
177
- @property
178
- def url(self):
179
- """Gets the url of this PatchedansibleCollectionRemote. # noqa: E501
180
-
181
- The URL of an external content source. # noqa: E501
182
-
183
- :return: The url of this PatchedansibleCollectionRemote. # noqa: E501
184
- :rtype: str
185
- """
186
- return self._url
187
-
188
- @url.setter
189
- def url(self, url):
190
- """Sets the url of this PatchedansibleCollectionRemote.
191
-
192
- The URL of an external content source. # noqa: E501
193
-
194
- :param url: The url of this PatchedansibleCollectionRemote. # noqa: E501
195
- :type: str
196
- """
197
-
198
- self._url = url
199
-
200
- @property
201
- def ca_cert(self):
202
- """Gets the ca_cert of this PatchedansibleCollectionRemote. # noqa: E501
203
-
204
- A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
205
-
206
- :return: The ca_cert of this PatchedansibleCollectionRemote. # noqa: E501
207
- :rtype: str
208
- """
209
- return self._ca_cert
210
-
211
- @ca_cert.setter
212
- def ca_cert(self, ca_cert):
213
- """Sets the ca_cert of this PatchedansibleCollectionRemote.
214
-
215
- A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
216
-
217
- :param ca_cert: The ca_cert of this PatchedansibleCollectionRemote. # noqa: E501
218
- :type: str
219
- """
220
-
221
- self._ca_cert = ca_cert
222
-
223
- @property
224
- def client_cert(self):
225
- """Gets the client_cert of this PatchedansibleCollectionRemote. # noqa: E501
226
-
227
- A PEM encoded client certificate used for authentication. # noqa: E501
228
-
229
- :return: The client_cert of this PatchedansibleCollectionRemote. # noqa: E501
230
- :rtype: str
231
- """
232
- return self._client_cert
233
-
234
- @client_cert.setter
235
- def client_cert(self, client_cert):
236
- """Sets the client_cert of this PatchedansibleCollectionRemote.
237
-
238
- A PEM encoded client certificate used for authentication. # noqa: E501
239
-
240
- :param client_cert: The client_cert of this PatchedansibleCollectionRemote. # noqa: E501
241
- :type: str
242
- """
243
-
244
- self._client_cert = client_cert
245
-
246
- @property
247
- def client_key(self):
248
- """Gets the client_key of this PatchedansibleCollectionRemote. # noqa: E501
249
-
250
- A PEM encoded private key used for authentication. # noqa: E501
251
-
252
- :return: The client_key of this PatchedansibleCollectionRemote. # noqa: E501
253
- :rtype: str
254
- """
255
- return self._client_key
256
-
257
- @client_key.setter
258
- def client_key(self, client_key):
259
- """Sets the client_key of this PatchedansibleCollectionRemote.
260
-
261
- A PEM encoded private key used for authentication. # noqa: E501
262
-
263
- :param client_key: The client_key of this PatchedansibleCollectionRemote. # noqa: E501
264
- :type: str
265
- """
266
-
267
- self._client_key = client_key
268
-
269
- @property
270
- def tls_validation(self):
271
- """Gets the tls_validation of this PatchedansibleCollectionRemote. # noqa: E501
272
-
273
- If True, TLS peer validation must be performed. # noqa: E501
274
-
275
- :return: The tls_validation of this PatchedansibleCollectionRemote. # noqa: E501
276
- :rtype: bool
277
- """
278
- return self._tls_validation
279
-
280
- @tls_validation.setter
281
- def tls_validation(self, tls_validation):
282
- """Sets the tls_validation of this PatchedansibleCollectionRemote.
283
-
284
- If True, TLS peer validation must be performed. # noqa: E501
285
-
286
- :param tls_validation: The tls_validation of this PatchedansibleCollectionRemote. # noqa: E501
287
- :type: bool
288
- """
289
-
290
- self._tls_validation = tls_validation
291
-
292
- @property
293
- def proxy_url(self):
294
- """Gets the proxy_url of this PatchedansibleCollectionRemote. # noqa: E501
295
-
296
- The proxy URL. Format: scheme://host:port # noqa: E501
297
-
298
- :return: The proxy_url of this PatchedansibleCollectionRemote. # noqa: E501
299
- :rtype: str
300
- """
301
- return self._proxy_url
302
-
303
- @proxy_url.setter
304
- def proxy_url(self, proxy_url):
305
- """Sets the proxy_url of this PatchedansibleCollectionRemote.
306
-
307
- The proxy URL. Format: scheme://host:port # noqa: E501
308
-
309
- :param proxy_url: The proxy_url of this PatchedansibleCollectionRemote. # noqa: E501
310
- :type: str
311
- """
312
-
313
- self._proxy_url = proxy_url
314
-
315
- @property
316
- def proxy_username(self):
317
- """Gets the proxy_username of this PatchedansibleCollectionRemote. # noqa: E501
318
-
319
- The username to authenticte to the proxy. # noqa: E501
320
-
321
- :return: The proxy_username of this PatchedansibleCollectionRemote. # noqa: E501
322
- :rtype: str
323
- """
324
- return self._proxy_username
325
-
326
- @proxy_username.setter
327
- def proxy_username(self, proxy_username):
328
- """Sets the proxy_username of this PatchedansibleCollectionRemote.
329
-
330
- The username to authenticte to the proxy. # noqa: E501
331
-
332
- :param proxy_username: The proxy_username of this PatchedansibleCollectionRemote. # noqa: E501
333
- :type: str
334
- """
335
-
336
- self._proxy_username = proxy_username
337
-
338
- @property
339
- def proxy_password(self):
340
- """Gets the proxy_password of this PatchedansibleCollectionRemote. # noqa: E501
341
-
342
- The password to authenticte to the proxy. # noqa: E501
343
-
344
- :return: The proxy_password of this PatchedansibleCollectionRemote. # noqa: E501
345
- :rtype: str
346
- """
347
- return self._proxy_password
348
-
349
- @proxy_password.setter
350
- def proxy_password(self, proxy_password):
351
- """Sets the proxy_password of this PatchedansibleCollectionRemote.
352
-
353
- The password to authenticte to the proxy. # noqa: E501
354
-
355
- :param proxy_password: The proxy_password of this PatchedansibleCollectionRemote. # noqa: E501
356
- :type: str
357
- """
358
-
359
- self._proxy_password = proxy_password
360
-
361
- @property
362
- def username(self):
363
- """Gets the username of this PatchedansibleCollectionRemote. # noqa: E501
364
-
365
- The username to be used for authentication when syncing. # noqa: E501
366
-
367
- :return: The username of this PatchedansibleCollectionRemote. # noqa: E501
368
- :rtype: str
369
- """
370
- return self._username
371
-
372
- @username.setter
373
- def username(self, username):
374
- """Sets the username of this PatchedansibleCollectionRemote.
375
-
376
- The username to be used for authentication when syncing. # noqa: E501
377
-
378
- :param username: The username of this PatchedansibleCollectionRemote. # noqa: E501
379
- :type: str
380
- """
381
-
382
- self._username = username
383
-
384
- @property
385
- def password(self):
386
- """Gets the password of this PatchedansibleCollectionRemote. # noqa: E501
387
-
388
- The password to be used for authentication when syncing. # noqa: E501
389
-
390
- :return: The password of this PatchedansibleCollectionRemote. # noqa: E501
391
- :rtype: str
392
- """
393
- return self._password
394
-
395
- @password.setter
396
- def password(self, password):
397
- """Sets the password of this PatchedansibleCollectionRemote.
398
-
399
- The password to be used for authentication when syncing. # noqa: E501
400
-
401
- :param password: The password of this PatchedansibleCollectionRemote. # noqa: E501
402
- :type: str
403
- """
404
-
405
- self._password = password
406
-
407
- @property
408
- def pulp_labels(self):
409
- """Gets the pulp_labels of this PatchedansibleCollectionRemote. # noqa: E501
410
-
411
-
412
- :return: The pulp_labels of this PatchedansibleCollectionRemote. # noqa: E501
413
- :rtype: object
414
- """
415
- return self._pulp_labels
416
-
417
- @pulp_labels.setter
418
- def pulp_labels(self, pulp_labels):
419
- """Sets the pulp_labels of this PatchedansibleCollectionRemote.
420
-
421
-
422
- :param pulp_labels: The pulp_labels of this PatchedansibleCollectionRemote. # noqa: E501
423
- :type: object
424
- """
425
-
426
- self._pulp_labels = pulp_labels
427
-
428
- @property
429
- def download_concurrency(self):
430
- """Gets the download_concurrency of this PatchedansibleCollectionRemote. # noqa: E501
431
-
432
- Total number of simultaneous connections. # noqa: E501
433
-
434
- :return: The download_concurrency of this PatchedansibleCollectionRemote. # noqa: E501
435
- :rtype: int
436
- """
437
- return self._download_concurrency
438
-
439
- @download_concurrency.setter
440
- def download_concurrency(self, download_concurrency):
441
- """Sets the download_concurrency of this PatchedansibleCollectionRemote.
442
-
443
- Total number of simultaneous connections. # noqa: E501
444
-
445
- :param download_concurrency: The download_concurrency of this PatchedansibleCollectionRemote. # noqa: E501
446
- :type: int
447
- """
448
- if (self.local_vars_configuration.client_side_validation and
449
- download_concurrency is not None and download_concurrency < 1): # noqa: E501
450
- raise ValueError("Invalid value for `download_concurrency`, must be a value greater than or equal to `1`") # noqa: E501
451
-
452
- self._download_concurrency = download_concurrency
453
-
454
- @property
455
- def policy(self):
456
- """Gets the policy of this PatchedansibleCollectionRemote. # noqa: E501
457
-
458
- The policy to use when downloading content. # noqa: E501
459
-
460
- :return: The policy of this PatchedansibleCollectionRemote. # noqa: E501
461
- :rtype: PolicyEnum
462
- """
463
- return self._policy
464
-
465
- @policy.setter
466
- def policy(self, policy):
467
- """Sets the policy of this PatchedansibleCollectionRemote.
468
-
469
- The policy to use when downloading content. # noqa: E501
470
-
471
- :param policy: The policy of this PatchedansibleCollectionRemote. # noqa: E501
472
- :type: PolicyEnum
473
- """
474
-
475
- self._policy = policy
476
-
477
- @property
478
- def total_timeout(self):
479
- """Gets the total_timeout of this PatchedansibleCollectionRemote. # noqa: E501
480
-
481
- aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
482
-
483
- :return: The total_timeout of this PatchedansibleCollectionRemote. # noqa: E501
484
- :rtype: float
485
- """
486
- return self._total_timeout
487
-
488
- @total_timeout.setter
489
- def total_timeout(self, total_timeout):
490
- """Sets the total_timeout of this PatchedansibleCollectionRemote.
491
-
492
- aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
493
-
494
- :param total_timeout: The total_timeout of this PatchedansibleCollectionRemote. # noqa: E501
495
- :type: float
496
- """
497
- if (self.local_vars_configuration.client_side_validation and
498
- total_timeout is not None and total_timeout < 0.0): # noqa: E501
499
- raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
500
-
501
- self._total_timeout = total_timeout
502
-
503
- @property
504
- def connect_timeout(self):
505
- """Gets the connect_timeout of this PatchedansibleCollectionRemote. # noqa: E501
506
-
507
- aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
508
-
509
- :return: The connect_timeout of this PatchedansibleCollectionRemote. # noqa: E501
510
- :rtype: float
511
- """
512
- return self._connect_timeout
513
-
514
- @connect_timeout.setter
515
- def connect_timeout(self, connect_timeout):
516
- """Sets the connect_timeout of this PatchedansibleCollectionRemote.
517
-
518
- aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
519
-
520
- :param connect_timeout: The connect_timeout of this PatchedansibleCollectionRemote. # noqa: E501
521
- :type: float
522
- """
523
- if (self.local_vars_configuration.client_side_validation and
524
- connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
525
- raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
526
-
527
- self._connect_timeout = connect_timeout
528
-
529
- @property
530
- def sock_connect_timeout(self):
531
- """Gets the sock_connect_timeout of this PatchedansibleCollectionRemote. # noqa: E501
532
-
533
- aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
534
-
535
- :return: The sock_connect_timeout of this PatchedansibleCollectionRemote. # noqa: E501
536
- :rtype: float
537
- """
538
- return self._sock_connect_timeout
539
-
540
- @sock_connect_timeout.setter
541
- def sock_connect_timeout(self, sock_connect_timeout):
542
- """Sets the sock_connect_timeout of this PatchedansibleCollectionRemote.
543
-
544
- aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
545
-
546
- :param sock_connect_timeout: The sock_connect_timeout of this PatchedansibleCollectionRemote. # noqa: E501
547
- :type: float
548
- """
549
- if (self.local_vars_configuration.client_side_validation and
550
- sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
551
- raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
552
-
553
- self._sock_connect_timeout = sock_connect_timeout
554
-
555
- @property
556
- def sock_read_timeout(self):
557
- """Gets the sock_read_timeout of this PatchedansibleCollectionRemote. # noqa: E501
558
-
559
- aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
560
-
561
- :return: The sock_read_timeout of this PatchedansibleCollectionRemote. # noqa: E501
562
- :rtype: float
563
- """
564
- return self._sock_read_timeout
565
-
566
- @sock_read_timeout.setter
567
- def sock_read_timeout(self, sock_read_timeout):
568
- """Sets the sock_read_timeout of this PatchedansibleCollectionRemote.
569
-
570
- aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
571
-
572
- :param sock_read_timeout: The sock_read_timeout of this PatchedansibleCollectionRemote. # noqa: E501
573
- :type: float
574
- """
575
- if (self.local_vars_configuration.client_side_validation and
576
- sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
577
- raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
578
-
579
- self._sock_read_timeout = sock_read_timeout
580
-
581
- @property
582
- def headers(self):
583
- """Gets the headers of this PatchedansibleCollectionRemote. # noqa: E501
584
-
585
- Headers for aiohttp.Clientsession # noqa: E501
586
-
587
- :return: The headers of this PatchedansibleCollectionRemote. # noqa: E501
588
- :rtype: list[object]
589
- """
590
- return self._headers
591
-
592
- @headers.setter
593
- def headers(self, headers):
594
- """Sets the headers of this PatchedansibleCollectionRemote.
595
-
596
- Headers for aiohttp.Clientsession # noqa: E501
597
-
598
- :param headers: The headers of this PatchedansibleCollectionRemote. # noqa: E501
599
- :type: list[object]
600
- """
601
-
602
- self._headers = headers
603
-
604
- @property
605
- def rate_limit(self):
606
- """Gets the rate_limit of this PatchedansibleCollectionRemote. # noqa: E501
607
-
608
- Limits total download rate in requests per second # noqa: E501
609
-
610
- :return: The rate_limit of this PatchedansibleCollectionRemote. # noqa: E501
611
- :rtype: int
612
- """
613
- return self._rate_limit
614
-
615
- @rate_limit.setter
616
- def rate_limit(self, rate_limit):
617
- """Sets the rate_limit of this PatchedansibleCollectionRemote.
618
-
619
- Limits total download rate in requests per second # noqa: E501
620
-
621
- :param rate_limit: The rate_limit of this PatchedansibleCollectionRemote. # noqa: E501
622
- :type: int
623
- """
624
-
625
- self._rate_limit = rate_limit
626
-
627
- @property
628
- def requirements_file(self):
629
- """Gets the requirements_file of this PatchedansibleCollectionRemote. # noqa: E501
630
-
631
- The string version of Collection requirements yaml. # noqa: E501
632
-
633
- :return: The requirements_file of this PatchedansibleCollectionRemote. # noqa: E501
634
- :rtype: str
635
- """
636
- return self._requirements_file
637
-
638
- @requirements_file.setter
639
- def requirements_file(self, requirements_file):
640
- """Sets the requirements_file of this PatchedansibleCollectionRemote.
641
-
642
- The string version of Collection requirements yaml. # noqa: E501
643
-
644
- :param requirements_file: The requirements_file of this PatchedansibleCollectionRemote. # noqa: E501
645
- :type: str
646
- """
647
-
648
- self._requirements_file = requirements_file
649
-
650
- @property
651
- def auth_url(self):
652
- """Gets the auth_url of this PatchedansibleCollectionRemote. # noqa: E501
653
-
654
- The URL to receive a session token from, e.g. used with Automation Hub. # noqa: E501
655
-
656
- :return: The auth_url of this PatchedansibleCollectionRemote. # noqa: E501
657
- :rtype: str
658
- """
659
- return self._auth_url
660
-
661
- @auth_url.setter
662
- def auth_url(self, auth_url):
663
- """Sets the auth_url of this PatchedansibleCollectionRemote.
664
-
665
- The URL to receive a session token from, e.g. used with Automation Hub. # noqa: E501
666
-
667
- :param auth_url: The auth_url of this PatchedansibleCollectionRemote. # noqa: E501
668
- :type: str
669
- """
670
- if (self.local_vars_configuration.client_side_validation and
671
- auth_url is not None and len(auth_url) > 255):
672
- raise ValueError("Invalid value for `auth_url`, length must be less than or equal to `255`") # noqa: E501
673
-
674
- self._auth_url = auth_url
675
-
676
- @property
677
- def token(self):
678
- """Gets the token of this PatchedansibleCollectionRemote. # noqa: E501
679
-
680
- The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details # noqa: E501
681
-
682
- :return: The token of this PatchedansibleCollectionRemote. # noqa: E501
683
- :rtype: str
684
- """
685
- return self._token
686
-
687
- @token.setter
688
- def token(self, token):
689
- """Sets the token of this PatchedansibleCollectionRemote.
690
-
691
- The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details # noqa: E501
692
-
693
- :param token: The token of this PatchedansibleCollectionRemote. # noqa: E501
694
- :type: str
695
- """
696
- if (self.local_vars_configuration.client_side_validation and
697
- token is not None and len(token) > 2000):
698
- raise ValueError("Invalid value for `token`, length must be less than or equal to `2000`") # noqa: E501
699
-
700
- self._token = token
701
-
702
- @property
703
- def sync_dependencies(self):
704
- """Gets the sync_dependencies of this PatchedansibleCollectionRemote. # noqa: E501
705
-
706
- Sync dependencies for collections specified via requirements file # noqa: E501
707
-
708
- :return: The sync_dependencies of this PatchedansibleCollectionRemote. # noqa: E501
709
- :rtype: bool
710
- """
711
- return self._sync_dependencies
712
-
713
- @sync_dependencies.setter
714
- def sync_dependencies(self, sync_dependencies):
715
- """Sets the sync_dependencies of this PatchedansibleCollectionRemote.
716
-
717
- Sync dependencies for collections specified via requirements file # noqa: E501
718
-
719
- :param sync_dependencies: The sync_dependencies of this PatchedansibleCollectionRemote. # noqa: E501
720
- :type: bool
721
- """
722
-
723
- self._sync_dependencies = sync_dependencies
724
-
725
- def to_dict(self):
726
- """Returns the model properties as a dict"""
727
- result = {}
728
-
729
- for attr, _ in six.iteritems(self.openapi_types):
730
- value = getattr(self, attr)
731
- if isinstance(value, list):
732
- result[attr] = list(map(
733
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
734
- value
735
- ))
736
- elif hasattr(value, "to_dict"):
737
- result[attr] = value.to_dict()
738
- elif isinstance(value, dict):
739
- result[attr] = dict(map(
740
- lambda item: (item[0], item[1].to_dict())
741
- if hasattr(item[1], "to_dict") else item,
742
- value.items()
743
- ))
744
- else:
745
- result[attr] = value
746
-
747
- return result
748
-
749
- def to_str(self):
750
- """Returns the string representation of the model"""
751
- return pprint.pformat(self.to_dict())
752
-
753
- def __repr__(self):
754
- """For `print` and `pprint`"""
755
- return self.to_str()
756
-
757
- def __eq__(self, other):
758
- """Returns true if both objects are equal"""
759
- if not isinstance(other, PatchedansibleCollectionRemote):
760
- return False
761
-
762
- return self.to_dict() == other.to_dict()
763
-
764
- def __ne__(self, other):
765
- """Returns true if both objects are not equal"""
766
- if not isinstance(other, PatchedansibleCollectionRemote):
767
- return True
768
-
769
- return self.to_dict() != other.to_dict()