pulp_ansible_client 0.5.7 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +21 -21
  4. data/docs/AnsibleCollectionRemote.md +0 -8
  5. data/docs/AnsibleCollectionRemoteResponse.md +0 -8
  6. data/docs/AnsibleCollectionVersionResponse.md +2 -2
  7. data/docs/AnsibleCollectionsApi.md +2 -2
  8. data/docs/AnsibleRoleRemote.md +1 -9
  9. data/docs/AnsibleRoleRemoteResponse.md +1 -9
  10. data/docs/AnsibleRoleResponse.md +2 -2
  11. data/docs/ApiCollectionsApi.md +2 -2
  12. data/docs/ApiRolesApi.md +2 -2
  13. data/docs/ContentCollectionVersionsApi.md +2 -2
  14. data/docs/ContentRolesApi.md +2 -2
  15. data/docs/DistributionsAnsibleApi.md +2 -2
  16. data/docs/{PaginatedansibleCollectionResponseList.md → InlineResponse200.md} +4 -4
  17. data/docs/{PaginatedansibleCollectionVersionResponseList.md → InlineResponse2001.md} +4 -4
  18. data/docs/{PaginatedGalaxyRoleVersionResponseList.md → InlineResponse20010.md} +4 -4
  19. data/docs/{PaginatedGalaxyCollectionResponseList.md → InlineResponse20011.md} +4 -4
  20. data/docs/{PaginatedGalaxyCollectionVersionResponseList.md → InlineResponse20012.md} +4 -4
  21. data/docs/InlineResponse20013.md +21 -0
  22. data/docs/{PaginatedCollectionResponseListLinks.md → InlineResponse20013Links.md} +2 -2
  23. data/docs/{PaginatedCollectionResponseListMeta.md → InlineResponse20013Meta.md} +2 -2
  24. data/docs/InlineResponse20014.md +21 -0
  25. data/docs/{PaginatedansibleRoleResponseList.md → InlineResponse2002.md} +4 -4
  26. data/docs/{PaginatedansibleAnsibleDistributionResponseList.md → InlineResponse2003.md} +4 -4
  27. data/docs/{PaginatedTagResponseList.md → InlineResponse2004.md} +4 -4
  28. data/docs/{PaginatedansibleCollectionRemoteResponseList.md → InlineResponse2005.md} +4 -4
  29. data/docs/{PaginatedansibleRoleRemoteResponseList.md → InlineResponse2006.md} +4 -4
  30. data/docs/{PaginatedansibleAnsibleRepositoryResponseList.md → InlineResponse2007.md} +4 -4
  31. data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse2008.md} +4 -4
  32. data/docs/{PaginatedGalaxyRoleResponseList.md → InlineResponse2009.md} +4 -4
  33. data/docs/PatchedansibleCollectionRemote.md +0 -8
  34. data/docs/PatchedansibleRoleRemote.md +1 -9
  35. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +2 -2
  36. data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +2 -2
  37. data/docs/PulpAnsibleTagsApi.md +2 -2
  38. data/docs/RemotesCollectionApi.md +2 -2
  39. data/docs/RemotesRoleApi.md +2 -2
  40. data/docs/RepositoriesAnsibleApi.md +2 -2
  41. data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
  42. data/docs/RepositoryAddRemoveContent.md +2 -2
  43. data/docs/VersionsApi.md +4 -4
  44. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +4 -4
  45. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
  46. data/lib/pulp_ansible_client/api/api_collections_api.rb +4 -4
  47. data/lib/pulp_ansible_client/api/api_roles_api.rb +4 -4
  48. data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
  49. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +4 -4
  50. data/lib/pulp_ansible_client/api/content_roles_api.rb +4 -4
  51. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +4 -4
  52. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +1 -1
  53. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
  54. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +4 -4
  55. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
  56. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
  57. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
  58. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +4 -4
  59. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +4 -4
  60. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +4 -4
  61. data/lib/pulp_ansible_client/api/remotes_role_api.rb +4 -4
  62. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +4 -4
  63. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +8 -8
  64. data/lib/pulp_ansible_client/api/versions_api.rb +7 -7
  65. data/lib/pulp_ansible_client/api_client.rb +12 -8
  66. data/lib/pulp_ansible_client/api_error.rb +1 -1
  67. data/lib/pulp_ansible_client/configuration.rb +8 -1
  68. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
  69. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
  70. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  71. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
  72. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +2 -106
  73. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +2 -106
  74. data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
  75. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +16 -16
  76. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +27 -27
  77. data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
  78. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -109
  79. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +5 -109
  80. data/lib/pulp_ansible_client/models/ansible_role_response.rb +12 -12
  81. data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
  82. data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
  83. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  84. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
  85. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
  86. data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
  87. data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
  88. data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
  89. data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
  90. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  91. data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
  92. data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
  93. data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
  94. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  95. data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
  96. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
  97. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
  98. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
  99. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
  100. data/lib/pulp_ansible_client/models/{paginatedansible_collection_response_list.rb → inline_response200.rb} +4 -4
  101. data/lib/pulp_ansible_client/models/{paginatedansible_collection_version_response_list.rb → inline_response2001.rb} +4 -4
  102. data/lib/pulp_ansible_client/models/{paginated_galaxy_role_version_response_list.rb → inline_response20010.rb} +4 -4
  103. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → inline_response20011.rb} +4 -4
  104. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_version_response_list.rb → inline_response20012.rb} +4 -4
  105. data/lib/pulp_ansible_client/models/{paginated_collection_response_list.rb → inline_response20013.rb} +6 -6
  106. data/lib/pulp_ansible_client/models/{paginated_collection_response_list_links.rb → inline_response20013_links.rb} +4 -4
  107. data/lib/pulp_ansible_client/models/{paginated_collection_response_list_meta.rb → inline_response20013_meta.rb} +4 -4
  108. data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → inline_response20014.rb} +6 -6
  109. data/lib/pulp_ansible_client/models/{paginatedansible_role_response_list.rb → inline_response2002.rb} +4 -4
  110. data/lib/pulp_ansible_client/models/{paginatedansible_ansible_distribution_response_list.rb → inline_response2003.rb} +4 -4
  111. data/lib/pulp_ansible_client/models/{paginated_tag_response_list.rb → inline_response2004.rb} +4 -4
  112. data/lib/pulp_ansible_client/models/{paginatedansible_collection_remote_response_list.rb → inline_response2005.rb} +4 -4
  113. data/lib/pulp_ansible_client/models/{paginatedansible_role_remote_response_list.rb → inline_response2006.rb} +4 -4
  114. data/lib/pulp_ansible_client/models/{paginatedansible_ansible_repository_response_list.rb → inline_response2007.rb} +4 -4
  115. data/lib/pulp_ansible_client/models/{paginated_repository_version_response_list.rb → inline_response2008.rb} +4 -4
  116. data/lib/pulp_ansible_client/models/{paginated_galaxy_role_response_list.rb → inline_response2009.rb} +4 -4
  117. data/lib/pulp_ansible_client/models/patched_collection.rb +1 -1
  118. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +1 -1
  119. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  120. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -106
  121. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -109
  122. data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
  123. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
  124. data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
  125. data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
  126. data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
  127. data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
  128. data/lib/pulp_ansible_client/version.rb +2 -2
  129. data/lib/pulp_ansible_client.rb +18 -18
  130. data/pulp_ansible_client.gemspec +2 -2
  131. data/spec/api/ansible_collections_api_spec.rb +2 -2
  132. data/spec/api/ansible_copy_api_spec.rb +1 -1
  133. data/spec/api/api_collections_api_spec.rb +2 -2
  134. data/spec/api/api_roles_api_spec.rb +2 -2
  135. data/spec/api/collection_import_api_spec.rb +1 -1
  136. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  137. data/spec/api/content_roles_api_spec.rb +2 -2
  138. data/spec/api/distributions_ansible_api_spec.rb +2 -2
  139. data/spec/api/galaxy_detail_api_spec.rb +1 -1
  140. data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
  141. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -2
  142. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
  143. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
  144. data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
  145. data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +2 -2
  146. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  147. data/spec/api/remotes_collection_api_spec.rb +2 -2
  148. data/spec/api/remotes_role_api_spec.rb +2 -2
  149. data/spec/api/repositories_ansible_api_spec.rb +2 -2
  150. data/spec/api/repositories_ansible_versions_api_spec.rb +4 -4
  151. data/spec/api/versions_api_spec.rb +3 -3
  152. data/spec/api_client_spec.rb +2 -2
  153. data/spec/configuration_spec.rb +1 -1
  154. data/spec/models/ansible_ansible_distribution_response_spec.rb +1 -1
  155. data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
  156. data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
  157. data/spec/models/ansible_ansible_repository_spec.rb +1 -1
  158. data/spec/models/ansible_collection_remote_response_spec.rb +1 -25
  159. data/spec/models/ansible_collection_remote_spec.rb +1 -25
  160. data/spec/models/ansible_collection_response_spec.rb +1 -1
  161. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  162. data/spec/models/ansible_collection_version_spec.rb +1 -1
  163. data/spec/models/ansible_role_remote_response_spec.rb +1 -25
  164. data/spec/models/ansible_role_remote_spec.rb +1 -25
  165. data/spec/models/ansible_role_response_spec.rb +3 -3
  166. data/spec/models/ansible_role_spec.rb +1 -1
  167. data/spec/models/ansible_tag_response_spec.rb +1 -1
  168. data/spec/models/artifact_ref_response_spec.rb +1 -1
  169. data/spec/models/async_operation_response_spec.rb +1 -1
  170. data/spec/models/collection_import_detail_response_spec.rb +1 -1
  171. data/spec/models/collection_metadata_response_spec.rb +1 -1
  172. data/spec/models/collection_namespace_response_spec.rb +1 -1
  173. data/spec/models/collection_one_shot_spec.rb +1 -1
  174. data/spec/models/collection_ref_response_spec.rb +1 -1
  175. data/spec/models/collection_response_spec.rb +1 -1
  176. data/spec/models/collection_version_docs_response_spec.rb +1 -1
  177. data/spec/models/collection_version_response_spec.rb +1 -1
  178. data/spec/models/content_summary_response_spec.rb +1 -1
  179. data/spec/models/content_summary_spec.rb +1 -1
  180. data/spec/models/copy_spec.rb +1 -1
  181. data/spec/models/galaxy_collection_response_spec.rb +1 -1
  182. data/spec/models/galaxy_collection_spec.rb +1 -1
  183. data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
  184. data/spec/models/galaxy_role_response_spec.rb +1 -1
  185. data/spec/models/galaxy_role_version_response_spec.rb +1 -1
  186. data/spec/models/{paginated_tag_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
  187. data/spec/models/{paginated_galaxy_role_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
  188. data/spec/models/{paginatedansible_role_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
  189. data/spec/models/{paginated_collection_response_list_links_spec.rb → inline_response20013_links_spec.rb} +7 -7
  190. data/spec/models/{paginated_collection_response_list_meta_spec.rb → inline_response20013_meta_spec.rb} +7 -7
  191. data/spec/models/{paginated_collection_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
  192. data/spec/models/{paginated_collection_version_response_list_spec.rb → inline_response20014_spec.rb} +7 -7
  193. data/spec/models/{paginated_galaxy_collection_response_list_spec.rb → inline_response2001_spec.rb} +7 -7
  194. data/spec/models/inline_response2002_spec.rb +59 -0
  195. data/spec/models/inline_response2003_spec.rb +59 -0
  196. data/spec/models/inline_response2004_spec.rb +59 -0
  197. data/spec/models/inline_response2005_spec.rb +59 -0
  198. data/spec/models/inline_response2006_spec.rb +59 -0
  199. data/spec/models/inline_response2007_spec.rb +59 -0
  200. data/spec/models/inline_response2008_spec.rb +59 -0
  201. data/spec/models/inline_response2009_spec.rb +59 -0
  202. data/spec/models/inline_response200_spec.rb +59 -0
  203. data/spec/models/patched_collection_spec.rb +1 -1
  204. data/spec/models/patchedansible_ansible_distribution_spec.rb +1 -1
  205. data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
  206. data/spec/models/patchedansible_collection_remote_spec.rb +1 -25
  207. data/spec/models/patchedansible_role_remote_spec.rb +1 -25
  208. data/spec/models/policy_enum_spec.rb +1 -1
  209. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  210. data/spec/models/repository_sync_url_spec.rb +1 -1
  211. data/spec/models/repository_version_response_spec.rb +1 -1
  212. data/spec/models/repository_version_spec.rb +1 -1
  213. data/spec/models/tag_response_spec.rb +1 -1
  214. data/spec/spec_helper.rb +1 -1
  215. metadata +126 -120
  216. data/docs/PaginatedCollectionResponseList.md +0 -21
  217. data/docs/PaginatedCollectionVersionResponseList.md +0 -21
  218. data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
  219. data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +0 -59
  220. data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
  221. data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +0 -59
  222. data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +0 -59
  223. data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +0 -59
  224. data/spec/models/paginatedansible_collection_response_list_spec.rb +0 -59
  225. data/spec/models/paginatedansible_collection_version_response_list_spec.rb +0 -59
  226. data/spec/models/paginatedansible_role_remote_response_list_spec.rb +0 -59
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -27,7 +27,7 @@ module PulpAnsibleClient
27
27
  # @option opts [String] :ordering Which field to use when ordering the results.
28
28
  # @option opts [String] :fields A list of fields to include in the response.
29
29
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
30
- # @return [PaginatedTagResponseList]
30
+ # @return [InlineResponse2004]
31
31
  def list(opts = {})
32
32
  data, _status_code, _headers = list_with_http_info(opts)
33
33
  data
@@ -41,7 +41,7 @@ module PulpAnsibleClient
41
41
  # @option opts [String] :ordering Which field to use when ordering the results.
42
42
  # @option opts [String] :fields A list of fields to include in the response.
43
43
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
44
- # @return [Array<(PaginatedTagResponseList, Integer, Hash)>] PaginatedTagResponseList data, response status code and response headers
44
+ # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
45
45
  def list_with_http_info(opts = {})
46
46
  if @api_client.config.debugging
47
47
  @api_client.config.logger.debug 'Calling API: PulpAnsibleTagsApi.list ...'
@@ -69,7 +69,7 @@ module PulpAnsibleClient
69
69
  post_body = opts[:body]
70
70
 
71
71
  # return_type
72
- return_type = opts[:return_type] || 'PaginatedTagResponseList'
72
+ return_type = opts[:return_type] || 'InlineResponse2004'
73
73
 
74
74
  # auth_names
75
75
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -161,7 +161,7 @@ module PulpAnsibleClient
161
161
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
162
162
  # @option opts [String] :fields A list of fields to include in the response.
163
163
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
- # @return [PaginatedansibleCollectionRemoteResponseList]
164
+ # @return [InlineResponse2005]
165
165
  def list(opts = {})
166
166
  data, _status_code, _headers = list_with_http_info(opts)
167
167
  data
@@ -183,7 +183,7 @@ module PulpAnsibleClient
183
183
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
184
184
  # @option opts [String] :fields A list of fields to include in the response.
185
185
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
- # @return [Array<(PaginatedansibleCollectionRemoteResponseList, Integer, Hash)>] PaginatedansibleCollectionRemoteResponseList data, response status code and response headers
186
+ # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
187
187
  def list_with_http_info(opts = {})
188
188
  if @api_client.config.debugging
189
189
  @api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
@@ -219,7 +219,7 @@ module PulpAnsibleClient
219
219
  post_body = opts[:body]
220
220
 
221
221
  # return_type
222
- return_type = opts[:return_type] || 'PaginatedansibleCollectionRemoteResponseList'
222
+ return_type = opts[:return_type] || 'InlineResponse2005'
223
223
 
224
224
  # auth_names
225
225
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -161,7 +161,7 @@ module PulpAnsibleClient
161
161
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
162
162
  # @option opts [String] :fields A list of fields to include in the response.
163
163
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
- # @return [PaginatedansibleRoleRemoteResponseList]
164
+ # @return [InlineResponse2006]
165
165
  def list(opts = {})
166
166
  data, _status_code, _headers = list_with_http_info(opts)
167
167
  data
@@ -183,7 +183,7 @@ module PulpAnsibleClient
183
183
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
184
184
  # @option opts [String] :fields A list of fields to include in the response.
185
185
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
- # @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
186
+ # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
187
187
  def list_with_http_info(opts = {})
188
188
  if @api_client.config.debugging
189
189
  @api_client.config.logger.debug 'Calling API: RemotesRoleApi.list ...'
@@ -219,7 +219,7 @@ module PulpAnsibleClient
219
219
  post_body = opts[:body]
220
220
 
221
221
  # return_type
222
- return_type = opts[:return_type] || 'PaginatedansibleRoleRemoteResponseList'
222
+ return_type = opts[:return_type] || 'InlineResponse2006'
223
223
 
224
224
  # auth_names
225
225
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -155,7 +155,7 @@ module PulpAnsibleClient
155
155
  # @option opts [String] :ordering Which field to use when ordering the results.
156
156
  # @option opts [String] :fields A list of fields to include in the response.
157
157
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
158
- # @return [PaginatedansibleAnsibleRepositoryResponseList]
158
+ # @return [InlineResponse2007]
159
159
  def list(opts = {})
160
160
  data, _status_code, _headers = list_with_http_info(opts)
161
161
  data
@@ -171,7 +171,7 @@ module PulpAnsibleClient
171
171
  # @option opts [String] :ordering Which field to use when ordering the results.
172
172
  # @option opts [String] :fields A list of fields to include in the response.
173
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
174
- # @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
174
+ # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
175
175
  def list_with_http_info(opts = {})
176
176
  if @api_client.config.debugging
177
177
  @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
@@ -201,7 +201,7 @@ module PulpAnsibleClient
201
201
  post_body = opts[:body]
202
202
 
203
203
  # return_type
204
- return_type = opts[:return_type] || 'PaginatedansibleAnsibleRepositoryResponseList'
204
+ return_type = opts[:return_type] || 'InlineResponse2007'
205
205
 
206
206
  # auth_names
207
207
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -20,7 +20,7 @@ module PulpAnsibleClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Delete a repository version
23
- # Trigger an asynchronous task to delete a repository version.
23
+ # Trigger an asynchronous task to delete a repositroy version.
24
24
  # @param ansible_ansible_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
@@ -30,7 +30,7 @@ module PulpAnsibleClient
30
30
  end
31
31
 
32
32
  # Delete a repository version
33
- # Trigger an asynchronous task to delete a repository version.
33
+ # Trigger an asynchronous task to delete a repositroy version.
34
34
  # @param ansible_ansible_repository_version_href [String]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
@@ -104,7 +104,7 @@ module PulpAnsibleClient
104
104
  # @option opts [String] :pulp_created__range pulp_created__range
105
105
  # @option opts [String] :fields A list of fields to include in the response.
106
106
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
- # @return [PaginatedRepositoryVersionResponseList]
107
+ # @return [InlineResponse2008]
108
108
  def list(ansible_ansible_repository_href, opts = {})
109
109
  data, _status_code, _headers = list_with_http_info(ansible_ansible_repository_href, opts)
110
110
  data
@@ -133,7 +133,7 @@ module PulpAnsibleClient
133
133
  # @option opts [String] :pulp_created__range pulp_created__range
134
134
  # @option opts [String] :fields A list of fields to include in the response.
135
135
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
136
- # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
136
+ # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
137
137
  def list_with_http_info(ansible_ansible_repository_href, opts = {})
138
138
  if @api_client.config.debugging
139
139
  @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleVersionsApi.list ...'
@@ -179,7 +179,7 @@ module PulpAnsibleClient
179
179
  post_body = opts[:body]
180
180
 
181
181
  # return_type
182
- return_type = opts[:return_type] || 'PaginatedRepositoryVersionResponseList'
182
+ return_type = opts[:return_type] || 'InlineResponse2008'
183
183
 
184
184
  # auth_names
185
185
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -268,7 +268,7 @@ module PulpAnsibleClient
268
268
  return data, status_code, headers
269
269
  end
270
270
 
271
- # Trigger an asynchronous task to repair a repository version.
271
+ # Trigger an asynchronous task to repair a repositroy version.
272
272
  # @param ansible_ansible_repository_version_href [String]
273
273
  # @param repository_version [RepositoryVersion]
274
274
  # @param [Hash] opts the optional parameters
@@ -278,7 +278,7 @@ module PulpAnsibleClient
278
278
  data
279
279
  end
280
280
 
281
- # Trigger an asynchronous task to repair a repository version.
281
+ # Trigger an asynchronous task to repair a repositroy version.
282
282
  # @param ansible_ansible_repository_version_href [String]
283
283
  # @param repository_version [RepositoryVersion]
284
284
  # @param [Hash] opts the optional parameters
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -26,7 +26,7 @@ module PulpAnsibleClient
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [String] :fields A list of fields to include in the response.
28
28
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
29
- # @return [PaginatedGalaxyRoleVersionResponseList]
29
+ # @return [InlineResponse20010]
30
30
  def get(ansible_role_href, opts = {})
31
31
  data, _status_code, _headers = get_with_http_info(ansible_role_href, opts)
32
32
  data
@@ -39,7 +39,7 @@ module PulpAnsibleClient
39
39
  # @option opts [Integer] :offset The initial index from which to return the results.
40
40
  # @option opts [String] :fields A list of fields to include in the response.
41
41
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
42
- # @return [Array<(PaginatedGalaxyRoleVersionResponseList, Integer, Hash)>] PaginatedGalaxyRoleVersionResponseList data, response status code and response headers
42
+ # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
43
43
  def get_with_http_info(ansible_role_href, opts = {})
44
44
  if @api_client.config.debugging
45
45
  @api_client.config.logger.debug 'Calling API: VersionsApi.get ...'
@@ -70,7 +70,7 @@ module PulpAnsibleClient
70
70
  post_body = opts[:body]
71
71
 
72
72
  # return_type
73
- return_type = opts[:return_type] || 'PaginatedGalaxyRoleVersionResponseList'
73
+ return_type = opts[:return_type] || 'InlineResponse20010'
74
74
 
75
75
  # auth_names
76
76
  auth_names = opts[:auth_names] || []
@@ -97,7 +97,7 @@ module PulpAnsibleClient
97
97
  # @option opts [Integer] :page A page number within the paginated result set.
98
98
  # @option opts [String] :fields A list of fields to include in the response.
99
99
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
- # @return [PaginatedGalaxyCollectionVersionResponseList]
100
+ # @return [InlineResponse20012]
101
101
  def get_0(ansible_collection_version_href, opts = {})
102
102
  data, _status_code, _headers = get_0_with_http_info(ansible_collection_version_href, opts)
103
103
  data
@@ -109,7 +109,7 @@ module PulpAnsibleClient
109
109
  # @option opts [Integer] :page A page number within the paginated result set.
110
110
  # @option opts [String] :fields A list of fields to include in the response.
111
111
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
112
- # @return [Array<(PaginatedGalaxyCollectionVersionResponseList, Integer, Hash)>] PaginatedGalaxyCollectionVersionResponseList data, response status code and response headers
112
+ # @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
113
113
  def get_0_with_http_info(ansible_collection_version_href, opts = {})
114
114
  if @api_client.config.debugging
115
115
  @api_client.config.logger.debug 'Calling API: VersionsApi.get_0 ...'
@@ -139,7 +139,7 @@ module PulpAnsibleClient
139
139
  post_body = opts[:body]
140
140
 
141
141
  # return_type
142
- return_type = opts[:return_type] || 'PaginatedGalaxyCollectionVersionResponseList'
142
+ return_type = opts[:return_type] || 'InlineResponse20012'
143
143
 
144
144
  # auth_names
145
145
  auth_names = opts[:auth_names] || []
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -53,8 +53,10 @@ module PulpAnsibleClient
53
53
  :client_cert => @config.ssl_client_cert,
54
54
  :client_key => @config.ssl_client_key
55
55
  }
56
-
57
- connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn|
56
+ request_options = {
57
+ :params_encoder => @config.params_encoder
58
+ }
59
+ connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
58
60
  conn.basic_auth(config.username, config.password)
59
61
  if opts[:header_params]["Content-Type"] == "multipart/form-data"
60
62
  conn.request :multipart
@@ -285,11 +287,13 @@ module PulpAnsibleClient
285
287
  tempfile.write(chunk)
286
288
  end
287
289
  request.on_complete do |response|
288
- tempfile.close if tempfile
289
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
290
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
291
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
292
- "explicitly with `tempfile.delete`"
290
+ if tempfile
291
+ tempfile.close
292
+ @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
293
+ "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
294
+ "will be deleted automatically with GC. It's also recommended to delete the temp file "\
295
+ "explicitly with `tempfile.delete`"
296
+ end
293
297
  end
294
298
  end
295
299
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -109,6 +109,12 @@ module PulpAnsibleClient
109
109
  # Client private key file (for client certificate)
110
110
  attr_accessor :ssl_client_key
111
111
 
112
+ # Set this to customize parameters encoder of array parameter.
113
+ # Default to nil. Faraday uses NestedParamsEncoder when nil.
114
+ #
115
+ # @see The params_encoder option of Faraday. Related source code:
116
+ # https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
117
+ attr_accessor :params_encoder
112
118
  # Set this to customize parameters encoding of array parameter with multi collectionFormat.
113
119
  # Default to nil.
114
120
  #
@@ -133,6 +139,7 @@ module PulpAnsibleClient
133
139
  @ssl_ca_file = nil
134
140
  @ssl_client_cert = nil
135
141
  @ssl_client_key = nil
142
+ @params_encoder = nil
136
143
  @debugging = false
137
144
  @inject_format = false
138
145
  @force_ending_format = false
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -48,18 +48,6 @@ module PulpAnsibleClient
48
48
  # The policy to use when downloading content.
49
49
  attr_accessor :policy
50
50
 
51
- # aiohttp.ClientTimeout.total (q.v.) for download-connections.
52
- attr_accessor :total_timeout
53
-
54
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
55
- attr_accessor :connect_timeout
56
-
57
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
58
- attr_accessor :sock_connect_timeout
59
-
60
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
61
- attr_accessor :sock_read_timeout
62
-
63
51
  # The string version of Collection requirements yaml.
64
52
  attr_accessor :requirements_file
65
53
 
@@ -83,10 +71,6 @@ module PulpAnsibleClient
83
71
  :'password' => :'password',
84
72
  :'download_concurrency' => :'download_concurrency',
85
73
  :'policy' => :'policy',
86
- :'total_timeout' => :'total_timeout',
87
- :'connect_timeout' => :'connect_timeout',
88
- :'sock_connect_timeout' => :'sock_connect_timeout',
89
- :'sock_read_timeout' => :'sock_read_timeout',
90
74
  :'requirements_file' => :'requirements_file',
91
75
  :'auth_url' => :'auth_url',
92
76
  :'token' => :'token'
@@ -107,10 +91,6 @@ module PulpAnsibleClient
107
91
  :'password' => :'String',
108
92
  :'download_concurrency' => :'Integer',
109
93
  :'policy' => :'PolicyEnum',
110
- :'total_timeout' => :'Float',
111
- :'connect_timeout' => :'Float',
112
- :'sock_connect_timeout' => :'Float',
113
- :'sock_read_timeout' => :'Float',
114
94
  :'requirements_file' => :'String',
115
95
  :'auth_url' => :'String',
116
96
  :'token' => :'String'
@@ -126,10 +106,6 @@ module PulpAnsibleClient
126
106
  :'proxy_url',
127
107
  :'username',
128
108
  :'password',
129
- :'total_timeout',
130
- :'connect_timeout',
131
- :'sock_connect_timeout',
132
- :'sock_read_timeout',
133
109
  :'requirements_file',
134
110
  :'auth_url',
135
111
  :'token'
@@ -195,22 +171,6 @@ module PulpAnsibleClient
195
171
  self.policy = attributes[:'policy']
196
172
  end
197
173
 
198
- if attributes.key?(:'total_timeout')
199
- self.total_timeout = attributes[:'total_timeout']
200
- end
201
-
202
- if attributes.key?(:'connect_timeout')
203
- self.connect_timeout = attributes[:'connect_timeout']
204
- end
205
-
206
- if attributes.key?(:'sock_connect_timeout')
207
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
208
- end
209
-
210
- if attributes.key?(:'sock_read_timeout')
211
- self.sock_read_timeout = attributes[:'sock_read_timeout']
212
- end
213
-
214
174
  if attributes.key?(:'requirements_file')
215
175
  self.requirements_file = attributes[:'requirements_file']
216
176
  end
@@ -240,22 +200,6 @@ module PulpAnsibleClient
240
200
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
241
201
  end
242
202
 
243
- if !@total_timeout.nil? && @total_timeout < 0.0
244
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
245
- end
246
-
247
- if !@connect_timeout.nil? && @connect_timeout < 0.0
248
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
249
- end
250
-
251
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
252
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
253
- end
254
-
255
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
256
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
257
- end
258
-
259
203
  if !@auth_url.nil? && @auth_url.to_s.length > 255
260
204
  invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
261
205
  end
@@ -273,10 +217,6 @@ module PulpAnsibleClient
273
217
  return false if @name.nil?
274
218
  return false if @url.nil?
275
219
  return false if !@download_concurrency.nil? && @download_concurrency < 1
276
- return false if !@total_timeout.nil? && @total_timeout < 0.0
277
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
278
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
279
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
280
220
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
281
221
  return false if !@token.nil? && @token.to_s.length > 2000
282
222
  true
@@ -292,46 +232,6 @@ module PulpAnsibleClient
292
232
  @download_concurrency = download_concurrency
293
233
  end
294
234
 
295
- # Custom attribute writer method with validation
296
- # @param [Object] total_timeout Value to be assigned
297
- def total_timeout=(total_timeout)
298
- if !total_timeout.nil? && total_timeout < 0.0
299
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
300
- end
301
-
302
- @total_timeout = total_timeout
303
- end
304
-
305
- # Custom attribute writer method with validation
306
- # @param [Object] connect_timeout Value to be assigned
307
- def connect_timeout=(connect_timeout)
308
- if !connect_timeout.nil? && connect_timeout < 0.0
309
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
310
- end
311
-
312
- @connect_timeout = connect_timeout
313
- end
314
-
315
- # Custom attribute writer method with validation
316
- # @param [Object] sock_connect_timeout Value to be assigned
317
- def sock_connect_timeout=(sock_connect_timeout)
318
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
319
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
320
- end
321
-
322
- @sock_connect_timeout = sock_connect_timeout
323
- end
324
-
325
- # Custom attribute writer method with validation
326
- # @param [Object] sock_read_timeout Value to be assigned
327
- def sock_read_timeout=(sock_read_timeout)
328
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
329
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
330
- end
331
-
332
- @sock_read_timeout = sock_read_timeout
333
- end
334
-
335
235
  # Custom attribute writer method with validation
336
236
  # @param [Object] auth_url Value to be assigned
337
237
  def auth_url=(auth_url)
@@ -368,10 +268,6 @@ module PulpAnsibleClient
368
268
  password == o.password &&
369
269
  download_concurrency == o.download_concurrency &&
370
270
  policy == o.policy &&
371
- total_timeout == o.total_timeout &&
372
- connect_timeout == o.connect_timeout &&
373
- sock_connect_timeout == o.sock_connect_timeout &&
374
- sock_read_timeout == o.sock_read_timeout &&
375
271
  requirements_file == o.requirements_file &&
376
272
  auth_url == o.auth_url &&
377
273
  token == o.token
@@ -386,7 +282,7 @@ module PulpAnsibleClient
386
282
  # Calculates hash code according to all attributes.
387
283
  # @return [Integer] Hash code
388
284
  def hash
389
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, requirements_file, auth_url, token].hash
285
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, requirements_file, auth_url, token].hash
390
286
  end
391
287
 
392
288
  # Builds the object from hash