pulp_ansible_client 0.16.3 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -22
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +230 -6
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +4 -2
- data/docs/CollectionVersionResponse.md +6 -4
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +2 -6
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +2 -6
- data/docs/ContentCollectionVersionsApi.md +6 -10
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +2 -6
- data/docs/DistributionsAnsibleApi.md +230 -6
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NamespaceLink.md +19 -0
- data/docs/NamespaceLinkResponse.md +19 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PaginatedCollectionVersionSearchListResponseList.md +21 -0
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +23 -0
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +23 -0
- data/docs/PatchedansibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/PatchedansibleAnsibleRepository.md +3 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/RemotesCollectionApi.md +238 -6
- data/docs/RemotesGitApi.md +230 -6
- data/docs/RemotesRoleApi.md +230 -6
- data/docs/RepositoriesAnsibleApi.md +450 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
- data/docs/Repository.md +25 -0
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +6 -4
- data/docs/VersionsApi.md +10 -10
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +270 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +8 -14
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +270 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +209 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +8 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +531 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb +229 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +197 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +501 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +217 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +283 -9
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +270 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +270 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +542 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +359 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +402 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +23 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark.rb +258 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark_response.rb +268 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +243 -243
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +13 -4
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +359 -0
- data/lib/pulp_ansible_client/models/collection_version_copy_move.rb +242 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +16 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -5
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +279 -0
- data/lib/pulp_ansible_client/models/collection_version_search_list_response.rb +287 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_ansible_client/models/namespace_link.rb +282 -0
- data/lib/pulp_ansible_client/models/namespace_link_response.rb +264 -0
- data/lib/pulp_ansible_client/models/nested_role.rb +253 -0
- data/lib/pulp_ansible_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_ansible_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_ansible_client/models/paginated_collection_version_search_list_response_list.rb +226 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +350 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +14 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +234 -234
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/repository.rb +306 -0
- data/lib/pulp_ansible_client/models/repository_response.rb +309 -0
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +12 -5
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +32 -0
- data/spec/api/ansible_collections_api_spec.rb +51 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -5
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +51 -3
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +77 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +131 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +83 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +75 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +126 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +81 -0
- data/spec/api/remotes_collection_api_spec.rb +55 -3
- data/spec/api/remotes_git_api_spec.rb +51 -3
- data/spec/api/remotes_role_api_spec.rb +51 -3
- data/spec/api/repositories_ansible_api_spec.rb +99 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_ansible_namespace_metadata_response_spec.rb +95 -0
- data/spec/models/ansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_mark_response_spec.rb +59 -0
- data/spec/models/ansible_collection_version_mark_spec.rb +47 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/collection_namespace_response_spec.rb +6 -0
- data/spec/models/collection_summary_response_spec.rb +95 -0
- data/spec/models/collection_version_copy_move_spec.rb +53 -0
- data/spec/models/collection_version_list_response_spec.rb +6 -0
- data/spec/models/collection_version_response_spec.rb +6 -0
- data/spec/models/collection_version_search_list_response_spec.rb +77 -0
- data/spec/models/collection_version_search_list_spec.rb +71 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/namespace_link_response_spec.rb +47 -0
- data/spec/models/namespace_link_spec.rb +47 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/paginated_collection_version_search_list_response_list_spec.rb +53 -0
- data/spec/models/paginatedansible_ansible_namespace_metadata_response_list_spec.rb +59 -0
- data/spec/models/paginatedansible_collection_version_mark_response_list_spec.rb +59 -0
- data/spec/models/patchedansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/repository_response_spec.rb +89 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- data/spec/models/unpaginated_collection_version_response_spec.rb +6 -0
- metadata +230 -102
@@ -90,9 +90,7 @@ 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
|
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
|
@@ -112,9 +110,7 @@ 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
|
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
|
@@ -140,8 +136,6 @@ 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?
|
@@ -19,6 +19,74 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Add a role for this object to users/groups.
|
23
|
+
# @param ansible_ansible_distribution_href [String]
|
24
|
+
# @param nested_role [NestedRole]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [NestedRoleResponse]
|
27
|
+
def add_role(ansible_ansible_distribution_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = add_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Add a role for this object to users/groups.
|
33
|
+
# @param ansible_ansible_distribution_href [String]
|
34
|
+
# @param nested_role [NestedRole]
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
37
|
+
def add_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.add_role ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
42
|
+
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.add_role"
|
44
|
+
end
|
45
|
+
# verify the required parameter 'nested_role' is set
|
46
|
+
if @api_client.config.client_side_validation && nested_role.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsAnsibleApi.add_role"
|
48
|
+
end
|
49
|
+
# resource path
|
50
|
+
local_var_path = '{ansible_ansible_distribution_href}add_role/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
51
|
+
|
52
|
+
# query parameters
|
53
|
+
query_params = opts[:query_params] || {}
|
54
|
+
|
55
|
+
# header parameters
|
56
|
+
header_params = opts[:header_params] || {}
|
57
|
+
# HTTP header 'Accept' (if needed)
|
58
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
59
|
+
# HTTP header 'Content-Type'
|
60
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
61
|
+
|
62
|
+
# form parameters
|
63
|
+
form_params = opts[:form_params] || {}
|
64
|
+
|
65
|
+
# http body (model)
|
66
|
+
post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
|
67
|
+
|
68
|
+
# return_type
|
69
|
+
return_type = opts[:return_type] || 'NestedRoleResponse'
|
70
|
+
|
71
|
+
# auth_names
|
72
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
73
|
+
|
74
|
+
new_options = opts.merge(
|
75
|
+
:header_params => header_params,
|
76
|
+
:query_params => query_params,
|
77
|
+
:form_params => form_params,
|
78
|
+
:body => post_body,
|
79
|
+
:auth_names => auth_names,
|
80
|
+
:return_type => return_type
|
81
|
+
)
|
82
|
+
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
84
|
+
if @api_client.config.debugging
|
85
|
+
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
|
+
end
|
87
|
+
return data, status_code, headers
|
88
|
+
end
|
89
|
+
|
22
90
|
# Create an ansible distribution
|
23
91
|
# Trigger an asynchronous create task
|
24
92
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
@@ -159,9 +227,7 @@ module PulpAnsibleClient
|
|
159
227
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
229
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @option opts [Array<String>] :ordering Ordering
|
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.
|
230
|
+
# @option opts [Array<String>] :ordering Ordering
|
165
231
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
166
232
|
# @option opts [String] :repository Filter results where repository matches value
|
167
233
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
@@ -188,9 +254,7 @@ module PulpAnsibleClient
|
|
188
254
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
189
255
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
256
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
|
-
# @option opts [Array<String>] :ordering Ordering
|
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.
|
257
|
+
# @option opts [Array<String>] :ordering Ordering
|
194
258
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
195
259
|
# @option opts [String] :repository Filter results where repository matches value
|
196
260
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
@@ -223,8 +287,6 @@ module PulpAnsibleClient
|
|
223
287
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
224
288
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
225
289
|
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
290
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
229
291
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
230
292
|
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
@@ -265,6 +327,138 @@ module PulpAnsibleClient
|
|
265
327
|
return data, status_code, headers
|
266
328
|
end
|
267
329
|
|
330
|
+
# List roles assigned to this object.
|
331
|
+
# @param ansible_ansible_distribution_href [String]
|
332
|
+
# @param [Hash] opts the optional parameters
|
333
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
|
+
# @return [ObjectRolesResponse]
|
336
|
+
def list_roles(ansible_ansible_distribution_href, opts = {})
|
337
|
+
data, _status_code, _headers = list_roles_with_http_info(ansible_ansible_distribution_href, opts)
|
338
|
+
data
|
339
|
+
end
|
340
|
+
|
341
|
+
# List roles assigned to this object.
|
342
|
+
# @param ansible_ansible_distribution_href [String]
|
343
|
+
# @param [Hash] opts the optional parameters
|
344
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
|
+
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
347
|
+
def list_roles_with_http_info(ansible_ansible_distribution_href, opts = {})
|
348
|
+
if @api_client.config.debugging
|
349
|
+
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list_roles ...'
|
350
|
+
end
|
351
|
+
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
352
|
+
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
353
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.list_roles"
|
354
|
+
end
|
355
|
+
# resource path
|
356
|
+
local_var_path = '{ansible_ansible_distribution_href}list_roles/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
357
|
+
|
358
|
+
# query parameters
|
359
|
+
query_params = opts[:query_params] || {}
|
360
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
361
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
362
|
+
|
363
|
+
# header parameters
|
364
|
+
header_params = opts[:header_params] || {}
|
365
|
+
# HTTP header 'Accept' (if needed)
|
366
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
367
|
+
|
368
|
+
# form parameters
|
369
|
+
form_params = opts[:form_params] || {}
|
370
|
+
|
371
|
+
# http body (model)
|
372
|
+
post_body = opts[:body]
|
373
|
+
|
374
|
+
# return_type
|
375
|
+
return_type = opts[:return_type] || 'ObjectRolesResponse'
|
376
|
+
|
377
|
+
# auth_names
|
378
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
379
|
+
|
380
|
+
new_options = opts.merge(
|
381
|
+
:header_params => header_params,
|
382
|
+
:query_params => query_params,
|
383
|
+
:form_params => form_params,
|
384
|
+
:body => post_body,
|
385
|
+
:auth_names => auth_names,
|
386
|
+
:return_type => return_type
|
387
|
+
)
|
388
|
+
|
389
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
390
|
+
if @api_client.config.debugging
|
391
|
+
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
392
|
+
end
|
393
|
+
return data, status_code, headers
|
394
|
+
end
|
395
|
+
|
396
|
+
# List permissions available to the current user on this object.
|
397
|
+
# @param ansible_ansible_distribution_href [String]
|
398
|
+
# @param [Hash] opts the optional parameters
|
399
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
400
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
401
|
+
# @return [MyPermissionsResponse]
|
402
|
+
def my_permissions(ansible_ansible_distribution_href, opts = {})
|
403
|
+
data, _status_code, _headers = my_permissions_with_http_info(ansible_ansible_distribution_href, opts)
|
404
|
+
data
|
405
|
+
end
|
406
|
+
|
407
|
+
# List permissions available to the current user on this object.
|
408
|
+
# @param ansible_ansible_distribution_href [String]
|
409
|
+
# @param [Hash] opts the optional parameters
|
410
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
411
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
412
|
+
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
413
|
+
def my_permissions_with_http_info(ansible_ansible_distribution_href, opts = {})
|
414
|
+
if @api_client.config.debugging
|
415
|
+
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.my_permissions ...'
|
416
|
+
end
|
417
|
+
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
418
|
+
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
419
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.my_permissions"
|
420
|
+
end
|
421
|
+
# resource path
|
422
|
+
local_var_path = '{ansible_ansible_distribution_href}my_permissions/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
423
|
+
|
424
|
+
# query parameters
|
425
|
+
query_params = opts[:query_params] || {}
|
426
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
427
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
428
|
+
|
429
|
+
# header parameters
|
430
|
+
header_params = opts[:header_params] || {}
|
431
|
+
# HTTP header 'Accept' (if needed)
|
432
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
433
|
+
|
434
|
+
# form parameters
|
435
|
+
form_params = opts[:form_params] || {}
|
436
|
+
|
437
|
+
# http body (model)
|
438
|
+
post_body = opts[:body]
|
439
|
+
|
440
|
+
# return_type
|
441
|
+
return_type = opts[:return_type] || 'MyPermissionsResponse'
|
442
|
+
|
443
|
+
# auth_names
|
444
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
445
|
+
|
446
|
+
new_options = opts.merge(
|
447
|
+
:header_params => header_params,
|
448
|
+
:query_params => query_params,
|
449
|
+
:form_params => form_params,
|
450
|
+
:body => post_body,
|
451
|
+
:auth_names => auth_names,
|
452
|
+
:return_type => return_type
|
453
|
+
)
|
454
|
+
|
455
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
456
|
+
if @api_client.config.debugging
|
457
|
+
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
458
|
+
end
|
459
|
+
return data, status_code, headers
|
460
|
+
end
|
461
|
+
|
268
462
|
# Update an ansible distribution
|
269
463
|
# Trigger an asynchronous partial update task
|
270
464
|
# @param ansible_ansible_distribution_href [String]
|
@@ -403,6 +597,74 @@ module PulpAnsibleClient
|
|
403
597
|
return data, status_code, headers
|
404
598
|
end
|
405
599
|
|
600
|
+
# Remove a role for this object from users/groups.
|
601
|
+
# @param ansible_ansible_distribution_href [String]
|
602
|
+
# @param nested_role [NestedRole]
|
603
|
+
# @param [Hash] opts the optional parameters
|
604
|
+
# @return [NestedRoleResponse]
|
605
|
+
def remove_role(ansible_ansible_distribution_href, nested_role, opts = {})
|
606
|
+
data, _status_code, _headers = remove_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts)
|
607
|
+
data
|
608
|
+
end
|
609
|
+
|
610
|
+
# Remove a role for this object from users/groups.
|
611
|
+
# @param ansible_ansible_distribution_href [String]
|
612
|
+
# @param nested_role [NestedRole]
|
613
|
+
# @param [Hash] opts the optional parameters
|
614
|
+
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
615
|
+
def remove_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts = {})
|
616
|
+
if @api_client.config.debugging
|
617
|
+
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.remove_role ...'
|
618
|
+
end
|
619
|
+
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
620
|
+
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
621
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.remove_role"
|
622
|
+
end
|
623
|
+
# verify the required parameter 'nested_role' is set
|
624
|
+
if @api_client.config.client_side_validation && nested_role.nil?
|
625
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsAnsibleApi.remove_role"
|
626
|
+
end
|
627
|
+
# resource path
|
628
|
+
local_var_path = '{ansible_ansible_distribution_href}remove_role/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
629
|
+
|
630
|
+
# query parameters
|
631
|
+
query_params = opts[:query_params] || {}
|
632
|
+
|
633
|
+
# header parameters
|
634
|
+
header_params = opts[:header_params] || {}
|
635
|
+
# HTTP header 'Accept' (if needed)
|
636
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
637
|
+
# HTTP header 'Content-Type'
|
638
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
639
|
+
|
640
|
+
# form parameters
|
641
|
+
form_params = opts[:form_params] || {}
|
642
|
+
|
643
|
+
# http body (model)
|
644
|
+
post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
|
645
|
+
|
646
|
+
# return_type
|
647
|
+
return_type = opts[:return_type] || 'NestedRoleResponse'
|
648
|
+
|
649
|
+
# auth_names
|
650
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
651
|
+
|
652
|
+
new_options = opts.merge(
|
653
|
+
:header_params => header_params,
|
654
|
+
:query_params => query_params,
|
655
|
+
:form_params => form_params,
|
656
|
+
:body => post_body,
|
657
|
+
:auth_names => auth_names,
|
658
|
+
:return_type => return_type
|
659
|
+
)
|
660
|
+
|
661
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
662
|
+
if @api_client.config.debugging
|
663
|
+
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
664
|
+
end
|
665
|
+
return data, status_code, headers
|
666
|
+
end
|
667
|
+
|
406
668
|
# Update an ansible distribution
|
407
669
|
# Trigger an asynchronous update task
|
408
670
|
# @param ansible_ansible_distribution_href [String]
|
@@ -25,9 +25,7 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Boolean] :deprecated
|
26
26
|
# @option opts [String] :name
|
27
27
|
# @option opts [String] :namespace
|
28
|
-
# @option opts [Array<String>] :ordering Ordering
|
29
|
-
# @option opts [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.
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
31
29
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
30
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
31
|
# @return [Array<CollectionResponse>]
|
@@ -42,9 +40,7 @@ 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
|
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.
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
48
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
45
|
# @option opts [Array<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
|
@@ -69,8 +65,6 @@ 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
68
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
75
69
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
76
70
|
|
@@ -99,9 +99,7 @@ module PulpAnsibleClient
|
|
99
99
|
# @option opts [String] :name
|
100
100
|
# @option opts [String] :namespace
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
-
# @option opts [Array<String>] :ordering Ordering
|
103
|
-
# @option opts [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.
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
105
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
105
|
# @return [PaginatedCollectionResponseList]
|
@@ -118,9 +116,7 @@ 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
|
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.
|
119
|
+
# @option opts [Array<String>] :ordering Ordering
|
124
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
121
|
# @option opts [Array<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
|
@@ -147,8 +143,6 @@ 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
146
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
153
147
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
154
148
|
|
@@ -107,9 +107,7 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
111
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
110
|
+
# @option opts [Array<String>] :ordering Ordering
|
113
111
|
# @option opts [String] :q
|
114
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -134,9 +132,7 @@ module PulpAnsibleClient
|
|
134
132
|
# @option opts [String] :name2
|
135
133
|
# @option opts [String] :namespace2
|
136
134
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @option opts [Array<String>] :ordering Ordering
|
138
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
135
|
+
# @option opts [Array<String>] :ordering Ordering
|
140
136
|
# @option opts [String] :q
|
141
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
142
138
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -177,8 +173,6 @@ module PulpAnsibleClient
|
|
177
173
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
178
174
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
179
175
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
180
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
181
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
182
176
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
183
177
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
184
178
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|