pulp_deb_client 3.5.1 → 3.6.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 +32 -4
- data/docs/ContentGenericContentsApi.md +166 -2
- data/docs/ContentInstallerFileIndicesApi.md +170 -6
- data/docs/ContentInstallerPackagesApi.md +166 -2
- data/docs/ContentPackageIndicesApi.md +170 -6
- data/docs/ContentPackageReleaseComponentsApi.md +170 -6
- data/docs/ContentPackagesApi.md +166 -2
- data/docs/ContentReleaseArchitecturesApi.md +170 -6
- data/docs/ContentReleaseComponentsApi.md +170 -6
- data/docs/ContentReleaseFilesApi.md +170 -6
- data/docs/ContentReleasesApi.md +170 -6
- data/docs/ContentSourceIndicesApi.md +170 -6
- data/docs/ContentSourcePackagesApi.md +170 -6
- data/docs/ContentSourceReleaseComponentsApi.md +170 -6
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +76 -34
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +44 -18
- data/docs/PublicationsVerbatimApi.md +44 -18
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +34 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
- data/spec/api/content_installer_packages_api_spec.rb +34 -1
- data/spec/api/content_package_indices_api_spec.rb +33 -1
- data/spec/api/content_package_release_components_api_spec.rb +33 -1
- data/spec/api/content_packages_api_spec.rb +34 -1
- data/spec/api/content_release_architectures_api_spec.rb +33 -1
- data/spec/api/content_release_components_api_spec.rb +33 -1
- data/spec/api/content_release_files_api_spec.rb +33 -1
- data/spec/api/content_releases_api_spec.rb +33 -1
- data/spec/api/content_source_indices_api_spec.rb +33 -1
- data/spec/api/content_source_packages_api_spec.rb +33 -1
- data/spec/api/content_source_release_components_api_spec.rb +33 -1
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +14 -1
- data/spec/api/publications_apt_api_spec.rb +10 -1
- data/spec/api/publications_verbatim_api_spec.rb +10 -1
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- 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_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +76 -96
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
24
24
|
# @param deb_apt_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def delete(deb_apt_repository_version_href, opts = {})
|
28
29
|
data, _status_code, _headers = delete_with_http_info(deb_apt_repository_version_href, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# Trigger an asynchronous task to delete a repository version.
|
34
35
|
# @param deb_apt_repository_version_href [String]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def delete_with_http_info(deb_apt_repository_version_href, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -52,6 +54,7 @@ module PulpDebClient
|
|
52
54
|
header_params = opts[:header_params] || {}
|
53
55
|
# HTTP header 'Accept' (if needed)
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
55
58
|
|
56
59
|
# form parameters
|
57
60
|
form_params = opts[:form_params] || {}
|
@@ -86,6 +89,7 @@ module PulpDebClient
|
|
86
89
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
87
90
|
# @param deb_apt_repository_href [String]
|
88
91
|
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
89
93
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
90
94
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
91
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -96,7 +100,7 @@ module PulpDebClient
|
|
96
100
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
97
101
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
98
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
99
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
100
104
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
101
105
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
102
106
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -119,6 +123,7 @@ module PulpDebClient
|
|
119
123
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
120
124
|
# @param deb_apt_repository_href [String]
|
121
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
122
127
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
123
128
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
124
129
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -129,7 +134,7 @@ module PulpDebClient
|
|
129
134
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
130
135
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
131
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
132
|
-
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
137
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
133
138
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
134
139
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
135
140
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -151,7 +156,7 @@ module PulpDebClient
|
|
151
156
|
if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
|
152
157
|
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
|
153
158
|
end
|
154
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
159
|
+
allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
155
160
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
156
161
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
157
162
|
end
|
@@ -188,6 +193,7 @@ module PulpDebClient
|
|
188
193
|
header_params = opts[:header_params] || {}
|
189
194
|
# HTTP header 'Accept' (if needed)
|
190
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
196
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
191
197
|
|
192
198
|
# form parameters
|
193
199
|
form_params = opts[:form_params] || {}
|
@@ -222,6 +228,7 @@ module PulpDebClient
|
|
222
228
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
223
229
|
# @param deb_apt_repository_version_href [String]
|
224
230
|
# @param [Hash] opts the optional parameters
|
231
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
225
232
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
226
233
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
227
234
|
# @return [RepositoryVersionResponse]
|
@@ -234,6 +241,7 @@ module PulpDebClient
|
|
234
241
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
235
242
|
# @param deb_apt_repository_version_href [String]
|
236
243
|
# @param [Hash] opts the optional parameters
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
237
245
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
238
246
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
239
247
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
@@ -257,6 +265,7 @@ module PulpDebClient
|
|
257
265
|
header_params = opts[:header_params] || {}
|
258
266
|
# HTTP header 'Accept' (if needed)
|
259
267
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
268
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
260
269
|
|
261
270
|
# form parameters
|
262
271
|
form_params = opts[:form_params] || {}
|
@@ -291,6 +300,7 @@ module PulpDebClient
|
|
291
300
|
# @param deb_apt_repository_version_href [String]
|
292
301
|
# @param repair [Repair]
|
293
302
|
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
294
304
|
# @return [AsyncOperationResponse]
|
295
305
|
def repair(deb_apt_repository_version_href, repair, opts = {})
|
296
306
|
data, _status_code, _headers = repair_with_http_info(deb_apt_repository_version_href, repair, opts)
|
@@ -301,6 +311,7 @@ module PulpDebClient
|
|
301
311
|
# @param deb_apt_repository_version_href [String]
|
302
312
|
# @param repair [Repair]
|
303
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
304
315
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
305
316
|
def repair_with_http_info(deb_apt_repository_version_href, repair, opts = {})
|
306
317
|
if @api_client.config.debugging
|
@@ -329,6 +340,7 @@ module PulpDebClient
|
|
329
340
|
if !content_type.nil?
|
330
341
|
header_params['Content-Type'] = content_type
|
331
342
|
end
|
343
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
332
344
|
|
333
345
|
# form parameters
|
334
346
|
form_params = opts[:form_params] || {}
|
@@ -36,6 +36,8 @@ module PulpDebClient
|
|
36
36
|
# Publication to be served
|
37
37
|
attr_accessor :publication
|
38
38
|
|
39
|
+
attr_accessor :checkpoint
|
40
|
+
|
39
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
42
|
def self.attribute_map
|
41
43
|
{
|
@@ -45,7 +47,8 @@ module PulpDebClient
|
|
45
47
|
:'pulp_labels' => :'pulp_labels',
|
46
48
|
:'name' => :'name',
|
47
49
|
:'repository' => :'repository',
|
48
|
-
:'publication' => :'publication'
|
50
|
+
:'publication' => :'publication',
|
51
|
+
:'checkpoint' => :'checkpoint'
|
49
52
|
}
|
50
53
|
end
|
51
54
|
|
@@ -63,7 +66,8 @@ module PulpDebClient
|
|
63
66
|
:'pulp_labels' => :'Hash<String, String>',
|
64
67
|
:'name' => :'String',
|
65
68
|
:'repository' => :'String',
|
66
|
-
:'publication' => :'String'
|
69
|
+
:'publication' => :'String',
|
70
|
+
:'checkpoint' => :'Boolean'
|
67
71
|
}
|
68
72
|
end
|
69
73
|
|
@@ -72,7 +76,7 @@ module PulpDebClient
|
|
72
76
|
Set.new([
|
73
77
|
:'content_guard',
|
74
78
|
:'repository',
|
75
|
-
:'publication'
|
79
|
+
:'publication',
|
76
80
|
])
|
77
81
|
end
|
78
82
|
|
@@ -126,6 +130,10 @@ module PulpDebClient
|
|
126
130
|
if attributes.key?(:'publication')
|
127
131
|
self.publication = attributes[:'publication']
|
128
132
|
end
|
133
|
+
|
134
|
+
if attributes.key?(:'checkpoint')
|
135
|
+
self.checkpoint = attributes[:'checkpoint']
|
136
|
+
end
|
129
137
|
end
|
130
138
|
|
131
139
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -202,7 +210,8 @@ module PulpDebClient
|
|
202
210
|
pulp_labels == o.pulp_labels &&
|
203
211
|
name == o.name &&
|
204
212
|
repository == o.repository &&
|
205
|
-
publication == o.publication
|
213
|
+
publication == o.publication &&
|
214
|
+
checkpoint == o.checkpoint
|
206
215
|
end
|
207
216
|
|
208
217
|
# @see the `==` method
|
@@ -214,7 +223,7 @@ module PulpDebClient
|
|
214
223
|
# Calculates hash code according to all attributes.
|
215
224
|
# @return [Integer] Hash code
|
216
225
|
def hash
|
217
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
226
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, checkpoint].hash
|
218
227
|
end
|
219
228
|
|
220
229
|
# Builds the object from hash
|
@@ -53,6 +53,8 @@ module PulpDebClient
|
|
53
53
|
# Publication to be served
|
54
54
|
attr_accessor :publication
|
55
55
|
|
56
|
+
attr_accessor :checkpoint
|
57
|
+
|
56
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
59
|
def self.attribute_map
|
58
60
|
{
|
@@ -68,7 +70,8 @@ module PulpDebClient
|
|
68
70
|
:'pulp_labels' => :'pulp_labels',
|
69
71
|
:'name' => :'name',
|
70
72
|
:'repository' => :'repository',
|
71
|
-
:'publication' => :'publication'
|
73
|
+
:'publication' => :'publication',
|
74
|
+
:'checkpoint' => :'checkpoint'
|
72
75
|
}
|
73
76
|
end
|
74
77
|
|
@@ -92,7 +95,8 @@ module PulpDebClient
|
|
92
95
|
:'pulp_labels' => :'Hash<String, String>',
|
93
96
|
:'name' => :'String',
|
94
97
|
:'repository' => :'String',
|
95
|
-
:'publication' => :'String'
|
98
|
+
:'publication' => :'String',
|
99
|
+
:'checkpoint' => :'Boolean'
|
96
100
|
}
|
97
101
|
end
|
98
102
|
|
@@ -101,7 +105,7 @@ module PulpDebClient
|
|
101
105
|
Set.new([
|
102
106
|
:'content_guard',
|
103
107
|
:'repository',
|
104
|
-
:'publication'
|
108
|
+
:'publication',
|
105
109
|
])
|
106
110
|
end
|
107
111
|
|
@@ -179,6 +183,10 @@ module PulpDebClient
|
|
179
183
|
if attributes.key?(:'publication')
|
180
184
|
self.publication = attributes[:'publication']
|
181
185
|
end
|
186
|
+
|
187
|
+
if attributes.key?(:'checkpoint')
|
188
|
+
self.checkpoint = attributes[:'checkpoint']
|
189
|
+
end
|
182
190
|
end
|
183
191
|
|
184
192
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -223,7 +231,8 @@ module PulpDebClient
|
|
223
231
|
pulp_labels == o.pulp_labels &&
|
224
232
|
name == o.name &&
|
225
233
|
repository == o.repository &&
|
226
|
-
publication == o.publication
|
234
|
+
publication == o.publication &&
|
235
|
+
checkpoint == o.checkpoint
|
227
236
|
end
|
228
237
|
|
229
238
|
# @see the `==` method
|
@@ -235,7 +244,7 @@ module PulpDebClient
|
|
235
244
|
# Calculates hash code according to all attributes.
|
236
245
|
# @return [Integer] Hash code
|
237
246
|
def hash
|
238
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication].hash
|
247
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, checkpoint].hash
|
239
248
|
end
|
240
249
|
|
241
250
|
# Builds the object from hash
|
@@ -27,6 +27,8 @@ module PulpDebClient
|
|
27
27
|
# Activate structured publishing mode.
|
28
28
|
attr_accessor :structured
|
29
29
|
|
30
|
+
attr_accessor :checkpoint
|
31
|
+
|
30
32
|
# Sign Release files with this signing key
|
31
33
|
attr_accessor :signing_service
|
32
34
|
|
@@ -39,6 +41,7 @@ module PulpDebClient
|
|
39
41
|
:'repository' => :'repository',
|
40
42
|
:'simple' => :'simple',
|
41
43
|
:'structured' => :'structured',
|
44
|
+
:'checkpoint' => :'checkpoint',
|
42
45
|
:'signing_service' => :'signing_service',
|
43
46
|
:'publish_upstream_release_fields' => :'publish_upstream_release_fields'
|
44
47
|
}
|
@@ -56,6 +59,7 @@ module PulpDebClient
|
|
56
59
|
:'repository' => :'String',
|
57
60
|
:'simple' => :'Boolean',
|
58
61
|
:'structured' => :'Boolean',
|
62
|
+
:'checkpoint' => :'Boolean',
|
59
63
|
:'signing_service' => :'String',
|
60
64
|
:'publish_upstream_release_fields' => :'Boolean'
|
61
65
|
}
|
@@ -102,6 +106,10 @@ module PulpDebClient
|
|
102
106
|
self.structured = true
|
103
107
|
end
|
104
108
|
|
109
|
+
if attributes.key?(:'checkpoint')
|
110
|
+
self.checkpoint = attributes[:'checkpoint']
|
111
|
+
end
|
112
|
+
|
105
113
|
if attributes.key?(:'signing_service')
|
106
114
|
self.signing_service = attributes[:'signing_service']
|
107
115
|
end
|
@@ -135,6 +143,7 @@ module PulpDebClient
|
|
135
143
|
repository == o.repository &&
|
136
144
|
simple == o.simple &&
|
137
145
|
structured == o.structured &&
|
146
|
+
checkpoint == o.checkpoint &&
|
138
147
|
signing_service == o.signing_service &&
|
139
148
|
publish_upstream_release_fields == o.publish_upstream_release_fields
|
140
149
|
end
|
@@ -148,7 +157,7 @@ module PulpDebClient
|
|
148
157
|
# Calculates hash code according to all attributes.
|
149
158
|
# @return [Integer] Hash code
|
150
159
|
def hash
|
151
|
-
[repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
160
|
+
[repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields].hash
|
152
161
|
end
|
153
162
|
|
154
163
|
# Builds the object from hash
|
@@ -38,6 +38,8 @@ module PulpDebClient
|
|
38
38
|
# Activate structured publishing mode.
|
39
39
|
attr_accessor :structured
|
40
40
|
|
41
|
+
attr_accessor :checkpoint
|
42
|
+
|
41
43
|
# Sign Release files with this signing key
|
42
44
|
attr_accessor :signing_service
|
43
45
|
|
@@ -54,6 +56,7 @@ module PulpDebClient
|
|
54
56
|
:'repository' => :'repository',
|
55
57
|
:'simple' => :'simple',
|
56
58
|
:'structured' => :'structured',
|
59
|
+
:'checkpoint' => :'checkpoint',
|
57
60
|
:'signing_service' => :'signing_service',
|
58
61
|
:'publish_upstream_release_fields' => :'publish_upstream_release_fields'
|
59
62
|
}
|
@@ -75,6 +78,7 @@ module PulpDebClient
|
|
75
78
|
:'repository' => :'String',
|
76
79
|
:'simple' => :'Boolean',
|
77
80
|
:'structured' => :'Boolean',
|
81
|
+
:'checkpoint' => :'Boolean',
|
78
82
|
:'signing_service' => :'String',
|
79
83
|
:'publish_upstream_release_fields' => :'Boolean'
|
80
84
|
}
|
@@ -137,6 +141,10 @@ module PulpDebClient
|
|
137
141
|
self.structured = true
|
138
142
|
end
|
139
143
|
|
144
|
+
if attributes.key?(:'checkpoint')
|
145
|
+
self.checkpoint = attributes[:'checkpoint']
|
146
|
+
end
|
147
|
+
|
140
148
|
if attributes.key?(:'signing_service')
|
141
149
|
self.signing_service = attributes[:'signing_service']
|
142
150
|
end
|
@@ -174,6 +182,7 @@ module PulpDebClient
|
|
174
182
|
repository == o.repository &&
|
175
183
|
simple == o.simple &&
|
176
184
|
structured == o.structured &&
|
185
|
+
checkpoint == o.checkpoint &&
|
177
186
|
signing_service == o.signing_service &&
|
178
187
|
publish_upstream_release_fields == o.publish_upstream_release_fields
|
179
188
|
end
|
@@ -187,7 +196,7 @@ module PulpDebClient
|
|
187
196
|
# Calculates hash code according to all attributes.
|
188
197
|
# @return [Integer] Hash code
|
189
198
|
def hash
|
190
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
199
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields].hash
|
191
200
|
end
|
192
201
|
|
193
202
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -58,6 +61,7 @@ module PulpDebClient
|
|
58
61
|
:'prn' => :'prn',
|
59
62
|
:'pulp_created' => :'pulp_created',
|
60
63
|
:'pulp_last_updated' => :'pulp_last_updated',
|
64
|
+
:'pulp_labels' => :'pulp_labels',
|
61
65
|
:'artifact' => :'artifact',
|
62
66
|
:'relative_path' => :'relative_path',
|
63
67
|
:'md5' => :'md5',
|
@@ -81,6 +85,7 @@ module PulpDebClient
|
|
81
85
|
:'prn' => :'String',
|
82
86
|
:'pulp_created' => :'Time',
|
83
87
|
:'pulp_last_updated' => :'Time',
|
88
|
+
:'pulp_labels' => :'Hash<String, String>',
|
84
89
|
:'artifact' => :'String',
|
85
90
|
:'relative_path' => :'String',
|
86
91
|
:'md5' => :'String',
|
@@ -129,6 +134,12 @@ module PulpDebClient
|
|
129
134
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
130
135
|
end
|
131
136
|
|
137
|
+
if attributes.key?(:'pulp_labels')
|
138
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
139
|
+
self.pulp_labels = value
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
132
143
|
if attributes.key?(:'artifact')
|
133
144
|
self.artifact = attributes[:'artifact']
|
134
145
|
end
|
@@ -193,6 +204,7 @@ module PulpDebClient
|
|
193
204
|
prn == o.prn &&
|
194
205
|
pulp_created == o.pulp_created &&
|
195
206
|
pulp_last_updated == o.pulp_last_updated &&
|
207
|
+
pulp_labels == o.pulp_labels &&
|
196
208
|
artifact == o.artifact &&
|
197
209
|
relative_path == o.relative_path &&
|
198
210
|
md5 == o.md5 &&
|
@@ -212,7 +224,7 @@ module PulpDebClient
|
|
212
224
|
# Calculates hash code according to all attributes.
|
213
225
|
# @return [Integer] Hash code
|
214
226
|
def hash
|
215
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
227
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
216
228
|
end
|
217
229
|
|
218
230
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
23
26
|
attr_accessor :artifacts
|
24
27
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'repository' => :'repository',
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
38
42
|
:'artifacts' => :'artifacts',
|
39
43
|
:'component' => :'component',
|
40
44
|
:'architecture' => :'architecture',
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
51
55
|
def self.openapi_types
|
52
56
|
{
|
53
57
|
:'repository' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
54
59
|
:'artifacts' => :'Object',
|
55
60
|
:'component' => :'String',
|
56
61
|
:'architecture' => :'String',
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
83
88
|
self.repository = attributes[:'repository']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
86
97
|
if attributes.key?(:'artifacts')
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
88
99
|
else
|
@@ -199,6 +210,7 @@ module PulpDebClient
|
|
199
210
|
return true if self.equal?(o)
|
200
211
|
self.class == o.class &&
|
201
212
|
repository == o.repository &&
|
213
|
+
pulp_labels == o.pulp_labels &&
|
202
214
|
artifacts == o.artifacts &&
|
203
215
|
component == o.component &&
|
204
216
|
architecture == o.architecture &&
|
@@ -214,7 +226,7 @@ module PulpDebClient
|
|
214
226
|
# Calculates hash code according to all attributes.
|
215
227
|
# @return [Integer] Hash code
|
216
228
|
def hash
|
217
|
-
[repository, artifacts, component, architecture, relative_path].hash
|
229
|
+
[repository, pulp_labels, artifacts, component, architecture, relative_path].hash
|
218
230
|
end
|
219
231
|
|
220
232
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
31
34
|
attr_accessor :artifacts
|
32
35
|
|
@@ -46,6 +49,7 @@ module PulpDebClient
|
|
46
49
|
:'prn' => :'prn',
|
47
50
|
:'pulp_created' => :'pulp_created',
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
49
53
|
:'artifacts' => :'artifacts',
|
50
54
|
:'component' => :'component',
|
51
55
|
:'architecture' => :'architecture',
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
65
69
|
:'prn' => :'String',
|
66
70
|
:'pulp_created' => :'Time',
|
67
71
|
:'pulp_last_updated' => :'Time',
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
68
73
|
:'artifacts' => :'Object',
|
69
74
|
:'component' => :'String',
|
70
75
|
:'architecture' => :'String',
|
@@ -109,6 +114,12 @@ module PulpDebClient
|
|
109
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
110
115
|
end
|
111
116
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
|
+
self.pulp_labels = value
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
112
123
|
if attributes.key?(:'artifacts')
|
113
124
|
self.artifacts = attributes[:'artifacts']
|
114
125
|
else
|
@@ -171,6 +182,7 @@ module PulpDebClient
|
|
171
182
|
prn == o.prn &&
|
172
183
|
pulp_created == o.pulp_created &&
|
173
184
|
pulp_last_updated == o.pulp_last_updated &&
|
185
|
+
pulp_labels == o.pulp_labels &&
|
174
186
|
artifacts == o.artifacts &&
|
175
187
|
component == o.component &&
|
176
188
|
architecture == o.architecture &&
|
@@ -186,7 +198,7 @@ module PulpDebClient
|
|
186
198
|
# Calculates hash code according to all attributes.
|
187
199
|
# @return [Integer] Hash code
|
188
200
|
def hash
|
189
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
201
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
|
190
202
|
end
|
191
203
|
|
192
204
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -116,6 +119,7 @@ module PulpDebClient
|
|
116
119
|
:'prn' => :'prn',
|
117
120
|
:'pulp_created' => :'pulp_created',
|
118
121
|
:'pulp_last_updated' => :'pulp_last_updated',
|
122
|
+
:'pulp_labels' => :'pulp_labels',
|
119
123
|
:'artifact' => :'artifact',
|
120
124
|
:'relative_path' => :'relative_path',
|
121
125
|
:'md5' => :'md5',
|
@@ -168,6 +172,7 @@ module PulpDebClient
|
|
168
172
|
:'prn' => :'String',
|
169
173
|
:'pulp_created' => :'Time',
|
170
174
|
:'pulp_last_updated' => :'Time',
|
175
|
+
:'pulp_labels' => :'Hash<String, String>',
|
171
176
|
:'artifact' => :'String',
|
172
177
|
:'relative_path' => :'String',
|
173
178
|
:'md5' => :'String',
|
@@ -245,6 +250,12 @@ module PulpDebClient
|
|
245
250
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
246
251
|
end
|
247
252
|
|
253
|
+
if attributes.key?(:'pulp_labels')
|
254
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
255
|
+
self.pulp_labels = value
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
248
259
|
if attributes.key?(:'artifact')
|
249
260
|
self.artifact = attributes[:'artifact']
|
250
261
|
end
|
@@ -418,6 +429,7 @@ module PulpDebClient
|
|
418
429
|
prn == o.prn &&
|
419
430
|
pulp_created == o.pulp_created &&
|
420
431
|
pulp_last_updated == o.pulp_last_updated &&
|
432
|
+
pulp_labels == o.pulp_labels &&
|
421
433
|
artifact == o.artifact &&
|
422
434
|
relative_path == o.relative_path &&
|
423
435
|
md5 == o.md5 &&
|
@@ -466,7 +478,7 @@ module PulpDebClient
|
|
466
478
|
# Calculates hash code according to all attributes.
|
467
479
|
# @return [Integer] Hash code
|
468
480
|
def hash
|
469
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
481
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
470
482
|
end
|
471
483
|
|
472
484
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
23
26
|
attr_accessor :artifacts
|
24
27
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'repository' => :'repository',
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
38
42
|
:'artifacts' => :'artifacts',
|
39
43
|
:'component' => :'component',
|
40
44
|
:'architecture' => :'architecture',
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
51
55
|
def self.openapi_types
|
52
56
|
{
|
53
57
|
:'repository' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
54
59
|
:'artifacts' => :'Object',
|
55
60
|
:'component' => :'String',
|
56
61
|
:'architecture' => :'String',
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
83
88
|
self.repository = attributes[:'repository']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
86
97
|
if attributes.key?(:'artifacts')
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
88
99
|
else
|
@@ -185,6 +196,7 @@ module PulpDebClient
|
|
185
196
|
return true if self.equal?(o)
|
186
197
|
self.class == o.class &&
|
187
198
|
repository == o.repository &&
|
199
|
+
pulp_labels == o.pulp_labels &&
|
188
200
|
artifacts == o.artifacts &&
|
189
201
|
component == o.component &&
|
190
202
|
architecture == o.architecture &&
|
@@ -200,7 +212,7 @@ module PulpDebClient
|
|
200
212
|
# Calculates hash code according to all attributes.
|
201
213
|
# @return [Integer] Hash code
|
202
214
|
def hash
|
203
|
-
[repository, artifacts, component, architecture, relative_path].hash
|
215
|
+
[repository, pulp_labels, artifacts, component, architecture, relative_path].hash
|
204
216
|
end
|
205
217
|
|
206
218
|
# Builds the object from hash
|