pulp_ansible_client 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +4 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -22
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +4 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +8 -8
- data/docs/ContentCollectionSignaturesApi.md +10 -10
- data/docs/ContentCollectionVersionsApi.md +10 -10
- data/docs/ContentRolesApi.md +8 -8
- data/docs/DistributionsAnsibleApi.md +12 -12
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +12 -12
- data/docs/RemotesGitApi.md +12 -12
- data/docs/RemotesRoleApi.md +12 -12
- data/docs/RepositoriesAnsibleApi.md +11 -11
- data/docs/RepositoriesAnsibleVersionsApi.md +12 -12
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +12 -12
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +16 -16
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +17 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +137 -123
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -7
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +210 -208
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +4 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -0
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +5 -5
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +6 -6
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +6 -6
- data/spec/api/remotes_git_api_spec.rb +6 -6
- data/spec/api/remotes_role_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_api_spec.rb +5 -5
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +20 -14
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +104 -100
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
|
25
25
|
# @param namespace [String]
|
|
26
26
|
# @param version [String]
|
|
27
27
|
# @param [Hash] opts the optional parameters
|
|
28
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
29
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
28
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
29
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
30
30
|
# @return [CollectionVersionDocsResponse]
|
|
31
31
|
def read(distro_base_path, name, namespace, version, opts = {})
|
|
32
32
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, version, opts)
|
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
|
39
39
|
# @param namespace [String]
|
|
40
40
|
# @param version [String]
|
|
41
41
|
# @param [Hash] opts the optional parameters
|
|
42
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
43
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
42
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
43
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
44
44
|
# @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
|
45
45
|
def read_with_http_info(distro_base_path, name, namespace, version, opts = {})
|
|
46
46
|
if @api_client.config.debugging
|
|
@@ -67,8 +67,8 @@ module PulpAnsibleClient
|
|
|
67
67
|
|
|
68
68
|
# query parameters
|
|
69
69
|
query_params = opts[:query_params] || {}
|
|
70
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
71
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
70
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
71
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
72
72
|
|
|
73
73
|
# header parameters
|
|
74
74
|
header_params = opts[:header_params] || {}
|
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
27
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
28
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
27
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
28
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
29
29
|
# @return [PaginatedTagResponseList]
|
|
30
30
|
def list(opts = {})
|
|
31
31
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
39
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
40
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
41
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
40
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
41
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
42
42
|
# @return [Array<(PaginatedTagResponseList, Integer, Hash)>] PaginatedTagResponseList data, response status code and response headers
|
|
43
43
|
def list_with_http_info(opts = {})
|
|
44
44
|
if @api_client.config.debugging
|
|
@@ -51,8 +51,8 @@ module PulpAnsibleClient
|
|
|
51
51
|
query_params = opts[:query_params] || {}
|
|
52
52
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
53
53
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
54
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
55
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
54
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
55
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
56
56
|
|
|
57
57
|
# header parameters
|
|
58
58
|
header_params = opts[:header_params] || {}
|
|
@@ -149,7 +149,7 @@ module PulpAnsibleClient
|
|
|
149
149
|
# ViewSet for Collection Remotes.
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
152
|
-
# @option opts [String] :name
|
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -157,14 +157,14 @@ module PulpAnsibleClient
|
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
160
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
166
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
167
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
166
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
167
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
168
168
|
# @return [PaginatedansibleCollectionRemoteResponseList]
|
|
169
169
|
def list(opts = {})
|
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
|
175
175
|
# ViewSet for Collection Remotes.
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
178
|
-
# @option opts [String] :name
|
|
178
|
+
# @option opts [String] :name Filter results where name matches value
|
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -183,20 +183,20 @@ module PulpAnsibleClient
|
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
186
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
194
194
|
# @return [Array<(PaginatedansibleCollectionRemoteResponseList, Integer, Hash)>] PaginatedansibleCollectionRemoteResponseList data, response status code and response headers
|
|
195
195
|
def list_with_http_info(opts = {})
|
|
196
196
|
if @api_client.config.debugging
|
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
|
198
198
|
end
|
|
199
|
-
allowable_values = ["-
|
|
199
|
+
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
202
202
|
end
|
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
|
222
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
|
223
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
223
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
224
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
225
225
|
|
|
226
226
|
# header parameters
|
|
227
227
|
header_params = opts[:header_params] || {}
|
|
@@ -330,8 +330,8 @@ module PulpAnsibleClient
|
|
|
330
330
|
# ViewSet for Collection Remotes.
|
|
331
331
|
# @param ansible_collection_remote_href [String]
|
|
332
332
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
334
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
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
335
|
# @return [AnsibleCollectionRemoteResponse]
|
|
336
336
|
def read(ansible_collection_remote_href, opts = {})
|
|
337
337
|
data, _status_code, _headers = read_with_http_info(ansible_collection_remote_href, opts)
|
|
@@ -342,8 +342,8 @@ module PulpAnsibleClient
|
|
|
342
342
|
# ViewSet for Collection Remotes.
|
|
343
343
|
# @param ansible_collection_remote_href [String]
|
|
344
344
|
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
346
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
345
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
346
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
347
347
|
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
|
348
348
|
def read_with_http_info(ansible_collection_remote_href, opts = {})
|
|
349
349
|
if @api_client.config.debugging
|
|
@@ -358,8 +358,8 @@ module PulpAnsibleClient
|
|
|
358
358
|
|
|
359
359
|
# query parameters
|
|
360
360
|
query_params = opts[:query_params] || {}
|
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
361
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
362
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
363
363
|
|
|
364
364
|
# header parameters
|
|
365
365
|
header_params = opts[:header_params] || {}
|
|
@@ -149,7 +149,7 @@ module PulpAnsibleClient
|
|
|
149
149
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
152
|
-
# @option opts [String] :name
|
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -157,14 +157,14 @@ module PulpAnsibleClient
|
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
160
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
166
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
167
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
166
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
167
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
168
168
|
# @return [PaginatedansibleGitRemoteResponseList]
|
|
169
169
|
def list(opts = {})
|
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
|
175
175
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
178
|
-
# @option opts [String] :name
|
|
178
|
+
# @option opts [String] :name Filter results where name matches value
|
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -183,20 +183,20 @@ module PulpAnsibleClient
|
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
186
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
194
194
|
# @return [Array<(PaginatedansibleGitRemoteResponseList, Integer, Hash)>] PaginatedansibleGitRemoteResponseList data, response status code and response headers
|
|
195
195
|
def list_with_http_info(opts = {})
|
|
196
196
|
if @api_client.config.debugging
|
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.list ...'
|
|
198
198
|
end
|
|
199
|
-
allowable_values = ["-
|
|
199
|
+
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
202
202
|
end
|
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
|
222
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
|
223
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
223
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
224
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
225
225
|
|
|
226
226
|
# header parameters
|
|
227
227
|
header_params = opts[:header_params] || {}
|
|
@@ -330,8 +330,8 @@ module PulpAnsibleClient
|
|
|
330
330
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
|
331
331
|
# @param ansible_git_remote_href [String]
|
|
332
332
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
334
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
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
335
|
# @return [AnsibleGitRemoteResponse]
|
|
336
336
|
def read(ansible_git_remote_href, opts = {})
|
|
337
337
|
data, _status_code, _headers = read_with_http_info(ansible_git_remote_href, opts)
|
|
@@ -342,8 +342,8 @@ module PulpAnsibleClient
|
|
|
342
342
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
|
343
343
|
# @param ansible_git_remote_href [String]
|
|
344
344
|
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
346
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
345
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
346
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
347
347
|
# @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
|
|
348
348
|
def read_with_http_info(ansible_git_remote_href, opts = {})
|
|
349
349
|
if @api_client.config.debugging
|
|
@@ -358,8 +358,8 @@ module PulpAnsibleClient
|
|
|
358
358
|
|
|
359
359
|
# query parameters
|
|
360
360
|
query_params = opts[:query_params] || {}
|
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
361
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
362
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
363
363
|
|
|
364
364
|
# header parameters
|
|
365
365
|
header_params = opts[:header_params] || {}
|
|
@@ -149,7 +149,7 @@ module PulpAnsibleClient
|
|
|
149
149
|
# ViewSet for Role Remotes.
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
152
|
-
# @option opts [String] :name
|
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -157,14 +157,14 @@ module PulpAnsibleClient
|
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
160
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
166
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
167
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
166
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
167
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
168
168
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
|
169
169
|
def list(opts = {})
|
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
|
175
175
|
# ViewSet for Role Remotes.
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
178
|
-
# @option opts [String] :name
|
|
178
|
+
# @option opts [String] :name Filter results where name matches value
|
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -183,20 +183,20 @@ module PulpAnsibleClient
|
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
186
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
194
194
|
# @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
|
|
195
195
|
def list_with_http_info(opts = {})
|
|
196
196
|
if @api_client.config.debugging
|
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.list ...'
|
|
198
198
|
end
|
|
199
|
-
allowable_values = ["-
|
|
199
|
+
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
202
202
|
end
|
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
|
222
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
|
223
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
223
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
224
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
225
225
|
|
|
226
226
|
# header parameters
|
|
227
227
|
header_params = opts[:header_params] || {}
|
|
@@ -330,8 +330,8 @@ module PulpAnsibleClient
|
|
|
330
330
|
# ViewSet for Role Remotes.
|
|
331
331
|
# @param ansible_role_remote_href [String]
|
|
332
332
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
334
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
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
335
|
# @return [AnsibleRoleRemoteResponse]
|
|
336
336
|
def read(ansible_role_remote_href, opts = {})
|
|
337
337
|
data, _status_code, _headers = read_with_http_info(ansible_role_remote_href, opts)
|
|
@@ -342,8 +342,8 @@ module PulpAnsibleClient
|
|
|
342
342
|
# ViewSet for Role Remotes.
|
|
343
343
|
# @param ansible_role_remote_href [String]
|
|
344
344
|
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
346
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
345
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
346
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
347
347
|
# @return [Array<(AnsibleRoleRemoteResponse, Integer, Hash)>] AnsibleRoleRemoteResponse data, response status code and response headers
|
|
348
348
|
def read_with_http_info(ansible_role_remote_href, opts = {})
|
|
349
349
|
if @api_client.config.debugging
|
|
@@ -358,8 +358,8 @@ module PulpAnsibleClient
|
|
|
358
358
|
|
|
359
359
|
# query parameters
|
|
360
360
|
query_params = opts[:query_params] || {}
|
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
361
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
362
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
363
363
|
|
|
364
364
|
# header parameters
|
|
365
365
|
header_params = opts[:header_params] || {}
|
|
@@ -149,7 +149,7 @@ module PulpAnsibleClient
|
|
|
149
149
|
# ViewSet for Ansible Repositories.
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
152
|
-
# @option opts [String] :name
|
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -158,8 +158,8 @@ module PulpAnsibleClient
|
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
161
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
162
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
162
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
163
163
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
|
164
164
|
def list(opts = {})
|
|
165
165
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -170,7 +170,7 @@ module PulpAnsibleClient
|
|
|
170
170
|
# ViewSet for Ansible Repositories.
|
|
171
171
|
# @param [Hash] opts the optional parameters
|
|
172
172
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
173
|
-
# @option opts [String] :name
|
|
173
|
+
# @option opts [String] :name Filter results where name matches value
|
|
174
174
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
175
175
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
176
176
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -179,14 +179,14 @@ module PulpAnsibleClient
|
|
|
179
179
|
# @option opts [Array<String>] :ordering Ordering
|
|
180
180
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
181
181
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
182
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
183
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
182
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
183
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
184
184
|
# @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
|
|
185
185
|
def list_with_http_info(opts = {})
|
|
186
186
|
if @api_client.config.debugging
|
|
187
187
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
|
|
188
188
|
end
|
|
189
|
-
allowable_values = ["-
|
|
189
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
190
190
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
191
191
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
192
192
|
end
|
|
@@ -205,8 +205,8 @@ module PulpAnsibleClient
|
|
|
205
205
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
206
206
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
207
207
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
208
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
209
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
208
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
209
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
210
210
|
|
|
211
211
|
# header parameters
|
|
212
212
|
header_params = opts[:header_params] || {}
|
|
@@ -385,8 +385,8 @@ module PulpAnsibleClient
|
|
|
385
385
|
# ViewSet for Ansible Repositories.
|
|
386
386
|
# @param ansible_ansible_repository_href [String]
|
|
387
387
|
# @param [Hash] opts the optional parameters
|
|
388
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
389
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
388
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
389
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
390
390
|
# @return [AnsibleAnsibleRepositoryResponse]
|
|
391
391
|
def read(ansible_ansible_repository_href, opts = {})
|
|
392
392
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_href, opts)
|
|
@@ -397,8 +397,8 @@ module PulpAnsibleClient
|
|
|
397
397
|
# ViewSet for Ansible Repositories.
|
|
398
398
|
# @param ansible_ansible_repository_href [String]
|
|
399
399
|
# @param [Hash] opts the optional parameters
|
|
400
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
401
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
400
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
401
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
402
402
|
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
|
403
403
|
def read_with_http_info(ansible_ansible_repository_href, opts = {})
|
|
404
404
|
if @api_client.config.debugging
|
|
@@ -413,8 +413,8 @@ module PulpAnsibleClient
|
|
|
413
413
|
|
|
414
414
|
# query parameters
|
|
415
415
|
query_params = opts[:query_params] || {}
|
|
416
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
417
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
416
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
417
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
418
418
|
|
|
419
419
|
# header parameters
|
|
420
420
|
header_params = opts[:header_params] || {}
|
|
@@ -88,7 +88,7 @@ module PulpAnsibleClient
|
|
|
88
88
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
89
89
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
91
|
-
# @option opts [Integer] :number
|
|
91
|
+
# @option opts [Integer] :number Filter results where number matches value
|
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
|
93
93
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
|
94
94
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
|
@@ -96,14 +96,14 @@ module PulpAnsibleClient
|
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
98
98
|
# @option opts [Array<String>] :ordering Ordering
|
|
99
|
-
# @option opts [DateTime] :pulp_created
|
|
99
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
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.
|
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
|
108
108
|
def list(ansible_ansible_repository_href, opts = {})
|
|
109
109
|
data, _status_code, _headers = list_with_http_info(ansible_ansible_repository_href, opts)
|
|
@@ -117,7 +117,7 @@ module PulpAnsibleClient
|
|
|
117
117
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
118
118
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
120
|
-
# @option opts [Integer] :number
|
|
120
|
+
# @option opts [Integer] :number Filter results where number matches value
|
|
121
121
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
|
122
122
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
|
123
123
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
|
@@ -125,14 +125,14 @@ module PulpAnsibleClient
|
|
|
125
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
127
127
|
# @option opts [Array<String>] :ordering Ordering
|
|
128
|
-
# @option opts [DateTime] :pulp_created
|
|
128
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
|
129
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
130
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
131
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
|
132
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
133
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
134
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
135
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
134
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
135
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
|
137
137
|
def list_with_http_info(ansible_ansible_repository_href, opts = {})
|
|
138
138
|
if @api_client.config.debugging
|
|
@@ -142,7 +142,7 @@ module PulpAnsibleClient
|
|
|
142
142
|
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
|
143
143
|
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
|
|
144
144
|
end
|
|
145
|
-
allowable_values = ["-
|
|
145
|
+
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
|
146
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
147
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
148
148
|
end
|
|
@@ -168,8 +168,8 @@ module PulpAnsibleClient
|
|
|
168
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
169
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
170
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
|
171
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
172
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
171
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
172
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
173
173
|
|
|
174
174
|
# header parameters
|
|
175
175
|
header_params = opts[:header_params] || {}
|
|
@@ -208,8 +208,8 @@ module PulpAnsibleClient
|
|
|
208
208
|
# AnsibleRepositoryVersion represents a single file repository version.
|
|
209
209
|
# @param ansible_ansible_repository_version_href [String]
|
|
210
210
|
# @param [Hash] opts the optional parameters
|
|
211
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
212
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
211
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
212
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
213
213
|
# @return [RepositoryVersionResponse]
|
|
214
214
|
def read(ansible_ansible_repository_version_href, opts = {})
|
|
215
215
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_version_href, opts)
|
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
|
220
220
|
# AnsibleRepositoryVersion represents a single file repository version.
|
|
221
221
|
# @param ansible_ansible_repository_version_href [String]
|
|
222
222
|
# @param [Hash] opts the optional parameters
|
|
223
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
224
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
223
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
224
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
225
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
226
226
|
def read_with_http_info(ansible_ansible_repository_version_href, opts = {})
|
|
227
227
|
if @api_client.config.debugging
|
|
@@ -236,8 +236,8 @@ module PulpAnsibleClient
|
|
|
236
236
|
|
|
237
237
|
# query parameters
|
|
238
238
|
query_params = opts[:query_params] || {}
|
|
239
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
240
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
239
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
240
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
241
241
|
|
|
242
242
|
# header parameters
|
|
243
243
|
header_params = opts[:header_params] || {}
|