pulp_deb_client 3.9.1 → 3.11.0
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 +5 -5
- data/docs/{RepositoryAddRemoveContent.md → AptRepositoryAddRemoveContent.md} +7 -3
- data/docs/AptRepositorySyncURL.md +1 -1
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackageReleaseComponentsApi.md +2 -2
- data/docs/ContentPackagesApi.md +3 -3
- data/docs/ContentReleaseArchitecturesApi.md +6 -2
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemote.md +4 -2
- data/docs/DebAptRemoteResponse.md +4 -2
- data/docs/DebAptRepository.md +9 -1
- data/docs/DebAptRepositoryResponse.md +9 -1
- data/docs/DebInstallerPackageResponse.md +5 -1
- data/docs/DebPackageResponse.md +5 -1
- data/docs/DebReleaseArchitecture.md +5 -1
- data/docs/DebReleaseArchitectureResponse.md +5 -1
- data/docs/PatcheddebAptRemote.md +4 -2
- data/docs/PatcheddebAptRepository.md +9 -1
- data/docs/RepositoriesAptApi.md +6 -6
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +9 -3
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -9
- data/lib/pulp_deb_client/models/{repository_add_remove_content.rb → apt_repository_add_remove_content.rb} +66 -8
- data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +17 -5
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +17 -5
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +74 -4
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +65 -4
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +26 -4
- data/lib/pulp_deb_client/models/deb_package_response.rb +26 -4
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +56 -4
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +26 -4
- data/lib/pulp_deb_client/models/nested_role.rb +1 -1
- data/lib/pulp_deb_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +17 -5
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +74 -4
- data/lib/pulp_deb_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_release_components_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/api/content_release_architectures_api_spec.rb +3 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/models/{repository_add_remove_content_spec.rb → apt_repository_add_remove_content_spec.rb} +18 -6
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +24 -0
- data/spec/models/deb_apt_repository_spec.rb +24 -0
- data/spec/models/deb_installer_package_response_spec.rb +12 -0
- data/spec/models/deb_package_response_spec.rb +12 -0
- data/spec/models/deb_release_architecture_response_spec.rb +12 -0
- data/spec/models/deb_release_architecture_spec.rb +12 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +24 -0
- metadata +88 -88
data/docs/RepositoriesAptApi.md
CHANGED
|
@@ -472,7 +472,7 @@ end
|
|
|
472
472
|
|
|
473
473
|
## modify
|
|
474
474
|
|
|
475
|
-
> <AsyncOperationResponse> modify(deb_apt_repository_href,
|
|
475
|
+
> <AsyncOperationResponse> modify(deb_apt_repository_href, apt_repository_add_remove_content, opts)
|
|
476
476
|
|
|
477
477
|
Modify Repository Content
|
|
478
478
|
|
|
@@ -492,14 +492,14 @@ end
|
|
|
492
492
|
|
|
493
493
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
|
494
494
|
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
|
495
|
-
|
|
495
|
+
apt_repository_add_remove_content = PulpDebClient::AptRepositoryAddRemoveContent.new # AptRepositoryAddRemoveContent |
|
|
496
496
|
opts = {
|
|
497
497
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
begin
|
|
501
501
|
# Modify Repository Content
|
|
502
|
-
result = api_instance.modify(deb_apt_repository_href,
|
|
502
|
+
result = api_instance.modify(deb_apt_repository_href, apt_repository_add_remove_content, opts)
|
|
503
503
|
p result
|
|
504
504
|
rescue PulpDebClient::ApiError => e
|
|
505
505
|
puts "Error when calling RepositoriesAptApi->modify: #{e}"
|
|
@@ -510,12 +510,12 @@ end
|
|
|
510
510
|
|
|
511
511
|
This returns an Array which contains the response data, status code and headers.
|
|
512
512
|
|
|
513
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(deb_apt_repository_href,
|
|
513
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(deb_apt_repository_href, apt_repository_add_remove_content, opts)
|
|
514
514
|
|
|
515
515
|
```ruby
|
|
516
516
|
begin
|
|
517
517
|
# Modify Repository Content
|
|
518
|
-
data, status_code, headers = api_instance.modify_with_http_info(deb_apt_repository_href,
|
|
518
|
+
data, status_code, headers = api_instance.modify_with_http_info(deb_apt_repository_href, apt_repository_add_remove_content, opts)
|
|
519
519
|
p status_code # => 2xx
|
|
520
520
|
p headers # => { ... }
|
|
521
521
|
p data # => <AsyncOperationResponse>
|
|
@@ -529,7 +529,7 @@ end
|
|
|
529
529
|
| Name | Type | Description | Notes |
|
|
530
530
|
| ---- | ---- | ----------- | ----- |
|
|
531
531
|
| **deb_apt_repository_href** | **String** | | |
|
|
532
|
-
| **
|
|
532
|
+
| **apt_repository_add_remove_content** | [**AptRepositoryAddRemoveContent**](AptRepositoryAddRemoveContent.md) | | |
|
|
533
533
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
534
534
|
|
|
535
535
|
### Return type
|
|
@@ -133,7 +133,7 @@ module PulpDebClient
|
|
|
133
133
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
|
134
134
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
|
135
135
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
136
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
136
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
137
137
|
# @option opts [String] :origin Filter results where origin matches value
|
|
138
138
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
|
139
139
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
@@ -174,7 +174,7 @@ module PulpDebClient
|
|
|
174
174
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
|
175
175
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
177
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
177
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
178
178
|
# @option opts [String] :origin Filter results where origin matches value
|
|
179
179
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
|
180
180
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
@@ -212,7 +212,7 @@ module PulpDebClient
|
|
|
212
212
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
|
213
213
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
|
214
214
|
end
|
|
215
|
-
allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
|
215
|
+
allowable_values = ["-architecture", "-architecture_variant", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-metadata_sha256", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-signing_keys", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "architecture_variant", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "metadata_sha256", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "signing_keys", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
|
216
216
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
217
217
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
218
218
|
end
|
|
@@ -96,7 +96,7 @@ module PulpDebClient
|
|
|
96
96
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
98
98
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
99
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
99
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `index_architecture` - Index architecture * `-index_architecture` - Index architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
100
100
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
101
101
|
# @option opts [String] :package
|
|
102
102
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
@@ -122,7 +122,7 @@ module PulpDebClient
|
|
|
122
122
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
123
123
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
124
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
125
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
125
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `index_architecture` - Index architecture * `-index_architecture` - Index architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
126
126
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
127
127
|
# @option opts [String] :package
|
|
128
128
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
@@ -141,7 +141,7 @@ module PulpDebClient
|
|
|
141
141
|
if @api_client.config.debugging
|
|
142
142
|
@api_client.config.logger.debug 'Calling API: ContentPackageReleaseComponentsApi.list ...'
|
|
143
143
|
end
|
|
144
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
|
144
|
+
allowable_values = ["-index_architecture", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "index_architecture", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
|
145
145
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
146
146
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
147
147
|
end
|
|
@@ -20,7 +20,7 @@ module PulpDebClient
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Create a package
|
|
23
|
-
# Trigger an asynchronous task to create
|
|
23
|
+
# Trigger an asynchronous task to create an DEB package,optionally create new repository version.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
@@ -41,7 +41,7 @@ module PulpDebClient
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
# Create a package
|
|
44
|
-
# Trigger an asynchronous task to create
|
|
44
|
+
# Trigger an asynchronous task to create an DEB package,optionally create new repository version.
|
|
45
45
|
# @param [Hash] opts the optional parameters
|
|
46
46
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
47
47
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
@@ -147,7 +147,7 @@ module PulpDebClient
|
|
|
147
147
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
|
148
148
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
|
149
149
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
150
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
150
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
151
151
|
# @option opts [String] :origin Filter results where origin matches value
|
|
152
152
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
|
153
153
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
@@ -199,7 +199,7 @@ module PulpDebClient
|
|
|
199
199
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
|
200
200
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
|
201
201
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
202
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
202
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
203
203
|
# @option opts [String] :origin Filter results where origin matches value
|
|
204
204
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
|
205
205
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
@@ -248,7 +248,7 @@ module PulpDebClient
|
|
|
248
248
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
|
249
249
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
|
250
250
|
end
|
|
251
|
-
allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
|
251
|
+
allowable_values = ["-architecture", "-architecture_variant", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-metadata_sha256", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-signing_keys", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "architecture_variant", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "metadata_sha256", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "signing_keys", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
|
252
252
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
253
253
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
254
254
|
end
|
|
@@ -95,10 +95,11 @@ module PulpDebClient
|
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
97
|
# @option opts [String] :architecture Filter results where architecture matches value
|
|
98
|
+
# @option opts [String] :base_architecture Filter results where base_architecture matches value
|
|
98
99
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
99
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
100
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
101
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
102
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `base_architecture` - Base architecture * `-base_architecture` - Base architecture (descending) * `variant_architecture` - Variant architecture * `-variant_architecture` - Variant architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
102
103
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
103
104
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
104
105
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -108,6 +109,7 @@ module PulpDebClient
|
|
|
108
109
|
# @option opts [String] :repository_version
|
|
109
110
|
# @option opts [String] :repository_version_added
|
|
110
111
|
# @option opts [String] :repository_version_removed
|
|
112
|
+
# @option opts [String] :variant_architecture Filter results where variant_architecture matches value
|
|
111
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
115
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
|
@@ -121,10 +123,11 @@ module PulpDebClient
|
|
|
121
123
|
# @param [Hash] opts the optional parameters
|
|
122
124
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
123
125
|
# @option opts [String] :architecture Filter results where architecture matches value
|
|
126
|
+
# @option opts [String] :base_architecture Filter results where base_architecture matches value
|
|
124
127
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
125
128
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
126
129
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
127
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
130
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `base_architecture` - Base architecture * `-base_architecture` - Base architecture (descending) * `variant_architecture` - Variant architecture * `-variant_architecture` - Variant architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
128
131
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
129
132
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
130
133
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -134,6 +137,7 @@ module PulpDebClient
|
|
|
134
137
|
# @option opts [String] :repository_version
|
|
135
138
|
# @option opts [String] :repository_version_added
|
|
136
139
|
# @option opts [String] :repository_version_removed
|
|
140
|
+
# @option opts [String] :variant_architecture Filter results where variant_architecture matches value
|
|
137
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
138
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
139
143
|
# @return [Array<(PaginateddebReleaseArchitectureResponseList, Integer, Hash)>] PaginateddebReleaseArchitectureResponseList data, response status code and response headers
|
|
@@ -141,7 +145,7 @@ module PulpDebClient
|
|
|
141
145
|
if @api_client.config.debugging
|
|
142
146
|
@api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
|
|
143
147
|
end
|
|
144
|
-
allowable_values = ["-architecture", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "distribution", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
|
148
|
+
allowable_values = ["-architecture", "-base_architecture", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-variant_architecture", "architecture", "base_architecture", "distribution", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "variant_architecture"]
|
|
145
149
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
146
150
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
147
151
|
end
|
|
@@ -151,6 +155,7 @@ module PulpDebClient
|
|
|
151
155
|
# query parameters
|
|
152
156
|
query_params = opts[:query_params] || {}
|
|
153
157
|
query_params[:'architecture'] = opts[:'architecture'] if !opts[:'architecture'].nil?
|
|
158
|
+
query_params[:'base_architecture'] = opts[:'base_architecture'] if !opts[:'base_architecture'].nil?
|
|
154
159
|
query_params[:'distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
|
|
155
160
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
156
161
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
@@ -164,6 +169,7 @@ module PulpDebClient
|
|
|
164
169
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
165
170
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
166
171
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
172
|
+
query_params[:'variant_architecture'] = opts[:'variant_architecture'] if !opts[:'variant_architecture'].nil?
|
|
167
173
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
168
174
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
169
175
|
|
|
@@ -486,23 +486,23 @@ module PulpDebClient
|
|
|
486
486
|
# Modify Repository Content
|
|
487
487
|
# Trigger an asynchronous task to create a new repository version.
|
|
488
488
|
# @param deb_apt_repository_href [String]
|
|
489
|
-
# @param
|
|
489
|
+
# @param apt_repository_add_remove_content [AptRepositoryAddRemoveContent]
|
|
490
490
|
# @param [Hash] opts the optional parameters
|
|
491
491
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
492
492
|
# @return [AsyncOperationResponse]
|
|
493
|
-
def modify(deb_apt_repository_href,
|
|
494
|
-
data, _status_code, _headers = modify_with_http_info(deb_apt_repository_href,
|
|
493
|
+
def modify(deb_apt_repository_href, apt_repository_add_remove_content, opts = {})
|
|
494
|
+
data, _status_code, _headers = modify_with_http_info(deb_apt_repository_href, apt_repository_add_remove_content, opts)
|
|
495
495
|
data
|
|
496
496
|
end
|
|
497
497
|
|
|
498
498
|
# Modify Repository Content
|
|
499
499
|
# Trigger an asynchronous task to create a new repository version.
|
|
500
500
|
# @param deb_apt_repository_href [String]
|
|
501
|
-
# @param
|
|
501
|
+
# @param apt_repository_add_remove_content [AptRepositoryAddRemoveContent]
|
|
502
502
|
# @param [Hash] opts the optional parameters
|
|
503
503
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
504
504
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
505
|
-
def modify_with_http_info(deb_apt_repository_href,
|
|
505
|
+
def modify_with_http_info(deb_apt_repository_href, apt_repository_add_remove_content, opts = {})
|
|
506
506
|
if @api_client.config.debugging
|
|
507
507
|
@api_client.config.logger.debug 'Calling API: RepositoriesAptApi.modify ...'
|
|
508
508
|
end
|
|
@@ -510,9 +510,9 @@ module PulpDebClient
|
|
|
510
510
|
if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
|
|
511
511
|
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptApi.modify"
|
|
512
512
|
end
|
|
513
|
-
# verify the required parameter '
|
|
514
|
-
if @api_client.config.client_side_validation &&
|
|
515
|
-
fail ArgumentError, "Missing the required parameter '
|
|
513
|
+
# verify the required parameter 'apt_repository_add_remove_content' is set
|
|
514
|
+
if @api_client.config.client_side_validation && apt_repository_add_remove_content.nil?
|
|
515
|
+
fail ArgumentError, "Missing the required parameter 'apt_repository_add_remove_content' when calling RepositoriesAptApi.modify"
|
|
516
516
|
end
|
|
517
517
|
# resource path
|
|
518
518
|
local_var_path = '{deb_apt_repository_href}modify/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -535,7 +535,7 @@ module PulpDebClient
|
|
|
535
535
|
form_params = opts[:form_params] || {}
|
|
536
536
|
|
|
537
537
|
# http body (model)
|
|
538
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
538
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(apt_repository_add_remove_content)
|
|
539
539
|
|
|
540
540
|
# return_type
|
|
541
541
|
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
|
@@ -14,8 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpDebClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
18
|
-
class
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
|
+
class AptRepositoryAddRemoveContent
|
|
19
19
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
|
20
20
|
attr_accessor :add_content_units
|
|
21
21
|
|
|
@@ -28,13 +28,21 @@ module PulpDebClient
|
|
|
28
28
|
# When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.
|
|
29
29
|
attr_accessor :overwrite
|
|
30
30
|
|
|
31
|
+
# Name of the distribution any packages from add_content_units or remove_content_units should be added to or removed from. Defaults to DEFAULT_DISTRIBUTION if only a component is provided.
|
|
32
|
+
attr_accessor :distribution
|
|
33
|
+
|
|
34
|
+
# Name of the component any packages from add_content_units or remove_content_units should be added to or removed from. Defaults to DEFAULT_COMPONENT if only a distribution is provided..
|
|
35
|
+
attr_accessor :component
|
|
36
|
+
|
|
31
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
38
|
def self.attribute_map
|
|
33
39
|
{
|
|
34
40
|
:'add_content_units' => :'add_content_units',
|
|
35
41
|
:'remove_content_units' => :'remove_content_units',
|
|
36
42
|
:'base_version' => :'base_version',
|
|
37
|
-
:'overwrite' => :'overwrite'
|
|
43
|
+
:'overwrite' => :'overwrite',
|
|
44
|
+
:'distribution' => :'distribution',
|
|
45
|
+
:'component' => :'component'
|
|
38
46
|
}
|
|
39
47
|
end
|
|
40
48
|
|
|
@@ -49,7 +57,9 @@ module PulpDebClient
|
|
|
49
57
|
:'add_content_units' => :'Array<String>',
|
|
50
58
|
:'remove_content_units' => :'Array<String>',
|
|
51
59
|
:'base_version' => :'String',
|
|
52
|
-
:'overwrite' => :'Boolean'
|
|
60
|
+
:'overwrite' => :'Boolean',
|
|
61
|
+
:'distribution' => :'String',
|
|
62
|
+
:'component' => :'String'
|
|
53
63
|
}
|
|
54
64
|
end
|
|
55
65
|
|
|
@@ -63,13 +73,13 @@ module PulpDebClient
|
|
|
63
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
64
74
|
def initialize(attributes = {})
|
|
65
75
|
if (!attributes.is_a?(Hash))
|
|
66
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::AptRepositoryAddRemoveContent` initialize method"
|
|
67
77
|
end
|
|
68
78
|
|
|
69
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
70
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
71
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::AptRepositoryAddRemoveContent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
73
83
|
end
|
|
74
84
|
h[k.to_sym] = v
|
|
75
85
|
}
|
|
@@ -95,6 +105,14 @@ module PulpDebClient
|
|
|
95
105
|
else
|
|
96
106
|
self.overwrite = true
|
|
97
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'distribution')
|
|
110
|
+
self.distribution = attributes[:'distribution']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'component')
|
|
114
|
+
self.component = attributes[:'component']
|
|
115
|
+
end
|
|
98
116
|
end
|
|
99
117
|
|
|
100
118
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -102,6 +120,14 @@ module PulpDebClient
|
|
|
102
120
|
def list_invalid_properties
|
|
103
121
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
104
122
|
invalid_properties = Array.new
|
|
123
|
+
if !@distribution.nil? && @distribution.to_s.length < 1
|
|
124
|
+
invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if !@component.nil? && @component.to_s.length < 1
|
|
128
|
+
invalid_properties.push('invalid value for "component", the character length must be great than or equal to 1.')
|
|
129
|
+
end
|
|
130
|
+
|
|
105
131
|
invalid_properties
|
|
106
132
|
end
|
|
107
133
|
|
|
@@ -109,9 +135,39 @@ module PulpDebClient
|
|
|
109
135
|
# @return true if the model is valid
|
|
110
136
|
def valid?
|
|
111
137
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
138
|
+
return false if !@distribution.nil? && @distribution.to_s.length < 1
|
|
139
|
+
return false if !@component.nil? && @component.to_s.length < 1
|
|
112
140
|
true
|
|
113
141
|
end
|
|
114
142
|
|
|
143
|
+
# Custom attribute writer method with validation
|
|
144
|
+
# @param [Object] distribution Value to be assigned
|
|
145
|
+
def distribution=(distribution)
|
|
146
|
+
if distribution.nil?
|
|
147
|
+
fail ArgumentError, 'distribution cannot be nil'
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
if distribution.to_s.length < 1
|
|
151
|
+
fail ArgumentError, 'invalid value for "distribution", the character length must be great than or equal to 1.'
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
@distribution = distribution
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Custom attribute writer method with validation
|
|
158
|
+
# @param [Object] component Value to be assigned
|
|
159
|
+
def component=(component)
|
|
160
|
+
if component.nil?
|
|
161
|
+
fail ArgumentError, 'component cannot be nil'
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if component.to_s.length < 1
|
|
165
|
+
fail ArgumentError, 'invalid value for "component", the character length must be great than or equal to 1.'
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
@component = component
|
|
169
|
+
end
|
|
170
|
+
|
|
115
171
|
# Checks equality by comparing each attribute.
|
|
116
172
|
# @param [Object] Object to be compared
|
|
117
173
|
def ==(o)
|
|
@@ -120,7 +176,9 @@ module PulpDebClient
|
|
|
120
176
|
add_content_units == o.add_content_units &&
|
|
121
177
|
remove_content_units == o.remove_content_units &&
|
|
122
178
|
base_version == o.base_version &&
|
|
123
|
-
overwrite == o.overwrite
|
|
179
|
+
overwrite == o.overwrite &&
|
|
180
|
+
distribution == o.distribution &&
|
|
181
|
+
component == o.component
|
|
124
182
|
end
|
|
125
183
|
|
|
126
184
|
# @see the `==` method
|
|
@@ -132,7 +190,7 @@ module PulpDebClient
|
|
|
132
190
|
# Calculates hash code according to all attributes.
|
|
133
191
|
# @return [Integer] Hash code
|
|
134
192
|
def hash
|
|
135
|
-
[add_content_units, remove_content_units, base_version, overwrite].hash
|
|
193
|
+
[add_content_units, remove_content_units, base_version, overwrite, distribution, component].hash
|
|
136
194
|
end
|
|
137
195
|
|
|
138
196
|
# Builds the object from hash
|
|
@@ -19,7 +19,7 @@ module PulpDebClient
|
|
|
19
19
|
# A remote to sync from. This will override a remote set on repository.
|
|
20
20
|
attr_accessor :remote
|
|
21
21
|
|
|
22
|
-
# If
|
|
22
|
+
# If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only.
|
|
23
23
|
attr_accessor :mirror
|
|
24
24
|
|
|
25
25
|
# Using optimize sync, will skip the processing of metadata if the checksum has not changed since the last sync. This greately improves re-sync performance in such situations. If you feel the sync is missing something that has changed about the remote repository you are syncing, try using optimize=False for a full re-sync. Consider opening an issue on why we should not optimize in your use case.
|
|
@@ -37,6 +37,9 @@ module PulpDebClient
|
|
|
37
37
|
# Whether or not to publish Legacy per-component-and-architecture Release files.
|
|
38
38
|
attr_accessor :publish_legacy_release_files
|
|
39
39
|
|
|
40
|
+
# Package metadata field names to omit from generated Packages indices. This only affects custom package metadata fields during structured publication. Core package metadata fields are never filtered. Matching is case-insensitive. Example: ['Phased-Update-Percentage'].
|
|
41
|
+
attr_accessor :excluded_package_metadata_fields
|
|
42
|
+
|
|
40
43
|
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `nested_by_digest` - nested_by_digest * `nested_by_both` - nested_by_both
|
|
41
44
|
attr_accessor :layout
|
|
42
45
|
|
|
@@ -73,6 +76,7 @@ module PulpDebClient
|
|
|
73
76
|
:'signing_service' => :'signing_service',
|
|
74
77
|
:'publish_upstream_release_fields' => :'publish_upstream_release_fields',
|
|
75
78
|
:'publish_legacy_release_files' => :'publish_legacy_release_files',
|
|
79
|
+
:'excluded_package_metadata_fields' => :'excluded_package_metadata_fields',
|
|
76
80
|
:'layout' => :'layout'
|
|
77
81
|
}
|
|
78
82
|
end
|
|
@@ -93,6 +97,7 @@ module PulpDebClient
|
|
|
93
97
|
:'signing_service' => :'String',
|
|
94
98
|
:'publish_upstream_release_fields' => :'Boolean',
|
|
95
99
|
:'publish_legacy_release_files' => :'Boolean',
|
|
100
|
+
:'excluded_package_metadata_fields' => :'Array<String>',
|
|
96
101
|
:'layout' => :'LayoutEnum'
|
|
97
102
|
}
|
|
98
103
|
end
|
|
@@ -156,6 +161,12 @@ module PulpDebClient
|
|
|
156
161
|
self.publish_legacy_release_files = false
|
|
157
162
|
end
|
|
158
163
|
|
|
164
|
+
if attributes.key?(:'excluded_package_metadata_fields')
|
|
165
|
+
if (value = attributes[:'excluded_package_metadata_fields']).is_a?(Array)
|
|
166
|
+
self.excluded_package_metadata_fields = value
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
159
170
|
if attributes.key?(:'layout')
|
|
160
171
|
self.layout = attributes[:'layout']
|
|
161
172
|
end
|
|
@@ -189,6 +200,7 @@ module PulpDebClient
|
|
|
189
200
|
signing_service == o.signing_service &&
|
|
190
201
|
publish_upstream_release_fields == o.publish_upstream_release_fields &&
|
|
191
202
|
publish_legacy_release_files == o.publish_legacy_release_files &&
|
|
203
|
+
excluded_package_metadata_fields == o.excluded_package_metadata_fields &&
|
|
192
204
|
layout == o.layout
|
|
193
205
|
end
|
|
194
206
|
|
|
@@ -201,7 +213,7 @@ module PulpDebClient
|
|
|
201
213
|
# Calculates hash code according to all attributes.
|
|
202
214
|
# @return [Integer] Hash code
|
|
203
215
|
def hash
|
|
204
|
-
[repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields, publish_legacy_release_files, layout].hash
|
|
216
|
+
[repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields, publish_legacy_release_files, excluded_package_metadata_fields, layout].hash
|
|
205
217
|
end
|
|
206
218
|
|
|
207
219
|
# Builds the object from hash
|