pulp_ansible_client 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/AnsibleAnsibleDistribution.md +1 -1
  4. data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
  5. data/docs/AnsibleAnsibleRepository.md +1 -1
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
  7. data/docs/AnsibleCollectionRemote.md +1 -1
  8. data/docs/AnsibleCollectionRemoteResponse.md +3 -1
  9. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
  10. data/docs/AnsibleCollectionVersion.md +3 -3
  11. data/docs/AnsibleCollectionVersionResponse.md +2 -2
  12. data/docs/AnsibleCollectionsApi.md +4 -4
  13. data/docs/AnsibleGitRemote.md +26 -26
  14. data/docs/AnsibleGitRemoteResponse.md +24 -22
  15. data/docs/AnsibleRoleRemote.md +1 -1
  16. data/docs/AnsibleRoleRemoteResponse.md +4 -2
  17. data/docs/AnsibleRoleResponse.md +2 -2
  18. data/docs/ApiCollectionsApi.md +4 -4
  19. data/docs/ApiRolesApi.md +4 -4
  20. data/docs/CollectionImportApi.md +4 -4
  21. data/docs/ContentCollectionDeprecationsApi.md +8 -8
  22. data/docs/ContentCollectionSignaturesApi.md +10 -10
  23. data/docs/ContentCollectionVersionsApi.md +10 -10
  24. data/docs/ContentRolesApi.md +8 -8
  25. data/docs/DistributionsAnsibleApi.md +12 -12
  26. data/docs/GalaxyDetailApi.md +4 -4
  27. data/docs/PatchedansibleAnsibleDistribution.md +1 -1
  28. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  29. data/docs/PatchedansibleCollectionRemote.md +1 -1
  30. data/docs/PatchedansibleGitRemote.md +26 -26
  31. data/docs/PatchedansibleRoleRemote.md +1 -1
  32. data/docs/PulpAnsibleApiApi.md +4 -4
  33. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
  34. data/docs/PulpAnsibleApiV3Api.md +4 -4
  35. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
  36. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
  37. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -4
  38. data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -8
  39. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -8
  40. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  41. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  44. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  45. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  46. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
  47. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
  48. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  49. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -4
  51. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -8
  52. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -8
  53. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  61. data/docs/PulpAnsibleTagsApi.md +4 -4
  62. data/docs/RemotesCollectionApi.md +12 -12
  63. data/docs/RemotesGitApi.md +12 -12
  64. data/docs/RemotesRoleApi.md +12 -12
  65. data/docs/RepositoriesAnsibleApi.md +11 -11
  66. data/docs/RepositoriesAnsibleVersionsApi.md +12 -12
  67. data/docs/VersionsApi.md +8 -8
  68. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
  69. data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
  70. data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
  71. data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
  72. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +12 -12
  73. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
  74. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +16 -16
  75. data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
  76. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
  77. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
  78. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
  79. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
  80. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
  81. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
  82. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -7
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  95. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -7
  97. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
  98. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
  99. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  107. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  108. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +17 -17
  109. data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
  110. data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
  111. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
  112. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
  113. data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
  114. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +4 -2
  115. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +4 -2
  116. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +4 -2
  117. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +4 -2
  118. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +4 -2
  119. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +17 -3
  120. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +215 -0
  121. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  122. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  123. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -218
  124. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +137 -123
  125. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +4 -2
  126. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -7
  127. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  128. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
  129. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +4 -2
  130. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +4 -2
  131. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +210 -208
  132. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +4 -2
  133. data/lib/pulp_ansible_client/version.rb +1 -1
  134. data/lib/pulp_ansible_client.rb +1 -0
  135. data/spec/api/ansible_collections_api_spec.rb +2 -2
  136. data/spec/api/api_collections_api_spec.rb +2 -2
  137. data/spec/api/api_roles_api_spec.rb +2 -2
  138. data/spec/api/collection_import_api_spec.rb +2 -2
  139. data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
  140. data/spec/api/content_collection_signatures_api_spec.rb +4 -4
  141. data/spec/api/content_collection_versions_api_spec.rb +5 -5
  142. data/spec/api/content_roles_api_spec.rb +4 -4
  143. data/spec/api/distributions_ansible_api_spec.rb +6 -6
  144. data/spec/api/galaxy_detail_api_spec.rb +2 -2
  145. data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
  146. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
  147. data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
  148. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
  149. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
  150. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
  151. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
  152. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
  153. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  154. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
  155. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
  156. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  157. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  158. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  159. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
  160. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
  161. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  162. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
  163. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
  164. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
  165. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
  166. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  167. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
  168. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  169. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  170. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  171. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
  172. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
  173. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  174. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  175. data/spec/api/remotes_collection_api_spec.rb +6 -6
  176. data/spec/api/remotes_git_api_spec.rb +6 -6
  177. data/spec/api/remotes_role_api_spec.rb +6 -6
  178. data/spec/api/repositories_ansible_api_spec.rb +5 -5
  179. data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
  180. data/spec/api/versions_api_spec.rb +4 -4
  181. data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +47 -0
  182. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  183. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  184. data/spec/models/ansible_collection_version_spec.rb +2 -2
  185. data/spec/models/ansible_git_remote_response_spec.rb +20 -14
  186. data/spec/models/ansible_git_remote_spec.rb +19 -19
  187. data/spec/models/ansible_role_remote_response_spec.rb +6 -0
  188. data/spec/models/ansible_role_response_spec.rb +2 -2
  189. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  190. metadata +104 -100
@@ -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] || {}
@@ -25,8 +25,8 @@ module PulpAnsibleClient
25
25
  # @option opts [String] :name
26
26
  # @option opts [String] :namespace
27
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.
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 [Array<CollectionResponse>]
31
31
  def list(opts = {})
32
32
  data, _status_code, _headers = list_with_http_info(opts)
@@ -39,14 +39,14 @@ module PulpAnsibleClient
39
39
  # @option opts [String] :name
40
40
  # @option opts [String] :namespace
41
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.
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<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
45
45
  def list_with_http_info(opts = {})
46
46
  if @api_client.config.debugging
47
47
  @api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsAllApi.list ...'
48
48
  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"]
49
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
50
50
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
51
51
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
52
52
  end
@@ -59,8 +59,8 @@ module PulpAnsibleClient
59
59
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
60
60
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
61
61
  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?
62
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
63
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
64
64
 
65
65
  # header parameters
66
66
  header_params = opts[:header_params] || {}
@@ -93,8 +93,8 @@ module PulpAnsibleClient
93
93
  # @option opts [String] :namespace
94
94
  # @option opts [Integer] :offset The initial index from which to return the results.
95
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.
96
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
97
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
98
  # @return [PaginatedCollectionResponseList]
99
99
  def list(opts = {})
100
100
  data, _status_code, _headers = list_with_http_info(opts)
@@ -109,14 +109,14 @@ module PulpAnsibleClient
109
109
  # @option opts [String] :namespace
110
110
  # @option opts [Integer] :offset The initial index from which to return the results.
111
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.
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.
114
114
  # @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
115
115
  def list_with_http_info(opts = {})
116
116
  if @api_client.config.debugging
117
117
  @api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsApi.list ...'
118
118
  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"]
119
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
120
120
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
121
121
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
122
122
  end
@@ -131,8 +131,8 @@ module PulpAnsibleClient
131
131
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
132
132
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
133
133
  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?
134
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
135
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
136
136
 
137
137
  # header parameters
138
138
  header_params = opts[:header_params] || {}
@@ -171,8 +171,8 @@ module PulpAnsibleClient
171
171
  # @param name [String]
172
172
  # @param namespace [String]
173
173
  # @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.
174
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
175
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
176
176
  # @return [CollectionResponse]
177
177
  def read(name, namespace, opts = {})
178
178
  data, _status_code, _headers = read_with_http_info(name, namespace, opts)
@@ -183,8 +183,8 @@ module PulpAnsibleClient
183
183
  # @param name [String]
184
184
  # @param namespace [String]
185
185
  # @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.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
189
189
  def read_with_http_info(name, namespace, opts = {})
190
190
  if @api_client.config.debugging
@@ -203,8 +203,8 @@ module PulpAnsibleClient
203
203
 
204
204
  # query parameters
205
205
  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?
206
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
207
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
208
208
 
209
209
  # header parameters
210
210
  header_params = opts[:header_params] || {}
@@ -107,8 +107,8 @@ module PulpAnsibleClient
107
107
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
108
108
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
109
109
  # @option opts [String] :version Filter results where version matches value
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.
110
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
111
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [PaginatedCollectionVersionListResponseList]
113
113
  def list(name, namespace, opts = {})
114
114
  data, _status_code, _headers = list_with_http_info(name, namespace, opts)
@@ -131,8 +131,8 @@ module PulpAnsibleClient
131
131
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
132
132
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
133
133
  # @option opts [String] :version Filter results where version matches value
134
- # @option opts [String] :fields A list of fields to include in the response.
135
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
135
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
136
  # @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
137
137
  def list_with_http_info(name, namespace, opts = {})
138
138
  if @api_client.config.debugging
@@ -146,7 +146,7 @@ module PulpAnsibleClient
146
146
  if @api_client.config.client_side_validation && namespace.nil?
147
147
  fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi.list"
148
148
  end
149
- 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"]
149
+ 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"]
150
150
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
151
151
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
152
152
  end
@@ -167,8 +167,8 @@ module PulpAnsibleClient
167
167
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
168
168
  query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
169
169
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
170
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
171
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
170
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
171
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
172
172
 
173
173
  # header parameters
174
174
  header_params = opts[:header_params] || {}
@@ -208,8 +208,8 @@ module PulpAnsibleClient
208
208
  # @param namespace [String]
209
209
  # @param version [String]
210
210
  # @param [Hash] opts the optional parameters
211
- # @option opts [String] :fields A list of fields to include in the response.
212
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
211
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
212
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
213
213
  # @return [CollectionVersionResponse]
214
214
  def read(name, namespace, version, opts = {})
215
215
  data, _status_code, _headers = read_with_http_info(name, namespace, version, opts)
@@ -221,8 +221,8 @@ module PulpAnsibleClient
221
221
  # @param namespace [String]
222
222
  # @param version [String]
223
223
  # @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.
224
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
225
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
226
226
  # @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
227
227
  def read_with_http_info(name, namespace, version, opts = {})
228
228
  if @api_client.config.debugging
@@ -245,8 +245,8 @@ module PulpAnsibleClient
245
245
 
246
246
  # query parameters
247
247
  query_params = opts[:query_params] || {}
248
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
249
- 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?
250
250
 
251
251
  # header parameters
252
252
  header_params = opts[:header_params] || {}
@@ -24,8 +24,8 @@ module PulpAnsibleClient
24
24
  # @param namespace [String]
25
25
  # @param version [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 [CollectionVersionDocsResponse]
30
30
  def read(name, namespace, version, opts = {})
31
31
  data, _status_code, _headers = read_with_http_info(name, namespace, version, opts)
@@ -37,8 +37,8 @@ module PulpAnsibleClient
37
37
  # @param namespace [String]
38
38
  # @param version [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<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
43
43
  def read_with_http_info(name, namespace, version, 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] || {}
@@ -26,8 +26,8 @@ module PulpAnsibleClient
26
26
  # @option opts [String] :name
27
27
  # @option opts [String] :namespace
28
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.
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 [Array<CollectionResponse>]
32
32
  def list(distro_base_path, opts = {})
33
33
  data, _status_code, _headers = list_with_http_info(distro_base_path, opts)
@@ -41,8 +41,8 @@ module PulpAnsibleClient
41
41
  # @option opts [String] :name
42
42
  # @option opts [String] :namespace
43
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.
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<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
47
47
  def list_with_http_info(distro_base_path, opts = {})
48
48
  if @api_client.config.debugging
@@ -52,7 +52,7 @@ module PulpAnsibleClient
52
52
  if @api_client.config.client_side_validation && distro_base_path.nil?
53
53
  fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
54
54
  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"]
55
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
56
56
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
57
57
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
58
58
  end
@@ -65,8 +65,8 @@ module PulpAnsibleClient
65
65
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
66
66
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
67
67
  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?
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?
70
70
 
71
71
  # header parameters
72
72
  header_params = opts[:header_params] || {}
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # Returns paginated CollectionVersions list.
23
23
  # @param distro_base_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(distro_base_path, opts = {})
29
29
  data, _status_code, _headers = list_with_http_info(distro_base_path, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Returns paginated CollectionVersions list.
34
34
  # @param distro_base_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(distro_base_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] || {}
@@ -22,8 +22,8 @@ module PulpAnsibleClient
22
22
  # ViewSet for Repository Metadata.
23
23
  # @param distro_base_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(distro_base_path, opts = {})
29
29
  data, _status_code, _headers = read_with_http_info(distro_base_path, opts)
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # ViewSet for Repository Metadata.
34
34
  # @param distro_base_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(distro_base_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 distro_base_path [String]
24
24
  # @param filename [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 download(distro_base_path, filename, opts = {})
30
30
  download_with_http_info(distro_base_path, filename, opts)
@@ -35,8 +35,8 @@ module PulpAnsibleClient
35
35
  # @param distro_base_path [String]
36
36
  # @param filename [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 download_with_http_info(distro_base_path, filename, 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] || {}
@@ -100,8 +100,8 @@ module PulpAnsibleClient
100
100
  # @option opts [String] :namespace
101
101
  # @option opts [Integer] :offset The initial index from which to return the results.
102
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.
103
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
104
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
105
  # @return [PaginatedCollectionResponseList]
106
106
  def list(distro_base_path, opts = {})
107
107
  data, _status_code, _headers = list_with_http_info(distro_base_path, opts)
@@ -117,8 +117,8 @@ module PulpAnsibleClient
117
117
  # @option opts [String] :namespace
118
118
  # @option opts [Integer] :offset The initial index from which to return the results.
119
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.
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
122
  # @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
123
123
  def list_with_http_info(distro_base_path, opts = {})
124
124
  if @api_client.config.debugging
@@ -128,7 +128,7 @@ module PulpAnsibleClient
128
128
  if @api_client.config.client_side_validation && distro_base_path.nil?
129
129
  fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.list"
130
130
  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"]
131
+ allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
132
132
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
133
133
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
134
134
  end
@@ -143,8 +143,8 @@ module PulpAnsibleClient
143
143
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
144
144
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
145
145
  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?
146
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
148
 
149
149
  # header parameters
150
150
  header_params = opts[:header_params] || {}
@@ -184,8 +184,8 @@ module PulpAnsibleClient
184
184
  # @param name [String]
185
185
  # @param namespace [String]
186
186
  # @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.
187
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
188
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
189
189
  # @return [CollectionResponse]
190
190
  def read(distro_base_path, name, namespace, opts = {})
191
191
  data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, opts)
@@ -197,8 +197,8 @@ module PulpAnsibleClient
197
197
  # @param name [String]
198
198
  # @param namespace [String]
199
199
  # @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.
200
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
201
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
202
202
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
203
203
  def read_with_http_info(distro_base_path, name, namespace, opts = {})
204
204
  if @api_client.config.debugging
@@ -221,8 +221,8 @@ module PulpAnsibleClient
221
221
 
222
222
  # query parameters
223
223
  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?
224
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
225
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
226
226
 
227
227
  # header parameters
228
228
  header_params = opts[:header_params] || {}
@@ -114,8 +114,8 @@ module PulpAnsibleClient
114
114
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
115
115
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
116
116
  # @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.
117
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
118
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
119
119
  # @return [PaginatedCollectionVersionListResponseList]
120
120
  def list(distro_base_path, name, namespace, opts = {})
121
121
  data, _status_code, _headers = list_with_http_info(distro_base_path, name, namespace, opts)
@@ -139,8 +139,8 @@ module PulpAnsibleClient
139
139
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
140
140
  # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
141
141
  # @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.
142
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
143
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
144
144
  # @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
145
145
  def list_with_http_info(distro_base_path, name, namespace, opts = {})
146
146
  if @api_client.config.debugging
@@ -158,7 +158,7 @@ module PulpAnsibleClient
158
158
  if @api_client.config.client_side_validation && namespace.nil?
159
159
  fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
160
160
  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"]
161
+ 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
162
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
163
163
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
164
164
  end
@@ -179,8 +179,8 @@ module PulpAnsibleClient
179
179
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
180
180
  query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
181
181
  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?
182
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
183
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
184
184
 
185
185
  # header parameters
186
186
  header_params = opts[:header_params] || {}
@@ -221,8 +221,8 @@ module PulpAnsibleClient
221
221
  # @param namespace [String]
222
222
  # @param version [String]
223
223
  # @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.
224
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
225
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
226
226
  # @return [CollectionVersionResponse]
227
227
  def read(distro_base_path, name, namespace, version, opts = {})
228
228
  data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, version, opts)
@@ -235,8 +235,8 @@ module PulpAnsibleClient
235
235
  # @param namespace [String]
236
236
  # @param version [String]
237
237
  # @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.
238
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
239
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
240
240
  # @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
241
241
  def read_with_http_info(distro_base_path, name, namespace, version, opts = {})
242
242
  if @api_client.config.debugging
@@ -263,8 +263,8 @@ module PulpAnsibleClient
263
263
 
264
264
  # query parameters
265
265
  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?
266
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
267
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
268
268
 
269
269
  # header parameters
270
270
  header_params = opts[:header_params] || {}