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,162 +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
- from __future__ import absolute_import
15
-
16
- import re # noqa: F401
17
-
18
- # python 2 and python 3 compatibility library
19
- import six
20
-
21
- from pulpcore.client.pulp_ansible.api_client import ApiClient
22
- from pulpcore.client.pulp_ansible.exceptions import ( # noqa: F401
23
- ApiTypeError,
24
- ApiValueError
25
- )
26
-
27
-
28
- class GalaxyDetailApi(object):
29
- """NOTE: This class is auto generated by OpenAPI Generator
30
- Ref: https://openapi-generator.tech
31
-
32
- Do not edit the class manually.
33
- """
34
-
35
- def __init__(self, api_client=None):
36
- if api_client is None:
37
- api_client = ApiClient()
38
- self.api_client = api_client
39
-
40
- def get(self, ansible_collection_href, **kwargs): # noqa: E501
41
- """get # noqa: E501
42
-
43
- Get the detail view of a Collection. # noqa: E501
44
- This method makes a synchronous HTTP request by default. To make an
45
- asynchronous HTTP request, please pass async_req=True
46
- >>> thread = api.get(ansible_collection_href, async_req=True)
47
- >>> result = thread.get()
48
-
49
- :param async_req bool: execute request asynchronously
50
- :param str ansible_collection_href: (required)
51
- :param str fields: A list of fields to include in the response.
52
- :param str exclude_fields: A list of fields to exclude from the response.
53
- :param _preload_content: if False, the urllib3.HTTPResponse object will
54
- be returned without reading/decoding response
55
- data. Default is True.
56
- :param _request_timeout: timeout setting for this request. If one
57
- number provided, it will be total request
58
- timeout. It can also be a pair (tuple) of
59
- (connection, read) timeouts.
60
- :return: GalaxyCollectionResponse
61
- If the method is called asynchronously,
62
- returns the request thread.
63
- """
64
- kwargs['_return_http_data_only'] = True
65
- return self.get_with_http_info(ansible_collection_href, **kwargs) # noqa: E501
66
-
67
- def get_with_http_info(self, ansible_collection_href, **kwargs): # noqa: E501
68
- """get # noqa: E501
69
-
70
- Get the detail view of a Collection. # noqa: E501
71
- This method makes a synchronous HTTP request by default. To make an
72
- asynchronous HTTP request, please pass async_req=True
73
- >>> thread = api.get_with_http_info(ansible_collection_href, async_req=True)
74
- >>> result = thread.get()
75
-
76
- :param async_req bool: execute request asynchronously
77
- :param str ansible_collection_href: (required)
78
- :param str fields: A list of fields to include in the response.
79
- :param str exclude_fields: A list of fields to exclude from the response.
80
- :param _return_http_data_only: response data without head status code
81
- and headers
82
- :param _preload_content: if False, the urllib3.HTTPResponse object will
83
- be returned without reading/decoding response
84
- data. Default is True.
85
- :param _request_timeout: timeout setting for this request. If one
86
- number provided, it will be total request
87
- timeout. It can also be a pair (tuple) of
88
- (connection, read) timeouts.
89
- :return: tuple(GalaxyCollectionResponse, status_code(int), headers(HTTPHeaderDict))
90
- If the method is called asynchronously,
91
- returns the request thread.
92
- """
93
-
94
- local_var_params = locals()
95
-
96
- all_params = [
97
- 'ansible_collection_href',
98
- 'fields',
99
- 'exclude_fields'
100
- ]
101
- all_params.extend(
102
- [
103
- 'async_req',
104
- '_return_http_data_only',
105
- '_preload_content',
106
- '_request_timeout'
107
- ]
108
- )
109
-
110
- for key, val in six.iteritems(local_var_params['kwargs']):
111
- if key not in all_params:
112
- raise ApiTypeError(
113
- "Got an unexpected keyword argument '%s'"
114
- " to method get" % key
115
- )
116
- local_var_params[key] = val
117
- del local_var_params['kwargs']
118
- # verify the required parameter 'ansible_collection_href' is set
119
- if self.api_client.client_side_validation and ('ansible_collection_href' not in local_var_params or # noqa: E501
120
- local_var_params['ansible_collection_href'] is None): # noqa: E501
121
- raise ApiValueError("Missing the required parameter `ansible_collection_href` when calling `get`") # noqa: E501
122
-
123
- collection_formats = {}
124
-
125
- path_params = {}
126
- if 'ansible_collection_href' in local_var_params:
127
- path_params['ansible_collection_href'] = local_var_params['ansible_collection_href'] # noqa: E501
128
-
129
- query_params = []
130
- if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
131
- query_params.append(('fields', local_var_params['fields'])) # noqa: E501
132
- if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
133
- query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
134
-
135
- header_params = {}
136
-
137
- form_params = []
138
- local_var_files = {}
139
-
140
- body_params = None
141
- # HTTP header `Accept`
142
- header_params['Accept'] = self.api_client.select_header_accept(
143
- ['application/json']) # noqa: E501
144
-
145
- # Authentication setting
146
- auth_settings = [] # noqa: E501
147
-
148
- return self.api_client.call_api(
149
- '{ansible_collection_href}', 'GET',
150
- path_params,
151
- query_params,
152
- header_params,
153
- body=body_params,
154
- post_params=form_params,
155
- files=local_var_files,
156
- response_type='GalaxyCollectionResponse', # noqa: E501
157
- auth_settings=auth_settings,
158
- async_req=local_var_params.get('async_req'),
159
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
160
- _preload_content=local_var_params.get('_preload_content', True),
161
- _request_timeout=local_var_params.get('_request_timeout'),
162
- collection_formats=collection_formats)
@@ -1,158 +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
- from __future__ import absolute_import
15
-
16
- import re # noqa: F401
17
-
18
- # python 2 and python 3 compatibility library
19
- import six
20
-
21
- from pulpcore.client.pulp_ansible.api_client import ApiClient
22
- from pulpcore.client.pulp_ansible.exceptions import ( # noqa: F401
23
- ApiTypeError,
24
- ApiValueError
25
- )
26
-
27
-
28
- class PulpAnsibleApiApi(object):
29
- """NOTE: This class is auto generated by OpenAPI Generator
30
- Ref: https://openapi-generator.tech
31
-
32
- Do not edit the class manually.
33
- """
34
-
35
- def __init__(self, api_client=None):
36
- if api_client is None:
37
- api_client = ApiClient()
38
- self.api_client = api_client
39
-
40
- def get(self, path, **kwargs): # noqa: E501
41
- """get # noqa: E501
42
-
43
- Return a response to the \"GET\" action. # noqa: E501
44
- This method makes a synchronous HTTP request by default. To make an
45
- asynchronous HTTP request, please pass async_req=True
46
- >>> thread = api.get(path, async_req=True)
47
- >>> result = thread.get()
48
-
49
- :param async_req bool: execute request asynchronously
50
- :param str path: (required)
51
- :param str fields: A list of fields to include in the response.
52
- :param str exclude_fields: A list of fields to exclude from the response.
53
- :param _preload_content: if False, the urllib3.HTTPResponse object will
54
- be returned without reading/decoding response
55
- data. Default is True.
56
- :param _request_timeout: timeout setting for this request. If one
57
- number provided, it will be total request
58
- timeout. It can also be a pair (tuple) of
59
- (connection, read) timeouts.
60
- :return: None
61
- If the method is called asynchronously,
62
- returns the request thread.
63
- """
64
- kwargs['_return_http_data_only'] = True
65
- return self.get_with_http_info(path, **kwargs) # noqa: E501
66
-
67
- def get_with_http_info(self, path, **kwargs): # noqa: E501
68
- """get # noqa: E501
69
-
70
- Return a response to the \"GET\" action. # noqa: E501
71
- This method makes a synchronous HTTP request by default. To make an
72
- asynchronous HTTP request, please pass async_req=True
73
- >>> thread = api.get_with_http_info(path, async_req=True)
74
- >>> result = thread.get()
75
-
76
- :param async_req bool: execute request asynchronously
77
- :param str path: (required)
78
- :param str fields: A list of fields to include in the response.
79
- :param str exclude_fields: A list of fields to exclude from the response.
80
- :param _return_http_data_only: response data without head status code
81
- and headers
82
- :param _preload_content: if False, the urllib3.HTTPResponse object will
83
- be returned without reading/decoding response
84
- data. Default is True.
85
- :param _request_timeout: timeout setting for this request. If one
86
- number provided, it will be total request
87
- timeout. It can also be a pair (tuple) of
88
- (connection, read) timeouts.
89
- :return: None
90
- If the method is called asynchronously,
91
- returns the request thread.
92
- """
93
-
94
- local_var_params = locals()
95
-
96
- all_params = [
97
- 'path',
98
- 'fields',
99
- 'exclude_fields'
100
- ]
101
- all_params.extend(
102
- [
103
- 'async_req',
104
- '_return_http_data_only',
105
- '_preload_content',
106
- '_request_timeout'
107
- ]
108
- )
109
-
110
- for key, val in six.iteritems(local_var_params['kwargs']):
111
- if key not in all_params:
112
- raise ApiTypeError(
113
- "Got an unexpected keyword argument '%s'"
114
- " to method get" % key
115
- )
116
- local_var_params[key] = val
117
- del local_var_params['kwargs']
118
- # verify the required parameter 'path' is set
119
- if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
120
- local_var_params['path'] is None): # noqa: E501
121
- raise ApiValueError("Missing the required parameter `path` when calling `get`") # noqa: E501
122
-
123
- collection_formats = {}
124
-
125
- path_params = {}
126
- if 'path' in local_var_params:
127
- path_params['path'] = local_var_params['path'] # noqa: E501
128
-
129
- query_params = []
130
- if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
131
- query_params.append(('fields', local_var_params['fields'])) # noqa: E501
132
- if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
133
- query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
134
-
135
- header_params = {}
136
-
137
- form_params = []
138
- local_var_files = {}
139
-
140
- body_params = None
141
- # Authentication setting
142
- auth_settings = [] # noqa: E501
143
-
144
- return self.api_client.call_api(
145
- '/pulp_ansible/galaxy/{path}/api/', 'GET',
146
- path_params,
147
- query_params,
148
- header_params,
149
- body=body_params,
150
- post_params=form_params,
151
- files=local_var_files,
152
- response_type=None, # noqa: E501
153
- auth_settings=auth_settings,
154
- async_req=local_var_params.get('async_req'),
155
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
156
- _preload_content=local_var_params.get('_preload_content', True),
157
- _request_timeout=local_var_params.get('_request_timeout'),
158
- collection_formats=collection_formats)
@@ -1,474 +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
- from __future__ import absolute_import
15
-
16
- import re # noqa: F401
17
-
18
- # python 2 and python 3 compatibility library
19
- import six
20
-
21
- from pulpcore.client.pulp_ansible.api_client import ApiClient
22
- from pulpcore.client.pulp_ansible.exceptions import ( # noqa: F401
23
- ApiTypeError,
24
- ApiValueError
25
- )
26
-
27
-
28
- class PulpAnsibleGalaxyApiCollectionsApi(object):
29
- """NOTE: This class is auto generated by OpenAPI Generator
30
- Ref: https://openapi-generator.tech
31
-
32
- Do not edit the class manually.
33
- """
34
-
35
- def __init__(self, api_client=None):
36
- if api_client is None:
37
- api_client = ApiClient()
38
- self.api_client = api_client
39
-
40
- def list(self, path, **kwargs): # noqa: E501
41
- """list # noqa: E501
42
-
43
- ViewSet for Collections. # noqa: E501
44
- This method makes a synchronous HTTP request by default. To make an
45
- asynchronous HTTP request, please pass async_req=True
46
- >>> thread = api.list(path, async_req=True)
47
- >>> result = thread.get()
48
-
49
- :param async_req bool: execute request asynchronously
50
- :param str path: (required)
51
- :param str deprecated:
52
- :param int limit: Number of results to return per page.
53
- :param str name:
54
- :param str namespace:
55
- :param int offset: The initial index from which to return the results.
56
- :param str fields: A list of fields to include in the response.
57
- :param str exclude_fields: A list of fields to exclude from the response.
58
- :param _preload_content: if False, the urllib3.HTTPResponse object will
59
- be returned without reading/decoding response
60
- data. Default is True.
61
- :param _request_timeout: timeout setting for this request. If one
62
- number provided, it will be total request
63
- timeout. It can also be a pair (tuple) of
64
- (connection, read) timeouts.
65
- :return: PaginatedCollectionResponseList
66
- If the method is called asynchronously,
67
- returns the request thread.
68
- """
69
- kwargs['_return_http_data_only'] = True
70
- return self.list_with_http_info(path, **kwargs) # noqa: E501
71
-
72
- def list_with_http_info(self, path, **kwargs): # noqa: E501
73
- """list # noqa: E501
74
-
75
- ViewSet for Collections. # noqa: E501
76
- This method makes a synchronous HTTP request by default. To make an
77
- asynchronous HTTP request, please pass async_req=True
78
- >>> thread = api.list_with_http_info(path, async_req=True)
79
- >>> result = thread.get()
80
-
81
- :param async_req bool: execute request asynchronously
82
- :param str path: (required)
83
- :param str deprecated:
84
- :param int limit: Number of results to return per page.
85
- :param str name:
86
- :param str namespace:
87
- :param int offset: The initial index from which to return the results.
88
- :param str fields: A list of fields to include in the response.
89
- :param str exclude_fields: A list of fields to exclude from the response.
90
- :param _return_http_data_only: response data without head status code
91
- and headers
92
- :param _preload_content: if False, the urllib3.HTTPResponse object will
93
- be returned without reading/decoding response
94
- data. Default is True.
95
- :param _request_timeout: timeout setting for this request. If one
96
- number provided, it will be total request
97
- timeout. It can also be a pair (tuple) of
98
- (connection, read) timeouts.
99
- :return: tuple(PaginatedCollectionResponseList, status_code(int), headers(HTTPHeaderDict))
100
- If the method is called asynchronously,
101
- returns the request thread.
102
- """
103
-
104
- local_var_params = locals()
105
-
106
- all_params = [
107
- 'path',
108
- 'deprecated',
109
- 'limit',
110
- 'name',
111
- 'namespace',
112
- 'offset',
113
- 'fields',
114
- 'exclude_fields'
115
- ]
116
- all_params.extend(
117
- [
118
- 'async_req',
119
- '_return_http_data_only',
120
- '_preload_content',
121
- '_request_timeout'
122
- ]
123
- )
124
-
125
- for key, val in six.iteritems(local_var_params['kwargs']):
126
- if key not in all_params:
127
- raise ApiTypeError(
128
- "Got an unexpected keyword argument '%s'"
129
- " to method list" % key
130
- )
131
- local_var_params[key] = val
132
- del local_var_params['kwargs']
133
- # verify the required parameter 'path' is set
134
- if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
135
- local_var_params['path'] is None): # noqa: E501
136
- raise ApiValueError("Missing the required parameter `path` when calling `list`") # noqa: E501
137
-
138
- collection_formats = {}
139
-
140
- path_params = {}
141
- if 'path' in local_var_params:
142
- path_params['path'] = local_var_params['path'] # noqa: E501
143
-
144
- query_params = []
145
- if 'deprecated' in local_var_params and local_var_params['deprecated'] is not None: # noqa: E501
146
- query_params.append(('deprecated', local_var_params['deprecated'])) # noqa: E501
147
- if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
148
- query_params.append(('limit', local_var_params['limit'])) # noqa: E501
149
- if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
150
- query_params.append(('name', local_var_params['name'])) # noqa: E501
151
- if 'namespace' in local_var_params and local_var_params['namespace'] is not None: # noqa: E501
152
- query_params.append(('namespace', local_var_params['namespace'])) # noqa: E501
153
- if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501
154
- query_params.append(('offset', local_var_params['offset'])) # noqa: E501
155
- if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
156
- query_params.append(('fields', local_var_params['fields'])) # noqa: E501
157
- if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
158
- query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
159
-
160
- header_params = {}
161
-
162
- form_params = []
163
- local_var_files = {}
164
-
165
- body_params = None
166
- # HTTP header `Accept`
167
- header_params['Accept'] = self.api_client.select_header_accept(
168
- ['application/json']) # noqa: E501
169
-
170
- # Authentication setting
171
- auth_settings = [] # noqa: E501
172
-
173
- return self.api_client.call_api(
174
- '/pulp_ansible/galaxy/{path}/api/v3/collections/', 'GET',
175
- path_params,
176
- query_params,
177
- header_params,
178
- body=body_params,
179
- post_params=form_params,
180
- files=local_var_files,
181
- response_type='PaginatedCollectionResponseList', # noqa: E501
182
- auth_settings=auth_settings,
183
- async_req=local_var_params.get('async_req'),
184
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
185
- _preload_content=local_var_params.get('_preload_content', True),
186
- _request_timeout=local_var_params.get('_request_timeout'),
187
- collection_formats=collection_formats)
188
-
189
- def read(self, name, namespace, path, **kwargs): # noqa: E501
190
- """read # noqa: E501
191
-
192
- ViewSet for Collections. # noqa: E501
193
- This method makes a synchronous HTTP request by default. To make an
194
- asynchronous HTTP request, please pass async_req=True
195
- >>> thread = api.read(name, namespace, path, async_req=True)
196
- >>> result = thread.get()
197
-
198
- :param async_req bool: execute request asynchronously
199
- :param str name: (required)
200
- :param str namespace: (required)
201
- :param str path: (required)
202
- :param str fields: A list of fields to include in the response.
203
- :param str exclude_fields: A list of fields to exclude from the response.
204
- :param _preload_content: if False, the urllib3.HTTPResponse object will
205
- be returned without reading/decoding response
206
- data. Default is True.
207
- :param _request_timeout: timeout setting for this request. If one
208
- number provided, it will be total request
209
- timeout. It can also be a pair (tuple) of
210
- (connection, read) timeouts.
211
- :return: CollectionResponse
212
- If the method is called asynchronously,
213
- returns the request thread.
214
- """
215
- kwargs['_return_http_data_only'] = True
216
- return self.read_with_http_info(name, namespace, path, **kwargs) # noqa: E501
217
-
218
- def read_with_http_info(self, name, namespace, path, **kwargs): # noqa: E501
219
- """read # noqa: E501
220
-
221
- ViewSet for Collections. # noqa: E501
222
- This method makes a synchronous HTTP request by default. To make an
223
- asynchronous HTTP request, please pass async_req=True
224
- >>> thread = api.read_with_http_info(name, namespace, path, async_req=True)
225
- >>> result = thread.get()
226
-
227
- :param async_req bool: execute request asynchronously
228
- :param str name: (required)
229
- :param str namespace: (required)
230
- :param str path: (required)
231
- :param str fields: A list of fields to include in the response.
232
- :param str exclude_fields: A list of fields to exclude from the response.
233
- :param _return_http_data_only: response data without head status code
234
- and headers
235
- :param _preload_content: if False, the urllib3.HTTPResponse object will
236
- be returned without reading/decoding response
237
- data. Default is True.
238
- :param _request_timeout: timeout setting for this request. If one
239
- number provided, it will be total request
240
- timeout. It can also be a pair (tuple) of
241
- (connection, read) timeouts.
242
- :return: tuple(CollectionResponse, status_code(int), headers(HTTPHeaderDict))
243
- If the method is called asynchronously,
244
- returns the request thread.
245
- """
246
-
247
- local_var_params = locals()
248
-
249
- all_params = [
250
- 'name',
251
- 'namespace',
252
- 'path',
253
- 'fields',
254
- 'exclude_fields'
255
- ]
256
- all_params.extend(
257
- [
258
- 'async_req',
259
- '_return_http_data_only',
260
- '_preload_content',
261
- '_request_timeout'
262
- ]
263
- )
264
-
265
- for key, val in six.iteritems(local_var_params['kwargs']):
266
- if key not in all_params:
267
- raise ApiTypeError(
268
- "Got an unexpected keyword argument '%s'"
269
- " to method read" % key
270
- )
271
- local_var_params[key] = val
272
- del local_var_params['kwargs']
273
- # verify the required parameter 'name' is set
274
- if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501
275
- local_var_params['name'] is None): # noqa: E501
276
- raise ApiValueError("Missing the required parameter `name` when calling `read`") # noqa: E501
277
- # verify the required parameter 'namespace' is set
278
- if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501
279
- local_var_params['namespace'] is None): # noqa: E501
280
- raise ApiValueError("Missing the required parameter `namespace` when calling `read`") # noqa: E501
281
- # verify the required parameter 'path' is set
282
- if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
283
- local_var_params['path'] is None): # noqa: E501
284
- raise ApiValueError("Missing the required parameter `path` when calling `read`") # noqa: E501
285
-
286
- collection_formats = {}
287
-
288
- path_params = {}
289
- if 'name' in local_var_params:
290
- path_params['name'] = local_var_params['name'] # noqa: E501
291
- if 'namespace' in local_var_params:
292
- path_params['namespace'] = local_var_params['namespace'] # noqa: E501
293
- if 'path' in local_var_params:
294
- path_params['path'] = local_var_params['path'] # noqa: E501
295
-
296
- query_params = []
297
- if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
298
- query_params.append(('fields', local_var_params['fields'])) # noqa: E501
299
- if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
300
- query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
301
-
302
- header_params = {}
303
-
304
- form_params = []
305
- local_var_files = {}
306
-
307
- body_params = None
308
- # HTTP header `Accept`
309
- header_params['Accept'] = self.api_client.select_header_accept(
310
- ['application/json']) # noqa: E501
311
-
312
- # Authentication setting
313
- auth_settings = [] # noqa: E501
314
-
315
- return self.api_client.call_api(
316
- '/pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/', 'GET',
317
- path_params,
318
- query_params,
319
- header_params,
320
- body=body_params,
321
- post_params=form_params,
322
- files=local_var_files,
323
- response_type='CollectionResponse', # noqa: E501
324
- auth_settings=auth_settings,
325
- async_req=local_var_params.get('async_req'),
326
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
327
- _preload_content=local_var_params.get('_preload_content', True),
328
- _request_timeout=local_var_params.get('_request_timeout'),
329
- collection_formats=collection_formats)
330
-
331
- def update(self, name, namespace, path, body, **kwargs): # noqa: E501
332
- """update # noqa: E501
333
-
334
- Update a Collection object. # noqa: E501
335
- This method makes a synchronous HTTP request by default. To make an
336
- asynchronous HTTP request, please pass async_req=True
337
- >>> thread = api.update(name, namespace, path, body, async_req=True)
338
- >>> result = thread.get()
339
-
340
- :param async_req bool: execute request asynchronously
341
- :param str name: (required)
342
- :param str namespace: (required)
343
- :param str path: (required)
344
- :param object body: (required)
345
- :param _preload_content: if False, the urllib3.HTTPResponse object will
346
- be returned without reading/decoding response
347
- data. Default is True.
348
- :param _request_timeout: timeout setting for this request. If one
349
- number provided, it will be total request
350
- timeout. It can also be a pair (tuple) of
351
- (connection, read) timeouts.
352
- :return: CollectionResponse
353
- If the method is called asynchronously,
354
- returns the request thread.
355
- """
356
- kwargs['_return_http_data_only'] = True
357
- return self.update_with_http_info(name, namespace, path, body, **kwargs) # noqa: E501
358
-
359
- def update_with_http_info(self, name, namespace, path, body, **kwargs): # noqa: E501
360
- """update # noqa: E501
361
-
362
- Update a Collection object. # noqa: E501
363
- This method makes a synchronous HTTP request by default. To make an
364
- asynchronous HTTP request, please pass async_req=True
365
- >>> thread = api.update_with_http_info(name, namespace, path, body, async_req=True)
366
- >>> result = thread.get()
367
-
368
- :param async_req bool: execute request asynchronously
369
- :param str name: (required)
370
- :param str namespace: (required)
371
- :param str path: (required)
372
- :param object body: (required)
373
- :param _return_http_data_only: response data without head status code
374
- and headers
375
- :param _preload_content: if False, the urllib3.HTTPResponse object will
376
- be returned without reading/decoding response
377
- data. Default is True.
378
- :param _request_timeout: timeout setting for this request. If one
379
- number provided, it will be total request
380
- timeout. It can also be a pair (tuple) of
381
- (connection, read) timeouts.
382
- :return: tuple(CollectionResponse, status_code(int), headers(HTTPHeaderDict))
383
- If the method is called asynchronously,
384
- returns the request thread.
385
- """
386
-
387
- local_var_params = locals()
388
-
389
- all_params = [
390
- 'name',
391
- 'namespace',
392
- 'path',
393
- 'body'
394
- ]
395
- all_params.extend(
396
- [
397
- 'async_req',
398
- '_return_http_data_only',
399
- '_preload_content',
400
- '_request_timeout'
401
- ]
402
- )
403
-
404
- for key, val in six.iteritems(local_var_params['kwargs']):
405
- if key not in all_params:
406
- raise ApiTypeError(
407
- "Got an unexpected keyword argument '%s'"
408
- " to method update" % key
409
- )
410
- local_var_params[key] = val
411
- del local_var_params['kwargs']
412
- # verify the required parameter 'name' is set
413
- if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501
414
- local_var_params['name'] is None): # noqa: E501
415
- raise ApiValueError("Missing the required parameter `name` when calling `update`") # noqa: E501
416
- # verify the required parameter 'namespace' is set
417
- if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501
418
- local_var_params['namespace'] is None): # noqa: E501
419
- raise ApiValueError("Missing the required parameter `namespace` when calling `update`") # noqa: E501
420
- # verify the required parameter 'path' is set
421
- if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
422
- local_var_params['path'] is None): # noqa: E501
423
- raise ApiValueError("Missing the required parameter `path` when calling `update`") # noqa: E501
424
- # verify the required parameter 'body' is set
425
- if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
426
- local_var_params['body'] is None): # noqa: E501
427
- raise ApiValueError("Missing the required parameter `body` when calling `update`") # noqa: E501
428
-
429
- collection_formats = {}
430
-
431
- path_params = {}
432
- if 'name' in local_var_params:
433
- path_params['name'] = local_var_params['name'] # noqa: E501
434
- if 'namespace' in local_var_params:
435
- path_params['namespace'] = local_var_params['namespace'] # noqa: E501
436
- if 'path' in local_var_params:
437
- path_params['path'] = local_var_params['path'] # noqa: E501
438
-
439
- query_params = []
440
-
441
- header_params = {}
442
-
443
- form_params = []
444
- local_var_files = {}
445
-
446
- body_params = None
447
- if 'body' in local_var_params:
448
- body_params = local_var_params['body']
449
- # HTTP header `Accept`
450
- header_params['Accept'] = self.api_client.select_header_accept(
451
- ['application/json']) # noqa: E501
452
-
453
- # HTTP header `Content-Type`
454
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
455
- ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data']) # noqa: E501
456
-
457
- # Authentication setting
458
- auth_settings = [] # noqa: E501
459
-
460
- return self.api_client.call_api(
461
- '/pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/', 'PATCH',
462
- path_params,
463
- query_params,
464
- header_params,
465
- body=body_params,
466
- post_params=form_params,
467
- files=local_var_files,
468
- response_type='CollectionResponse', # noqa: E501
469
- auth_settings=auth_settings,
470
- async_req=local_var_params.get('async_req'),
471
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
472
- _preload_content=local_var_params.get('_preload_content', True),
473
- _request_timeout=local_var_params.get('_request_timeout'),
474
- collection_formats=collection_formats)