pulp_deb_client 3.5.1 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +31 -4
- data/docs/ContentGenericContentsApi.md +152 -2
- data/docs/ContentInstallerFileIndicesApi.md +150 -2
- data/docs/ContentInstallerPackagesApi.md +152 -2
- data/docs/ContentPackageIndicesApi.md +150 -2
- data/docs/ContentPackageReleaseComponentsApi.md +150 -2
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentReleaseArchitecturesApi.md +150 -2
- data/docs/ContentReleaseComponentsApi.md +150 -2
- data/docs/ContentReleaseFilesApi.md +150 -2
- data/docs/ContentReleasesApi.md +150 -2
- data/docs/ContentSourceIndicesApi.md +150 -2
- data/docs/ContentSourcePackagesApi.md +150 -2
- data/docs/ContentSourceReleaseComponentsApi.md +150 -2
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +4 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -3
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +29 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
- data/spec/api/content_installer_packages_api_spec.rb +29 -1
- data/spec/api/content_package_indices_api_spec.rb +28 -1
- data/spec/api/content_package_release_components_api_spec.rb +28 -1
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_release_architectures_api_spec.rb +28 -1
- data/spec/api/content_release_components_api_spec.rb +28 -1
- data/spec/api/content_release_files_api_spec.rb +28 -1
- data/spec/api/content_releases_api_spec.rb +28 -1
- data/spec/api/content_source_indices_api_spec.rb +28 -1
- data/spec/api/content_source_packages_api_spec.rb +28 -1
- data/spec/api/content_source_release_components_api_spec.rb +28 -1
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -1
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- metadata +73 -93
@@ -231,6 +231,7 @@ module PulpDebClient
|
|
231
231
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
232
232
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
233
233
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
234
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
234
235
|
# @option opts [Integer] :limit Number of results to return per page.
|
235
236
|
# @option opts [String] :name Filter results where name matches value
|
236
237
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -242,7 +243,7 @@ module PulpDebClient
|
|
242
243
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
243
244
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
244
245
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
|
-
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
246
|
+
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
246
247
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
247
248
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
248
249
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -266,6 +267,7 @@ module PulpDebClient
|
|
266
267
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
267
268
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
268
269
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
270
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
269
271
|
# @option opts [Integer] :limit Number of results to return per page.
|
270
272
|
# @option opts [String] :name Filter results where name matches value
|
271
273
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -277,7 +279,7 @@ module PulpDebClient
|
|
277
279
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
278
280
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
279
281
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
280
|
-
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
282
|
+
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
281
283
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
282
284
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
283
285
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -293,7 +295,7 @@ module PulpDebClient
|
|
293
295
|
if @api_client.config.debugging
|
294
296
|
@api_client.config.logger.debug 'Calling API: DistributionsAptApi.list ...'
|
295
297
|
end
|
296
|
-
allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
298
|
+
allowable_values = ["-base_path", "-checkpoint", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
297
299
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
298
300
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
299
301
|
end
|
@@ -306,6 +308,7 @@ module PulpDebClient
|
|
306
308
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
307
309
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
308
310
|
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
311
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
309
312
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
310
313
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
311
314
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -225,11 +225,12 @@ module PulpDebClient
|
|
225
225
|
# List apt publications
|
226
226
|
# 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).
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
228
229
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
229
230
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
230
231
|
# @option opts [Integer] :limit Number of results to return per page.
|
231
232
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
|
-
# @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)
|
233
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
233
234
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
234
235
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
235
236
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -254,11 +255,12 @@ module PulpDebClient
|
|
254
255
|
# List apt publications
|
255
256
|
# 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).
|
256
257
|
# @param [Hash] opts the optional parameters
|
258
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
257
259
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
258
260
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
259
261
|
# @option opts [Integer] :limit Number of results to return per page.
|
260
262
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
261
|
-
# @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)
|
263
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
262
264
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
263
265
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
264
266
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -279,7 +281,7 @@ module PulpDebClient
|
|
279
281
|
if @api_client.config.debugging
|
280
282
|
@api_client.config.logger.debug 'Calling API: PublicationsAptApi.list ...'
|
281
283
|
end
|
282
|
-
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"]
|
284
|
+
allowable_values = ["-checkpoint", "-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "checkpoint", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
283
285
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
284
286
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
285
287
|
end
|
@@ -288,6 +290,7 @@ module PulpDebClient
|
|
288
290
|
|
289
291
|
# query parameters
|
290
292
|
query_params = opts[:query_params] || {}
|
293
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
291
294
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
292
295
|
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
293
296
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
@@ -225,11 +225,12 @@ module PulpDebClient
|
|
225
225
|
# List verbatim publications
|
226
226
|
# 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).
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
228
229
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
229
230
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
230
231
|
# @option opts [Integer] :limit Number of results to return per page.
|
231
232
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
|
-
# @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)
|
233
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
233
234
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
234
235
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
235
236
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -254,11 +255,12 @@ module PulpDebClient
|
|
254
255
|
# List verbatim publications
|
255
256
|
# 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).
|
256
257
|
# @param [Hash] opts the optional parameters
|
258
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
257
259
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
258
260
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
259
261
|
# @option opts [Integer] :limit Number of results to return per page.
|
260
262
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
261
|
-
# @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)
|
263
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
262
264
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
263
265
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
264
266
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -279,7 +281,7 @@ module PulpDebClient
|
|
279
281
|
if @api_client.config.debugging
|
280
282
|
@api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
|
281
283
|
end
|
282
|
-
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"]
|
284
|
+
allowable_values = ["-checkpoint", "-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "checkpoint", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
283
285
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
284
286
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
285
287
|
end
|
@@ -288,6 +290,7 @@ module PulpDebClient
|
|
288
290
|
|
289
291
|
# query parameters
|
290
292
|
query_params = opts[:query_params] || {}
|
293
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
291
294
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
292
295
|
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
293
296
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -58,6 +61,7 @@ module PulpDebClient
|
|
58
61
|
:'prn' => :'prn',
|
59
62
|
:'pulp_created' => :'pulp_created',
|
60
63
|
:'pulp_last_updated' => :'pulp_last_updated',
|
64
|
+
:'pulp_labels' => :'pulp_labels',
|
61
65
|
:'artifact' => :'artifact',
|
62
66
|
:'relative_path' => :'relative_path',
|
63
67
|
:'md5' => :'md5',
|
@@ -81,6 +85,7 @@ module PulpDebClient
|
|
81
85
|
:'prn' => :'String',
|
82
86
|
:'pulp_created' => :'Time',
|
83
87
|
:'pulp_last_updated' => :'Time',
|
88
|
+
:'pulp_labels' => :'Hash<String, String>',
|
84
89
|
:'artifact' => :'String',
|
85
90
|
:'relative_path' => :'String',
|
86
91
|
:'md5' => :'String',
|
@@ -129,6 +134,12 @@ module PulpDebClient
|
|
129
134
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
130
135
|
end
|
131
136
|
|
137
|
+
if attributes.key?(:'pulp_labels')
|
138
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
139
|
+
self.pulp_labels = value
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
132
143
|
if attributes.key?(:'artifact')
|
133
144
|
self.artifact = attributes[:'artifact']
|
134
145
|
end
|
@@ -193,6 +204,7 @@ module PulpDebClient
|
|
193
204
|
prn == o.prn &&
|
194
205
|
pulp_created == o.pulp_created &&
|
195
206
|
pulp_last_updated == o.pulp_last_updated &&
|
207
|
+
pulp_labels == o.pulp_labels &&
|
196
208
|
artifact == o.artifact &&
|
197
209
|
relative_path == o.relative_path &&
|
198
210
|
md5 == o.md5 &&
|
@@ -212,7 +224,7 @@ module PulpDebClient
|
|
212
224
|
# Calculates hash code according to all attributes.
|
213
225
|
# @return [Integer] Hash code
|
214
226
|
def hash
|
215
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
227
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
216
228
|
end
|
217
229
|
|
218
230
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
23
26
|
attr_accessor :artifacts
|
24
27
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'repository' => :'repository',
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
38
42
|
:'artifacts' => :'artifacts',
|
39
43
|
:'component' => :'component',
|
40
44
|
:'architecture' => :'architecture',
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
51
55
|
def self.openapi_types
|
52
56
|
{
|
53
57
|
:'repository' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
54
59
|
:'artifacts' => :'Object',
|
55
60
|
:'component' => :'String',
|
56
61
|
:'architecture' => :'String',
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
83
88
|
self.repository = attributes[:'repository']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
86
97
|
if attributes.key?(:'artifacts')
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
88
99
|
else
|
@@ -199,6 +210,7 @@ module PulpDebClient
|
|
199
210
|
return true if self.equal?(o)
|
200
211
|
self.class == o.class &&
|
201
212
|
repository == o.repository &&
|
213
|
+
pulp_labels == o.pulp_labels &&
|
202
214
|
artifacts == o.artifacts &&
|
203
215
|
component == o.component &&
|
204
216
|
architecture == o.architecture &&
|
@@ -214,7 +226,7 @@ module PulpDebClient
|
|
214
226
|
# Calculates hash code according to all attributes.
|
215
227
|
# @return [Integer] Hash code
|
216
228
|
def hash
|
217
|
-
[repository, artifacts, component, architecture, relative_path].hash
|
229
|
+
[repository, pulp_labels, artifacts, component, architecture, relative_path].hash
|
218
230
|
end
|
219
231
|
|
220
232
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
31
34
|
attr_accessor :artifacts
|
32
35
|
|
@@ -46,6 +49,7 @@ module PulpDebClient
|
|
46
49
|
:'prn' => :'prn',
|
47
50
|
:'pulp_created' => :'pulp_created',
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
49
53
|
:'artifacts' => :'artifacts',
|
50
54
|
:'component' => :'component',
|
51
55
|
:'architecture' => :'architecture',
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
65
69
|
:'prn' => :'String',
|
66
70
|
:'pulp_created' => :'Time',
|
67
71
|
:'pulp_last_updated' => :'Time',
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
68
73
|
:'artifacts' => :'Object',
|
69
74
|
:'component' => :'String',
|
70
75
|
:'architecture' => :'String',
|
@@ -109,6 +114,12 @@ module PulpDebClient
|
|
109
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
110
115
|
end
|
111
116
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
|
+
self.pulp_labels = value
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
112
123
|
if attributes.key?(:'artifacts')
|
113
124
|
self.artifacts = attributes[:'artifacts']
|
114
125
|
else
|
@@ -171,6 +182,7 @@ module PulpDebClient
|
|
171
182
|
prn == o.prn &&
|
172
183
|
pulp_created == o.pulp_created &&
|
173
184
|
pulp_last_updated == o.pulp_last_updated &&
|
185
|
+
pulp_labels == o.pulp_labels &&
|
174
186
|
artifacts == o.artifacts &&
|
175
187
|
component == o.component &&
|
176
188
|
architecture == o.architecture &&
|
@@ -186,7 +198,7 @@ module PulpDebClient
|
|
186
198
|
# Calculates hash code according to all attributes.
|
187
199
|
# @return [Integer] Hash code
|
188
200
|
def hash
|
189
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
201
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
|
190
202
|
end
|
191
203
|
|
192
204
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -116,6 +119,7 @@ module PulpDebClient
|
|
116
119
|
:'prn' => :'prn',
|
117
120
|
:'pulp_created' => :'pulp_created',
|
118
121
|
:'pulp_last_updated' => :'pulp_last_updated',
|
122
|
+
:'pulp_labels' => :'pulp_labels',
|
119
123
|
:'artifact' => :'artifact',
|
120
124
|
:'relative_path' => :'relative_path',
|
121
125
|
:'md5' => :'md5',
|
@@ -168,6 +172,7 @@ module PulpDebClient
|
|
168
172
|
:'prn' => :'String',
|
169
173
|
:'pulp_created' => :'Time',
|
170
174
|
:'pulp_last_updated' => :'Time',
|
175
|
+
:'pulp_labels' => :'Hash<String, String>',
|
171
176
|
:'artifact' => :'String',
|
172
177
|
:'relative_path' => :'String',
|
173
178
|
:'md5' => :'String',
|
@@ -245,6 +250,12 @@ module PulpDebClient
|
|
245
250
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
246
251
|
end
|
247
252
|
|
253
|
+
if attributes.key?(:'pulp_labels')
|
254
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
255
|
+
self.pulp_labels = value
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
248
259
|
if attributes.key?(:'artifact')
|
249
260
|
self.artifact = attributes[:'artifact']
|
250
261
|
end
|
@@ -418,6 +429,7 @@ module PulpDebClient
|
|
418
429
|
prn == o.prn &&
|
419
430
|
pulp_created == o.pulp_created &&
|
420
431
|
pulp_last_updated == o.pulp_last_updated &&
|
432
|
+
pulp_labels == o.pulp_labels &&
|
421
433
|
artifact == o.artifact &&
|
422
434
|
relative_path == o.relative_path &&
|
423
435
|
md5 == o.md5 &&
|
@@ -466,7 +478,7 @@ module PulpDebClient
|
|
466
478
|
# Calculates hash code according to all attributes.
|
467
479
|
# @return [Integer] Hash code
|
468
480
|
def hash
|
469
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
481
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
470
482
|
end
|
471
483
|
|
472
484
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
23
26
|
attr_accessor :artifacts
|
24
27
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'repository' => :'repository',
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
38
42
|
:'artifacts' => :'artifacts',
|
39
43
|
:'component' => :'component',
|
40
44
|
:'architecture' => :'architecture',
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
51
55
|
def self.openapi_types
|
52
56
|
{
|
53
57
|
:'repository' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
54
59
|
:'artifacts' => :'Object',
|
55
60
|
:'component' => :'String',
|
56
61
|
:'architecture' => :'String',
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
83
88
|
self.repository = attributes[:'repository']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
86
97
|
if attributes.key?(:'artifacts')
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
88
99
|
else
|
@@ -185,6 +196,7 @@ module PulpDebClient
|
|
185
196
|
return true if self.equal?(o)
|
186
197
|
self.class == o.class &&
|
187
198
|
repository == o.repository &&
|
199
|
+
pulp_labels == o.pulp_labels &&
|
188
200
|
artifacts == o.artifacts &&
|
189
201
|
component == o.component &&
|
190
202
|
architecture == o.architecture &&
|
@@ -200,7 +212,7 @@ module PulpDebClient
|
|
200
212
|
# Calculates hash code according to all attributes.
|
201
213
|
# @return [Integer] Hash code
|
202
214
|
def hash
|
203
|
-
[repository, artifacts, component, architecture, relative_path].hash
|
215
|
+
[repository, pulp_labels, artifacts, component, architecture, relative_path].hash
|
204
216
|
end
|
205
217
|
|
206
218
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
31
34
|
attr_accessor :artifacts
|
32
35
|
|
@@ -46,6 +49,7 @@ module PulpDebClient
|
|
46
49
|
:'prn' => :'prn',
|
47
50
|
:'pulp_created' => :'pulp_created',
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
49
53
|
:'artifacts' => :'artifacts',
|
50
54
|
:'component' => :'component',
|
51
55
|
:'architecture' => :'architecture',
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
65
69
|
:'prn' => :'String',
|
66
70
|
:'pulp_created' => :'Time',
|
67
71
|
:'pulp_last_updated' => :'Time',
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
68
73
|
:'artifacts' => :'Object',
|
69
74
|
:'component' => :'String',
|
70
75
|
:'architecture' => :'String',
|
@@ -109,6 +114,12 @@ module PulpDebClient
|
|
109
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
110
115
|
end
|
111
116
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
|
+
self.pulp_labels = value
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
112
123
|
if attributes.key?(:'artifacts')
|
113
124
|
self.artifacts = attributes[:'artifacts']
|
114
125
|
else
|
@@ -157,6 +168,7 @@ module PulpDebClient
|
|
157
168
|
prn == o.prn &&
|
158
169
|
pulp_created == o.pulp_created &&
|
159
170
|
pulp_last_updated == o.pulp_last_updated &&
|
171
|
+
pulp_labels == o.pulp_labels &&
|
160
172
|
artifacts == o.artifacts &&
|
161
173
|
component == o.component &&
|
162
174
|
architecture == o.architecture &&
|
@@ -172,7 +184,7 @@ module PulpDebClient
|
|
172
184
|
# Calculates hash code according to all attributes.
|
173
185
|
# @return [Integer] Hash code
|
174
186
|
def hash
|
175
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
187
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
|
176
188
|
end
|
177
189
|
|
178
190
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Package that is contained in release_comonent.
|
23
26
|
attr_accessor :package
|
24
27
|
|
@@ -29,6 +32,7 @@ module PulpDebClient
|
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'repository' => :'repository',
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
32
36
|
:'package' => :'package',
|
33
37
|
:'release_component' => :'release_component'
|
34
38
|
}
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
43
47
|
def self.openapi_types
|
44
48
|
{
|
45
49
|
:'repository' => :'String',
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
46
51
|
:'package' => :'String',
|
47
52
|
:'release_component' => :'String'
|
48
53
|
}
|
@@ -73,6 +78,12 @@ module PulpDebClient
|
|
73
78
|
self.repository = attributes[:'repository']
|
74
79
|
end
|
75
80
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
83
|
+
self.pulp_labels = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
76
87
|
if attributes.key?(:'package')
|
77
88
|
self.package = attributes[:'package']
|
78
89
|
else
|
@@ -117,6 +128,7 @@ module PulpDebClient
|
|
117
128
|
return true if self.equal?(o)
|
118
129
|
self.class == o.class &&
|
119
130
|
repository == o.repository &&
|
131
|
+
pulp_labels == o.pulp_labels &&
|
120
132
|
package == o.package &&
|
121
133
|
release_component == o.release_component
|
122
134
|
end
|
@@ -130,7 +142,7 @@ module PulpDebClient
|
|
130
142
|
# Calculates hash code according to all attributes.
|
131
143
|
# @return [Integer] Hash code
|
132
144
|
def hash
|
133
|
-
[repository, package, release_component].hash
|
145
|
+
[repository, pulp_labels, package, release_component].hash
|
134
146
|
end
|
135
147
|
|
136
148
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Package that is contained in release_comonent.
|
31
34
|
attr_accessor :package
|
32
35
|
|
@@ -40,6 +43,7 @@ module PulpDebClient
|
|
40
43
|
:'prn' => :'prn',
|
41
44
|
:'pulp_created' => :'pulp_created',
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
43
47
|
:'package' => :'package',
|
44
48
|
:'release_component' => :'release_component'
|
45
49
|
}
|
@@ -57,6 +61,7 @@ module PulpDebClient
|
|
57
61
|
:'prn' => :'String',
|
58
62
|
:'pulp_created' => :'Time',
|
59
63
|
:'pulp_last_updated' => :'Time',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
65
|
:'package' => :'String',
|
61
66
|
:'release_component' => :'String'
|
62
67
|
}
|
@@ -99,6 +104,12 @@ module PulpDebClient
|
|
99
104
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
100
105
|
end
|
101
106
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
|
+
self.pulp_labels = value
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
102
113
|
if attributes.key?(:'package')
|
103
114
|
self.package = attributes[:'package']
|
104
115
|
else
|
@@ -146,6 +157,7 @@ module PulpDebClient
|
|
146
157
|
prn == o.prn &&
|
147
158
|
pulp_created == o.pulp_created &&
|
148
159
|
pulp_last_updated == o.pulp_last_updated &&
|
160
|
+
pulp_labels == o.pulp_labels &&
|
149
161
|
package == o.package &&
|
150
162
|
release_component == o.release_component
|
151
163
|
end
|
@@ -159,7 +171,7 @@ module PulpDebClient
|
|
159
171
|
# Calculates hash code according to all attributes.
|
160
172
|
# @return [Integer] Hash code
|
161
173
|
def hash
|
162
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, package, release_component].hash
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, package, release_component].hash
|
163
175
|
end
|
164
176
|
|
165
177
|
# Builds the object from hash
|