pulp_deb_client 2.20.1 → 2.20.3
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/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -10
- data/docs/ContentInstallerPackagesApi.md +20 -16
- data/docs/ContentPackageIndicesApi.md +14 -10
- data/docs/ContentPackageReleaseComponentsApi.md +16 -12
- data/docs/ContentPackagesApi.md +20 -16
- data/docs/ContentReleaseArchitecturesApi.md +15 -11
- data/docs/ContentReleaseComponentsApi.md +15 -11
- data/docs/ContentReleaseFilesApi.md +14 -10
- data/docs/ContentReleasesApi.md +14 -10
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebAptRemoteResponse.md +4 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
- data/docs/DebAptRepository.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -2
- data/docs/DebInstallerFileIndex.md +0 -2
- data/docs/DebInstallerFileIndexResponse.md +0 -2
- data/docs/DebPackageIndex.md +0 -2
- data/docs/DebPackageIndexResponse.md +0 -2
- data/docs/DistributionsAptApi.md +22 -14
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +16 -12
- data/docs/PublicationsVerbatimApi.md +16 -12
- data/docs/RemotesAptApi.md +18 -14
- data/docs/RepositoriesAptApi.md +33 -13
- data/docs/RepositoriesAptVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
- data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -0
- data/spec/api/content_generic_contents_api_spec.rb +7 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
- data/spec/api/content_installer_packages_api_spec.rb +10 -8
- data/spec/api/content_package_indices_api_spec.rb +7 -5
- data/spec/api/content_package_release_components_api_spec.rb +7 -5
- data/spec/api/content_packages_api_spec.rb +10 -8
- data/spec/api/content_release_architectures_api_spec.rb +7 -5
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_release_files_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +7 -5
- data/spec/api/distributions_apt_api_spec.rb +11 -7
- data/spec/api/publications_apt_api_spec.rb +8 -6
- data/spec/api/publications_verbatim_api_spec.rb +8 -6
- data/spec/api/remotes_apt_api_spec.rb +9 -7
- data/spec/api/repositories_apt_api_spec.rb +16 -6
- data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
- data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
- data/spec/models/deb_installer_file_index_spec.rb +0 -6
- data/spec/models/deb_package_index_response_spec.rb +0 -6
- data/spec/models/deb_package_index_spec.rb +0 -6
- metadata +57 -53
@@ -150,17 +150,19 @@ module PulpDebClient
|
|
150
150
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
154
|
-
# @option opts [DateTime] :pulp_created
|
153
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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
|
158
158
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
159
159
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
161
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
160
162
|
# @option opts [String] :repository Repository referenced by HREF
|
161
163
|
# @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.
|
164
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
165
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
164
166
|
# @return [PaginateddebAptPublicationResponseList]
|
165
167
|
def list(opts = {})
|
166
168
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -174,23 +176,25 @@ module PulpDebClient
|
|
174
176
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
175
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
178
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
|
-
# @option opts [Array<String>] :ordering Ordering
|
178
|
-
# @option opts [DateTime] :pulp_created
|
179
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
180
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
179
181
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
180
182
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
181
183
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
182
184
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
183
185
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
186
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
187
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
188
|
# @option opts [String] :repository Repository referenced by HREF
|
185
189
|
# @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.
|
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.
|
188
192
|
# @return [Array<(PaginateddebAptPublicationResponseList, Integer, Hash)>] PaginateddebAptPublicationResponseList data, response status code and response headers
|
189
193
|
def list_with_http_info(opts = {})
|
190
194
|
if @api_client.config.debugging
|
191
195
|
@api_client.config.logger.debug 'Calling API: PublicationsAptApi.list ...'
|
192
196
|
end
|
193
|
-
allowable_values = ["-complete", "-
|
197
|
+
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
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
195
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
196
200
|
end
|
@@ -210,10 +214,12 @@ module PulpDebClient
|
|
210
214
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
211
215
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
212
216
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
217
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
218
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
213
219
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
214
220
|
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?
|
221
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
222
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
217
223
|
|
218
224
|
# header parameters
|
219
225
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +258,8 @@ module PulpDebClient
|
|
252
258
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
253
259
|
# @param deb_apt_publication_href [String]
|
254
260
|
# @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.
|
261
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
262
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
257
263
|
# @return [DebAptPublicationResponse]
|
258
264
|
def read(deb_apt_publication_href, opts = {})
|
259
265
|
data, _status_code, _headers = read_with_http_info(deb_apt_publication_href, opts)
|
@@ -264,8 +270,8 @@ module PulpDebClient
|
|
264
270
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
265
271
|
# @param deb_apt_publication_href [String]
|
266
272
|
# @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.
|
273
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
274
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
269
275
|
# @return [Array<(DebAptPublicationResponse, Integer, Hash)>] DebAptPublicationResponse data, response status code and response headers
|
270
276
|
def read_with_http_info(deb_apt_publication_href, opts = {})
|
271
277
|
if @api_client.config.debugging
|
@@ -280,8 +286,8 @@ module PulpDebClient
|
|
280
286
|
|
281
287
|
# query parameters
|
282
288
|
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?
|
289
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
290
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
285
291
|
|
286
292
|
# header parameters
|
287
293
|
header_params = opts[:header_params] || {}
|
@@ -150,17 +150,19 @@ module PulpDebClient
|
|
150
150
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
154
|
-
# @option opts [DateTime] :pulp_created
|
153
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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
|
158
158
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
159
159
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
161
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
160
162
|
# @option opts [String] :repository Repository referenced by HREF
|
161
163
|
# @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.
|
164
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
165
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
164
166
|
# @return [PaginateddebVerbatimPublicationResponseList]
|
165
167
|
def list(opts = {})
|
166
168
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -174,23 +176,25 @@ module PulpDebClient
|
|
174
176
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
175
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
178
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
|
-
# @option opts [Array<String>] :ordering Ordering
|
178
|
-
# @option opts [DateTime] :pulp_created
|
179
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
180
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
179
181
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
180
182
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
181
183
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
182
184
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
183
185
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
186
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
187
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
188
|
# @option opts [String] :repository Repository referenced by HREF
|
185
189
|
# @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.
|
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.
|
188
192
|
# @return [Array<(PaginateddebVerbatimPublicationResponseList, Integer, Hash)>] PaginateddebVerbatimPublicationResponseList data, response status code and response headers
|
189
193
|
def list_with_http_info(opts = {})
|
190
194
|
if @api_client.config.debugging
|
191
195
|
@api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
|
192
196
|
end
|
193
|
-
allowable_values = ["-complete", "-
|
197
|
+
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
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
195
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
196
200
|
end
|
@@ -210,10 +214,12 @@ module PulpDebClient
|
|
210
214
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
211
215
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
212
216
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
217
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
218
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
213
219
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
214
220
|
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?
|
221
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
222
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
217
223
|
|
218
224
|
# header parameters
|
219
225
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +258,8 @@ module PulpDebClient
|
|
252
258
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
253
259
|
# @param deb_verbatim_publication_href [String]
|
254
260
|
# @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.
|
261
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
262
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
257
263
|
# @return [DebVerbatimPublicationResponse]
|
258
264
|
def read(deb_verbatim_publication_href, opts = {})
|
259
265
|
data, _status_code, _headers = read_with_http_info(deb_verbatim_publication_href, opts)
|
@@ -264,8 +270,8 @@ module PulpDebClient
|
|
264
270
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
265
271
|
# @param deb_verbatim_publication_href [String]
|
266
272
|
# @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.
|
273
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
274
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
269
275
|
# @return [Array<(DebVerbatimPublicationResponse, Integer, Hash)>] DebVerbatimPublicationResponse data, response status code and response headers
|
270
276
|
def read_with_http_info(deb_verbatim_publication_href, opts = {})
|
271
277
|
if @api_client.config.debugging
|
@@ -280,8 +286,8 @@ module PulpDebClient
|
|
280
286
|
|
281
287
|
# query parameters
|
282
288
|
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?
|
289
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
290
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
285
291
|
|
286
292
|
# header parameters
|
287
293
|
header_params = opts[:header_params] || {}
|
@@ -149,22 +149,24 @@ module PulpDebClient
|
|
149
149
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
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
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
159
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
159
161
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
162
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
161
163
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
164
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
165
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
166
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
167
|
# @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.
|
168
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
170
|
# @return [PaginateddebAptRemoteResponseList]
|
169
171
|
def list(opts = {})
|
170
172
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,28 +177,30 @@ module PulpDebClient
|
|
175
177
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
176
178
|
# @param [Hash] opts the optional parameters
|
177
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
180
|
+
# @option opts [String] :name Filter results where name matches value
|
179
181
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
182
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
184
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [Array<String>] :ordering Ordering
|
186
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
187
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
185
189
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
190
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
187
191
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
192
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
193
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
194
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
195
|
# @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.
|
196
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
197
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
198
|
# @return [Array<(PaginateddebAptRemoteResponseList, Integer, Hash)>] PaginateddebAptRemoteResponseList data, response status code and response headers
|
195
199
|
def list_with_http_info(opts = {})
|
196
200
|
if @api_client.config.debugging
|
197
201
|
@api_client.config.logger.debug 'Calling API: RemotesAptApi.list ...'
|
198
202
|
end
|
199
|
-
allowable_values = ["-
|
203
|
+
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
204
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
205
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
206
|
end
|
@@ -213,6 +217,8 @@ module PulpDebClient
|
|
213
217
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
214
218
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
215
219
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
216
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
217
223
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
218
224
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -220,8 +226,8 @@ module PulpDebClient
|
|
220
226
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
227
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
228
|
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?
|
229
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
230
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
231
|
|
226
232
|
# header parameters
|
227
233
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +336,8 @@ module PulpDebClient
|
|
330
336
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
331
337
|
# @param deb_apt_remote_href [String]
|
332
338
|
# @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.
|
339
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
340
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
341
|
# @return [DebAptRemoteResponse]
|
336
342
|
def read(deb_apt_remote_href, opts = {})
|
337
343
|
data, _status_code, _headers = read_with_http_info(deb_apt_remote_href, opts)
|
@@ -342,8 +348,8 @@ module PulpDebClient
|
|
342
348
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
343
349
|
# @param deb_apt_remote_href [String]
|
344
350
|
# @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.
|
351
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
352
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
353
|
# @return [Array<(DebAptRemoteResponse, Integer, Hash)>] DebAptRemoteResponse data, response status code and response headers
|
348
354
|
def read_with_http_info(deb_apt_remote_href, opts = {})
|
349
355
|
if @api_client.config.debugging
|
@@ -358,8 +364,8 @@ module PulpDebClient
|
|
358
364
|
|
359
365
|
# query parameters
|
360
366
|
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?
|
367
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
368
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
363
369
|
|
364
370
|
# header parameters
|
365
371
|
header_params = opts[:header_params] || {}
|
@@ -149,17 +149,27 @@ module PulpDebClient
|
|
149
149
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
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
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
159
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
159
161
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
162
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
164
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
165
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
166
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
167
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
168
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
169
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
170
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
171
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
172
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
173
|
# @return [PaginateddebAptRepositoryResponseList]
|
164
174
|
def list(opts = {})
|
165
175
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -170,23 +180,33 @@ module PulpDebClient
|
|
170
180
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
171
181
|
# @param [Hash] opts the optional parameters
|
172
182
|
# @option opts [Integer] :limit Number of results to return per page.
|
173
|
-
# @option opts [String] :name
|
183
|
+
# @option opts [String] :name Filter results where name matches value
|
174
184
|
# @option opts [String] :name__contains Filter results where name contains value
|
175
185
|
# @option opts [String] :name__icontains Filter results where name contains value
|
176
186
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
177
187
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
178
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
|
-
# @option opts [Array<String>] :ordering Ordering
|
189
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
190
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
191
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
180
192
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
193
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
182
|
-
# @option opts [
|
183
|
-
# @option opts [
|
194
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
195
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
196
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
197
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
198
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
199
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
200
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
201
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
202
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
203
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
184
204
|
# @return [Array<(PaginateddebAptRepositoryResponseList, Integer, Hash)>] PaginateddebAptRepositoryResponseList data, response status code and response headers
|
185
205
|
def list_with_http_info(opts = {})
|
186
206
|
if @api_client.config.debugging
|
187
207
|
@api_client.config.logger.debug 'Calling API: RepositoriesAptApi.list ...'
|
188
208
|
end
|
189
|
-
allowable_values = ["-
|
209
|
+
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
210
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
191
211
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
192
212
|
end
|
@@ -203,10 +223,20 @@ module PulpDebClient
|
|
203
223
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
204
224
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
205
225
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
206
228
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
229
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
208
|
-
query_params[:'
|
209
|
-
query_params[:'
|
230
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
231
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
232
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
233
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
234
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
235
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
236
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
237
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
238
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
239
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
240
|
|
211
241
|
# header parameters
|
212
242
|
header_params = opts[:header_params] || {}
|
@@ -385,8 +415,8 @@ module PulpDebClient
|
|
385
415
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
386
416
|
# @param deb_apt_repository_href [String]
|
387
417
|
# @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.
|
418
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
419
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
390
420
|
# @return [DebAptRepositoryResponse]
|
391
421
|
def read(deb_apt_repository_href, opts = {})
|
392
422
|
data, _status_code, _headers = read_with_http_info(deb_apt_repository_href, opts)
|
@@ -397,8 +427,8 @@ module PulpDebClient
|
|
397
427
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
398
428
|
# @param deb_apt_repository_href [String]
|
399
429
|
# @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.
|
430
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
431
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
402
432
|
# @return [Array<(DebAptRepositoryResponse, Integer, Hash)>] DebAptRepositoryResponse data, response status code and response headers
|
403
433
|
def read_with_http_info(deb_apt_repository_href, opts = {})
|
404
434
|
if @api_client.config.debugging
|
@@ -413,8 +443,8 @@ module PulpDebClient
|
|
413
443
|
|
414
444
|
# query parameters
|
415
445
|
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?
|
446
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
447
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
418
448
|
|
419
449
|
# header parameters
|
420
450
|
header_params = opts[:header_params] || {}
|