pulp_deb_client 2.21.1 → 3.0.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/ContentPackageReleaseComponentsApi.md +2 -2
- data/docs/ContentPackagesApi.md +4 -0
- data/docs/ContentReleaseArchitecturesApi.md +2 -6
- data/docs/ContentReleaseComponentsApi.md +4 -6
- data/docs/ContentReleasesApi.md +10 -2
- data/docs/DebAptPublication.md +4 -2
- data/docs/DebAptPublicationResponse.md +4 -2
- data/docs/DebAptRepository.md +7 -1
- data/docs/DebAptRepositoryResponse.md +7 -1
- data/docs/DebRelease.md +9 -1
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +1 -5
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +1 -5
- data/docs/DebReleaseFile.md +3 -3
- data/docs/DebReleaseFileResponse.md +3 -3
- data/docs/DebReleaseResponse.md +9 -1
- data/docs/DistributionsAptApi.md +1 -1
- data/docs/PatcheddebAptRepository.md +7 -1
- data/docs/RepositoriesAptApi.md +1 -1
- data/lib/pulp_deb_client/api/content_packages_api.rb +6 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +3 -9
- data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -9
- data/lib/pulp_deb_client/api/content_releases_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
- data/lib/pulp_deb_client/models/deb_release.rb +104 -4
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -0
- data/spec/api/content_release_architectures_api_spec.rb +1 -3
- data/spec/api/content_release_components_api_spec.rb +2 -3
- data/spec/api/content_releases_api_spec.rb +5 -1
- 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_repository_response_spec.rb +18 -0
- data/spec/models/deb_apt_repository_spec.rb +18 -0
- data/spec/models/deb_release_architecture_response_spec.rb +0 -12
- data/spec/models/deb_release_architecture_spec.rb +0 -12
- data/spec/models/deb_release_component_response_spec.rb +0 -12
- data/spec/models/deb_release_component_spec.rb +0 -12
- data/spec/models/deb_release_response_spec.rb +24 -0
- data/spec/models/deb_release_spec.rb +24 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
- metadata +60 -60
|
@@ -87,17 +87,15 @@ module PulpDebClient
|
|
|
87
87
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
|
89
89
|
# @option opts [String] :architecture Filter results where architecture matches value
|
|
90
|
-
# @option opts [String] :codename Filter results where codename matches value
|
|
91
90
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
92
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
93
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
94
|
-
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
93
|
+
# @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) * `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)
|
|
95
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
96
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
97
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
98
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
99
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
100
|
-
# @option opts [String] :suite Filter results where suite matches value
|
|
101
99
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
102
100
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
103
101
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
|
@@ -110,17 +108,15 @@ module PulpDebClient
|
|
|
110
108
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
|
111
109
|
# @param [Hash] opts the optional parameters
|
|
112
110
|
# @option opts [String] :architecture Filter results where architecture matches value
|
|
113
|
-
# @option opts [String] :codename Filter results where codename matches value
|
|
114
111
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
115
112
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
116
113
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
117
|
-
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
|
114
|
+
# @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) * `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)
|
|
118
115
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
119
116
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
120
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
121
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
122
119
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
123
|
-
# @option opts [String] :suite Filter results where suite matches value
|
|
124
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
125
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
126
122
|
# @return [Array<(PaginateddebReleaseArchitectureResponseList, Integer, Hash)>] PaginateddebReleaseArchitectureResponseList data, response status code and response headers
|
|
@@ -128,7 +124,7 @@ module PulpDebClient
|
|
|
128
124
|
if @api_client.config.debugging
|
|
129
125
|
@api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
|
|
130
126
|
end
|
|
131
|
-
allowable_values = ["-architecture", "-
|
|
127
|
+
allowable_values = ["-architecture", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
|
132
128
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
133
129
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
134
130
|
end
|
|
@@ -138,7 +134,6 @@ module PulpDebClient
|
|
|
138
134
|
# query parameters
|
|
139
135
|
query_params = opts[:query_params] || {}
|
|
140
136
|
query_params[:'architecture'] = opts[:'architecture'] if !opts[:'architecture'].nil?
|
|
141
|
-
query_params[:'codename'] = opts[:'codename'] if !opts[:'codename'].nil?
|
|
142
137
|
query_params[:'distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
|
|
143
138
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
144
139
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
@@ -148,7 +143,6 @@ module PulpDebClient
|
|
|
148
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
149
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
150
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
151
|
-
query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
|
|
152
146
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
153
147
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
154
148
|
|
|
@@ -86,18 +86,17 @@ module PulpDebClient
|
|
|
86
86
|
# List release components
|
|
87
87
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
|
89
|
-
# @option opts [String] :codename Filter results where codename matches value
|
|
90
89
|
# @option opts [String] :component Filter results where component matches value
|
|
91
90
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
92
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
93
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
94
|
-
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `
|
|
93
|
+
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
94
|
+
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
|
95
95
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
96
96
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
97
97
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
98
98
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
99
99
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
100
|
-
# @option opts [String] :suite Filter results where suite matches value
|
|
101
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
102
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
103
102
|
# @return [PaginateddebReleaseComponentResponseList]
|
|
@@ -109,18 +108,17 @@ module PulpDebClient
|
|
|
109
108
|
# List release components
|
|
110
109
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
|
111
110
|
# @param [Hash] opts the optional parameters
|
|
112
|
-
# @option opts [String] :codename Filter results where codename matches value
|
|
113
111
|
# @option opts [String] :component Filter results where component matches value
|
|
114
112
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
115
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
116
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
117
|
-
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `
|
|
115
|
+
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
116
|
+
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
|
118
117
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
119
118
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
120
119
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
121
120
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
122
121
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
123
|
-
# @option opts [String] :suite Filter results where suite matches value
|
|
124
122
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
125
123
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
126
124
|
# @return [Array<(PaginateddebReleaseComponentResponseList, Integer, Hash)>] PaginateddebReleaseComponentResponseList data, response status code and response headers
|
|
@@ -128,7 +126,7 @@ module PulpDebClient
|
|
|
128
126
|
if @api_client.config.debugging
|
|
129
127
|
@api_client.config.logger.debug 'Calling API: ContentReleaseComponentsApi.list ...'
|
|
130
128
|
end
|
|
131
|
-
allowable_values = ["-
|
|
129
|
+
allowable_values = ["-component", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "component", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
|
132
130
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
133
131
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
134
132
|
end
|
|
@@ -137,18 +135,17 @@ module PulpDebClient
|
|
|
137
135
|
|
|
138
136
|
# query parameters
|
|
139
137
|
query_params = opts[:query_params] || {}
|
|
140
|
-
query_params[:'codename'] = opts[:'codename'] if !opts[:'codename'].nil?
|
|
141
138
|
query_params[:'component'] = opts[:'component'] if !opts[:'component'].nil?
|
|
142
139
|
query_params[:'distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
|
|
143
140
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
144
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
145
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
143
|
+
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
|
146
144
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
147
145
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
148
146
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
149
147
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
150
148
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
151
|
-
query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
|
|
152
149
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
153
150
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
154
151
|
|
|
@@ -88,15 +88,19 @@ module PulpDebClient
|
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
|
89
89
|
# @option opts [String] :codename Filter results where codename matches value
|
|
90
90
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
91
|
+
# @option opts [String] :label Filter results where label matches value
|
|
91
92
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
92
93
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
93
|
-
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
94
|
+
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
95
|
+
# @option opts [String] :origin Filter results where origin matches value
|
|
96
|
+
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
|
94
97
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
95
98
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
96
99
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
97
100
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
98
101
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
99
102
|
# @option opts [String] :suite Filter results where suite matches value
|
|
103
|
+
# @option opts [String] :version Filter results where version matches value
|
|
100
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
101
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
102
106
|
# @return [PaginateddebReleaseResponseList]
|
|
@@ -110,15 +114,19 @@ module PulpDebClient
|
|
|
110
114
|
# @param [Hash] opts the optional parameters
|
|
111
115
|
# @option opts [String] :codename Filter results where codename matches value
|
|
112
116
|
# @option opts [String] :distribution Filter results where distribution matches value
|
|
117
|
+
# @option opts [String] :label Filter results where label matches value
|
|
113
118
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
114
119
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
115
|
-
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
120
|
+
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
121
|
+
# @option opts [String] :origin Filter results where origin matches value
|
|
122
|
+
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
|
116
123
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
117
124
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
118
125
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
119
126
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
120
127
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
121
128
|
# @option opts [String] :suite Filter results where suite matches value
|
|
129
|
+
# @option opts [String] :version Filter results where version matches value
|
|
122
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
123
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
124
132
|
# @return [Array<(PaginateddebReleaseResponseList, Integer, Hash)>] PaginateddebReleaseResponseList data, response status code and response headers
|
|
@@ -126,7 +134,7 @@ module PulpDebClient
|
|
|
126
134
|
if @api_client.config.debugging
|
|
127
135
|
@api_client.config.logger.debug 'Calling API: ContentReleasesApi.list ...'
|
|
128
136
|
end
|
|
129
|
-
allowable_values = ["-codename", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-suite", "-timestamp_of_interest", "-upstream_id", "codename", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "suite", "timestamp_of_interest", "upstream_id"]
|
|
137
|
+
allowable_values = ["-codename", "-description", "-distribution", "-label", "-origin", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-suite", "-timestamp_of_interest", "-upstream_id", "-version", "codename", "description", "distribution", "label", "origin", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "suite", "timestamp_of_interest", "upstream_id", "version"]
|
|
130
138
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
131
139
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
132
140
|
end
|
|
@@ -137,15 +145,19 @@ module PulpDebClient
|
|
|
137
145
|
query_params = opts[:query_params] || {}
|
|
138
146
|
query_params[:'codename'] = opts[:'codename'] if !opts[:'codename'].nil?
|
|
139
147
|
query_params[:'distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
|
|
148
|
+
query_params[:'label'] = opts[:'label'] if !opts[:'label'].nil?
|
|
140
149
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
141
150
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
142
151
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
152
|
+
query_params[:'origin'] = opts[:'origin'] if !opts[:'origin'].nil?
|
|
153
|
+
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
|
143
154
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
144
155
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
145
156
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
146
157
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
147
158
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
148
159
|
query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
|
|
160
|
+
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
|
149
161
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
150
162
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
151
163
|
|
|
@@ -29,6 +29,8 @@ module PulpDebClient
|
|
|
29
29
|
# Sign Release files with this signing key
|
|
30
30
|
attr_accessor :signing_service
|
|
31
31
|
|
|
32
|
+
attr_accessor :publish_upstream_release_fields
|
|
33
|
+
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
35
|
def self.attribute_map
|
|
34
36
|
{
|
|
@@ -36,7 +38,8 @@ module PulpDebClient
|
|
|
36
38
|
:'repository' => :'repository',
|
|
37
39
|
:'simple' => :'simple',
|
|
38
40
|
:'structured' => :'structured',
|
|
39
|
-
:'signing_service' => :'signing_service'
|
|
41
|
+
:'signing_service' => :'signing_service',
|
|
42
|
+
:'publish_upstream_release_fields' => :'publish_upstream_release_fields'
|
|
40
43
|
}
|
|
41
44
|
end
|
|
42
45
|
|
|
@@ -47,7 +50,8 @@ module PulpDebClient
|
|
|
47
50
|
:'repository' => :'String',
|
|
48
51
|
:'simple' => :'Boolean',
|
|
49
52
|
:'structured' => :'Boolean',
|
|
50
|
-
:'signing_service' => :'String'
|
|
53
|
+
:'signing_service' => :'String',
|
|
54
|
+
:'publish_upstream_release_fields' => :'Boolean'
|
|
51
55
|
}
|
|
52
56
|
end
|
|
53
57
|
|
|
@@ -89,12 +93,16 @@ module PulpDebClient
|
|
|
89
93
|
if attributes.key?(:'structured')
|
|
90
94
|
self.structured = attributes[:'structured']
|
|
91
95
|
else
|
|
92
|
-
self.structured =
|
|
96
|
+
self.structured = true
|
|
93
97
|
end
|
|
94
98
|
|
|
95
99
|
if attributes.key?(:'signing_service')
|
|
96
100
|
self.signing_service = attributes[:'signing_service']
|
|
97
101
|
end
|
|
102
|
+
|
|
103
|
+
if attributes.key?(:'publish_upstream_release_fields')
|
|
104
|
+
self.publish_upstream_release_fields = attributes[:'publish_upstream_release_fields']
|
|
105
|
+
end
|
|
98
106
|
end
|
|
99
107
|
|
|
100
108
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -119,7 +127,8 @@ module PulpDebClient
|
|
|
119
127
|
repository == o.repository &&
|
|
120
128
|
simple == o.simple &&
|
|
121
129
|
structured == o.structured &&
|
|
122
|
-
signing_service == o.signing_service
|
|
130
|
+
signing_service == o.signing_service &&
|
|
131
|
+
publish_upstream_release_fields == o.publish_upstream_release_fields
|
|
123
132
|
end
|
|
124
133
|
|
|
125
134
|
# @see the `==` method
|
|
@@ -131,7 +140,7 @@ module PulpDebClient
|
|
|
131
140
|
# Calculates hash code according to all attributes.
|
|
132
141
|
# @return [Integer] Hash code
|
|
133
142
|
def hash
|
|
134
|
-
[repository_version, repository, simple, structured, signing_service].hash
|
|
143
|
+
[repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
|
135
144
|
end
|
|
136
145
|
|
|
137
146
|
# Builds the object from hash
|
|
@@ -34,6 +34,8 @@ module PulpDebClient
|
|
|
34
34
|
# Sign Release files with this signing key
|
|
35
35
|
attr_accessor :signing_service
|
|
36
36
|
|
|
37
|
+
attr_accessor :publish_upstream_release_fields
|
|
38
|
+
|
|
37
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
40
|
def self.attribute_map
|
|
39
41
|
{
|
|
@@ -43,7 +45,8 @@ module PulpDebClient
|
|
|
43
45
|
:'repository' => :'repository',
|
|
44
46
|
:'simple' => :'simple',
|
|
45
47
|
:'structured' => :'structured',
|
|
46
|
-
:'signing_service' => :'signing_service'
|
|
48
|
+
:'signing_service' => :'signing_service',
|
|
49
|
+
:'publish_upstream_release_fields' => :'publish_upstream_release_fields'
|
|
47
50
|
}
|
|
48
51
|
end
|
|
49
52
|
|
|
@@ -56,7 +59,8 @@ module PulpDebClient
|
|
|
56
59
|
:'repository' => :'String',
|
|
57
60
|
:'simple' => :'Boolean',
|
|
58
61
|
:'structured' => :'Boolean',
|
|
59
|
-
:'signing_service' => :'String'
|
|
62
|
+
:'signing_service' => :'String',
|
|
63
|
+
:'publish_upstream_release_fields' => :'Boolean'
|
|
60
64
|
}
|
|
61
65
|
end
|
|
62
66
|
|
|
@@ -106,12 +110,16 @@ module PulpDebClient
|
|
|
106
110
|
if attributes.key?(:'structured')
|
|
107
111
|
self.structured = attributes[:'structured']
|
|
108
112
|
else
|
|
109
|
-
self.structured =
|
|
113
|
+
self.structured = true
|
|
110
114
|
end
|
|
111
115
|
|
|
112
116
|
if attributes.key?(:'signing_service')
|
|
113
117
|
self.signing_service = attributes[:'signing_service']
|
|
114
118
|
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'publish_upstream_release_fields')
|
|
121
|
+
self.publish_upstream_release_fields = attributes[:'publish_upstream_release_fields']
|
|
122
|
+
end
|
|
115
123
|
end
|
|
116
124
|
|
|
117
125
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -138,7 +146,8 @@ module PulpDebClient
|
|
|
138
146
|
repository == o.repository &&
|
|
139
147
|
simple == o.simple &&
|
|
140
148
|
structured == o.structured &&
|
|
141
|
-
signing_service == o.signing_service
|
|
149
|
+
signing_service == o.signing_service &&
|
|
150
|
+
publish_upstream_release_fields == o.publish_upstream_release_fields
|
|
142
151
|
end
|
|
143
152
|
|
|
144
153
|
# @see the `==` method
|
|
@@ -150,7 +159,7 @@ module PulpDebClient
|
|
|
150
159
|
# Calculates hash code according to all attributes.
|
|
151
160
|
# @return [Integer] Hash code
|
|
152
161
|
def hash
|
|
153
|
-
[pulp_href, pulp_created, repository_version, repository, simple, structured, signing_service].hash
|
|
162
|
+
[pulp_href, pulp_created, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
|
154
163
|
end
|
|
155
164
|
|
|
156
165
|
# Builds the object from hash
|
|
@@ -29,6 +29,15 @@ module PulpDebClient
|
|
|
29
29
|
# An optional remote to use by default when syncing.
|
|
30
30
|
attr_accessor :remote
|
|
31
31
|
|
|
32
|
+
# Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True.
|
|
33
|
+
attr_accessor :publish_upstream_release_fields
|
|
34
|
+
|
|
35
|
+
# A reference to an associated signing service. Used if AptPublication.signing_service is not set
|
|
36
|
+
attr_accessor :signing_service
|
|
37
|
+
|
|
38
|
+
# 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/\"}
|
|
39
|
+
attr_accessor :signing_service_release_overrides
|
|
40
|
+
|
|
32
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
42
|
def self.attribute_map
|
|
34
43
|
{
|
|
@@ -36,7 +45,10 @@ module PulpDebClient
|
|
|
36
45
|
:'name' => :'name',
|
|
37
46
|
:'description' => :'description',
|
|
38
47
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
-
:'remote' => :'remote'
|
|
48
|
+
:'remote' => :'remote',
|
|
49
|
+
:'publish_upstream_release_fields' => :'publish_upstream_release_fields',
|
|
50
|
+
:'signing_service' => :'signing_service',
|
|
51
|
+
:'signing_service_release_overrides' => :'signing_service_release_overrides'
|
|
40
52
|
}
|
|
41
53
|
end
|
|
42
54
|
|
|
@@ -47,7 +59,10 @@ module PulpDebClient
|
|
|
47
59
|
:'name' => :'String',
|
|
48
60
|
:'description' => :'String',
|
|
49
61
|
:'retain_repo_versions' => :'Integer',
|
|
50
|
-
:'remote' => :'String'
|
|
62
|
+
:'remote' => :'String',
|
|
63
|
+
:'publish_upstream_release_fields' => :'Boolean',
|
|
64
|
+
:'signing_service' => :'String',
|
|
65
|
+
:'signing_service_release_overrides' => :'Hash<String, String>'
|
|
51
66
|
}
|
|
52
67
|
end
|
|
53
68
|
|
|
@@ -56,7 +71,8 @@ module PulpDebClient
|
|
|
56
71
|
Set.new([
|
|
57
72
|
:'description',
|
|
58
73
|
:'retain_repo_versions',
|
|
59
|
-
:'remote'
|
|
74
|
+
:'remote',
|
|
75
|
+
:'signing_service',
|
|
60
76
|
])
|
|
61
77
|
end
|
|
62
78
|
|
|
@@ -96,6 +112,20 @@ module PulpDebClient
|
|
|
96
112
|
if attributes.key?(:'remote')
|
|
97
113
|
self.remote = attributes[:'remote']
|
|
98
114
|
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'publish_upstream_release_fields')
|
|
117
|
+
self.publish_upstream_release_fields = attributes[:'publish_upstream_release_fields']
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'signing_service')
|
|
121
|
+
self.signing_service = attributes[:'signing_service']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'signing_service_release_overrides')
|
|
125
|
+
if (value = attributes[:'signing_service_release_overrides']).is_a?(Hash)
|
|
126
|
+
self.signing_service_release_overrides = value
|
|
127
|
+
end
|
|
128
|
+
end
|
|
99
129
|
end
|
|
100
130
|
|
|
101
131
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -174,7 +204,10 @@ module PulpDebClient
|
|
|
174
204
|
name == o.name &&
|
|
175
205
|
description == o.description &&
|
|
176
206
|
retain_repo_versions == o.retain_repo_versions &&
|
|
177
|
-
remote == o.remote
|
|
207
|
+
remote == o.remote &&
|
|
208
|
+
publish_upstream_release_fields == o.publish_upstream_release_fields &&
|
|
209
|
+
signing_service == o.signing_service &&
|
|
210
|
+
signing_service_release_overrides == o.signing_service_release_overrides
|
|
178
211
|
end
|
|
179
212
|
|
|
180
213
|
# @see the `==` method
|
|
@@ -186,7 +219,7 @@ module PulpDebClient
|
|
|
186
219
|
# Calculates hash code according to all attributes.
|
|
187
220
|
# @return [Integer] Hash code
|
|
188
221
|
def hash
|
|
189
|
-
[pulp_labels, name, description, retain_repo_versions, remote].hash
|
|
222
|
+
[pulp_labels, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
|
|
190
223
|
end
|
|
191
224
|
|
|
192
225
|
# Builds the object from hash
|
|
@@ -38,6 +38,15 @@ module PulpDebClient
|
|
|
38
38
|
# An optional remote to use by default when syncing.
|
|
39
39
|
attr_accessor :remote
|
|
40
40
|
|
|
41
|
+
# Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True.
|
|
42
|
+
attr_accessor :publish_upstream_release_fields
|
|
43
|
+
|
|
44
|
+
# A reference to an associated signing service. Used if AptPublication.signing_service is not set
|
|
45
|
+
attr_accessor :signing_service
|
|
46
|
+
|
|
47
|
+
# 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/\"}
|
|
48
|
+
attr_accessor :signing_service_release_overrides
|
|
49
|
+
|
|
41
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
51
|
def self.attribute_map
|
|
43
52
|
{
|
|
@@ -49,7 +58,10 @@ module PulpDebClient
|
|
|
49
58
|
:'name' => :'name',
|
|
50
59
|
:'description' => :'description',
|
|
51
60
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
52
|
-
:'remote' => :'remote'
|
|
61
|
+
:'remote' => :'remote',
|
|
62
|
+
:'publish_upstream_release_fields' => :'publish_upstream_release_fields',
|
|
63
|
+
:'signing_service' => :'signing_service',
|
|
64
|
+
:'signing_service_release_overrides' => :'signing_service_release_overrides'
|
|
53
65
|
}
|
|
54
66
|
end
|
|
55
67
|
|
|
@@ -64,7 +76,10 @@ module PulpDebClient
|
|
|
64
76
|
:'name' => :'String',
|
|
65
77
|
:'description' => :'String',
|
|
66
78
|
:'retain_repo_versions' => :'Integer',
|
|
67
|
-
:'remote' => :'String'
|
|
79
|
+
:'remote' => :'String',
|
|
80
|
+
:'publish_upstream_release_fields' => :'Boolean',
|
|
81
|
+
:'signing_service' => :'String',
|
|
82
|
+
:'signing_service_release_overrides' => :'Hash<String, String>'
|
|
68
83
|
}
|
|
69
84
|
end
|
|
70
85
|
|
|
@@ -73,7 +88,8 @@ module PulpDebClient
|
|
|
73
88
|
Set.new([
|
|
74
89
|
:'description',
|
|
75
90
|
:'retain_repo_versions',
|
|
76
|
-
:'remote'
|
|
91
|
+
:'remote',
|
|
92
|
+
:'signing_service',
|
|
77
93
|
])
|
|
78
94
|
end
|
|
79
95
|
|
|
@@ -129,6 +145,20 @@ module PulpDebClient
|
|
|
129
145
|
if attributes.key?(:'remote')
|
|
130
146
|
self.remote = attributes[:'remote']
|
|
131
147
|
end
|
|
148
|
+
|
|
149
|
+
if attributes.key?(:'publish_upstream_release_fields')
|
|
150
|
+
self.publish_upstream_release_fields = attributes[:'publish_upstream_release_fields']
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
if attributes.key?(:'signing_service')
|
|
154
|
+
self.signing_service = attributes[:'signing_service']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'signing_service_release_overrides')
|
|
158
|
+
if (value = attributes[:'signing_service_release_overrides']).is_a?(Hash)
|
|
159
|
+
self.signing_service_release_overrides = value
|
|
160
|
+
end
|
|
161
|
+
end
|
|
132
162
|
end
|
|
133
163
|
|
|
134
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -177,7 +207,10 @@ module PulpDebClient
|
|
|
177
207
|
name == o.name &&
|
|
178
208
|
description == o.description &&
|
|
179
209
|
retain_repo_versions == o.retain_repo_versions &&
|
|
180
|
-
remote == o.remote
|
|
210
|
+
remote == o.remote &&
|
|
211
|
+
publish_upstream_release_fields == o.publish_upstream_release_fields &&
|
|
212
|
+
signing_service == o.signing_service &&
|
|
213
|
+
signing_service_release_overrides == o.signing_service_release_overrides
|
|
181
214
|
end
|
|
182
215
|
|
|
183
216
|
# @see the `==` method
|
|
@@ -189,7 +222,7 @@ module PulpDebClient
|
|
|
189
222
|
# Calculates hash code according to all attributes.
|
|
190
223
|
# @return [Integer] Hash code
|
|
191
224
|
def hash
|
|
192
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
|
225
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
|
|
193
226
|
end
|
|
194
227
|
|
|
195
228
|
# Builds the object from hash
|