pulp_ansible_client 0.16.0 → 0.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/AnsibleAnsibleDistribution.md +1 -1
  4. data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
  5. data/docs/AnsibleAnsibleRepository.md +2 -2
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
  7. data/docs/AnsibleCollectionRemote.md +2 -2
  8. data/docs/AnsibleCollectionRemoteResponse.md +4 -2
  9. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
  10. data/docs/AnsibleCollectionVersion.md +4 -4
  11. data/docs/AnsibleCollectionVersionResponse.md +2 -2
  12. data/docs/AnsibleCollectionsApi.md +10 -6
  13. data/docs/AnsibleGitRemote.md +25 -25
  14. data/docs/AnsibleGitRemoteResponse.md +27 -25
  15. data/docs/AnsibleRoleRemote.md +2 -2
  16. data/docs/AnsibleRoleRemoteResponse.md +5 -3
  17. data/docs/AnsibleRoleResponse.md +4 -4
  18. data/docs/ApiCollectionsApi.md +4 -4
  19. data/docs/ApiRolesApi.md +4 -4
  20. data/docs/CollectionImportApi.md +4 -4
  21. data/docs/CollectionRefResponse.md +1 -1
  22. data/docs/CollectionResponse.md +6 -6
  23. data/docs/CollectionVersionListResponse.md +1 -1
  24. data/docs/CollectionVersionResponse.md +4 -4
  25. data/docs/ContentCollectionDeprecationsApi.md +14 -10
  26. data/docs/ContentCollectionSignaturesApi.md +16 -12
  27. data/docs/ContentCollectionVersionsApi.md +18 -14
  28. data/docs/ContentRolesApi.md +14 -10
  29. data/docs/DistributionsAnsibleApi.md +22 -14
  30. data/docs/GalaxyCollectionResponse.md +4 -4
  31. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  32. data/docs/GalaxyDetailApi.md +4 -4
  33. data/docs/GalaxyRoleResponse.md +1 -1
  34. data/docs/GalaxyRoleVersionResponse.md +1 -1
  35. data/docs/PatchedansibleAnsibleDistribution.md +1 -1
  36. data/docs/PatchedansibleAnsibleRepository.md +2 -2
  37. data/docs/PatchedansibleCollectionRemote.md +2 -2
  38. data/docs/PatchedansibleGitRemote.md +25 -25
  39. data/docs/PatchedansibleRoleRemote.md +2 -2
  40. data/docs/PulpAnsibleApiApi.md +4 -4
  41. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
  42. data/docs/PulpAnsibleApiV3Api.md +4 -4
  43. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
  44. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
  45. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +10 -6
  46. data/docs/PulpAnsibleApiV3CollectionsApi.md +14 -10
  47. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -10
  48. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  49. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
  50. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
  51. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  52. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  53. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  54. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
  55. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
  56. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  57. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
  58. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +10 -6
  59. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +14 -10
  60. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -10
  61. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
  68. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  69. data/docs/PulpAnsibleTagsApi.md +4 -4
  70. data/docs/RemotesCollectionApi.md +18 -14
  71. data/docs/RemotesGitApi.md +18 -14
  72. data/docs/RemotesRoleApi.md +18 -14
  73. data/docs/RepositoriesAnsibleApi.md +33 -13
  74. data/docs/RepositoriesAnsibleVersionsApi.md +16 -14
  75. data/docs/RepositoryAddRemoveContent.md +2 -2
  76. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  77. data/docs/VersionsApi.md +8 -8
  78. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +15 -9
  79. data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
  80. data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
  81. data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
  82. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -14
  83. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +21 -15
  84. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -21
  85. data/lib/pulp_ansible_client/api/content_roles_api.rb +21 -15
  86. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +31 -19
  87. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +15 -9
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +21 -15
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +21 -15
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +15 -9
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  100. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  101. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  102. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +21 -15
  103. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
  104. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +15 -9
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +21 -15
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +21 -15
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +15 -9
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +21 -15
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
  116. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  117. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  118. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +25 -19
  119. data/lib/pulp_ansible_client/api/remotes_git_api.rb +25 -19
  120. data/lib/pulp_ansible_client/api/remotes_role_api.rb +25 -19
  121. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +47 -17
  122. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +22 -19
  123. data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
  124. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +4 -2
  125. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +4 -2
  126. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +5 -3
  127. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +5 -3
  128. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +5 -3
  129. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +18 -4
  130. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +215 -0
  131. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  132. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  133. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -216
  134. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -130
  135. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -3
  136. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +22 -8
  137. data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
  138. data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
  139. data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
  140. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +1 -0
  141. data/lib/pulp_ansible_client/models/collection_version_response.rb +4 -0
  142. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
  143. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
  144. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
  145. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
  146. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
  147. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +5 -3
  148. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +5 -3
  149. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -216
  150. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -3
  151. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  152. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +4 -0
  153. data/lib/pulp_ansible_client/version.rb +1 -1
  154. data/lib/pulp_ansible_client.rb +1 -0
  155. data/spec/api/ansible_collections_api_spec.rb +5 -3
  156. data/spec/api/api_collections_api_spec.rb +2 -2
  157. data/spec/api/api_roles_api_spec.rb +2 -2
  158. data/spec/api/collection_import_api_spec.rb +2 -2
  159. data/spec/api/content_collection_deprecations_api_spec.rb +7 -5
  160. data/spec/api/content_collection_signatures_api_spec.rb +7 -5
  161. data/spec/api/content_collection_versions_api_spec.rb +9 -7
  162. data/spec/api/content_roles_api_spec.rb +7 -5
  163. data/spec/api/distributions_ansible_api_spec.rb +11 -7
  164. data/spec/api/galaxy_detail_api_spec.rb +2 -2
  165. data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
  166. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
  167. data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
  168. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
  169. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
  170. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +5 -3
  171. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +7 -5
  172. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +7 -5
  173. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  174. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
  175. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +5 -3
  176. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  177. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  178. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  179. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +7 -5
  180. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
  181. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  182. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
  183. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +5 -3
  184. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +7 -5
  185. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +7 -5
  186. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +5 -3
  188. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  189. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  190. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  191. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +7 -5
  192. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
  193. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  194. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  195. data/spec/api/remotes_collection_api_spec.rb +9 -7
  196. data/spec/api/remotes_git_api_spec.rb +9 -7
  197. data/spec/api/remotes_role_api_spec.rb +9 -7
  198. data/spec/api/repositories_ansible_api_spec.rb +16 -6
  199. data/spec/api/repositories_ansible_versions_api_spec.rb +8 -7
  200. data/spec/api/versions_api_spec.rb +4 -4
  201. data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +47 -0
  202. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  203. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  204. data/spec/models/ansible_collection_version_spec.rb +3 -3
  205. data/spec/models/ansible_git_remote_response_spec.rb +24 -18
  206. data/spec/models/ansible_git_remote_spec.rb +19 -19
  207. data/spec/models/ansible_role_remote_response_spec.rb +6 -0
  208. data/spec/models/ansible_role_response_spec.rb +2 -2
  209. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  210. metadata +104 -100
@@ -23,8 +23,8 @@ 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 [String] :fields A list of fields to include in the response.
27
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
26
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
27
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
28
  # @return [Array<UnpaginatedCollectionVersionResponse>]
29
29
  def list(distro_base_path, path, opts = {})
30
30
  data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
@@ -35,8 +35,8 @@ module PulpAnsibleClient
35
35
  # @param distro_base_path [String]
36
36
  # @param path [String]
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :fields A list of fields to include in the response.
39
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
38
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
39
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
40
  # @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
41
41
  def list_with_http_info(distro_base_path, path, opts = {})
42
42
  if @api_client.config.debugging
@@ -55,8 +55,8 @@ module PulpAnsibleClient
55
55
 
56
56
  # query parameters
57
57
  query_params = opts[:query_params] || {}
58
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
59
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
58
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
59
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
60
60
 
61
61
  # header parameters
62
62
  header_params = opts[:header_params] || {}
@@ -23,8 +23,8 @@ 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 [String] :fields A list of fields to include in the response.
27
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
26
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
27
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
28
  # @return [RepoMetadataResponse]
29
29
  def read(distro_base_path, path, opts = {})
30
30
  data, _status_code, _headers = read_with_http_info(distro_base_path, path, opts)
@@ -35,8 +35,8 @@ module PulpAnsibleClient
35
35
  # @param distro_base_path [String]
36
36
  # @param path [String]
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :fields A list of fields to include in the response.
39
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
38
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
39
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
40
  # @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
41
41
  def read_with_http_info(distro_base_path, path, opts = {})
42
42
  if @api_client.config.debugging
@@ -55,8 +55,8 @@ module PulpAnsibleClient
55
55
 
56
56
  # query parameters
57
57
  query_params = opts[:query_params] || {}
58
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
59
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
58
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
59
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
60
60
 
61
61
  # header parameters
62
62
  header_params = opts[:header_params] || {}
@@ -24,8 +24,8 @@ module PulpAnsibleClient
24
24
  # @param filename [String]
25
25
  # @param path [String]
26
26
  # @param [Hash] opts the optional parameters
27
- # @option opts [String] :fields A list of fields to include in the response.
28
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
27
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
28
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
29
  # @return [nil]
30
30
  def download(distro_base_path, filename, path, opts = {})
31
31
  download_with_http_info(distro_base_path, filename, path, opts)
@@ -37,8 +37,8 @@ module PulpAnsibleClient
37
37
  # @param filename [String]
38
38
  # @param path [String]
39
39
  # @param [Hash] opts the optional parameters
40
- # @option opts [String] :fields A list of fields to include in the response.
41
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
40
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
41
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
42
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
43
43
  def download_with_http_info(distro_base_path, filename, path, opts = {})
44
44
  if @api_client.config.debugging
@@ -61,8 +61,8 @@ module PulpAnsibleClient
61
61
 
62
62
  # query parameters
63
63
  query_params = opts[:query_params] || {}
64
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
65
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
64
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
65
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
66
66
 
67
67
  # header parameters
68
68
  header_params = opts[:header_params] || {}
@@ -106,9 +106,11 @@ module PulpAnsibleClient
106
106
  # @option opts [String] :name
107
107
  # @option opts [String] :namespace
108
108
  # @option opts [Integer] :offset The initial index from which to return the results.
109
- # @option opts [Array<String>] :ordering Ordering
110
- # @option opts [String] :fields A list of fields to include in the response.
111
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
109
+ # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
110
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
111
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
112
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
113
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
114
  # @return [PaginatedCollectionResponseList]
113
115
  def list(distro_base_path, path, opts = {})
114
116
  data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
@@ -124,9 +126,11 @@ module PulpAnsibleClient
124
126
  # @option opts [String] :name
125
127
  # @option opts [String] :namespace
126
128
  # @option opts [Integer] :offset The initial index from which to return the results.
127
- # @option opts [Array<String>] :ordering Ordering
128
- # @option opts [String] :fields A list of fields to include in the response.
129
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
129
+ # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
130
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
131
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
132
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
133
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
130
134
  # @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
131
135
  def list_with_http_info(distro_base_path, path, opts = {})
132
136
  if @api_client.config.debugging
@@ -140,7 +144,7 @@ module PulpAnsibleClient
140
144
  if @api_client.config.client_side_validation && path.nil?
141
145
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.list"
142
146
  end
143
- allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
147
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
144
148
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
145
149
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
146
150
  end
@@ -155,8 +159,10 @@ module PulpAnsibleClient
155
159
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
156
160
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
157
161
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
158
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
159
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
162
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
163
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
164
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
165
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
160
166
 
161
167
  # header parameters
162
168
  header_params = opts[:header_params] || {}
@@ -197,8 +203,8 @@ module PulpAnsibleClient
197
203
  # @param namespace [String]
198
204
  # @param path [String]
199
205
  # @param [Hash] opts the optional parameters
200
- # @option opts [String] :fields A list of fields to include in the response.
201
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
206
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
207
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
202
208
  # @return [CollectionResponse]
203
209
  def read(distro_base_path, name, namespace, path, opts = {})
204
210
  data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, opts)
@@ -211,8 +217,8 @@ module PulpAnsibleClient
211
217
  # @param namespace [String]
212
218
  # @param path [String]
213
219
  # @param [Hash] opts the optional parameters
214
- # @option opts [String] :fields A list of fields to include in the response.
215
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
220
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
221
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
216
222
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
217
223
  def read_with_http_info(distro_base_path, name, namespace, path, opts = {})
218
224
  if @api_client.config.debugging
@@ -239,8 +245,8 @@ module PulpAnsibleClient
239
245
 
240
246
  # query parameters
241
247
  query_params = opts[:query_params] || {}
242
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
243
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
248
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
249
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
244
250
 
245
251
  # header parameters
246
252
  header_params = opts[:header_params] || {}
@@ -114,15 +114,17 @@ module PulpAnsibleClient
114
114
  # @option opts [String] :name2
115
115
  # @option opts [String] :namespace2
116
116
  # @option opts [Integer] :offset The initial index from which to return the results.
117
- # @option opts [Array<String>] :ordering Ordering
117
+ # @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;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;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
118
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
119
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
118
120
  # @option opts [String] :q
119
121
  # @option opts [String] :repository_version Repository Version referenced by HREF
120
122
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
121
123
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
122
124
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
123
125
  # @option opts [String] :version Filter results where version matches value
124
- # @option opts [String] :fields A list of fields to include in the response.
125
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
128
  # @return [PaginatedCollectionVersionListResponseList]
127
129
  def list(distro_base_path, name, namespace, path, opts = {})
128
130
  data, _status_code, _headers = list_with_http_info(distro_base_path, name, namespace, path, opts)
@@ -140,15 +142,17 @@ module PulpAnsibleClient
140
142
  # @option opts [String] :name2
141
143
  # @option opts [String] :namespace2
142
144
  # @option opts [Integer] :offset The initial index from which to return the results.
143
- # @option opts [Array<String>] :ordering Ordering
145
+ # @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;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;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
146
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
147
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
144
148
  # @option opts [String] :q
145
149
  # @option opts [String] :repository_version Repository Version referenced by HREF
146
150
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
147
151
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
148
152
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
149
153
  # @option opts [String] :version Filter results where version matches value
150
- # @option opts [String] :fields A list of fields to include in the response.
151
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
155
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
152
156
  # @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
153
157
  def list_with_http_info(distro_base_path, name, namespace, path, opts = {})
154
158
  if @api_client.config.debugging
@@ -170,7 +174,7 @@ module PulpAnsibleClient
170
174
  if @api_client.config.client_side_validation && path.nil?
171
175
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
172
176
  end
173
- allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-download_logs", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "download_logs", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
177
+ allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
174
178
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
175
179
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
176
180
  end
@@ -185,14 +189,16 @@ module PulpAnsibleClient
185
189
  query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
186
190
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
187
191
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
192
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
193
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
188
194
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
189
195
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
190
196
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
191
197
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
192
198
  query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
193
199
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
194
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
195
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
200
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
201
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
196
202
 
197
203
  # header parameters
198
204
  header_params = opts[:header_params] || {}
@@ -234,8 +240,8 @@ module PulpAnsibleClient
234
240
  # @param path [String]
235
241
  # @param version [String]
236
242
  # @param [Hash] opts the optional parameters
237
- # @option opts [String] :fields A list of fields to include in the response.
238
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
243
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
244
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
239
245
  # @return [CollectionVersionResponse]
240
246
  def read(distro_base_path, name, namespace, path, version, opts = {})
241
247
  data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, version, opts)
@@ -249,8 +255,8 @@ module PulpAnsibleClient
249
255
  # @param path [String]
250
256
  # @param version [String]
251
257
  # @param [Hash] opts the optional parameters
252
- # @option opts [String] :fields A list of fields to include in the response.
253
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
258
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
259
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
254
260
  # @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
255
261
  def read_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
256
262
  if @api_client.config.debugging
@@ -281,8 +287,8 @@ module PulpAnsibleClient
281
287
 
282
288
  # query parameters
283
289
  query_params = opts[:query_params] || {}
284
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
285
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
290
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
291
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
286
292
 
287
293
  # header parameters
288
294
  header_params = opts[:header_params] || {}
@@ -26,8 +26,8 @@ module PulpAnsibleClient
26
26
  # @param path [String]
27
27
  # @param version [String]
28
28
  # @param [Hash] opts the optional parameters
29
- # @option opts [String] :fields A list of fields to include in the response.
30
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
29
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
30
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
31
31
  # @return [CollectionVersionDocsResponse]
32
32
  def read(distro_base_path, name, namespace, path, version, opts = {})
33
33
  data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, version, opts)
@@ -41,8 +41,8 @@ module PulpAnsibleClient
41
41
  # @param path [String]
42
42
  # @param version [String]
43
43
  # @param [Hash] opts the optional parameters
44
- # @option opts [String] :fields A list of fields to include in the response.
45
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
44
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
45
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
46
  # @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
47
47
  def read_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
48
48
  if @api_client.config.debugging
@@ -73,8 +73,8 @@ module PulpAnsibleClient
73
73
 
74
74
  # query parameters
75
75
  query_params = opts[:query_params] || {}
76
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
77
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
76
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
77
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
78
78
 
79
79
  # header parameters
80
80
  header_params = opts[:header_params] || {}
@@ -23,8 +23,8 @@ module PulpAnsibleClient
23
23
  # @param filename [String]
24
24
  # @param path [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [String] :fields A list of fields to include in the response.
27
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
26
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
27
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
28
  # @return [nil]
29
29
  def get(filename, path, opts = {})
30
30
  get_with_http_info(filename, path, opts)
@@ -35,8 +35,8 @@ module PulpAnsibleClient
35
35
  # @param filename [String]
36
36
  # @param path [String]
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :fields A list of fields to include in the response.
39
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
38
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
39
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
40
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
41
  def get_with_http_info(filename, path, opts = {})
42
42
  if @api_client.config.debugging
@@ -55,8 +55,8 @@ module PulpAnsibleClient
55
55
 
56
56
  # query parameters
57
57
  query_params = opts[:query_params] || {}
58
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
59
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
58
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
59
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
60
60
 
61
61
  # header parameters
62
62
  header_params = opts[:header_params] || {}
@@ -24,9 +24,11 @@ module PulpAnsibleClient
24
24
  # @option opts [Boolean] :deprecated
25
25
  # @option opts [String] :name
26
26
  # @option opts [String] :namespace
27
- # @option opts [Array<String>] :ordering Ordering
28
- # @option opts [String] :fields A list of fields to include in the response.
29
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
27
+ # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
31
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
30
32
  # @return [Array<CollectionResponse>]
31
33
  def list(opts = {})
32
34
  data, _status_code, _headers = list_with_http_info(opts)
@@ -38,15 +40,17 @@ module PulpAnsibleClient
38
40
  # @option opts [Boolean] :deprecated
39
41
  # @option opts [String] :name
40
42
  # @option opts [String] :namespace
41
- # @option opts [Array<String>] :ordering Ordering
42
- # @option opts [String] :fields A list of fields to include in the response.
43
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
44
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
47
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
44
48
  # @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
45
49
  def list_with_http_info(opts = {})
46
50
  if @api_client.config.debugging
47
51
  @api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsAllApi.list ...'
48
52
  end
49
- allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
53
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
50
54
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
51
55
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
52
56
  end
@@ -59,8 +63,10 @@ module PulpAnsibleClient
59
63
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
60
64
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
61
65
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
62
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
63
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
66
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
67
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
68
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
69
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
64
70
 
65
71
  # header parameters
66
72
  header_params = opts[:header_params] || {}
@@ -92,9 +92,11 @@ module PulpAnsibleClient
92
92
  # @option opts [String] :name
93
93
  # @option opts [String] :namespace
94
94
  # @option opts [Integer] :offset The initial index from which to return the results.
95
- # @option opts [Array<String>] :ordering Ordering
96
- # @option opts [String] :fields A list of fields to include in the response.
97
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
95
+ # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
96
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
97
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
98
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
99
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
100
  # @return [PaginatedCollectionResponseList]
99
101
  def list(opts = {})
100
102
  data, _status_code, _headers = list_with_http_info(opts)
@@ -108,15 +110,17 @@ module PulpAnsibleClient
108
110
  # @option opts [String] :name
109
111
  # @option opts [String] :namespace
110
112
  # @option opts [Integer] :offset The initial index from which to return the results.
111
- # @option opts [Array<String>] :ordering Ordering
112
- # @option opts [String] :fields A list of fields to include in the response.
113
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
113
+ # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
114
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
115
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
114
118
  # @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
115
119
  def list_with_http_info(opts = {})
116
120
  if @api_client.config.debugging
117
121
  @api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsApi.list ...'
118
122
  end
119
- allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
123
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
120
124
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
121
125
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
122
126
  end
@@ -131,8 +135,10 @@ module PulpAnsibleClient
131
135
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
132
136
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
133
137
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
134
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
135
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
139
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
140
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
141
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
136
142
 
137
143
  # header parameters
138
144
  header_params = opts[:header_params] || {}
@@ -171,8 +177,8 @@ module PulpAnsibleClient
171
177
  # @param name [String]
172
178
  # @param namespace [String]
173
179
  # @param [Hash] opts the optional parameters
174
- # @option opts [String] :fields A list of fields to include in the response.
175
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
181
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
176
182
  # @return [CollectionResponse]
177
183
  def read(name, namespace, opts = {})
178
184
  data, _status_code, _headers = read_with_http_info(name, namespace, opts)
@@ -183,8 +189,8 @@ module PulpAnsibleClient
183
189
  # @param name [String]
184
190
  # @param namespace [String]
185
191
  # @param [Hash] opts the optional parameters
186
- # @option opts [String] :fields A list of fields to include in the response.
187
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
194
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
189
195
  def read_with_http_info(name, namespace, opts = {})
190
196
  if @api_client.config.debugging
@@ -203,8 +209,8 @@ module PulpAnsibleClient
203
209
 
204
210
  # query parameters
205
211
  query_params = opts[:query_params] || {}
206
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
207
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
212
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
213
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
208
214
 
209
215
  # header parameters
210
216
  header_params = opts[:header_params] || {}