pulp_ansible_client 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/AnsibleCollectionVersionResponse.md +7 -7
  4. data/docs/AnsibleCollectionsApi.md +26 -8
  5. data/docs/AnsibleCopyApi.md +8 -4
  6. data/docs/AnsibleGitRemote.md +26 -26
  7. data/docs/AnsibleGitRemoteResponse.md +30 -30
  8. data/docs/AnsibleRole.md +2 -2
  9. data/docs/AnsibleRoleResponse.md +6 -6
  10. data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
  11. data/docs/ApiRolesApi.md +2 -0
  12. data/docs/CollectionImportApi.md +2 -0
  13. data/docs/CollectionMetadataResponse.md +1 -1
  14. data/docs/CollectionSummaryResponse.md +1 -1
  15. data/docs/CollectionSummaryResponseTagsInner.md +18 -0
  16. data/docs/ContentCollectionDeprecationsApi.md +28 -12
  17. data/docs/ContentCollectionMarksApi.md +28 -12
  18. data/docs/ContentCollectionSignaturesApi.md +22 -8
  19. data/docs/ContentCollectionVersionsApi.md +32 -18
  20. data/docs/ContentNamespacesApi.md +22 -8
  21. data/docs/ContentRolesApi.md +28 -12
  22. data/docs/DistributionsAnsibleApi.md +72 -32
  23. data/docs/PatchedansibleGitRemote.md +26 -26
  24. data/docs/PulpAnsibleApiApi.md +2 -0
  25. data/docs/PulpAnsibleApiV3Api.md +2 -0
  26. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
  27. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
  28. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
  29. data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
  30. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  32. data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
  33. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  42. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
  43. data/docs/PulpAnsibleDefaultApiApi.md +14 -5
  44. data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
  45. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
  46. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
  47. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
  48. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  51. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
  52. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
  62. data/docs/PulpAnsibleTagsApi.md +6 -4
  63. data/docs/RemotesCollectionApi.md +72 -32
  64. data/docs/RemotesGitApi.md +72 -32
  65. data/docs/RemotesRoleApi.md +72 -32
  66. data/docs/RepositoriesAnsibleApi.md +136 -64
  67. data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
  68. data/docs/VersionsApi.md +2 -0
  69. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
  70. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
  71. data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
  72. data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
  73. data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
  74. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
  75. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
  76. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
  77. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +30 -15
  78. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
  79. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
  80. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
  81. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
  82. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  99. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
  116. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  117. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  118. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
  119. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
  120. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
  121. data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
  122. data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
  123. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
  124. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
  125. data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
  126. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
  127. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
  128. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
  129. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  130. data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
  131. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
  132. data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
  133. data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
  134. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
  135. data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
  136. data/lib/pulp_ansible_client/version.rb +1 -1
  137. data/lib/pulp_ansible_client.rb +1 -1
  138. data/spec/api/ansible_collections_api_spec.rb +7 -0
  139. data/spec/api/ansible_copy_api_spec.rb +1 -0
  140. data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  141. data/spec/api/api_roles_api_spec.rb +1 -0
  142. data/spec/api/collection_import_api_spec.rb +1 -0
  143. data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
  144. data/spec/api/content_collection_marks_api_spec.rb +5 -0
  145. data/spec/api/content_collection_signatures_api_spec.rb +5 -0
  146. data/spec/api/content_collection_versions_api_spec.rb +10 -5
  147. data/spec/api/content_namespaces_api_spec.rb +5 -0
  148. data/spec/api/content_roles_api_spec.rb +5 -0
  149. data/spec/api/distributions_ansible_api_spec.rb +12 -0
  150. data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
  151. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
  152. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
  153. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
  154. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
  155. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
  156. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
  157. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  158. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
  159. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
  160. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  161. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  162. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  163. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  164. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  165. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
  166. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  167. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  168. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
  169. data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
  170. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
  171. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
  172. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
  173. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
  174. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
  175. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
  176. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  177. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
  178. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
  179. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  180. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  181. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  182. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  183. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  184. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  186. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  188. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
  189. data/spec/api/remotes_collection_api_spec.rb +12 -0
  190. data/spec/api/remotes_git_api_spec.rb +12 -0
  191. data/spec/api/remotes_role_api_spec.rb +12 -0
  192. data/spec/api/repositories_ansible_api_spec.rb +20 -0
  193. data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
  194. data/spec/api/versions_api_spec.rb +1 -0
  195. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  196. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  197. data/spec/models/ansible_git_remote_spec.rb +19 -19
  198. data/spec/models/ansible_role_response_spec.rb +5 -5
  199. data/spec/models/ansible_role_spec.rb +3 -3
  200. data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
  201. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  202. metadata +124 -124
  203. data/docs/AnsibleTagResponse.md +0 -18
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param path [String]
25
25
  # @param name [String] Required named, only accepts lowercase, numbers and underscores.
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @option opts [String] :company Optional namespace company owner.
28
29
  # @option opts [String] :email Optional namespace contact email.
29
30
  # @option opts [String] :description Optional short description.
@@ -41,6 +42,7 @@ module PulpAnsibleClient
41
42
  # @param path [String]
42
43
  # @param name [String] Required named, only accepts lowercase, numbers and underscores.
43
44
  # @param [Hash] opts the optional parameters
45
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
44
46
  # @option opts [String] :company Optional namespace company owner.
45
47
  # @option opts [String] :email Optional namespace contact email.
46
48
  # @option opts [String] :description Optional short description.
@@ -104,6 +106,7 @@ module PulpAnsibleClient
104
106
  if !content_type.nil?
105
107
  header_params['Content-Type'] = content_type
106
108
  end
109
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
107
110
 
108
111
  # form parameters
109
112
  form_params = opts[:form_params] || {}
@@ -146,6 +149,7 @@ module PulpAnsibleClient
146
149
  # @param name [String]
147
150
  # @param path [String]
148
151
  # @param [Hash] opts the optional parameters
152
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
149
153
  # @return [AsyncOperationResponse]
150
154
  def delete(distro_base_path, name, path, opts = {})
151
155
  data, _status_code, _headers = delete_with_http_info(distro_base_path, name, path, opts)
@@ -157,6 +161,7 @@ module PulpAnsibleClient
157
161
  # @param name [String]
158
162
  # @param path [String]
159
163
  # @param [Hash] opts the optional parameters
164
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
165
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
161
166
  def delete_with_http_info(distro_base_path, name, path, opts = {})
162
167
  if @api_client.config.debugging
@@ -184,6 +189,7 @@ module PulpAnsibleClient
184
189
  header_params = opts[:header_params] || {}
185
190
  # HTTP header 'Accept' (if needed)
186
191
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
192
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
187
193
 
188
194
  # form parameters
189
195
  form_params = opts[:form_params] || {}
@@ -218,6 +224,7 @@ module PulpAnsibleClient
218
224
  # @param distro_base_path [String]
219
225
  # @param path [String]
220
226
  # @param [Hash] opts the optional parameters
227
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
221
228
  # @option opts [String] :company Filter results where company matches value
222
229
  # @option opts [String] :company__contains Filter results where company contains value
223
230
  # @option opts [String] :company__icontains Filter results where company contains value
@@ -257,6 +264,7 @@ module PulpAnsibleClient
257
264
  # @param distro_base_path [String]
258
265
  # @param path [String]
259
266
  # @param [Hash] opts the optional parameters
267
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
260
268
  # @option opts [String] :company Filter results where company matches value
261
269
  # @option opts [String] :company__contains Filter results where company contains value
262
270
  # @option opts [String] :company__icontains Filter results where company contains value
@@ -342,6 +350,7 @@ module PulpAnsibleClient
342
350
  header_params = opts[:header_params] || {}
343
351
  # HTTP header 'Accept' (if needed)
344
352
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
353
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
345
354
 
346
355
  # form parameters
347
356
  form_params = opts[:form_params] || {}
@@ -377,6 +386,7 @@ module PulpAnsibleClient
377
386
  # @param name [String]
378
387
  # @param path [String]
379
388
  # @param [Hash] opts the optional parameters
389
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
380
390
  # @option opts [String] :name2 Required named, only accepts lowercase, numbers and underscores.
381
391
  # @option opts [String] :company Optional namespace company owner.
382
392
  # @option opts [String] :email Optional namespace contact email.
@@ -395,6 +405,7 @@ module PulpAnsibleClient
395
405
  # @param name [String]
396
406
  # @param path [String]
397
407
  # @param [Hash] opts the optional parameters
408
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
398
409
  # @option opts [String] :name2 Required named, only accepts lowercase, numbers and underscores.
399
410
  # @option opts [String] :company Optional namespace company owner.
400
411
  # @option opts [String] :email Optional namespace contact email.
@@ -459,6 +470,7 @@ module PulpAnsibleClient
459
470
  if !content_type.nil?
460
471
  header_params['Content-Type'] = content_type
461
472
  end
473
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
462
474
 
463
475
  # form parameters
464
476
  form_params = opts[:form_params] || {}
@@ -501,6 +513,7 @@ module PulpAnsibleClient
501
513
  # @param name [String]
502
514
  # @param path [String]
503
515
  # @param [Hash] opts the optional parameters
516
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
504
517
  # @option opts [Array<String>] :fields A list of fields to include in the response.
505
518
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
506
519
  # @return [AnsibleAnsibleNamespaceMetadataResponse]
@@ -514,6 +527,7 @@ module PulpAnsibleClient
514
527
  # @param name [String]
515
528
  # @param path [String]
516
529
  # @param [Hash] opts the optional parameters
530
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
517
531
  # @option opts [Array<String>] :fields A list of fields to include in the response.
518
532
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
519
533
  # @return [Array<(AnsibleAnsibleNamespaceMetadataResponse, Integer, Hash)>] AnsibleAnsibleNamespaceMetadataResponse data, response status code and response headers
@@ -545,6 +559,7 @@ module PulpAnsibleClient
545
559
  header_params = opts[:header_params] || {}
546
560
  # HTTP header 'Accept' (if needed)
547
561
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
562
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
548
563
 
549
564
  # form parameters
550
565
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param path [String]
25
25
  # @param file [File] The Collection tarball.
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
28
29
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
29
30
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -39,6 +40,7 @@ module PulpAnsibleClient
39
40
  # @param path [String]
40
41
  # @param file [File] The Collection tarball.
41
42
  # @param [Hash] opts the optional parameters
43
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
44
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
43
45
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
44
46
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -87,6 +89,7 @@ module PulpAnsibleClient
87
89
  if !content_type.nil?
88
90
  header_params['Content-Type'] = content_type
89
91
  end
92
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
90
93
 
91
94
  # form parameters
92
95
  form_params = opts[:form_params] || {}
@@ -128,6 +131,7 @@ module PulpAnsibleClient
128
131
  # @param path [String]
129
132
  # @param file [File] The Collection tarball.
130
133
  # @param [Hash] opts the optional parameters
134
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
131
135
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
132
136
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
133
137
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -144,6 +148,7 @@ module PulpAnsibleClient
144
148
  # @param path [String]
145
149
  # @param file [File] The Collection tarball.
146
150
  # @param [Hash] opts the optional parameters
151
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
147
152
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
148
153
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
149
154
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -196,6 +201,7 @@ module PulpAnsibleClient
196
201
  if !content_type.nil?
197
202
  header_params['Content-Type'] = content_type
198
203
  end
204
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
199
205
 
200
206
  # form parameters
201
207
  form_params = opts[:form_params] || {}
@@ -235,6 +241,7 @@ module PulpAnsibleClient
235
241
  # Create an artifact and trigger an asynchronous task to create Collection content from it.
236
242
  # @param file [File] The Collection tarball.
237
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
238
245
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
239
246
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
240
247
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -249,6 +256,7 @@ module PulpAnsibleClient
249
256
  # Create an artifact and trigger an asynchronous task to create Collection content from it.
250
257
  # @param file [File] The Collection tarball.
251
258
  # @param [Hash] opts the optional parameters
259
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
252
260
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
253
261
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
254
262
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -293,6 +301,7 @@ module PulpAnsibleClient
293
301
  if !content_type.nil?
294
302
  header_params['Content-Type'] = content_type
295
303
  end
304
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
296
305
 
297
306
  # form parameters
298
307
  form_params = opts[:form_params] || {}
@@ -333,6 +342,7 @@ module PulpAnsibleClient
333
342
  # @param distro_base_path [String]
334
343
  # @param file [File] The Collection tarball.
335
344
  # @param [Hash] opts the optional parameters
345
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
336
346
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
337
347
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
338
348
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -348,6 +358,7 @@ module PulpAnsibleClient
348
358
  # @param distro_base_path [String]
349
359
  # @param file [File] The Collection tarball.
350
360
  # @param [Hash] opts the optional parameters
361
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
351
362
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
352
363
  # @option opts [String] :expected_namespace The expected &#39;namespace&#39; of the Collection to be verified against the metadata during import.
353
364
  # @option opts [String] :expected_name The expected &#39;name&#39; of the Collection to be verified against the metadata during import.
@@ -396,6 +407,7 @@ module PulpAnsibleClient
396
407
  if !content_type.nil?
397
408
  header_params['Content-Type'] = content_type
398
409
  end
410
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
399
411
 
400
412
  # form parameters
401
413
  form_params = opts[:form_params] || {}
@@ -21,6 +21,9 @@ module PulpAnsibleClient
21
21
  end
22
22
  # Return a response to the \"GET\" action.
23
23
  # @param [Hash] opts the optional parameters
24
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
26
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
24
27
  # @return [nil]
25
28
  def get(opts = {})
26
29
  get_with_http_info(opts)
@@ -29,6 +32,9 @@ module PulpAnsibleClient
29
32
 
30
33
  # Return a response to the \&quot;GET\&quot; action.
31
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
37
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
32
38
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
39
  def get_with_http_info(opts = {})
34
40
  if @api_client.config.debugging
@@ -39,9 +45,12 @@ module PulpAnsibleClient
39
45
 
40
46
  # query parameters
41
47
  query_params = opts[:query_params] || {}
48
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
49
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
42
50
 
43
51
  # header parameters
44
52
  header_params = opts[:header_params] || {}
53
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
45
54
 
46
55
  # form parameters
47
56
  form_params = opts[:form_params] || {}
@@ -21,6 +21,9 @@ module PulpAnsibleClient
21
21
  end
22
22
  # Legacy v3 endpoint.
23
23
  # @param [Hash] opts the optional parameters
24
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
26
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
24
27
  # @return [RepoMetadataResponse]
25
28
  def read(opts = {})
26
29
  data, _status_code, _headers = read_with_http_info(opts)
@@ -29,6 +32,9 @@ module PulpAnsibleClient
29
32
 
30
33
  # Legacy v3 endpoint.
31
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
37
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
32
38
  # @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
33
39
  def read_with_http_info(opts = {})
34
40
  if @api_client.config.debugging
@@ -39,11 +45,14 @@ module PulpAnsibleClient
39
45
 
40
46
  # query parameters
41
47
  query_params = opts[:query_params] || {}
48
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
49
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
42
50
 
43
51
  # header parameters
44
52
  header_params = opts[:header_params] || {}
45
53
  # HTTP header 'Accept' (if needed)
46
54
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
55
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
47
56
 
48
57
  # form parameters
49
58
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpAnsibleClient
23
23
  # @param filename [String]
24
24
  # @param path [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @option opts [Array<String>] :fields A list of fields to include in the response.
27
28
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
29
  # @return [nil]
@@ -35,6 +36,7 @@ module PulpAnsibleClient
35
36
  # @param filename [String]
36
37
  # @param path [String]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @option opts [Array<String>] :fields A list of fields to include in the response.
39
41
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
42
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -60,6 +62,7 @@ module PulpAnsibleClient
60
62
 
61
63
  # header parameters
62
64
  header_params = opts[:header_params] || {}
65
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
63
66
 
64
67
  # form parameters
65
68
  form_params = opts[:form_params] || {}
@@ -21,6 +21,9 @@ module PulpAnsibleClient
21
21
  end
22
22
  # Legacy v3 endpoint.
23
23
  # @param [Hash] opts the optional parameters
24
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
26
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
24
27
  # @return [Array<UnpaginatedCollectionVersionResponse>]
25
28
  def list(opts = {})
26
29
  data, _status_code, _headers = list_with_http_info(opts)
@@ -29,6 +32,9 @@ module PulpAnsibleClient
29
32
 
30
33
  # Legacy v3 endpoint.
31
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
37
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
32
38
  # @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
33
39
  def list_with_http_info(opts = {})
34
40
  if @api_client.config.debugging
@@ -39,11 +45,14 @@ module PulpAnsibleClient
39
45
 
40
46
  # query parameters
41
47
  query_params = opts[:query_params] || {}
48
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
49
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
42
50
 
43
51
  # header parameters
44
52
  header_params = opts[:header_params] || {}
45
53
  # HTTP header 'Accept' (if needed)
46
54
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
55
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
47
56
 
48
57
  # form parameters
49
58
  form_params = opts[:form_params] || {}
@@ -21,6 +21,7 @@ module PulpAnsibleClient
21
21
  end
22
22
  # Legacy v3 endpoint.
23
23
  # @param [Hash] opts the optional parameters
24
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
24
25
  # @option opts [Boolean] :deprecated
25
26
  # @option opts [String] :name
26
27
  # @option opts [String] :namespace
@@ -39,6 +40,7 @@ module PulpAnsibleClient
39
40
 
40
41
  # Legacy v3 endpoint.
41
42
  # @param [Hash] opts the optional parameters
43
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
44
  # @option opts [Boolean] :deprecated
43
45
  # @option opts [String] :name
44
46
  # @option opts [String] :namespace
@@ -78,6 +80,7 @@ module PulpAnsibleClient
78
80
  header_params = opts[:header_params] || {}
79
81
  # HTTP header 'Accept' (if needed)
80
82
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
83
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
81
84
 
82
85
  # form parameters
83
86
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpAnsibleClient
23
23
  # @param name [String]
24
24
  # @param namespace [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def delete(name, namespace, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(name, namespace, opts)
@@ -33,6 +34,7 @@ module PulpAnsibleClient
33
34
  # @param name [String]
34
35
  # @param namespace [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def delete_with_http_info(name, namespace, opts = {})
38
40
  if @api_client.config.debugging
@@ -56,6 +58,7 @@ module PulpAnsibleClient
56
58
  header_params = opts[:header_params] || {}
57
59
  # HTTP header 'Accept' (if needed)
58
60
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
61
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
59
62
 
60
63
  # form parameters
61
64
  form_params = opts[:form_params] || {}
@@ -88,6 +91,7 @@ module PulpAnsibleClient
88
91
 
89
92
  # Legacy v3 endpoint.
90
93
  # @param [Hash] opts the optional parameters
94
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
91
95
  # @option opts [Boolean] :deprecated
92
96
  # @option opts [Integer] :limit Number of results to return per page.
93
97
  # @option opts [String] :name
@@ -108,6 +112,7 @@ module PulpAnsibleClient
108
112
 
109
113
  # Legacy v3 endpoint.
110
114
  # @param [Hash] opts the optional parameters
115
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
111
116
  # @option opts [Boolean] :deprecated
112
117
  # @option opts [Integer] :limit Number of results to return per page.
113
118
  # @option opts [String] :name
@@ -151,6 +156,7 @@ module PulpAnsibleClient
151
156
  header_params = opts[:header_params] || {}
152
157
  # HTTP header 'Accept' (if needed)
153
158
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
159
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
154
160
 
155
161
  # form parameters
156
162
  form_params = opts[:form_params] || {}
@@ -185,6 +191,7 @@ module PulpAnsibleClient
185
191
  # @param name [String]
186
192
  # @param namespace [String]
187
193
  # @param [Hash] opts the optional parameters
194
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
188
195
  # @option opts [Array<String>] :fields A list of fields to include in the response.
189
196
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
190
197
  # @return [CollectionResponse]
@@ -197,6 +204,7 @@ module PulpAnsibleClient
197
204
  # @param name [String]
198
205
  # @param namespace [String]
199
206
  # @param [Hash] opts the optional parameters
207
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
200
208
  # @option opts [Array<String>] :fields A list of fields to include in the response.
201
209
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
202
210
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
@@ -224,6 +232,7 @@ module PulpAnsibleClient
224
232
  header_params = opts[:header_params] || {}
225
233
  # HTTP header 'Accept' (if needed)
226
234
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
235
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
227
236
 
228
237
  # form parameters
229
238
  form_params = opts[:form_params] || {}
@@ -259,6 +268,7 @@ module PulpAnsibleClient
259
268
  # @param namespace [String]
260
269
  # @param patched_collection [PatchedCollection]
261
270
  # @param [Hash] opts the optional parameters
271
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
262
272
  # @return [AsyncOperationResponse]
263
273
  def update(name, namespace, patched_collection, opts = {})
264
274
  data, _status_code, _headers = update_with_http_info(name, namespace, patched_collection, opts)
@@ -270,6 +280,7 @@ module PulpAnsibleClient
270
280
  # @param namespace [String]
271
281
  # @param patched_collection [PatchedCollection]
272
282
  # @param [Hash] opts the optional parameters
283
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
273
284
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
274
285
  def update_with_http_info(name, namespace, patched_collection, opts = {})
275
286
  if @api_client.config.debugging
@@ -302,6 +313,7 @@ module PulpAnsibleClient
302
313
  if !content_type.nil?
303
314
  header_params['Content-Type'] = content_type
304
315
  end
316
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
305
317
 
306
318
  # form parameters
307
319
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param namespace [String]
25
25
  # @param version [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [AsyncOperationResponse]
28
29
  def delete(name, namespace, version, opts = {})
29
30
  data, _status_code, _headers = delete_with_http_info(name, namespace, version, opts)
@@ -35,6 +36,7 @@ module PulpAnsibleClient
35
36
  # @param namespace [String]
36
37
  # @param version [String]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
41
  def delete_with_http_info(name, namespace, version, opts = {})
40
42
  if @api_client.config.debugging
@@ -62,6 +64,7 @@ module PulpAnsibleClient
62
64
  header_params = opts[:header_params] || {}
63
65
  # HTTP header 'Accept' (if needed)
64
66
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
67
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
65
68
 
66
69
  # form parameters
67
70
  form_params = opts[:form_params] || {}
@@ -96,11 +99,12 @@ module PulpAnsibleClient
96
99
  # @param name [String]
97
100
  # @param namespace [String]
98
101
  # @param [Hash] opts the optional parameters
102
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
99
103
  # @option opts [Integer] :limit Number of results to return per page.
100
104
  # @option opts [String] :name2
101
105
  # @option opts [String] :namespace2
102
106
  # @option opts [Integer] :offset The initial index from which to return the results.
103
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;new_tags&#x60; - New tags * &#x60;-new_tags&#x60; - New tags (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
107
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;tags&#x60; - Tags * &#x60;-tags&#x60; - Tags (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
104
108
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
105
109
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
106
110
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -124,11 +128,12 @@ module PulpAnsibleClient
124
128
  # @param name [String]
125
129
  # @param namespace [String]
126
130
  # @param [Hash] opts the optional parameters
131
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
127
132
  # @option opts [Integer] :limit Number of results to return per page.
128
133
  # @option opts [String] :name2
129
134
  # @option opts [String] :namespace2
130
135
  # @option opts [Integer] :offset The initial index from which to return the results.
131
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;new_tags&#x60; - New tags * &#x60;-new_tags&#x60; - New tags (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
136
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;tags&#x60; - Tags * &#x60;-tags&#x60; - Tags (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
132
137
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
133
138
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
134
139
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -155,7 +160,7 @@ module PulpAnsibleClient
155
160
  if @api_client.config.client_side_validation && namespace.nil?
156
161
  fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi.list"
157
162
  end
158
- allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-issues", "-license", "-manifest", "-name", "-namespace", "-new_tags", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "issues", "license", "manifest", "name", "namespace", "new_tags", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
163
+ allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-tags", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "tags", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
159
164
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
160
165
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
161
166
  end
@@ -187,6 +192,7 @@ module PulpAnsibleClient
187
192
  header_params = opts[:header_params] || {}
188
193
  # HTTP header 'Accept' (if needed)
189
194
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
195
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
190
196
 
191
197
  # form parameters
192
198
  form_params = opts[:form_params] || {}
@@ -222,6 +228,7 @@ module PulpAnsibleClient
222
228
  # @param namespace [String]
223
229
  # @param version [String]
224
230
  # @param [Hash] opts the optional parameters
231
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
232
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
233
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
234
  # @return [CollectionVersionResponse]
@@ -235,6 +242,7 @@ module PulpAnsibleClient
235
242
  # @param namespace [String]
236
243
  # @param version [String]
237
244
  # @param [Hash] opts the optional parameters
245
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
238
246
  # @option opts [Array<String>] :fields A list of fields to include in the response.
239
247
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
240
248
  # @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
@@ -266,6 +274,7 @@ module PulpAnsibleClient
266
274
  header_params = opts[:header_params] || {}
267
275
  # HTTP header 'Accept' (if needed)
268
276
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
277
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
269
278
 
270
279
  # form parameters
271
280
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param namespace [String]
25
25
  # @param version [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @option opts [Array<String>] :fields A list of fields to include in the response.
28
29
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
30
  # @return [CollectionVersionDocsResponse]
@@ -37,6 +38,7 @@ module PulpAnsibleClient
37
38
  # @param namespace [String]
38
39
  # @param version [String]
39
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
41
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
44
  # @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
@@ -68,6 +70,7 @@ module PulpAnsibleClient
68
70
  header_params = opts[:header_params] || {}
69
71
  # HTTP header 'Accept' (if needed)
70
72
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
73
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
71
74
 
72
75
  # form parameters
73
76
  form_params = opts[:form_params] || {}