pulp_deb_client 3.9.1 → 3.10.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 +4 -4
- 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/DebAptRemote.md +1 -1
- data/docs/DebAptRemoteResponse.md +1 -1
- data/docs/DebAptRepository.md +7 -1
- data/docs/DebAptRepositoryResponse.md +7 -1
- data/docs/DebInstallerPackageResponse.md +3 -1
- data/docs/DebPackageResponse.md +3 -1
- data/docs/DebReleaseArchitecture.md +5 -1
- data/docs/DebReleaseArchitectureResponse.md +5 -1
- data/docs/PatcheddebAptRemote.md +1 -1
- data/docs/PatcheddebAptRepository.md +7 -1
- 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/models/deb_apt_remote.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +62 -4
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +53 -4
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +17 -4
- data/lib/pulp_deb_client/models/deb_package_response.rb +17 -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/patcheddeb_apt_remote.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +62 -4
- data/lib/pulp_deb_client/version.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/models/deb_apt_repository_response_spec.rb +18 -0
- data/spec/models/deb_apt_repository_spec.rb +18 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -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_repository_spec.rb +18 -0
- metadata +1 -1
|
@@ -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) * `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) * `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", "-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", "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
|
|
|
@@ -84,7 +84,7 @@ module PulpDebClient
|
|
|
84
84
|
# Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\".
|
|
85
85
|
attr_accessor :components
|
|
86
86
|
|
|
87
|
-
# Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A
|
|
87
|
+
# Whitespace separated list of architectures to sync. If none are supplied, all that are available will be synchronized. A sync will download the intersection of the architectures provided via this field and those provided by the relevant Release file. Architecture variants should be specified as they appear in the Release file, for example \"amd64v3\". Architecture=\"all\" is always synchronized and does not need to be provided here.
|
|
88
88
|
attr_accessor :architectures
|
|
89
89
|
|
|
90
90
|
# Sync source packages
|
|
@@ -83,7 +83,7 @@ module PulpDebClient
|
|
|
83
83
|
# Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\".
|
|
84
84
|
attr_accessor :components
|
|
85
85
|
|
|
86
|
-
# Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A
|
|
86
|
+
# Whitespace separated list of architectures to sync. If none are supplied, all that are available will be synchronized. A sync will download the intersection of the architectures provided via this field and those provided by the relevant Release file. Architecture variants should be specified as they appear in the Release file, for example \"amd64v3\". Architecture=\"all\" is always synchronized and does not need to be provided here.
|
|
87
87
|
attr_accessor :architectures
|
|
88
88
|
|
|
89
89
|
# Sync source packages
|
|
@@ -45,6 +45,15 @@ module PulpDebClient
|
|
|
45
45
|
# A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"}
|
|
46
46
|
attr_accessor :signing_service_release_overrides
|
|
47
47
|
|
|
48
|
+
# A dictionary of Release distributions and the Package Signing Fingerprints they should use. Example: {\"bionic\": \"v4:7FC42CD5F3D8EEC37FC42CD5F3D8EEC3DEADBEEF\"}
|
|
49
|
+
attr_accessor :package_signing_fingerprint_release_overrides
|
|
50
|
+
|
|
51
|
+
# A reference to an associated package signing service.
|
|
52
|
+
attr_accessor :package_signing_service
|
|
53
|
+
|
|
54
|
+
# The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. The signing service will use that on signing operations related to this repository.
|
|
55
|
+
attr_accessor :package_signing_fingerprint
|
|
56
|
+
|
|
48
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
58
|
def self.attribute_map
|
|
50
59
|
{
|
|
@@ -57,7 +66,10 @@ module PulpDebClient
|
|
|
57
66
|
:'autopublish' => :'autopublish',
|
|
58
67
|
:'publish_upstream_release_fields' => :'publish_upstream_release_fields',
|
|
59
68
|
:'signing_service' => :'signing_service',
|
|
60
|
-
:'signing_service_release_overrides' => :'signing_service_release_overrides'
|
|
69
|
+
:'signing_service_release_overrides' => :'signing_service_release_overrides',
|
|
70
|
+
:'package_signing_fingerprint_release_overrides' => :'package_signing_fingerprint_release_overrides',
|
|
71
|
+
:'package_signing_service' => :'package_signing_service',
|
|
72
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint'
|
|
61
73
|
}
|
|
62
74
|
end
|
|
63
75
|
|
|
@@ -78,7 +90,10 @@ module PulpDebClient
|
|
|
78
90
|
:'autopublish' => :'Boolean',
|
|
79
91
|
:'publish_upstream_release_fields' => :'Boolean',
|
|
80
92
|
:'signing_service' => :'String',
|
|
81
|
-
:'signing_service_release_overrides' => :'Hash<String, String>'
|
|
93
|
+
:'signing_service_release_overrides' => :'Hash<String, String>',
|
|
94
|
+
:'package_signing_fingerprint_release_overrides' => :'Hash<String, String>',
|
|
95
|
+
:'package_signing_service' => :'String',
|
|
96
|
+
:'package_signing_fingerprint' => :'String'
|
|
82
97
|
}
|
|
83
98
|
end
|
|
84
99
|
|
|
@@ -90,6 +105,8 @@ module PulpDebClient
|
|
|
90
105
|
:'retain_checkpoints',
|
|
91
106
|
:'remote',
|
|
92
107
|
:'signing_service',
|
|
108
|
+
:'package_signing_service',
|
|
109
|
+
:'package_signing_fingerprint'
|
|
93
110
|
])
|
|
94
111
|
end
|
|
95
112
|
|
|
@@ -155,6 +172,20 @@ module PulpDebClient
|
|
|
155
172
|
self.signing_service_release_overrides = value
|
|
156
173
|
end
|
|
157
174
|
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'package_signing_fingerprint_release_overrides')
|
|
177
|
+
if (value = attributes[:'package_signing_fingerprint_release_overrides']).is_a?(Hash)
|
|
178
|
+
self.package_signing_fingerprint_release_overrides = value
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
if attributes.key?(:'package_signing_service')
|
|
183
|
+
self.package_signing_service = attributes[:'package_signing_service']
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
if attributes.key?(:'package_signing_fingerprint')
|
|
187
|
+
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
|
188
|
+
end
|
|
158
189
|
end
|
|
159
190
|
|
|
160
191
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -182,6 +213,14 @@ module PulpDebClient
|
|
|
182
213
|
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
183
214
|
end
|
|
184
215
|
|
|
216
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
|
|
217
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.')
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
|
|
221
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be great than or equal to 1.')
|
|
222
|
+
end
|
|
223
|
+
|
|
185
224
|
invalid_properties
|
|
186
225
|
end
|
|
187
226
|
|
|
@@ -194,6 +233,8 @@ module PulpDebClient
|
|
|
194
233
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
195
234
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
196
235
|
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
236
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
|
|
237
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
|
|
197
238
|
true
|
|
198
239
|
end
|
|
199
240
|
|
|
@@ -241,6 +282,20 @@ module PulpDebClient
|
|
|
241
282
|
@retain_checkpoints = retain_checkpoints
|
|
242
283
|
end
|
|
243
284
|
|
|
285
|
+
# Custom attribute writer method with validation
|
|
286
|
+
# @param [Object] package_signing_fingerprint Value to be assigned
|
|
287
|
+
def package_signing_fingerprint=(package_signing_fingerprint)
|
|
288
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 68
|
|
289
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.'
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length < 1
|
|
293
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be great than or equal to 1.'
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
@package_signing_fingerprint = package_signing_fingerprint
|
|
297
|
+
end
|
|
298
|
+
|
|
244
299
|
# Checks equality by comparing each attribute.
|
|
245
300
|
# @param [Object] Object to be compared
|
|
246
301
|
def ==(o)
|
|
@@ -255,7 +310,10 @@ module PulpDebClient
|
|
|
255
310
|
autopublish == o.autopublish &&
|
|
256
311
|
publish_upstream_release_fields == o.publish_upstream_release_fields &&
|
|
257
312
|
signing_service == o.signing_service &&
|
|
258
|
-
signing_service_release_overrides == o.signing_service_release_overrides
|
|
313
|
+
signing_service_release_overrides == o.signing_service_release_overrides &&
|
|
314
|
+
package_signing_fingerprint_release_overrides == o.package_signing_fingerprint_release_overrides &&
|
|
315
|
+
package_signing_service == o.package_signing_service &&
|
|
316
|
+
package_signing_fingerprint == o.package_signing_fingerprint
|
|
259
317
|
end
|
|
260
318
|
|
|
261
319
|
# @see the `==` method
|
|
@@ -267,7 +325,7 @@ module PulpDebClient
|
|
|
267
325
|
# Calculates hash code according to all attributes.
|
|
268
326
|
# @return [Integer] Hash code
|
|
269
327
|
def hash
|
|
270
|
-
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
|
|
328
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides, package_signing_fingerprint_release_overrides, package_signing_service, package_signing_fingerprint].hash
|
|
271
329
|
end
|
|
272
330
|
|
|
273
331
|
# Builds the object from hash
|
|
@@ -60,6 +60,15 @@ module PulpDebClient
|
|
|
60
60
|
# A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"}
|
|
61
61
|
attr_accessor :signing_service_release_overrides
|
|
62
62
|
|
|
63
|
+
# A dictionary of Release distributions and the Package Signing Fingerprints they should use. Example: {\"bionic\": \"v4:7FC42CD5F3D8EEC37FC42CD5F3D8EEC3DEADBEEF\"}
|
|
64
|
+
attr_accessor :package_signing_fingerprint_release_overrides
|
|
65
|
+
|
|
66
|
+
# A reference to an associated package signing service.
|
|
67
|
+
attr_accessor :package_signing_service
|
|
68
|
+
|
|
69
|
+
# The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. The signing service will use that on signing operations related to this repository.
|
|
70
|
+
attr_accessor :package_signing_fingerprint
|
|
71
|
+
|
|
63
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
64
73
|
def self.attribute_map
|
|
65
74
|
{
|
|
@@ -78,7 +87,10 @@ module PulpDebClient
|
|
|
78
87
|
:'autopublish' => :'autopublish',
|
|
79
88
|
:'publish_upstream_release_fields' => :'publish_upstream_release_fields',
|
|
80
89
|
:'signing_service' => :'signing_service',
|
|
81
|
-
:'signing_service_release_overrides' => :'signing_service_release_overrides'
|
|
90
|
+
:'signing_service_release_overrides' => :'signing_service_release_overrides',
|
|
91
|
+
:'package_signing_fingerprint_release_overrides' => :'package_signing_fingerprint_release_overrides',
|
|
92
|
+
:'package_signing_service' => :'package_signing_service',
|
|
93
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint'
|
|
82
94
|
}
|
|
83
95
|
end
|
|
84
96
|
|
|
@@ -105,7 +117,10 @@ module PulpDebClient
|
|
|
105
117
|
:'autopublish' => :'Boolean',
|
|
106
118
|
:'publish_upstream_release_fields' => :'Boolean',
|
|
107
119
|
:'signing_service' => :'String',
|
|
108
|
-
:'signing_service_release_overrides' => :'Hash<String, String>'
|
|
120
|
+
:'signing_service_release_overrides' => :'Hash<String, String>',
|
|
121
|
+
:'package_signing_fingerprint_release_overrides' => :'Hash<String, String>',
|
|
122
|
+
:'package_signing_service' => :'String',
|
|
123
|
+
:'package_signing_fingerprint' => :'String'
|
|
109
124
|
}
|
|
110
125
|
end
|
|
111
126
|
|
|
@@ -117,6 +132,8 @@ module PulpDebClient
|
|
|
117
132
|
:'retain_checkpoints',
|
|
118
133
|
:'remote',
|
|
119
134
|
:'signing_service',
|
|
135
|
+
:'package_signing_service',
|
|
136
|
+
:'package_signing_fingerprint'
|
|
120
137
|
])
|
|
121
138
|
end
|
|
122
139
|
|
|
@@ -206,6 +223,20 @@ module PulpDebClient
|
|
|
206
223
|
self.signing_service_release_overrides = value
|
|
207
224
|
end
|
|
208
225
|
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'package_signing_fingerprint_release_overrides')
|
|
228
|
+
if (value = attributes[:'package_signing_fingerprint_release_overrides']).is_a?(Hash)
|
|
229
|
+
self.package_signing_fingerprint_release_overrides = value
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'package_signing_service')
|
|
234
|
+
self.package_signing_service = attributes[:'package_signing_service']
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
if attributes.key?(:'package_signing_fingerprint')
|
|
238
|
+
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
|
239
|
+
end
|
|
209
240
|
end
|
|
210
241
|
|
|
211
242
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -225,6 +256,10 @@ module PulpDebClient
|
|
|
225
256
|
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
226
257
|
end
|
|
227
258
|
|
|
259
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
|
|
260
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.')
|
|
261
|
+
end
|
|
262
|
+
|
|
228
263
|
invalid_properties
|
|
229
264
|
end
|
|
230
265
|
|
|
@@ -235,6 +270,7 @@ module PulpDebClient
|
|
|
235
270
|
return false if @name.nil?
|
|
236
271
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
237
272
|
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
273
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
|
|
238
274
|
true
|
|
239
275
|
end
|
|
240
276
|
|
|
@@ -258,6 +294,16 @@ module PulpDebClient
|
|
|
258
294
|
@retain_checkpoints = retain_checkpoints
|
|
259
295
|
end
|
|
260
296
|
|
|
297
|
+
# Custom attribute writer method with validation
|
|
298
|
+
# @param [Object] package_signing_fingerprint Value to be assigned
|
|
299
|
+
def package_signing_fingerprint=(package_signing_fingerprint)
|
|
300
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 68
|
|
301
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.'
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
@package_signing_fingerprint = package_signing_fingerprint
|
|
305
|
+
end
|
|
306
|
+
|
|
261
307
|
# Checks equality by comparing each attribute.
|
|
262
308
|
# @param [Object] Object to be compared
|
|
263
309
|
def ==(o)
|
|
@@ -278,7 +324,10 @@ module PulpDebClient
|
|
|
278
324
|
autopublish == o.autopublish &&
|
|
279
325
|
publish_upstream_release_fields == o.publish_upstream_release_fields &&
|
|
280
326
|
signing_service == o.signing_service &&
|
|
281
|
-
signing_service_release_overrides == o.signing_service_release_overrides
|
|
327
|
+
signing_service_release_overrides == o.signing_service_release_overrides &&
|
|
328
|
+
package_signing_fingerprint_release_overrides == o.package_signing_fingerprint_release_overrides &&
|
|
329
|
+
package_signing_service == o.package_signing_service &&
|
|
330
|
+
package_signing_fingerprint == o.package_signing_fingerprint
|
|
282
331
|
end
|
|
283
332
|
|
|
284
333
|
# @see the `==` method
|
|
@@ -290,7 +339,7 @@ module PulpDebClient
|
|
|
290
339
|
# Calculates hash code according to all attributes.
|
|
291
340
|
# @return [Integer] Hash code
|
|
292
341
|
def hash
|
|
293
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
|
|
342
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides, package_signing_fingerprint_release_overrides, package_signing_service, package_signing_fingerprint].hash
|
|
294
343
|
end
|
|
295
344
|
|
|
296
345
|
# Builds the object from hash
|
|
@@ -114,6 +114,9 @@ module PulpDebClient
|
|
|
114
114
|
|
|
115
115
|
attr_accessor :replaces
|
|
116
116
|
|
|
117
|
+
# List of signing key fingerprints used to sign this package.
|
|
118
|
+
attr_accessor :signing_keys
|
|
119
|
+
|
|
117
120
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
118
121
|
def self.attribute_map
|
|
119
122
|
{
|
|
@@ -159,7 +162,8 @@ module PulpDebClient
|
|
|
159
162
|
:'enhances' => :'enhances',
|
|
160
163
|
:'pre_depends' => :'pre_depends',
|
|
161
164
|
:'provides' => :'provides',
|
|
162
|
-
:'replaces' => :'replaces'
|
|
165
|
+
:'replaces' => :'replaces',
|
|
166
|
+
:'signing_keys' => :'signing_keys'
|
|
163
167
|
}
|
|
164
168
|
end
|
|
165
169
|
|
|
@@ -213,13 +217,15 @@ module PulpDebClient
|
|
|
213
217
|
:'enhances' => :'String',
|
|
214
218
|
:'pre_depends' => :'String',
|
|
215
219
|
:'provides' => :'String',
|
|
216
|
-
:'replaces' => :'String'
|
|
220
|
+
:'replaces' => :'String',
|
|
221
|
+
:'signing_keys' => :'Array<String>'
|
|
217
222
|
}
|
|
218
223
|
end
|
|
219
224
|
|
|
220
225
|
# List of attributes with nullable: true
|
|
221
226
|
def self.openapi_nullable
|
|
222
227
|
Set.new([
|
|
228
|
+
:'signing_keys'
|
|
223
229
|
])
|
|
224
230
|
end
|
|
225
231
|
|
|
@@ -411,6 +417,12 @@ module PulpDebClient
|
|
|
411
417
|
if attributes.key?(:'replaces')
|
|
412
418
|
self.replaces = attributes[:'replaces']
|
|
413
419
|
end
|
|
420
|
+
|
|
421
|
+
if attributes.key?(:'signing_keys')
|
|
422
|
+
if (value = attributes[:'signing_keys']).is_a?(Array)
|
|
423
|
+
self.signing_keys = value
|
|
424
|
+
end
|
|
425
|
+
end
|
|
414
426
|
end
|
|
415
427
|
|
|
416
428
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -475,7 +487,8 @@ module PulpDebClient
|
|
|
475
487
|
enhances == o.enhances &&
|
|
476
488
|
pre_depends == o.pre_depends &&
|
|
477
489
|
provides == o.provides &&
|
|
478
|
-
replaces == o.replaces
|
|
490
|
+
replaces == o.replaces &&
|
|
491
|
+
signing_keys == o.signing_keys
|
|
479
492
|
end
|
|
480
493
|
|
|
481
494
|
# @see the `==` method
|
|
@@ -487,7 +500,7 @@ module PulpDebClient
|
|
|
487
500
|
# Calculates hash code according to all attributes.
|
|
488
501
|
# @return [Integer] Hash code
|
|
489
502
|
def hash
|
|
490
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, 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
|
|
503
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, 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, signing_keys].hash
|
|
491
504
|
end
|
|
492
505
|
|
|
493
506
|
# Builds the object from hash
|
|
@@ -120,6 +120,9 @@ module PulpDebClient
|
|
|
120
120
|
|
|
121
121
|
attr_accessor :replaces
|
|
122
122
|
|
|
123
|
+
# List of signing key fingerprints used to sign this package.
|
|
124
|
+
attr_accessor :signing_keys
|
|
125
|
+
|
|
123
126
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
124
127
|
def self.attribute_map
|
|
125
128
|
{
|
|
@@ -167,7 +170,8 @@ module PulpDebClient
|
|
|
167
170
|
:'enhances' => :'enhances',
|
|
168
171
|
:'pre_depends' => :'pre_depends',
|
|
169
172
|
:'provides' => :'provides',
|
|
170
|
-
:'replaces' => :'replaces'
|
|
173
|
+
:'replaces' => :'replaces',
|
|
174
|
+
:'signing_keys' => :'signing_keys'
|
|
171
175
|
}
|
|
172
176
|
end
|
|
173
177
|
|
|
@@ -223,13 +227,15 @@ module PulpDebClient
|
|
|
223
227
|
:'enhances' => :'String',
|
|
224
228
|
:'pre_depends' => :'String',
|
|
225
229
|
:'provides' => :'String',
|
|
226
|
-
:'replaces' => :'String'
|
|
230
|
+
:'replaces' => :'String',
|
|
231
|
+
:'signing_keys' => :'Array<String>'
|
|
227
232
|
}
|
|
228
233
|
end
|
|
229
234
|
|
|
230
235
|
# List of attributes with nullable: true
|
|
231
236
|
def self.openapi_nullable
|
|
232
237
|
Set.new([
|
|
238
|
+
:'signing_keys'
|
|
233
239
|
])
|
|
234
240
|
end
|
|
235
241
|
|
|
@@ -429,6 +435,12 @@ module PulpDebClient
|
|
|
429
435
|
if attributes.key?(:'replaces')
|
|
430
436
|
self.replaces = attributes[:'replaces']
|
|
431
437
|
end
|
|
438
|
+
|
|
439
|
+
if attributes.key?(:'signing_keys')
|
|
440
|
+
if (value = attributes[:'signing_keys']).is_a?(Array)
|
|
441
|
+
self.signing_keys = value
|
|
442
|
+
end
|
|
443
|
+
end
|
|
432
444
|
end
|
|
433
445
|
|
|
434
446
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -495,7 +507,8 @@ module PulpDebClient
|
|
|
495
507
|
enhances == o.enhances &&
|
|
496
508
|
pre_depends == o.pre_depends &&
|
|
497
509
|
provides == o.provides &&
|
|
498
|
-
replaces == o.replaces
|
|
510
|
+
replaces == o.replaces &&
|
|
511
|
+
signing_keys == o.signing_keys
|
|
499
512
|
end
|
|
500
513
|
|
|
501
514
|
# @see the `==` method
|
|
@@ -507,7 +520,7 @@ module PulpDebClient
|
|
|
507
520
|
# Calculates hash code according to all attributes.
|
|
508
521
|
# @return [Integer] Hash code
|
|
509
522
|
def hash
|
|
510
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, distribution, component, 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
|
|
523
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, distribution, component, 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, signing_keys].hash
|
|
511
524
|
end
|
|
512
525
|
|
|
513
526
|
# Builds the object from hash
|