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
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # Get the detail view of a Collection.
23
23
  # @param ansible_collection_href [String]
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :fields A list of fields to include in the response.
26
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
27
27
  # @return [GalaxyCollectionResponse]
28
28
  def get(ansible_collection_href, opts = {})
29
29
  data, _status_code, _headers = get_with_http_info(ansible_collection_href, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Get the detail view of a Collection.
34
34
  # @param ansible_collection_href [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @option opts [String] :fields A list of fields to include in the response.
37
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
38
38
  # @return [Array<(GalaxyCollectionResponse, Integer, Hash)>] GalaxyCollectionResponse data, response status code and response headers
39
39
  def get_with_http_info(ansible_collection_href, opts = {})
40
40
  if @api_client.config.debugging
@@ -49,8 +49,8 @@ module PulpAnsibleClient
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
52
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
52
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
54
54
 
55
55
  # header parameters
56
56
  header_params = opts[:header_params] || {}
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # Return a response to the \"GET\" action.
23
23
  # @param path [String]
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :fields A list of fields to include in the response.
26
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
27
27
  # @return [nil]
28
28
  def get(path, opts = {})
29
29
  get_with_http_info(path, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Return a response to the \&quot;GET\&quot; action.
34
34
  # @param path [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @option opts [String] :fields A list of fields to include in the response.
37
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
38
38
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
39
39
  def get_with_http_info(path, opts = {})
40
40
  if @api_client.config.debugging
@@ -49,8 +49,8 @@ module PulpAnsibleClient
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
52
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
52
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
54
54
 
55
55
  # header parameters
56
56
  header_params = opts[:header_params] || {}
@@ -25,8 +25,8 @@ module PulpAnsibleClient
25
25
  # @param path [String]
26
26
  # @param version [String]
27
27
  # @param [Hash] opts the optional parameters
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.
28
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
29
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
30
30
  # @return [nil]
31
31
  def get(name, namespace, path, version, opts = {})
32
32
  get_with_http_info(name, namespace, path, version, opts)
@@ -39,8 +39,8 @@ module PulpAnsibleClient
39
39
  # @param path [String]
40
40
  # @param version [String]
41
41
  # @param [Hash] opts the optional parameters
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.
42
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
43
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
44
44
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
45
45
  def get_with_http_info(name, namespace, path, version, opts = {})
46
46
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpAnsibleClient
67
67
 
68
68
  # query parameters
69
69
  query_params = opts[:query_params] || {}
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # Legacy v3 endpoint.
23
23
  # @param path [String]
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :fields A list of fields to include in the response.
26
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
27
27
  # @return [RepoMetadataResponse]
28
28
  def read(path, opts = {})
29
29
  data, _status_code, _headers = read_with_http_info(path, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Legacy v3 endpoint.
34
34
  # @param path [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @option opts [String] :fields A list of fields to include in the response.
37
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
38
38
  # @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
39
39
  def read_with_http_info(path, opts = {})
40
40
  if @api_client.config.debugging
@@ -49,8 +49,8 @@ module PulpAnsibleClient
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
52
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
52
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
54
54
 
55
55
  # header parameters
56
56
  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] || {}
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # Legacy v3 endpoint.
23
23
  # @param path [String]
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :fields A list of fields to include in the response.
26
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
27
27
  # @return [Array<UnpaginatedCollectionVersionResponse>]
28
28
  def list(path, opts = {})
29
29
  data, _status_code, _headers = list_with_http_info(path, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Legacy v3 endpoint.
34
34
  # @param path [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @option opts [String] :fields A list of fields to include in the response.
37
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
38
38
  # @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
39
39
  def list_with_http_info(path, opts = {})
40
40
  if @api_client.config.debugging
@@ -49,8 +49,8 @@ module PulpAnsibleClient
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
52
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
52
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
54
54
 
55
55
  # header parameters
56
56
  header_params = opts[:header_params] || {}
@@ -25,9 +25,11 @@ module PulpAnsibleClient
25
25
  # @option opts [Boolean] :deprecated
26
26
  # @option opts [String] :name
27
27
  # @option opts [String] :namespace
28
- # @option opts [Array<String>] :ordering Ordering
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.
28
+ # @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)
29
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
30
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
31
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
32
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
31
33
  # @return [Array<CollectionResponse>]
32
34
  def list(path, opts = {})
33
35
  data, _status_code, _headers = list_with_http_info(path, opts)
@@ -40,9 +42,11 @@ module PulpAnsibleClient
40
42
  # @option opts [Boolean] :deprecated
41
43
  # @option opts [String] :name
42
44
  # @option opts [String] :namespace
43
- # @option opts [Array<String>] :ordering Ordering
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.
45
+ # @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)
46
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
47
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
48
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
49
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
50
  # @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
47
51
  def list_with_http_info(path, opts = {})
48
52
  if @api_client.config.debugging
@@ -52,7 +56,7 @@ module PulpAnsibleClient
52
56
  if @api_client.config.client_side_validation && path.nil?
53
57
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsAllApi.list"
54
58
  end
55
- 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"]
59
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
56
60
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
57
61
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
58
62
  end
@@ -65,8 +69,10 @@ module PulpAnsibleClient
65
69
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
66
70
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
67
71
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
68
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
69
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
72
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
73
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
74
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
75
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
70
76
 
71
77
  # header parameters
72
78
  header_params = opts[:header_params] || {}
@@ -99,9 +99,11 @@ module PulpAnsibleClient
99
99
  # @option opts [String] :name
100
100
  # @option opts [String] :namespace
101
101
  # @option opts [Integer] :offset The initial index from which to return the results.
102
- # @option opts [Array<String>] :ordering Ordering
103
- # @option opts [String] :fields A list of fields to include in the response.
104
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @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)
103
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
104
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
105
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
106
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
107
  # @return [PaginatedCollectionResponseList]
106
108
  def list(path, opts = {})
107
109
  data, _status_code, _headers = list_with_http_info(path, opts)
@@ -116,9 +118,11 @@ module PulpAnsibleClient
116
118
  # @option opts [String] :name
117
119
  # @option opts [String] :namespace
118
120
  # @option opts [Integer] :offset The initial index from which to return the results.
119
- # @option opts [Array<String>] :ordering Ordering
120
- # @option opts [String] :fields A list of fields to include in the response.
121
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
121
+ # @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)
122
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
123
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
124
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
125
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
126
  # @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
123
127
  def list_with_http_info(path, opts = {})
124
128
  if @api_client.config.debugging
@@ -128,7 +132,7 @@ module PulpAnsibleClient
128
132
  if @api_client.config.client_side_validation && path.nil?
129
133
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsApi.list"
130
134
  end
131
- 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"]
135
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
132
136
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
133
137
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
134
138
  end
@@ -143,8 +147,10 @@ module PulpAnsibleClient
143
147
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
144
148
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
145
149
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
146
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
147
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
150
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
151
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
152
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
153
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
154
 
149
155
  # header parameters
150
156
  header_params = opts[:header_params] || {}
@@ -184,8 +190,8 @@ module PulpAnsibleClient
184
190
  # @param namespace [String]
185
191
  # @param path [String]
186
192
  # @param [Hash] opts the optional parameters
187
- # @option opts [String] :fields A list of fields to include in the response.
188
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
193
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
194
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
189
195
  # @return [CollectionResponse]
190
196
  def read(name, namespace, path, opts = {})
191
197
  data, _status_code, _headers = read_with_http_info(name, namespace, path, opts)
@@ -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 [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
203
209
  def read_with_http_info(name, namespace, path, opts = {})
204
210
  if @api_client.config.debugging
@@ -221,8 +227,8 @@ module PulpAnsibleClient
221
227
 
222
228
  # query parameters
223
229
  query_params = opts[:query_params] || {}
224
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
225
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
230
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
231
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
226
232
 
227
233
  # header parameters
228
234
  header_params = opts[:header_params] || {}
@@ -107,15 +107,17 @@ module PulpAnsibleClient
107
107
  # @option opts [String] :name2
108
108
  # @option opts [String] :namespace2
109
109
  # @option opts [Integer] :offset The initial index from which to return the results.
110
- # @option opts [Array<String>] :ordering Ordering
110
+ # @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)
111
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
112
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
111
113
  # @option opts [String] :q
112
114
  # @option opts [String] :repository_version Repository Version referenced by HREF
113
115
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
114
116
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
115
117
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
116
118
  # @option opts [String] :version Filter results where version matches value
117
- # @option opts [String] :fields A list of fields to include in the response.
118
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
119
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
120
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
119
121
  # @return [PaginatedCollectionVersionListResponseList]
120
122
  def list(name, namespace, path, opts = {})
121
123
  data, _status_code, _headers = list_with_http_info(name, namespace, path, opts)
@@ -132,15 +134,17 @@ module PulpAnsibleClient
132
134
  # @option opts [String] :name2
133
135
  # @option opts [String] :namespace2
134
136
  # @option opts [Integer] :offset The initial index from which to return the results.
135
- # @option opts [Array<String>] :ordering Ordering
137
+ # @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)
138
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
139
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
136
140
  # @option opts [String] :q
137
141
  # @option opts [String] :repository_version Repository Version referenced by HREF
138
142
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
139
143
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
140
144
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
141
145
  # @option opts [String] :version Filter results where version matches value
142
- # @option opts [String] :fields A list of fields to include in the response.
143
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
146
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
147
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
144
148
  # @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
145
149
  def list_with_http_info(name, namespace, path, opts = {})
146
150
  if @api_client.config.debugging
@@ -158,7 +162,7 @@ module PulpAnsibleClient
158
162
  if @api_client.config.client_side_validation && path.nil?
159
163
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsVersionsApi.list"
160
164
  end
161
- 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"]
165
+ 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"]
162
166
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
163
167
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
164
168
  end
@@ -173,14 +177,16 @@ module PulpAnsibleClient
173
177
  query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
174
178
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
175
179
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
180
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
181
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
176
182
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
177
183
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
178
184
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
179
185
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
180
186
  query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
181
187
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
182
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
183
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
188
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
189
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
184
190
 
185
191
  # header parameters
186
192
  header_params = opts[:header_params] || {}
@@ -221,8 +227,8 @@ module PulpAnsibleClient
221
227
  # @param path [String]
222
228
  # @param version [String]
223
229
  # @param [Hash] opts the optional parameters
224
- # @option opts [String] :fields A list of fields to include in the response.
225
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
230
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
231
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
226
232
  # @return [CollectionVersionResponse]
227
233
  def read(name, namespace, path, version, opts = {})
228
234
  data, _status_code, _headers = read_with_http_info(name, namespace, path, version, opts)
@@ -235,8 +241,8 @@ module PulpAnsibleClient
235
241
  # @param path [String]
236
242
  # @param version [String]
237
243
  # @param [Hash] opts the optional parameters
238
- # @option opts [String] :fields A list of fields to include in the response.
239
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
244
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
245
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
240
246
  # @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
241
247
  def read_with_http_info(name, namespace, path, version, opts = {})
242
248
  if @api_client.config.debugging
@@ -263,8 +269,8 @@ module PulpAnsibleClient
263
269
 
264
270
  # query parameters
265
271
  query_params = opts[:query_params] || {}
266
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
267
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
272
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
273
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
268
274
 
269
275
  # header parameters
270
276
  header_params = opts[:header_params] || {}
@@ -25,8 +25,8 @@ module PulpAnsibleClient
25
25
  # @param path [String]
26
26
  # @param version [String]
27
27
  # @param [Hash] opts the optional parameters
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.
28
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
29
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
30
30
  # @return [CollectionVersionDocsResponse]
31
31
  def read(name, namespace, path, version, opts = {})
32
32
  data, _status_code, _headers = read_with_http_info(name, namespace, path, version, opts)
@@ -39,8 +39,8 @@ module PulpAnsibleClient
39
39
  # @param path [String]
40
40
  # @param version [String]
41
41
  # @param [Hash] opts the optional parameters
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.
42
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
43
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
44
44
  # @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
45
45
  def read_with_http_info(name, namespace, path, version, opts = {})
46
46
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpAnsibleClient
67
67
 
68
68
  # query parameters
69
69
  query_params = opts[:query_params] || {}
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # Get the client configs.
23
23
  # @param path [String]
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :fields A list of fields to include in the response.
26
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
27
27
  # @return [ClientConfigurationResponse]
28
28
  def get(path, opts = {})
29
29
  data, _status_code, _headers = get_with_http_info(path, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Get the client configs.
34
34
  # @param path [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @option opts [String] :fields A list of fields to include in the response.
37
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
38
38
  # @return [Array<(ClientConfigurationResponse, Integer, Hash)>] ClientConfigurationResponse data, response status code and response headers
39
39
  def get_with_http_info(path, opts = {})
40
40
  if @api_client.config.debugging
@@ -49,8 +49,8 @@ module PulpAnsibleClient
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
52
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
52
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
54
54
 
55
55
  # header parameters
56
56
  header_params = opts[:header_params] || {}
@@ -26,9 +26,11 @@ module PulpAnsibleClient
26
26
  # @option opts [Boolean] :deprecated
27
27
  # @option opts [String] :name
28
28
  # @option opts [String] :namespace
29
- # @option opts [Array<String>] :ordering Ordering
30
- # @option opts [String] :fields A list of fields to include in the response.
31
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
29
+ # @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)
30
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
31
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
32
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
33
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
32
34
  # @return [Array<CollectionResponse>]
33
35
  def list(distro_base_path, path, opts = {})
34
36
  data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
@@ -42,9 +44,11 @@ module PulpAnsibleClient
42
44
  # @option opts [Boolean] :deprecated
43
45
  # @option opts [String] :name
44
46
  # @option opts [String] :namespace
45
- # @option opts [Array<String>] :ordering Ordering
46
- # @option opts [String] :fields A list of fields to include in the response.
47
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @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)
48
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
50
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
51
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
48
52
  # @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
49
53
  def list_with_http_info(distro_base_path, path, opts = {})
50
54
  if @api_client.config.debugging
@@ -58,7 +62,7 @@ module PulpAnsibleClient
58
62
  if @api_client.config.client_side_validation && path.nil?
59
63
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
60
64
  end
61
- 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"]
65
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
62
66
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
63
67
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
64
68
  end
@@ -71,8 +75,10 @@ module PulpAnsibleClient
71
75
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
72
76
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
73
77
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
74
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
75
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
78
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
79
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
80
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
81
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
76
82
 
77
83
  # header parameters
78
84
  header_params = opts[:header_params] || {}