pulp_deb_client 3.5.1 → 3.5.3
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/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/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_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +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_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- metadata +73 -93
|
@@ -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] || {}
|
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# Artifact file representing the physical content
|
|
31
34
|
attr_accessor :artifact
|
|
32
35
|
|
|
@@ -58,6 +61,7 @@ module PulpDebClient
|
|
|
58
61
|
:'prn' => :'prn',
|
|
59
62
|
:'pulp_created' => :'pulp_created',
|
|
60
63
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
64
|
+
:'pulp_labels' => :'pulp_labels',
|
|
61
65
|
:'artifact' => :'artifact',
|
|
62
66
|
:'relative_path' => :'relative_path',
|
|
63
67
|
:'md5' => :'md5',
|
|
@@ -81,6 +85,7 @@ module PulpDebClient
|
|
|
81
85
|
:'prn' => :'String',
|
|
82
86
|
:'pulp_created' => :'Time',
|
|
83
87
|
:'pulp_last_updated' => :'Time',
|
|
88
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
84
89
|
:'artifact' => :'String',
|
|
85
90
|
:'relative_path' => :'String',
|
|
86
91
|
:'md5' => :'String',
|
|
@@ -129,6 +134,12 @@ module PulpDebClient
|
|
|
129
134
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
130
135
|
end
|
|
131
136
|
|
|
137
|
+
if attributes.key?(:'pulp_labels')
|
|
138
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
139
|
+
self.pulp_labels = value
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
132
143
|
if attributes.key?(:'artifact')
|
|
133
144
|
self.artifact = attributes[:'artifact']
|
|
134
145
|
end
|
|
@@ -193,6 +204,7 @@ module PulpDebClient
|
|
|
193
204
|
prn == o.prn &&
|
|
194
205
|
pulp_created == o.pulp_created &&
|
|
195
206
|
pulp_last_updated == o.pulp_last_updated &&
|
|
207
|
+
pulp_labels == o.pulp_labels &&
|
|
196
208
|
artifact == o.artifact &&
|
|
197
209
|
relative_path == o.relative_path &&
|
|
198
210
|
md5 == o.md5 &&
|
|
@@ -212,7 +224,7 @@ module PulpDebClient
|
|
|
212
224
|
# Calculates hash code according to all attributes.
|
|
213
225
|
# @return [Integer] Hash code
|
|
214
226
|
def hash
|
|
215
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
|
227
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
|
216
228
|
end
|
|
217
229
|
|
|
218
230
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
|
20
20
|
attr_accessor :repository
|
|
21
21
|
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
23
|
+
attr_accessor :pulp_labels
|
|
24
|
+
|
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
23
26
|
attr_accessor :artifacts
|
|
24
27
|
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
37
40
|
:'repository' => :'repository',
|
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
|
38
42
|
:'artifacts' => :'artifacts',
|
|
39
43
|
:'component' => :'component',
|
|
40
44
|
:'architecture' => :'architecture',
|
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
|
51
55
|
def self.openapi_types
|
|
52
56
|
{
|
|
53
57
|
:'repository' => :'String',
|
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
54
59
|
:'artifacts' => :'Object',
|
|
55
60
|
:'component' => :'String',
|
|
56
61
|
:'architecture' => :'String',
|
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
|
83
88
|
self.repository = attributes[:'repository']
|
|
84
89
|
end
|
|
85
90
|
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
93
|
+
self.pulp_labels = value
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
86
97
|
if attributes.key?(:'artifacts')
|
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
|
88
99
|
else
|
|
@@ -199,6 +210,7 @@ module PulpDebClient
|
|
|
199
210
|
return true if self.equal?(o)
|
|
200
211
|
self.class == o.class &&
|
|
201
212
|
repository == o.repository &&
|
|
213
|
+
pulp_labels == o.pulp_labels &&
|
|
202
214
|
artifacts == o.artifacts &&
|
|
203
215
|
component == o.component &&
|
|
204
216
|
architecture == o.architecture &&
|
|
@@ -214,7 +226,7 @@ module PulpDebClient
|
|
|
214
226
|
# Calculates hash code according to all attributes.
|
|
215
227
|
# @return [Integer] Hash code
|
|
216
228
|
def hash
|
|
217
|
-
[repository, artifacts, component, architecture, relative_path].hash
|
|
229
|
+
[repository, pulp_labels, artifacts, component, architecture, relative_path].hash
|
|
218
230
|
end
|
|
219
231
|
|
|
220
232
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
31
34
|
attr_accessor :artifacts
|
|
32
35
|
|
|
@@ -46,6 +49,7 @@ module PulpDebClient
|
|
|
46
49
|
:'prn' => :'prn',
|
|
47
50
|
:'pulp_created' => :'pulp_created',
|
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
49
53
|
:'artifacts' => :'artifacts',
|
|
50
54
|
:'component' => :'component',
|
|
51
55
|
:'architecture' => :'architecture',
|
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
|
65
69
|
:'prn' => :'String',
|
|
66
70
|
:'pulp_created' => :'Time',
|
|
67
71
|
:'pulp_last_updated' => :'Time',
|
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
68
73
|
:'artifacts' => :'Object',
|
|
69
74
|
:'component' => :'String',
|
|
70
75
|
:'architecture' => :'String',
|
|
@@ -109,6 +114,12 @@ module PulpDebClient
|
|
|
109
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
110
115
|
end
|
|
111
116
|
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
119
|
+
self.pulp_labels = value
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
112
123
|
if attributes.key?(:'artifacts')
|
|
113
124
|
self.artifacts = attributes[:'artifacts']
|
|
114
125
|
else
|
|
@@ -171,6 +182,7 @@ module PulpDebClient
|
|
|
171
182
|
prn == o.prn &&
|
|
172
183
|
pulp_created == o.pulp_created &&
|
|
173
184
|
pulp_last_updated == o.pulp_last_updated &&
|
|
185
|
+
pulp_labels == o.pulp_labels &&
|
|
174
186
|
artifacts == o.artifacts &&
|
|
175
187
|
component == o.component &&
|
|
176
188
|
architecture == o.architecture &&
|
|
@@ -186,7 +198,7 @@ module PulpDebClient
|
|
|
186
198
|
# Calculates hash code according to all attributes.
|
|
187
199
|
# @return [Integer] Hash code
|
|
188
200
|
def hash
|
|
189
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
|
201
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
|
|
190
202
|
end
|
|
191
203
|
|
|
192
204
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# Artifact file representing the physical content
|
|
31
34
|
attr_accessor :artifact
|
|
32
35
|
|
|
@@ -116,6 +119,7 @@ module PulpDebClient
|
|
|
116
119
|
:'prn' => :'prn',
|
|
117
120
|
:'pulp_created' => :'pulp_created',
|
|
118
121
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
122
|
+
:'pulp_labels' => :'pulp_labels',
|
|
119
123
|
:'artifact' => :'artifact',
|
|
120
124
|
:'relative_path' => :'relative_path',
|
|
121
125
|
:'md5' => :'md5',
|
|
@@ -168,6 +172,7 @@ module PulpDebClient
|
|
|
168
172
|
:'prn' => :'String',
|
|
169
173
|
:'pulp_created' => :'Time',
|
|
170
174
|
:'pulp_last_updated' => :'Time',
|
|
175
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
171
176
|
:'artifact' => :'String',
|
|
172
177
|
:'relative_path' => :'String',
|
|
173
178
|
:'md5' => :'String',
|
|
@@ -245,6 +250,12 @@ module PulpDebClient
|
|
|
245
250
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
246
251
|
end
|
|
247
252
|
|
|
253
|
+
if attributes.key?(:'pulp_labels')
|
|
254
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
255
|
+
self.pulp_labels = value
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
|
|
248
259
|
if attributes.key?(:'artifact')
|
|
249
260
|
self.artifact = attributes[:'artifact']
|
|
250
261
|
end
|
|
@@ -418,6 +429,7 @@ module PulpDebClient
|
|
|
418
429
|
prn == o.prn &&
|
|
419
430
|
pulp_created == o.pulp_created &&
|
|
420
431
|
pulp_last_updated == o.pulp_last_updated &&
|
|
432
|
+
pulp_labels == o.pulp_labels &&
|
|
421
433
|
artifact == o.artifact &&
|
|
422
434
|
relative_path == o.relative_path &&
|
|
423
435
|
md5 == o.md5 &&
|
|
@@ -466,7 +478,7 @@ module PulpDebClient
|
|
|
466
478
|
# Calculates hash code according to all attributes.
|
|
467
479
|
# @return [Integer] Hash code
|
|
468
480
|
def hash
|
|
469
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
|
481
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
|
470
482
|
end
|
|
471
483
|
|
|
472
484
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
|
20
20
|
attr_accessor :repository
|
|
21
21
|
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
23
|
+
attr_accessor :pulp_labels
|
|
24
|
+
|
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
23
26
|
attr_accessor :artifacts
|
|
24
27
|
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
37
40
|
:'repository' => :'repository',
|
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
|
38
42
|
:'artifacts' => :'artifacts',
|
|
39
43
|
:'component' => :'component',
|
|
40
44
|
:'architecture' => :'architecture',
|
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
|
51
55
|
def self.openapi_types
|
|
52
56
|
{
|
|
53
57
|
:'repository' => :'String',
|
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
54
59
|
:'artifacts' => :'Object',
|
|
55
60
|
:'component' => :'String',
|
|
56
61
|
:'architecture' => :'String',
|
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
|
83
88
|
self.repository = attributes[:'repository']
|
|
84
89
|
end
|
|
85
90
|
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
93
|
+
self.pulp_labels = value
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
86
97
|
if attributes.key?(:'artifacts')
|
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
|
88
99
|
else
|
|
@@ -185,6 +196,7 @@ module PulpDebClient
|
|
|
185
196
|
return true if self.equal?(o)
|
|
186
197
|
self.class == o.class &&
|
|
187
198
|
repository == o.repository &&
|
|
199
|
+
pulp_labels == o.pulp_labels &&
|
|
188
200
|
artifacts == o.artifacts &&
|
|
189
201
|
component == o.component &&
|
|
190
202
|
architecture == o.architecture &&
|
|
@@ -200,7 +212,7 @@ module PulpDebClient
|
|
|
200
212
|
# Calculates hash code according to all attributes.
|
|
201
213
|
# @return [Integer] Hash code
|
|
202
214
|
def hash
|
|
203
|
-
[repository, artifacts, component, architecture, relative_path].hash
|
|
215
|
+
[repository, pulp_labels, artifacts, component, architecture, relative_path].hash
|
|
204
216
|
end
|
|
205
217
|
|
|
206
218
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
31
34
|
attr_accessor :artifacts
|
|
32
35
|
|
|
@@ -46,6 +49,7 @@ module PulpDebClient
|
|
|
46
49
|
:'prn' => :'prn',
|
|
47
50
|
:'pulp_created' => :'pulp_created',
|
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
49
53
|
:'artifacts' => :'artifacts',
|
|
50
54
|
:'component' => :'component',
|
|
51
55
|
:'architecture' => :'architecture',
|
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
|
65
69
|
:'prn' => :'String',
|
|
66
70
|
:'pulp_created' => :'Time',
|
|
67
71
|
:'pulp_last_updated' => :'Time',
|
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
68
73
|
:'artifacts' => :'Object',
|
|
69
74
|
:'component' => :'String',
|
|
70
75
|
:'architecture' => :'String',
|
|
@@ -109,6 +114,12 @@ module PulpDebClient
|
|
|
109
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
110
115
|
end
|
|
111
116
|
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
119
|
+
self.pulp_labels = value
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
112
123
|
if attributes.key?(:'artifacts')
|
|
113
124
|
self.artifacts = attributes[:'artifacts']
|
|
114
125
|
else
|
|
@@ -157,6 +168,7 @@ module PulpDebClient
|
|
|
157
168
|
prn == o.prn &&
|
|
158
169
|
pulp_created == o.pulp_created &&
|
|
159
170
|
pulp_last_updated == o.pulp_last_updated &&
|
|
171
|
+
pulp_labels == o.pulp_labels &&
|
|
160
172
|
artifacts == o.artifacts &&
|
|
161
173
|
component == o.component &&
|
|
162
174
|
architecture == o.architecture &&
|
|
@@ -172,7 +184,7 @@ module PulpDebClient
|
|
|
172
184
|
# Calculates hash code according to all attributes.
|
|
173
185
|
# @return [Integer] Hash code
|
|
174
186
|
def hash
|
|
175
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
|
187
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
|
|
176
188
|
end
|
|
177
189
|
|
|
178
190
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
|
20
20
|
attr_accessor :repository
|
|
21
21
|
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
23
|
+
attr_accessor :pulp_labels
|
|
24
|
+
|
|
22
25
|
# Package that is contained in release_comonent.
|
|
23
26
|
attr_accessor :package
|
|
24
27
|
|
|
@@ -29,6 +32,7 @@ module PulpDebClient
|
|
|
29
32
|
def self.attribute_map
|
|
30
33
|
{
|
|
31
34
|
:'repository' => :'repository',
|
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
|
32
36
|
:'package' => :'package',
|
|
33
37
|
:'release_component' => :'release_component'
|
|
34
38
|
}
|
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
|
43
47
|
def self.openapi_types
|
|
44
48
|
{
|
|
45
49
|
:'repository' => :'String',
|
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
46
51
|
:'package' => :'String',
|
|
47
52
|
:'release_component' => :'String'
|
|
48
53
|
}
|
|
@@ -73,6 +78,12 @@ module PulpDebClient
|
|
|
73
78
|
self.repository = attributes[:'repository']
|
|
74
79
|
end
|
|
75
80
|
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
83
|
+
self.pulp_labels = value
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
76
87
|
if attributes.key?(:'package')
|
|
77
88
|
self.package = attributes[:'package']
|
|
78
89
|
else
|
|
@@ -117,6 +128,7 @@ module PulpDebClient
|
|
|
117
128
|
return true if self.equal?(o)
|
|
118
129
|
self.class == o.class &&
|
|
119
130
|
repository == o.repository &&
|
|
131
|
+
pulp_labels == o.pulp_labels &&
|
|
120
132
|
package == o.package &&
|
|
121
133
|
release_component == o.release_component
|
|
122
134
|
end
|
|
@@ -130,7 +142,7 @@ module PulpDebClient
|
|
|
130
142
|
# Calculates hash code according to all attributes.
|
|
131
143
|
# @return [Integer] Hash code
|
|
132
144
|
def hash
|
|
133
|
-
[repository, package, release_component].hash
|
|
145
|
+
[repository, pulp_labels, package, release_component].hash
|
|
134
146
|
end
|
|
135
147
|
|
|
136
148
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# Package that is contained in release_comonent.
|
|
31
34
|
attr_accessor :package
|
|
32
35
|
|
|
@@ -40,6 +43,7 @@ module PulpDebClient
|
|
|
40
43
|
:'prn' => :'prn',
|
|
41
44
|
:'pulp_created' => :'pulp_created',
|
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
|
43
47
|
:'package' => :'package',
|
|
44
48
|
:'release_component' => :'release_component'
|
|
45
49
|
}
|
|
@@ -57,6 +61,7 @@ module PulpDebClient
|
|
|
57
61
|
:'prn' => :'String',
|
|
58
62
|
:'pulp_created' => :'Time',
|
|
59
63
|
:'pulp_last_updated' => :'Time',
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
60
65
|
:'package' => :'String',
|
|
61
66
|
:'release_component' => :'String'
|
|
62
67
|
}
|
|
@@ -99,6 +104,12 @@ module PulpDebClient
|
|
|
99
104
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
100
105
|
end
|
|
101
106
|
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
109
|
+
self.pulp_labels = value
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
102
113
|
if attributes.key?(:'package')
|
|
103
114
|
self.package = attributes[:'package']
|
|
104
115
|
else
|
|
@@ -146,6 +157,7 @@ module PulpDebClient
|
|
|
146
157
|
prn == o.prn &&
|
|
147
158
|
pulp_created == o.pulp_created &&
|
|
148
159
|
pulp_last_updated == o.pulp_last_updated &&
|
|
160
|
+
pulp_labels == o.pulp_labels &&
|
|
149
161
|
package == o.package &&
|
|
150
162
|
release_component == o.release_component
|
|
151
163
|
end
|
|
@@ -159,7 +171,7 @@ module PulpDebClient
|
|
|
159
171
|
# Calculates hash code according to all attributes.
|
|
160
172
|
# @return [Integer] Hash code
|
|
161
173
|
def hash
|
|
162
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, package, release_component].hash
|
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, package, release_component].hash
|
|
163
175
|
end
|
|
164
176
|
|
|
165
177
|
# Builds the object from hash
|
|
@@ -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
|
|
|
@@ -122,6 +125,7 @@ module PulpDebClient
|
|
|
122
125
|
:'prn' => :'prn',
|
|
123
126
|
:'pulp_created' => :'pulp_created',
|
|
124
127
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
128
|
+
:'pulp_labels' => :'pulp_labels',
|
|
125
129
|
:'artifact' => :'artifact',
|
|
126
130
|
:'relative_path' => :'relative_path',
|
|
127
131
|
:'distribution' => :'distribution',
|
|
@@ -176,6 +180,7 @@ module PulpDebClient
|
|
|
176
180
|
:'prn' => :'String',
|
|
177
181
|
:'pulp_created' => :'Time',
|
|
178
182
|
:'pulp_last_updated' => :'Time',
|
|
183
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
179
184
|
:'artifact' => :'String',
|
|
180
185
|
:'relative_path' => :'String',
|
|
181
186
|
:'distribution' => :'String',
|
|
@@ -255,6 +260,12 @@ module PulpDebClient
|
|
|
255
260
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
256
261
|
end
|
|
257
262
|
|
|
263
|
+
if attributes.key?(:'pulp_labels')
|
|
264
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
265
|
+
self.pulp_labels = value
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
258
269
|
if attributes.key?(:'artifact')
|
|
259
270
|
self.artifact = attributes[:'artifact']
|
|
260
271
|
end
|
|
@@ -436,6 +447,7 @@ module PulpDebClient
|
|
|
436
447
|
prn == o.prn &&
|
|
437
448
|
pulp_created == o.pulp_created &&
|
|
438
449
|
pulp_last_updated == o.pulp_last_updated &&
|
|
450
|
+
pulp_labels == o.pulp_labels &&
|
|
439
451
|
artifact == o.artifact &&
|
|
440
452
|
relative_path == o.relative_path &&
|
|
441
453
|
distribution == o.distribution &&
|
|
@@ -486,7 +498,7 @@ module PulpDebClient
|
|
|
486
498
|
# Calculates hash code according to all attributes.
|
|
487
499
|
# @return [Integer] Hash code
|
|
488
500
|
def hash
|
|
489
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, 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
|
|
501
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, 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
|
|
490
502
|
end
|
|
491
503
|
|
|
492
504
|
# Builds the object from hash
|