pulp_ansible_client 0.15.5 → 0.16.0

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 +7 -10
  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 +2 -4
  9. data/docs/AnsibleCollectionVersion.md +11 -9
  10. data/docs/AnsibleCollectionVersionResponse.md +23 -23
  11. data/docs/AnsibleCollectionsApi.md +6 -10
  12. data/docs/AnsibleGitRemote.md +30 -30
  13. data/docs/AnsibleGitRemoteResponse.md +26 -28
  14. data/docs/AnsibleRoleRemote.md +2 -2
  15. data/docs/AnsibleRoleRemoteResponse.md +3 -5
  16. data/docs/AnsibleRoleResponse.md +3 -3
  17. data/docs/ApiCollectionsApi.md +4 -4
  18. data/docs/ApiRolesApi.md +4 -4
  19. data/docs/CollectionImportApi.md +4 -4
  20. data/docs/CollectionRefResponse.md +1 -1
  21. data/docs/CollectionResponse.md +6 -6
  22. data/docs/CollectionVersionListResponse.md +1 -1
  23. data/docs/CollectionVersionResponse.md +4 -4
  24. data/docs/ContentCollectionDeprecationsApi.md +10 -14
  25. data/docs/ContentCollectionSignaturesApi.md +12 -16
  26. data/docs/ContentCollectionVersionsApi.md +22 -24
  27. data/docs/ContentRolesApi.md +10 -14
  28. data/docs/DistributionsAnsibleApi.md +14 -22
  29. data/docs/GalaxyCollectionResponse.md +4 -4
  30. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  31. data/docs/GalaxyDetailApi.md +4 -4
  32. data/docs/GalaxyRoleResponse.md +1 -1
  33. data/docs/GalaxyRoleVersionResponse.md +1 -1
  34. data/docs/PatchedansibleAnsibleDistribution.md +1 -1
  35. data/docs/PatchedansibleAnsibleRepository.md +2 -2
  36. data/docs/PatchedansibleCollectionRemote.md +2 -2
  37. data/docs/PatchedansibleGitRemote.md +30 -30
  38. data/docs/PatchedansibleRoleRemote.md +2 -2
  39. data/docs/PulpAnsibleApiApi.md +4 -4
  40. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
  41. data/docs/PulpAnsibleApiV3Api.md +4 -4
  42. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
  43. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
  44. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
  45. data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
  46. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
  47. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  48. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
  49. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
  50. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  51. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  52. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  53. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
  54. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
  55. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  56. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
  57. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
  58. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
  59. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
  60. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  68. data/docs/PulpAnsibleTagsApi.md +4 -4
  69. data/docs/RemotesCollectionApi.md +14 -18
  70. data/docs/RemotesGitApi.md +14 -18
  71. data/docs/RemotesRoleApi.md +14 -18
  72. data/docs/RepositoriesAnsibleApi.md +13 -33
  73. data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
  74. data/docs/RepositoryAddRemoveContent.md +2 -2
  75. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  76. data/docs/VersionsApi.md +8 -8
  77. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
  78. data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
  79. data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
  80. data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
  81. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
  82. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
  83. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
  84. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
  85. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
  86. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  100. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  101. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
  102. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
  103. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  116. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  117. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
  118. data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
  119. data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
  120. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
  121. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
  122. data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
  123. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
  124. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
  125. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
  126. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
  127. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
  128. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
  129. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
  130. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
  131. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
  132. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
  133. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
  134. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
  135. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  136. data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
  137. data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
  138. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
  139. data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
  140. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
  141. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
  142. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
  143. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
  144. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
  145. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
  146. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
  147. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
  148. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
  149. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  150. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
  151. data/lib/pulp_ansible_client/version.rb +1 -1
  152. data/lib/pulp_ansible_client.rb +0 -1
  153. data/spec/api/ansible_collections_api_spec.rb +3 -5
  154. data/spec/api/api_collections_api_spec.rb +2 -2
  155. data/spec/api/api_roles_api_spec.rb +2 -2
  156. data/spec/api/collection_import_api_spec.rb +2 -2
  157. data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
  158. data/spec/api/content_collection_signatures_api_spec.rb +5 -7
  159. data/spec/api/content_collection_versions_api_spec.rb +10 -11
  160. data/spec/api/content_roles_api_spec.rb +5 -7
  161. data/spec/api/distributions_ansible_api_spec.rb +7 -11
  162. data/spec/api/galaxy_detail_api_spec.rb +2 -2
  163. data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
  164. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
  165. data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
  166. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
  167. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
  168. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
  169. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
  170. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
  171. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  172. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
  173. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
  174. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  175. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  176. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  177. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
  178. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
  179. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  180. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
  181. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
  182. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
  183. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
  184. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
  186. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  188. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  189. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
  190. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
  191. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  192. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  193. data/spec/api/remotes_collection_api_spec.rb +7 -9
  194. data/spec/api/remotes_git_api_spec.rb +7 -9
  195. data/spec/api/remotes_role_api_spec.rb +7 -9
  196. data/spec/api/repositories_ansible_api_spec.rb +6 -16
  197. data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
  198. data/spec/api/versions_api_spec.rb +4 -4
  199. data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
  200. data/spec/models/ansible_collection_version_response_spec.rb +7 -7
  201. data/spec/models/ansible_collection_version_spec.rb +12 -6
  202. data/spec/models/ansible_git_remote_response_spec.rb +16 -22
  203. data/spec/models/ansible_git_remote_spec.rb +19 -19
  204. data/spec/models/ansible_role_remote_response_spec.rb +0 -6
  205. data/spec/models/ansible_role_response_spec.rb +3 -3
  206. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  207. metadata +102 -106
  208. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
  209. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
  210. data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -90,15 +90,13 @@ module PulpAnsibleClient
90
90
  # @option opts [String] :name Filter results where name matches value
91
91
  # @option opts [String] :namespace Filter results where namespace matches value
92
92
  # @option opts [Integer] :offset The initial index from which to return the results.
93
- # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
94
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
95
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
93
+ # @option opts [Array<String>] :ordering Ordering
96
94
  # @option opts [String] :repository_version Repository Version referenced by HREF
97
95
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
98
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
99
97
  # @option opts [String] :version Filter results where version matches value
100
- # @option opts [Array<String>] :fields A list of fields to include in the response.
101
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
+ # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
100
  # @return [PaginatedansibleRoleResponseList]
103
101
  def list(opts = {})
104
102
  data, _status_code, _headers = list_with_http_info(opts)
@@ -112,21 +110,19 @@ module PulpAnsibleClient
112
110
  # @option opts [String] :name Filter results where name matches value
113
111
  # @option opts [String] :namespace Filter results where namespace matches value
114
112
  # @option opts [Integer] :offset The initial index from which to return the results.
115
- # @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;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
116
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
117
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
113
+ # @option opts [Array<String>] :ordering Ordering
118
114
  # @option opts [String] :repository_version Repository Version referenced by HREF
119
115
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
120
116
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
121
117
  # @option opts [String] :version Filter results where version matches value
122
- # @option opts [Array<String>] :fields A list of fields to include in the response.
123
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
+ # @option opts [String] :fields A list of fields to include in the response.
119
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
124
120
  # @return [Array<(PaginatedansibleRoleResponseList, Integer, Hash)>] PaginatedansibleRoleResponseList data, response status code and response headers
125
121
  def list_with_http_info(opts = {})
126
122
  if @api_client.config.debugging
127
123
  @api_client.config.logger.debug 'Calling API: ContentRolesApi.list ...'
128
124
  end
129
- allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
125
+ allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-download_logs", "-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "download_logs", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
130
126
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
131
127
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
132
128
  end
@@ -140,14 +136,12 @@ module PulpAnsibleClient
140
136
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
141
137
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
142
138
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
143
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
144
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
145
139
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
146
140
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
147
141
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
148
142
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
149
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
143
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
144
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
151
145
 
152
146
  # header parameters
153
147
  header_params = opts[:header_params] || {}
@@ -186,8 +180,8 @@ module PulpAnsibleClient
186
180
  # ViewSet for Role.
187
181
  # @param ansible_role_href [String]
188
182
  # @param [Hash] opts the optional parameters
189
- # @option opts [Array<String>] :fields A list of fields to include in the response.
190
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
183
+ # @option opts [String] :fields A list of fields to include in the response.
184
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
191
185
  # @return [AnsibleRoleResponse]
192
186
  def read(ansible_role_href, opts = {})
193
187
  data, _status_code, _headers = read_with_http_info(ansible_role_href, opts)
@@ -198,8 +192,8 @@ module PulpAnsibleClient
198
192
  # ViewSet for Role.
199
193
  # @param ansible_role_href [String]
200
194
  # @param [Hash] opts the optional parameters
201
- # @option opts [Array<String>] :fields A list of fields to include in the response.
202
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
195
+ # @option opts [String] :fields A list of fields to include in the response.
196
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
203
197
  # @return [Array<(AnsibleRoleResponse, Integer, Hash)>] AnsibleRoleResponse data, response status code and response headers
204
198
  def read_with_http_info(ansible_role_href, opts = {})
205
199
  if @api_client.config.debugging
@@ -214,8 +208,8 @@ module PulpAnsibleClient
214
208
 
215
209
  # query parameters
216
210
  query_params = opts[:query_params] || {}
217
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
218
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
211
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
212
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
219
213
 
220
214
  # header parameters
221
215
  header_params = opts[:header_params] || {}
@@ -148,26 +148,22 @@ module PulpAnsibleClient
148
148
  # List ansible distributions
149
149
  # ViewSet for Ansible Distributions.
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :base_path Filter results where base_path matches value
151
+ # @option opts [String] :base_path
152
152
  # @option opts [String] :base_path__contains Filter results where base_path contains value
153
153
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
154
154
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
155
155
  # @option opts [Integer] :limit Number of results to return per page.
156
- # @option opts [String] :name Filter results where name matches value
156
+ # @option opts [String] :name
157
157
  # @option opts [String] :name__contains Filter results where name contains value
158
158
  # @option opts [String] :name__icontains Filter results where name contains value
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
160
160
  # @option opts [String] :name__startswith Filter results where name starts with value
161
161
  # @option opts [Integer] :offset The initial index from which to return the results.
162
- # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
163
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
164
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
162
+ # @option opts [Array<String>] :ordering Ordering
165
163
  # @option opts [String] :pulp_label_select Filter labels by search string
166
- # @option opts [String] :repository Filter results where repository matches value
167
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
168
164
  # @option opts [String] :with_content Filter distributions based on the content served by them
169
- # @option opts [Array<String>] :fields A list of fields to include in the response.
170
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
165
+ # @option opts [String] :fields A list of fields to include in the response.
166
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
171
167
  # @return [PaginatedansibleAnsibleDistributionResponseList]
172
168
  def list(opts = {})
173
169
  data, _status_code, _headers = list_with_http_info(opts)
@@ -177,32 +173,28 @@ module PulpAnsibleClient
177
173
  # List ansible distributions
178
174
  # ViewSet for Ansible Distributions.
179
175
  # @param [Hash] opts the optional parameters
180
- # @option opts [String] :base_path Filter results where base_path matches value
176
+ # @option opts [String] :base_path
181
177
  # @option opts [String] :base_path__contains Filter results where base_path contains value
182
178
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
183
179
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
184
180
  # @option opts [Integer] :limit Number of results to return per page.
185
- # @option opts [String] :name Filter results where name matches value
181
+ # @option opts [String] :name
186
182
  # @option opts [String] :name__contains Filter results where name contains value
187
183
  # @option opts [String] :name__icontains Filter results where name contains value
188
184
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
189
185
  # @option opts [String] :name__startswith Filter results where name starts with value
190
186
  # @option opts [Integer] :offset The initial index from which to return the results.
191
- # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
192
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
193
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
187
+ # @option opts [Array<String>] :ordering Ordering
194
188
  # @option opts [String] :pulp_label_select Filter labels by search string
195
- # @option opts [String] :repository Filter results where repository matches value
196
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
197
189
  # @option opts [String] :with_content Filter distributions based on the content served by them
198
- # @option opts [Array<String>] :fields A list of fields to include in the response.
199
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
190
+ # @option opts [String] :fields A list of fields to include in the response.
191
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
200
192
  # @return [Array<(PaginatedansibleAnsibleDistributionResponseList, Integer, Hash)>] PaginatedansibleAnsibleDistributionResponseList data, response status code and response headers
201
193
  def list_with_http_info(opts = {})
202
194
  if @api_client.config.debugging
203
195
  @api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list ...'
204
196
  end
205
- allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
197
+ allowable_values = ["-ansible_ansibledistribution", "-base_path", "-content_guard", "-group_roles", "-name", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "ansible_ansibledistribution", "base_path", "content_guard", "group_roles", "name", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
206
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
207
199
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
208
200
  end
@@ -223,14 +215,10 @@ module PulpAnsibleClient
223
215
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
224
216
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
225
217
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
226
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
227
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
228
218
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
229
- query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
230
- query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
231
219
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
232
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
233
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
220
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
221
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
234
222
 
235
223
  # header parameters
236
224
  header_params = opts[:header_params] || {}
@@ -339,8 +327,8 @@ module PulpAnsibleClient
339
327
  # ViewSet for Ansible Distributions.
340
328
  # @param ansible_ansible_distribution_href [String]
341
329
  # @param [Hash] opts the optional parameters
342
- # @option opts [Array<String>] :fields A list of fields to include in the response.
343
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
330
+ # @option opts [String] :fields A list of fields to include in the response.
331
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
344
332
  # @return [AnsibleAnsibleDistributionResponse]
345
333
  def read(ansible_ansible_distribution_href, opts = {})
346
334
  data, _status_code, _headers = read_with_http_info(ansible_ansible_distribution_href, opts)
@@ -351,8 +339,8 @@ module PulpAnsibleClient
351
339
  # ViewSet for Ansible Distributions.
352
340
  # @param ansible_ansible_distribution_href [String]
353
341
  # @param [Hash] opts the optional parameters
354
- # @option opts [Array<String>] :fields A list of fields to include in the response.
355
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
342
+ # @option opts [String] :fields A list of fields to include in the response.
343
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
356
344
  # @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
357
345
  def read_with_http_info(ansible_ansible_distribution_href, opts = {})
358
346
  if @api_client.config.debugging
@@ -367,8 +355,8 @@ module PulpAnsibleClient
367
355
 
368
356
  # query parameters
369
357
  query_params = opts[:query_params] || {}
370
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
371
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
358
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
359
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
372
360
 
373
361
  # header parameters
374
362
  header_params = opts[:header_params] || {}
@@ -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 [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.
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.
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 [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.
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.
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'] = @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?
52
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [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.
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.
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 [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.
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.
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'] = @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?
52
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [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.
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.
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 [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.
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.
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'] = @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?
70
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [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.
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.
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 [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.
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.
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'] = @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?
52
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [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.
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.
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 [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.
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.
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'] = @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?
58
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
59
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [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.
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.
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 [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.
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.
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'] = @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?
52
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
53
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
54
54
 
55
55
  # header parameters
56
56
  header_params = opts[:header_params] || {}
@@ -25,11 +25,9 @@ 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 * &#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.
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.
33
31
  # @return [Array<CollectionResponse>]
34
32
  def list(path, opts = {})
35
33
  data, _status_code, _headers = list_with_http_info(path, opts)
@@ -42,11 +40,9 @@ module PulpAnsibleClient
42
40
  # @option opts [Boolean] :deprecated
43
41
  # @option opts [String] :name
44
42
  # @option opts [String] :namespace
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.
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.
50
46
  # @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
51
47
  def list_with_http_info(path, opts = {})
52
48
  if @api_client.config.debugging
@@ -56,7 +52,7 @@ module PulpAnsibleClient
56
52
  if @api_client.config.client_side_validation && path.nil?
57
53
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsAllApi.list"
58
54
  end
59
- allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
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"]
60
56
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
61
57
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
62
58
  end
@@ -69,10 +65,8 @@ module PulpAnsibleClient
69
65
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
70
66
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
71
67
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].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?
68
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
69
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
76
70
 
77
71
  # header parameters
78
72
  header_params = opts[:header_params] || {}
@@ -99,11 +99,9 @@ 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 * &#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.
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.
107
105
  # @return [PaginatedCollectionResponseList]
108
106
  def list(path, opts = {})
109
107
  data, _status_code, _headers = list_with_http_info(path, opts)
@@ -118,11 +116,9 @@ module PulpAnsibleClient
118
116
  # @option opts [String] :name
119
117
  # @option opts [String] :namespace
120
118
  # @option opts [Integer] :offset The initial index from which to return the results.
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.
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.
126
122
  # @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
127
123
  def list_with_http_info(path, opts = {})
128
124
  if @api_client.config.debugging
@@ -132,7 +128,7 @@ module PulpAnsibleClient
132
128
  if @api_client.config.client_side_validation && path.nil?
133
129
  fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsApi.list"
134
130
  end
135
- allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
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"]
136
132
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
137
133
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
138
134
  end
@@ -147,10 +143,8 @@ module PulpAnsibleClient
147
143
  query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
148
144
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
149
145
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].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?
146
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
147
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
154
148
 
155
149
  # header parameters
156
150
  header_params = opts[:header_params] || {}
@@ -190,8 +184,8 @@ module PulpAnsibleClient
190
184
  # @param namespace [String]
191
185
  # @param path [String]
192
186
  # @param [Hash] opts the optional parameters
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.
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.
195
189
  # @return [CollectionResponse]
196
190
  def read(name, namespace, path, opts = {})
197
191
  data, _status_code, _headers = read_with_http_info(name, namespace, path, opts)
@@ -203,8 +197,8 @@ module PulpAnsibleClient
203
197
  # @param namespace [String]
204
198
  # @param path [String]
205
199
  # @param [Hash] opts the optional parameters
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.
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.
208
202
  # @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
209
203
  def read_with_http_info(name, namespace, path, opts = {})
210
204
  if @api_client.config.debugging
@@ -227,8 +221,8 @@ module PulpAnsibleClient
227
221
 
228
222
  # query parameters
229
223
  query_params = opts[:query_params] || {}
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?
224
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
225
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
232
226
 
233
227
  # header parameters
234
228
  header_params = opts[:header_params] || {}