pulp_rpm_client 3.18.9 → 3.18.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AcsRpmApi.md +10 -10
- data/docs/ContentAdvisoriesApi.md +8 -8
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +8 -8
- data/docs/ContentModulemdObsoletesApi.md +8 -8
- data/docs/ContentModulemdsApi.md +8 -8
- data/docs/ContentPackagecategoriesApi.md +8 -8
- data/docs/ContentPackageenvironmentsApi.md +8 -8
- data/docs/ContentPackagegroupsApi.md +8 -8
- data/docs/ContentPackagelangpacksApi.md +8 -8
- data/docs/ContentPackagesApi.md +8 -8
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/DistributionsRpmApi.md +12 -12
- data/docs/PatchedrpmRpmDistribution.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +10 -10
- data/docs/RemotesRpmApi.md +12 -12
- data/docs/RemotesUlnApi.md +12 -12
- data/docs/RepositoriesRpmApi.md +11 -11
- data/docs/RepositoriesRpmVersionsApi.md +12 -12
- data/docs/RpmRpmDistribution.md +1 -1
- data/docs/RpmRpmDistributionResponse.md +1 -1
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +3 -1
- data/docs/RpmRpmRemoteResponseHiddenFields.md +19 -0
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +3 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +15 -15
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +13 -13
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +13 -13
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +13 -13
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packages_api.rb +13 -13
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +17 -17
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +15 -15
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +17 -17
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +17 -17
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +15 -15
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +17 -17
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +4 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +4 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +4 -2
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +17 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +4 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +17 -3
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +1 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -0
- data/spec/api/acs_rpm_api_spec.rb +5 -5
- data/spec/api/content_advisories_api_spec.rb +4 -4
- data/spec/api/content_distribution_trees_api_spec.rb +4 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -4
- data/spec/api/content_modulemds_api_spec.rb +4 -4
- data/spec/api/content_packagecategories_api_spec.rb +4 -4
- data/spec/api/content_packageenvironments_api_spec.rb +4 -4
- data/spec/api/content_packagegroups_api_spec.rb +4 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
- data/spec/api/distributions_rpm_api_spec.rb +6 -6
- data/spec/api/publications_rpm_api_spec.rb +5 -5
- data/spec/api/remotes_rpm_api_spec.rb +6 -6
- data/spec/api/remotes_uln_api_spec.rb +6 -6
- data/spec/api/repositories_rpm_api_spec.rb +5 -5
- data/spec/api/repositories_rpm_versions_api_spec.rb +6 -6
- data/spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
- metadata +81 -77
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
31
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
33
|
# @return [PaginatedrpmPackageGroupResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
48
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [Array<(PaginatedrpmPackageGroupResponseList, Integer, Hash)>] PaginatedrpmPackageGroupResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
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] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# PackageGroup ViewSet.
|
108
108
|
# @param rpm_package_group_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [RpmPackageGroupResponse]
|
113
113
|
def read(rpm_package_group_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_group_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# PackageGroup ViewSet.
|
120
120
|
# @param rpm_package_group_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
124
|
# @return [Array<(RpmPackageGroupResponse, Integer, Hash)>] RpmPackageGroupResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_package_group_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
138
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
31
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
33
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
48
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [Array<(PaginatedrpmPackageLangpacksResponseList, Integer, Hash)>] PaginatedrpmPackageLangpacksResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
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] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# PackageLangpacks ViewSet.
|
108
108
|
# @param rpm_package_langpacks_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [RpmPackageLangpacksResponse]
|
113
113
|
def read(rpm_package_langpacks_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_langpacks_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# PackageLangpacks ViewSet.
|
120
120
|
# @param rpm_package_langpacks_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
124
|
# @return [Array<(RpmPackageLangpacksResponse, Integer, Hash)>] RpmPackageLangpacksResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_package_langpacks_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
138
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -126,8 +126,8 @@ module PulpRpmClient
|
|
126
126
|
# @option opts [String] :version Filter results where version matches value
|
127
127
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
128
128
|
# @option opts [String] :version__ne Filter results where version not equal to value
|
129
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
130
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
129
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
130
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
131
131
|
# @return [PaginatedrpmPackageResponseList]
|
132
132
|
def list(opts = {})
|
133
133
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -164,8 +164,8 @@ module PulpRpmClient
|
|
164
164
|
# @option opts [String] :version Filter results where version matches value
|
165
165
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
166
166
|
# @option opts [String] :version__ne Filter results where version not equal to value
|
167
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
168
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
167
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
168
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
169
169
|
# @return [Array<(PaginatedrpmPackageResponseList, Integer, Hash)>] PaginatedrpmPackageResponseList data, response status code and response headers
|
170
170
|
def list_with_http_info(opts = {})
|
171
171
|
if @api_client.config.debugging
|
@@ -175,7 +175,7 @@ module PulpRpmClient
|
|
175
175
|
if @api_client.config.client_side_validation && opts[:'checksum_type'] && !allowable_values.include?(opts[:'checksum_type'])
|
176
176
|
fail ArgumentError, "invalid value for \"checksum_type\", must be one of #{allowable_values}"
|
177
177
|
end
|
178
|
-
allowable_values = ["-
|
178
|
+
allowable_values = ["-arch", "-changelogs", "-checksum_type", "-conflicts", "-description", "-enhances", "-epoch", "-evr", "-files", "-is_modular", "-location_base", "-location_href", "-name", "-obsoletes", "-pk", "-pkgId", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-release", "-requires", "-rpm_buildhost", "-rpm_group", "-rpm_header_end", "-rpm_header_start", "-rpm_license", "-rpm_packager", "-rpm_sourcerpm", "-rpm_vendor", "-size_archive", "-size_installed", "-size_package", "-suggests", "-summary", "-supplements", "-time_build", "-time_file", "-timestamp_of_interest", "-upstream_id", "-url", "-version", "arch", "changelogs", "checksum_type", "conflicts", "description", "enhances", "epoch", "evr", "files", "is_modular", "location_base", "location_href", "name", "obsoletes", "pk", "pkgId", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "release", "requires", "rpm_buildhost", "rpm_group", "rpm_header_end", "rpm_header_start", "rpm_license", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "size_archive", "size_installed", "size_package", "suggests", "summary", "supplements", "time_build", "time_file", "timestamp_of_interest", "upstream_id", "url", "version"]
|
179
179
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
180
180
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
181
181
|
end
|
@@ -211,8 +211,8 @@ module PulpRpmClient
|
|
211
211
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
212
212
|
query_params[:'version__in'] = @api_client.build_collection_param(opts[:'version__in'], :csv) if !opts[:'version__in'].nil?
|
213
213
|
query_params[:'version__ne'] = opts[:'version__ne'] if !opts[:'version__ne'].nil?
|
214
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
215
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
214
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
215
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
216
216
|
|
217
217
|
# header parameters
|
218
218
|
header_params = opts[:header_params] || {}
|
@@ -251,8 +251,8 @@ module PulpRpmClient
|
|
251
251
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
252
252
|
# @param rpm_package_href [String]
|
253
253
|
# @param [Hash] opts the optional parameters
|
254
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
255
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
254
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
255
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
256
256
|
# @return [RpmPackageResponse]
|
257
257
|
def read(rpm_package_href, opts = {})
|
258
258
|
data, _status_code, _headers = read_with_http_info(rpm_package_href, opts)
|
@@ -263,8 +263,8 @@ module PulpRpmClient
|
|
263
263
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
264
264
|
# @param rpm_package_href [String]
|
265
265
|
# @param [Hash] opts the optional parameters
|
266
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
267
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
266
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
267
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
268
268
|
# @return [Array<(RpmPackageResponse, Integer, Hash)>] RpmPackageResponse data, response status code and response headers
|
269
269
|
def read_with_http_info(rpm_package_href, opts = {})
|
270
270
|
if @api_client.config.debugging
|
@@ -279,8 +279,8 @@ module PulpRpmClient
|
|
279
279
|
|
280
280
|
# query parameters
|
281
281
|
query_params = opts[:query_params] || {}
|
282
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
283
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
282
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
283
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
284
284
|
|
285
285
|
# header parameters
|
286
286
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
31
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
33
|
# @return [PaginatedrpmRepoMetadataFileResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
48
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [Array<(PaginatedrpmRepoMetadataFileResponseList, Integer, Hash)>] PaginatedrpmRepoMetadataFileResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
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] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# RepoMetadataFile Viewset.
|
108
108
|
# @param rpm_repo_metadata_file_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [RpmRepoMetadataFileResponse]
|
113
113
|
def read(rpm_repo_metadata_file_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_repo_metadata_file_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# RepoMetadataFile Viewset.
|
120
120
|
# @param rpm_repo_metadata_file_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
124
|
# @return [Array<(RpmRepoMetadataFileResponse, Integer, Hash)>] RpmRepoMetadataFileResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_repo_metadata_file_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
138
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -148,12 +148,12 @@ module PulpRpmClient
|
|
148
148
|
# List rpm distributions
|
149
149
|
# ViewSet for RPM Distributions.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
-
# @option opts [String] :base_path
|
151
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
152
152
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
153
153
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
154
154
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
|
-
# @option opts [String] :name
|
156
|
+
# @option opts [String] :name Filter results where name matches value
|
157
157
|
# @option opts [String] :name__contains Filter results where name contains value
|
158
158
|
# @option opts [String] :name__icontains Filter results where name contains value
|
159
159
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -162,8 +162,8 @@ module PulpRpmClient
|
|
162
162
|
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
164
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
165
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
166
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
167
|
# @return [PaginatedrpmRpmDistributionResponseList]
|
168
168
|
def list(opts = {})
|
169
169
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -173,12 +173,12 @@ module PulpRpmClient
|
|
173
173
|
# List rpm distributions
|
174
174
|
# ViewSet for RPM Distributions.
|
175
175
|
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :base_path
|
176
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
177
177
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
178
178
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
179
179
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
180
180
|
# @option opts [Integer] :limit Number of results to return per page.
|
181
|
-
# @option opts [String] :name
|
181
|
+
# @option opts [String] :name Filter results where name matches value
|
182
182
|
# @option opts [String] :name__contains Filter results where name contains value
|
183
183
|
# @option opts [String] :name__icontains Filter results where name contains value
|
184
184
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -187,14 +187,14 @@ module PulpRpmClient
|
|
187
187
|
# @option opts [Array<String>] :ordering Ordering
|
188
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
189
189
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
190
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
191
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
190
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
192
|
# @return [Array<(PaginatedrpmRpmDistributionResponseList, Integer, Hash)>] PaginatedrpmRpmDistributionResponseList data, response status code and response headers
|
193
193
|
def list_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
195
195
|
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
|
196
196
|
end
|
197
|
-
allowable_values = ["-base_path", "-
|
197
|
+
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
198
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
199
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
200
200
|
end
|
@@ -217,8 +217,8 @@ module PulpRpmClient
|
|
217
217
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
218
218
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
219
219
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
221
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
220
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
222
222
|
|
223
223
|
# header parameters
|
224
224
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +327,8 @@ module PulpRpmClient
|
|
327
327
|
# ViewSet for RPM Distributions.
|
328
328
|
# @param rpm_rpm_distribution_href [String]
|
329
329
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
330
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
332
|
# @return [RpmRpmDistributionResponse]
|
333
333
|
def read(rpm_rpm_distribution_href, opts = {})
|
334
334
|
data, _status_code, _headers = read_with_http_info(rpm_rpm_distribution_href, opts)
|
@@ -339,8 +339,8 @@ module PulpRpmClient
|
|
339
339
|
# ViewSet for RPM Distributions.
|
340
340
|
# @param rpm_rpm_distribution_href [String]
|
341
341
|
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
343
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
342
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
343
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
344
344
|
# @return [Array<(RpmRpmDistributionResponse, Integer, Hash)>] RpmRpmDistributionResponse data, response status code and response headers
|
345
345
|
def read_with_http_info(rpm_rpm_distribution_href, opts = {})
|
346
346
|
if @api_client.config.debugging
|
@@ -355,8 +355,8 @@ module PulpRpmClient
|
|
355
355
|
|
356
356
|
# query parameters
|
357
357
|
query_params = opts[:query_params] || {}
|
358
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
359
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
358
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
359
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
360
360
|
|
361
361
|
# header parameters
|
362
362
|
header_params = opts[:header_params] || {}
|
@@ -151,7 +151,7 @@ module PulpRpmClient
|
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
153
|
# @option opts [Array<String>] :ordering Ordering
|
154
|
-
# @option opts [DateTime] :pulp_created
|
154
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
155
155
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
156
156
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
157
157
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
@@ -159,8 +159,8 @@ module PulpRpmClient
|
|
159
159
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
160
|
# @option opts [String] :repository Repository referenced by HREF
|
161
161
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
162
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
163
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
163
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
164
164
|
# @return [PaginatedrpmRpmPublicationResponseList]
|
165
165
|
def list(opts = {})
|
166
166
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,7 +175,7 @@ module PulpRpmClient
|
|
175
175
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
177
|
# @option opts [Array<String>] :ordering Ordering
|
178
|
-
# @option opts [DateTime] :pulp_created
|
178
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
179
179
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
180
180
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
181
181
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
@@ -183,14 +183,14 @@ module PulpRpmClient
|
|
183
183
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
184
184
|
# @option opts [String] :repository Repository referenced by HREF
|
185
185
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
188
|
# @return [Array<(PaginatedrpmRpmPublicationResponseList, Integer, Hash)>] PaginatedrpmRpmPublicationResponseList data, response status code and response headers
|
189
189
|
def list_with_http_info(opts = {})
|
190
190
|
if @api_client.config.debugging
|
191
191
|
@api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
|
192
192
|
end
|
193
|
-
allowable_values = ["-complete", "-
|
193
|
+
allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
194
194
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
195
195
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
196
196
|
end
|
@@ -212,8 +212,8 @@ module PulpRpmClient
|
|
212
212
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
213
213
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
214
214
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
215
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
216
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
215
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
216
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
217
217
|
|
218
218
|
# header parameters
|
219
219
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +252,8 @@ module PulpRpmClient
|
|
252
252
|
# ViewSet for Rpm Publications.
|
253
253
|
# @param rpm_rpm_publication_href [String]
|
254
254
|
# @param [Hash] opts the optional parameters
|
255
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
256
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
255
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
256
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
257
257
|
# @return [RpmRpmPublicationResponse]
|
258
258
|
def read(rpm_rpm_publication_href, opts = {})
|
259
259
|
data, _status_code, _headers = read_with_http_info(rpm_rpm_publication_href, opts)
|
@@ -264,8 +264,8 @@ module PulpRpmClient
|
|
264
264
|
# ViewSet for Rpm Publications.
|
265
265
|
# @param rpm_rpm_publication_href [String]
|
266
266
|
# @param [Hash] opts the optional parameters
|
267
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
268
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
267
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
268
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
269
269
|
# @return [Array<(RpmRpmPublicationResponse, Integer, Hash)>] RpmRpmPublicationResponse data, response status code and response headers
|
270
270
|
def read_with_http_info(rpm_rpm_publication_href, opts = {})
|
271
271
|
if @api_client.config.debugging
|
@@ -280,8 +280,8 @@ module PulpRpmClient
|
|
280
280
|
|
281
281
|
# query parameters
|
282
282
|
query_params = opts[:query_params] || {}
|
283
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
284
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
283
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
284
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
285
285
|
|
286
286
|
# header parameters
|
287
287
|
header_params = opts[:header_params] || {}
|
@@ -149,7 +149,7 @@ module PulpRpmClient
|
|
149
149
|
# A ViewSet for RpmRemote.
|
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 PulpRpmClient
|
|
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 [PaginatedrpmRpmRemoteResponseList]
|
169
169
|
def list(opts = {})
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,7 +175,7 @@ module PulpRpmClient
|
|
175
175
|
# A ViewSet for RpmRemote.
|
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 PulpRpmClient
|
|
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<(PaginatedrpmRpmRemoteResponseList, Integer, Hash)>] PaginatedrpmRpmRemoteResponseList 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: RemotesRpmApi.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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
330
330
|
# A ViewSet for RpmRemote.
|
331
331
|
# @param rpm_rpm_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 [RpmRpmRemoteResponse]
|
336
336
|
def read(rpm_rpm_remote_href, opts = {})
|
337
337
|
data, _status_code, _headers = read_with_http_info(rpm_rpm_remote_href, opts)
|
@@ -342,8 +342,8 @@ module PulpRpmClient
|
|
342
342
|
# A ViewSet for RpmRemote.
|
343
343
|
# @param rpm_rpm_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<(RpmRpmRemoteResponse, Integer, Hash)>] RpmRpmRemoteResponse data, response status code and response headers
|
348
348
|
def read_with_http_info(rpm_rpm_remote_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
@@ -358,8 +358,8 @@ module PulpRpmClient
|
|
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] || {}
|