pulp_ansible_client 0.24.6 → 0.24.7

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 (193) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  4. data/docs/AnsibleCollectionsApi.md +26 -8
  5. data/docs/AnsibleCopyApi.md +8 -4
  6. data/docs/AnsibleGitRemote.md +24 -24
  7. data/docs/AnsibleGitRemoteResponse.md +24 -24
  8. data/docs/AnsibleRole.md +2 -2
  9. data/docs/AnsibleRoleResponse.md +4 -4
  10. data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
  11. data/docs/ApiRolesApi.md +2 -0
  12. data/docs/CollectionImportApi.md +2 -0
  13. data/docs/ContentCollectionDeprecationsApi.md +28 -12
  14. data/docs/ContentCollectionMarksApi.md +28 -12
  15. data/docs/ContentCollectionSignaturesApi.md +22 -8
  16. data/docs/ContentCollectionVersionsApi.md +28 -14
  17. data/docs/ContentNamespacesApi.md +22 -8
  18. data/docs/ContentRolesApi.md +28 -12
  19. data/docs/DistributionsAnsibleApi.md +72 -32
  20. data/docs/PatchedansibleGitRemote.md +24 -24
  21. data/docs/PulpAnsibleApiApi.md +2 -0
  22. data/docs/PulpAnsibleApiV3Api.md +2 -0
  23. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
  24. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
  25. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
  26. data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
  27. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +12 -4
  28. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  29. data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
  30. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
  31. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  32. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  33. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  39. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
  40. data/docs/PulpAnsibleDefaultApiApi.md +14 -5
  41. data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
  42. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
  43. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
  44. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
  45. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
  46. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +12 -4
  47. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  48. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
  49. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
  50. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  51. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  52. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
  59. data/docs/PulpAnsibleTagsApi.md +2 -0
  60. data/docs/RemotesCollectionApi.md +72 -32
  61. data/docs/RemotesGitApi.md +72 -32
  62. data/docs/RemotesRoleApi.md +72 -32
  63. data/docs/RepositoriesAnsibleApi.md +136 -64
  64. data/docs/RepositoriesAnsibleVersionsApi.md +30 -14
  65. data/docs/VersionsApi.md +2 -0
  66. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
  67. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
  68. data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
  69. data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
  70. data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
  71. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
  72. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
  73. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
  74. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +24 -9
  75. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
  76. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
  77. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
  78. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
  79. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
  80. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
  81. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
  82. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -0
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  96. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
  97. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
  98. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
  99. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -0
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
  116. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +3 -0
  117. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
  118. data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
  119. data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
  120. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
  121. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +18 -3
  122. data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
  123. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
  124. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
  125. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +138 -138
  126. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  127. data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
  128. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
  129. data/lib/pulp_ansible_client/version.rb +1 -1
  130. data/spec/api/ansible_collections_api_spec.rb +7 -0
  131. data/spec/api/ansible_copy_api_spec.rb +1 -0
  132. data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  133. data/spec/api/api_roles_api_spec.rb +1 -0
  134. data/spec/api/collection_import_api_spec.rb +1 -0
  135. data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
  136. data/spec/api/content_collection_marks_api_spec.rb +5 -0
  137. data/spec/api/content_collection_signatures_api_spec.rb +5 -0
  138. data/spec/api/content_collection_versions_api_spec.rb +8 -3
  139. data/spec/api/content_namespaces_api_spec.rb +5 -0
  140. data/spec/api/content_roles_api_spec.rb +5 -0
  141. data/spec/api/distributions_ansible_api_spec.rb +12 -0
  142. data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
  143. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
  144. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
  145. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
  146. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
  147. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
  148. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -0
  149. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  150. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
  151. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
  152. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  153. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  154. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  155. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  156. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  157. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
  158. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  159. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  160. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
  161. data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
  162. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
  163. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
  164. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
  165. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
  166. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
  167. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -0
  168. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  169. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
  170. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
  171. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  172. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  173. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  174. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  175. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  176. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
  177. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  178. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  179. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  180. data/spec/api/pulp_ansible_tags_api_spec.rb +1 -0
  181. data/spec/api/remotes_collection_api_spec.rb +12 -0
  182. data/spec/api/remotes_git_api_spec.rb +12 -0
  183. data/spec/api/remotes_role_api_spec.rb +12 -0
  184. data/spec/api/repositories_ansible_api_spec.rb +20 -0
  185. data/spec/api/repositories_ansible_versions_api_spec.rb +6 -1
  186. data/spec/api/versions_api_spec.rb +1 -0
  187. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  188. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  189. data/spec/models/ansible_git_remote_spec.rb +20 -20
  190. data/spec/models/ansible_role_response_spec.rb +5 -5
  191. data/spec/models/ansible_role_spec.rb +2 -2
  192. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  193. metadata +126 -126
@@ -22,6 +22,7 @@ module PulpAnsibleClient
22
22
  # Return configurations for the ansible-galaxy client.
23
23
  # @param path [String]
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Array<String>] :fields A list of fields to include in the response.
26
27
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
27
28
  # @return [ClientConfigurationResponse]
@@ -33,6 +34,7 @@ module PulpAnsibleClient
33
34
  # Return configurations for the ansible-galaxy client.
34
35
  # @param path [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
  # @option opts [Array<String>] :fields A list of fields to include in the response.
37
39
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
38
40
  # @return [Array<(ClientConfigurationResponse, Integer, Hash)>] ClientConfigurationResponse data, response status code and response headers
@@ -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] || {}
@@ -23,6 +23,7 @@ module PulpAnsibleClient
23
23
  # @param distro_base_path [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 [Boolean] :deprecated
27
28
  # @option opts [String] :name
28
29
  # @option opts [String] :namespace
@@ -43,6 +44,7 @@ module PulpAnsibleClient
43
44
  # @param distro_base_path [String]
44
45
  # @param path [String]
45
46
  # @param [Hash] opts the optional parameters
47
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
46
48
  # @option opts [Boolean] :deprecated
47
49
  # @option opts [String] :name
48
50
  # @option opts [String] :namespace
@@ -90,6 +92,7 @@ module PulpAnsibleClient
90
92
  header_params = opts[:header_params] || {}
91
93
  # HTTP header 'Accept' (if needed)
92
94
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
95
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
93
96
 
94
97
  # form parameters
95
98
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpAnsibleClient
23
23
  # @param distro_base_path [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 [Array<UnpaginatedCollectionVersionResponse>]
@@ -35,6 +36,7 @@ module PulpAnsibleClient
35
36
  # @param distro_base_path [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<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
@@ -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] || {}
@@ -23,6 +23,7 @@ module PulpAnsibleClient
23
23
  # @param distro_base_path [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 [RepoMetadataResponse]
@@ -35,6 +36,7 @@ module PulpAnsibleClient
35
36
  # @param distro_base_path [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<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
@@ -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] || {}
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param filename [String]
25
25
  # @param path [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 [nil]
@@ -37,6 +38,7 @@ module PulpAnsibleClient
37
38
  # @param filename [String]
38
39
  # @param path [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<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -66,6 +68,7 @@ module PulpAnsibleClient
66
68
 
67
69
  # header parameters
68
70
  header_params = opts[:header_params] || {}
71
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
69
72
 
70
73
  # form parameters
71
74
  form_params = opts[:form_params] || {}
@@ -25,6 +25,7 @@ module PulpAnsibleClient
25
25
  # @param namespace [String]
26
26
  # @param path [String]
27
27
  # @param [Hash] opts the optional parameters
28
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
29
  # @return [AsyncOperationResponse]
29
30
  def delete(distro_base_path, name, namespace, path, opts = {})
30
31
  data, _status_code, _headers = delete_with_http_info(distro_base_path, name, namespace, path, opts)
@@ -37,6 +38,7 @@ module PulpAnsibleClient
37
38
  # @param namespace [String]
38
39
  # @param path [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
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
41
43
  def delete_with_http_info(distro_base_path, name, namespace, path, opts = {})
42
44
  if @api_client.config.debugging
@@ -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] || {}
@@ -102,6 +105,7 @@ module PulpAnsibleClient
102
105
  # @param distro_base_path [String]
103
106
  # @param path [String]
104
107
  # @param [Hash] opts the optional parameters
108
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
105
109
  # @option opts [Boolean] :deprecated
106
110
  # @option opts [Integer] :limit Number of results to return per page.
107
111
  # @option opts [String] :name
@@ -124,6 +128,7 @@ module PulpAnsibleClient
124
128
  # @param distro_base_path [String]
125
129
  # @param path [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 [Boolean] :deprecated
128
133
  # @option opts [Integer] :limit Number of results to return per page.
129
134
  # @option opts [String] :name
@@ -175,6 +180,7 @@ module PulpAnsibleClient
175
180
  header_params = opts[:header_params] || {}
176
181
  # HTTP header 'Accept' (if needed)
177
182
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
183
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
178
184
 
179
185
  # form parameters
180
186
  form_params = opts[:form_params] || {}
@@ -211,6 +217,7 @@ module PulpAnsibleClient
211
217
  # @param namespace [String]
212
218
  # @param path [String]
213
219
  # @param [Hash] opts the optional parameters
220
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
214
221
  # @option opts [Array<String>] :fields A list of fields to include in the response.
215
222
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
216
223
  # @return [CollectionResponse]
@@ -225,6 +232,7 @@ module PulpAnsibleClient
225
232
  # @param namespace [String]
226
233
  # @param path [String]
227
234
  # @param [Hash] opts the optional parameters
235
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
228
236
  # @option opts [Array<String>] :fields A list of fields to include in the response.
229
237
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
230
238
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
@@ -260,6 +268,7 @@ module PulpAnsibleClient
260
268
  header_params = opts[:header_params] || {}
261
269
  # HTTP header 'Accept' (if needed)
262
270
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
271
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
263
272
 
264
273
  # form parameters
265
274
  form_params = opts[:form_params] || {}
@@ -297,6 +306,7 @@ module PulpAnsibleClient
297
306
  # @param path [String]
298
307
  # @param patched_collection [PatchedCollection]
299
308
  # @param [Hash] opts the optional parameters
309
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
300
310
  # @return [AsyncOperationResponse]
301
311
  def update(distro_base_path, name, namespace, path, patched_collection, opts = {})
302
312
  data, _status_code, _headers = update_with_http_info(distro_base_path, name, namespace, path, patched_collection, opts)
@@ -310,6 +320,7 @@ module PulpAnsibleClient
310
320
  # @param path [String]
311
321
  # @param patched_collection [PatchedCollection]
312
322
  # @param [Hash] opts the optional parameters
323
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
313
324
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
314
325
  def update_with_http_info(distro_base_path, name, namespace, path, patched_collection, opts = {})
315
326
  if @api_client.config.debugging
@@ -350,6 +361,7 @@ module PulpAnsibleClient
350
361
  if !content_type.nil?
351
362
  header_params['Content-Type'] = content_type
352
363
  end
364
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
353
365
 
354
366
  # form parameters
355
367
  form_params = opts[:form_params] || {}
@@ -26,6 +26,7 @@ module PulpAnsibleClient
26
26
  # @param path [String]
27
27
  # @param version [String]
28
28
  # @param [Hash] opts the optional parameters
29
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
29
30
  # @return [AsyncOperationResponse]
30
31
  def delete(distro_base_path, name, namespace, path, version, opts = {})
31
32
  data, _status_code, _headers = delete_with_http_info(distro_base_path, name, namespace, path, version, opts)
@@ -39,6 +40,7 @@ module PulpAnsibleClient
39
40
  # @param path [String]
40
41
  # @param version [String]
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
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
43
45
  def delete_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
44
46
  if @api_client.config.debugging
@@ -74,6 +76,7 @@ module PulpAnsibleClient
74
76
  header_params = opts[:header_params] || {}
75
77
  # HTTP header 'Accept' (if needed)
76
78
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
79
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
77
80
 
78
81
  # form parameters
79
82
  form_params = opts[:form_params] || {}
@@ -110,6 +113,7 @@ module PulpAnsibleClient
110
113
  # @param namespace [String]
111
114
  # @param path [String]
112
115
  # @param [Hash] opts the optional parameters
116
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
113
117
  # @option opts [Integer] :limit Number of results to return per page.
114
118
  # @option opts [String] :name2
115
119
  # @option opts [String] :namespace2
@@ -140,6 +144,7 @@ module PulpAnsibleClient
140
144
  # @param namespace [String]
141
145
  # @param path [String]
142
146
  # @param [Hash] opts the optional parameters
147
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
143
148
  # @option opts [Integer] :limit Number of results to return per page.
144
149
  # @option opts [String] :name2
145
150
  # @option opts [String] :namespace2
@@ -211,6 +216,7 @@ module PulpAnsibleClient
211
216
  header_params = opts[:header_params] || {}
212
217
  # HTTP header 'Accept' (if needed)
213
218
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
219
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
214
220
 
215
221
  # form parameters
216
222
  form_params = opts[:form_params] || {}
@@ -248,6 +254,7 @@ module PulpAnsibleClient
248
254
  # @param path [String]
249
255
  # @param version [String]
250
256
  # @param [Hash] opts the optional parameters
257
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
251
258
  # @option opts [Array<String>] :fields A list of fields to include in the response.
252
259
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
253
260
  # @return [CollectionVersionResponse]
@@ -263,6 +270,7 @@ module PulpAnsibleClient
263
270
  # @param path [String]
264
271
  # @param version [String]
265
272
  # @param [Hash] opts the optional parameters
273
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
266
274
  # @option opts [Array<String>] :fields A list of fields to include in the response.
267
275
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
268
276
  # @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
@@ -302,6 +310,7 @@ module PulpAnsibleClient
302
310
  header_params = opts[:header_params] || {}
303
311
  # HTTP header 'Accept' (if needed)
304
312
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
313
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
305
314
 
306
315
  # form parameters
307
316
  form_params = opts[:form_params] || {}
@@ -26,6 +26,7 @@ module PulpAnsibleClient
26
26
  # @param path [String]
27
27
  # @param version [String]
28
28
  # @param [Hash] opts the optional parameters
29
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
29
30
  # @option opts [Array<String>] :fields A list of fields to include in the response.
30
31
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
31
32
  # @return [CollectionVersionDocsResponse]
@@ -41,6 +42,7 @@ module PulpAnsibleClient
41
42
  # @param path [String]
42
43
  # @param version [String]
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 [Array<String>] :fields A list of fields to include in the response.
45
47
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
48
  # @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
@@ -80,6 +82,7 @@ module PulpAnsibleClient
80
82
  header_params = opts[:header_params] || {}
81
83
  # HTTP header 'Accept' (if needed)
82
84
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
85
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
83
86
 
84
87
  # form parameters
85
88
  form_params = opts[:form_params] || {}
@@ -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] || {}