pulp_deb_client 3.1.2 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentGenericContentsApi.md +1 -1
- data/docs/ContentInstallerFileIndicesApi.md +1 -1
- data/docs/ContentInstallerPackagesApi.md +1 -1
- data/docs/ContentPackageIndicesApi.md +1 -1
- data/docs/ContentPackageReleaseComponentsApi.md +1 -1
- data/docs/ContentPackagesApi.md +1 -1
- data/docs/ContentReleaseArchitecturesApi.md +4 -4
- data/docs/ContentReleaseComponentsApi.md +4 -4
- data/docs/ContentReleaseFilesApi.md +1 -1
- data/docs/ContentReleasesApi.md +1 -1
- data/docs/ContentSourceIndicesApi.md +1 -1
- data/docs/ContentSourcePackagesApi.md +1 -1
- data/docs/ContentSourceReleaseComponentsApi.md +1 -1
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginateddebAptDistributionResponseList.md +2 -2
- data/docs/PaginateddebAptPublicationResponseList.md +2 -2
- data/docs/PaginateddebAptRemoteResponseList.md +2 -2
- data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
- data/docs/PaginateddebGenericContentResponseList.md +2 -2
- data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
- data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
- data/docs/PaginateddebPackageIndexResponseList.md +2 -2
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebPackageResponseList.md +2 -2
- data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
- data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebReleaseFileResponseList.md +2 -2
- data/docs/PaginateddebReleaseResponseList.md +2 -2
- data/docs/PaginateddebSourceIndexResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageResponseList.md +2 -2
- data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
- data/docs/PublicationsAptApi.md +1 -1
- data/docs/PublicationsVerbatimApi.md +1 -1
- data/docs/RemotesAptApi.md +1 -1
- data/docs/RepositoriesAptApi.md +1 -1
- data/docs/RepositoriesAptVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_release_components_api.rb +5 -5
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -31
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +2 -2
- data/spec/api/content_release_components_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -6
- data/spec/models/deb_apt_repository_response_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_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_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_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +84 -84
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# Timestamp of the most recent update of the remote.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A unique name for this remote.
|
24
27
|
attr_accessor :name
|
25
28
|
|
@@ -40,9 +43,6 @@ module PulpDebClient
|
|
40
43
|
|
41
44
|
attr_accessor :pulp_labels
|
42
45
|
|
43
|
-
# Timestamp of the most recent update of the remote.
|
44
|
-
attr_accessor :pulp_last_updated
|
45
|
-
|
46
46
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
@@ -102,6 +102,7 @@ module PulpDebClient
|
|
102
102
|
{
|
103
103
|
:'pulp_href' => :'pulp_href',
|
104
104
|
:'pulp_created' => :'pulp_created',
|
105
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
105
106
|
:'name' => :'name',
|
106
107
|
:'url' => :'url',
|
107
108
|
:'ca_cert' => :'ca_cert',
|
@@ -109,7 +110,6 @@ module PulpDebClient
|
|
109
110
|
:'tls_validation' => :'tls_validation',
|
110
111
|
:'proxy_url' => :'proxy_url',
|
111
112
|
:'pulp_labels' => :'pulp_labels',
|
112
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
113
113
|
:'download_concurrency' => :'download_concurrency',
|
114
114
|
:'max_retries' => :'max_retries',
|
115
115
|
:'policy' => :'policy',
|
@@ -136,6 +136,7 @@ module PulpDebClient
|
|
136
136
|
{
|
137
137
|
:'pulp_href' => :'String',
|
138
138
|
:'pulp_created' => :'DateTime',
|
139
|
+
:'pulp_last_updated' => :'DateTime',
|
139
140
|
:'name' => :'String',
|
140
141
|
:'url' => :'String',
|
141
142
|
:'ca_cert' => :'String',
|
@@ -143,7 +144,6 @@ module PulpDebClient
|
|
143
144
|
:'tls_validation' => :'Boolean',
|
144
145
|
:'proxy_url' => :'String',
|
145
146
|
:'pulp_labels' => :'Hash<String, String>',
|
146
|
-
:'pulp_last_updated' => :'DateTime',
|
147
147
|
:'download_concurrency' => :'Integer',
|
148
148
|
:'max_retries' => :'Integer',
|
149
149
|
:'policy' => :'PolicyEnum',
|
@@ -207,6 +207,10 @@ module PulpDebClient
|
|
207
207
|
self.pulp_created = attributes[:'pulp_created']
|
208
208
|
end
|
209
209
|
|
210
|
+
if attributes.key?(:'pulp_last_updated')
|
211
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
212
|
+
end
|
213
|
+
|
210
214
|
if attributes.key?(:'name')
|
211
215
|
self.name = attributes[:'name']
|
212
216
|
end
|
@@ -237,10 +241,6 @@ module PulpDebClient
|
|
237
241
|
end
|
238
242
|
end
|
239
243
|
|
240
|
-
if attributes.key?(:'pulp_last_updated')
|
241
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
242
|
-
end
|
243
|
-
|
244
244
|
if attributes.key?(:'download_concurrency')
|
245
245
|
self.download_concurrency = attributes[:'download_concurrency']
|
246
246
|
end
|
@@ -334,20 +334,20 @@ module PulpDebClient
|
|
334
334
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
335
335
|
end
|
336
336
|
|
337
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
338
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
337
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
338
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
339
339
|
end
|
340
340
|
|
341
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
342
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
341
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
342
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
343
343
|
end
|
344
344
|
|
345
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
346
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
345
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
346
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
347
347
|
end
|
348
348
|
|
349
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
350
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
349
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
350
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
351
351
|
end
|
352
352
|
|
353
353
|
if @distributions.nil?
|
@@ -363,10 +363,10 @@ module PulpDebClient
|
|
363
363
|
return false if @name.nil?
|
364
364
|
return false if @url.nil?
|
365
365
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
366
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
367
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
368
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
369
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
366
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
367
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
368
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
369
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
370
370
|
return false if @distributions.nil?
|
371
371
|
true
|
372
372
|
end
|
@@ -384,8 +384,8 @@ module PulpDebClient
|
|
384
384
|
# Custom attribute writer method with validation
|
385
385
|
# @param [Object] total_timeout Value to be assigned
|
386
386
|
def total_timeout=(total_timeout)
|
387
|
-
if !total_timeout.nil? && total_timeout < 0
|
388
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
387
|
+
if !total_timeout.nil? && total_timeout < 0
|
388
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
389
389
|
end
|
390
390
|
|
391
391
|
@total_timeout = total_timeout
|
@@ -394,8 +394,8 @@ module PulpDebClient
|
|
394
394
|
# Custom attribute writer method with validation
|
395
395
|
# @param [Object] connect_timeout Value to be assigned
|
396
396
|
def connect_timeout=(connect_timeout)
|
397
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
398
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
397
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
398
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
399
399
|
end
|
400
400
|
|
401
401
|
@connect_timeout = connect_timeout
|
@@ -404,8 +404,8 @@ module PulpDebClient
|
|
404
404
|
# Custom attribute writer method with validation
|
405
405
|
# @param [Object] sock_connect_timeout Value to be assigned
|
406
406
|
def sock_connect_timeout=(sock_connect_timeout)
|
407
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
408
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
407
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
408
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
409
409
|
end
|
410
410
|
|
411
411
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -414,8 +414,8 @@ module PulpDebClient
|
|
414
414
|
# Custom attribute writer method with validation
|
415
415
|
# @param [Object] sock_read_timeout Value to be assigned
|
416
416
|
def sock_read_timeout=(sock_read_timeout)
|
417
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
418
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
417
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
418
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
419
419
|
end
|
420
420
|
|
421
421
|
@sock_read_timeout = sock_read_timeout
|
@@ -428,6 +428,7 @@ module PulpDebClient
|
|
428
428
|
self.class == o.class &&
|
429
429
|
pulp_href == o.pulp_href &&
|
430
430
|
pulp_created == o.pulp_created &&
|
431
|
+
pulp_last_updated == o.pulp_last_updated &&
|
431
432
|
name == o.name &&
|
432
433
|
url == o.url &&
|
433
434
|
ca_cert == o.ca_cert &&
|
@@ -435,7 +436,6 @@ module PulpDebClient
|
|
435
436
|
tls_validation == o.tls_validation &&
|
436
437
|
proxy_url == o.proxy_url &&
|
437
438
|
pulp_labels == o.pulp_labels &&
|
438
|
-
pulp_last_updated == o.pulp_last_updated &&
|
439
439
|
download_concurrency == o.download_concurrency &&
|
440
440
|
max_retries == o.max_retries &&
|
441
441
|
policy == o.policy &&
|
@@ -465,7 +465,7 @@ module PulpDebClient
|
|
465
465
|
# Calculates hash code according to all attributes.
|
466
466
|
# @return [Integer] Hash code
|
467
467
|
def hash
|
468
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
468
|
+
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
469
469
|
end
|
470
470
|
|
471
471
|
# Builds the object from hash
|
@@ -68,12 +68,22 @@ module PulpDebClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @is_set.nil?
|
76
|
+
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @is_set.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :versions_href
|
24
27
|
|
25
28
|
attr_accessor :pulp_labels
|
@@ -52,6 +55,7 @@ module PulpDebClient
|
|
52
55
|
{
|
53
56
|
:'pulp_href' => :'pulp_href',
|
54
57
|
:'pulp_created' => :'pulp_created',
|
58
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
55
59
|
:'versions_href' => :'versions_href',
|
56
60
|
:'pulp_labels' => :'pulp_labels',
|
57
61
|
:'latest_version_href' => :'latest_version_href',
|
@@ -70,6 +74,7 @@ module PulpDebClient
|
|
70
74
|
{
|
71
75
|
:'pulp_href' => :'String',
|
72
76
|
:'pulp_created' => :'DateTime',
|
77
|
+
:'pulp_last_updated' => :'DateTime',
|
73
78
|
:'versions_href' => :'String',
|
74
79
|
:'pulp_labels' => :'Hash<String, String>',
|
75
80
|
:'latest_version_href' => :'String',
|
@@ -116,6 +121,10 @@ module PulpDebClient
|
|
116
121
|
self.pulp_created = attributes[:'pulp_created']
|
117
122
|
end
|
118
123
|
|
124
|
+
if attributes.key?(:'pulp_last_updated')
|
125
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
126
|
+
end
|
127
|
+
|
119
128
|
if attributes.key?(:'versions_href')
|
120
129
|
self.versions_href = attributes[:'versions_href']
|
121
130
|
end
|
@@ -201,6 +210,7 @@ module PulpDebClient
|
|
201
210
|
self.class == o.class &&
|
202
211
|
pulp_href == o.pulp_href &&
|
203
212
|
pulp_created == o.pulp_created &&
|
213
|
+
pulp_last_updated == o.pulp_last_updated &&
|
204
214
|
versions_href == o.versions_href &&
|
205
215
|
pulp_labels == o.pulp_labels &&
|
206
216
|
latest_version_href == o.latest_version_href &&
|
@@ -222,7 +232,7 @@ module PulpDebClient
|
|
222
232
|
# Calculates hash code according to all attributes.
|
223
233
|
# @return [Integer] Hash code
|
224
234
|
def 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
|
235
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
|
226
236
|
end
|
227
237
|
|
228
238
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Artifact file representing the physical content
|
24
27
|
attr_accessor :artifact
|
25
28
|
|
@@ -49,6 +52,7 @@ module PulpDebClient
|
|
49
52
|
{
|
50
53
|
:'pulp_href' => :'pulp_href',
|
51
54
|
:'pulp_created' => :'pulp_created',
|
55
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
52
56
|
:'artifact' => :'artifact',
|
53
57
|
:'relative_path' => :'relative_path',
|
54
58
|
:'md5' => :'md5',
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
65
69
|
{
|
66
70
|
:'pulp_href' => :'String',
|
67
71
|
:'pulp_created' => :'DateTime',
|
72
|
+
:'pulp_last_updated' => :'DateTime',
|
68
73
|
:'artifact' => :'String',
|
69
74
|
:'relative_path' => :'String',
|
70
75
|
:'md5' => :'String',
|
@@ -105,6 +110,10 @@ module PulpDebClient
|
|
105
110
|
self.pulp_created = attributes[:'pulp_created']
|
106
111
|
end
|
107
112
|
|
113
|
+
if attributes.key?(:'pulp_last_updated')
|
114
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
115
|
+
end
|
116
|
+
|
108
117
|
if attributes.key?(:'artifact')
|
109
118
|
self.artifact = attributes[:'artifact']
|
110
119
|
end
|
@@ -163,6 +172,7 @@ module PulpDebClient
|
|
163
172
|
self.class == o.class &&
|
164
173
|
pulp_href == o.pulp_href &&
|
165
174
|
pulp_created == o.pulp_created &&
|
175
|
+
pulp_last_updated == o.pulp_last_updated &&
|
166
176
|
artifact == o.artifact &&
|
167
177
|
relative_path == o.relative_path &&
|
168
178
|
md5 == o.md5 &&
|
@@ -182,7 +192,7 @@ module PulpDebClient
|
|
182
192
|
# Calculates hash code according to all attributes.
|
183
193
|
# @return [Integer] Hash code
|
184
194
|
def hash
|
185
|
-
[pulp_href, pulp_created, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
195
|
+
[pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
186
196
|
end
|
187
197
|
|
188
198
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
24
27
|
attr_accessor :artifacts
|
25
28
|
|
@@ -37,6 +40,7 @@ module PulpDebClient
|
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
39
42
|
:'pulp_created' => :'pulp_created',
|
43
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
40
44
|
:'artifacts' => :'artifacts',
|
41
45
|
:'component' => :'component',
|
42
46
|
:'architecture' => :'architecture',
|
@@ -49,6 +53,7 @@ module PulpDebClient
|
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
51
55
|
:'pulp_created' => :'DateTime',
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
52
57
|
:'artifacts' => :'Object',
|
53
58
|
:'component' => :'String',
|
54
59
|
:'architecture' => :'String',
|
@@ -85,6 +90,10 @@ module PulpDebClient
|
|
85
90
|
self.pulp_created = attributes[:'pulp_created']
|
86
91
|
end
|
87
92
|
|
93
|
+
if attributes.key?(:'pulp_last_updated')
|
94
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
95
|
+
end
|
96
|
+
|
88
97
|
if attributes.key?(:'artifacts')
|
89
98
|
self.artifacts = attributes[:'artifacts']
|
90
99
|
end
|
@@ -137,6 +146,7 @@ module PulpDebClient
|
|
137
146
|
self.class == o.class &&
|
138
147
|
pulp_href == o.pulp_href &&
|
139
148
|
pulp_created == o.pulp_created &&
|
149
|
+
pulp_last_updated == o.pulp_last_updated &&
|
140
150
|
artifacts == o.artifacts &&
|
141
151
|
component == o.component &&
|
142
152
|
architecture == o.architecture &&
|
@@ -152,7 +162,7 @@ module PulpDebClient
|
|
152
162
|
# Calculates hash code according to all attributes.
|
153
163
|
# @return [Integer] Hash code
|
154
164
|
def hash
|
155
|
-
[pulp_href, pulp_created, artifacts, component, architecture, relative_path].hash
|
165
|
+
[pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
156
166
|
end
|
157
167
|
|
158
168
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Artifact file representing the physical content
|
24
27
|
attr_accessor :artifact
|
25
28
|
|
@@ -107,6 +110,7 @@ module PulpDebClient
|
|
107
110
|
{
|
108
111
|
:'pulp_href' => :'pulp_href',
|
109
112
|
:'pulp_created' => :'pulp_created',
|
113
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
110
114
|
:'artifact' => :'artifact',
|
111
115
|
:'relative_path' => :'relative_path',
|
112
116
|
:'md5' => :'md5',
|
@@ -152,6 +156,7 @@ module PulpDebClient
|
|
152
156
|
{
|
153
157
|
:'pulp_href' => :'String',
|
154
158
|
:'pulp_created' => :'DateTime',
|
159
|
+
:'pulp_last_updated' => :'DateTime',
|
155
160
|
:'artifact' => :'String',
|
156
161
|
:'relative_path' => :'String',
|
157
162
|
:'md5' => :'String',
|
@@ -221,6 +226,10 @@ module PulpDebClient
|
|
221
226
|
self.pulp_created = attributes[:'pulp_created']
|
222
227
|
end
|
223
228
|
|
229
|
+
if attributes.key?(:'pulp_last_updated')
|
230
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
231
|
+
end
|
232
|
+
|
224
233
|
if attributes.key?(:'artifact')
|
225
234
|
self.artifact = attributes[:'artifact']
|
226
235
|
end
|
@@ -390,6 +399,7 @@ module PulpDebClient
|
|
390
399
|
self.class == o.class &&
|
391
400
|
pulp_href == o.pulp_href &&
|
392
401
|
pulp_created == o.pulp_created &&
|
402
|
+
pulp_last_updated == o.pulp_last_updated &&
|
393
403
|
artifact == o.artifact &&
|
394
404
|
relative_path == o.relative_path &&
|
395
405
|
md5 == o.md5 &&
|
@@ -438,7 +448,7 @@ module PulpDebClient
|
|
438
448
|
# Calculates hash code according to all attributes.
|
439
449
|
# @return [Integer] Hash code
|
440
450
|
def hash
|
441
|
-
[pulp_href, pulp_created, 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
|
451
|
+
[pulp_href, 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
|
442
452
|
end
|
443
453
|
|
444
454
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
24
27
|
attr_accessor :artifacts
|
25
28
|
|
@@ -37,6 +40,7 @@ module PulpDebClient
|
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
39
42
|
:'pulp_created' => :'pulp_created',
|
43
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
40
44
|
:'artifacts' => :'artifacts',
|
41
45
|
:'component' => :'component',
|
42
46
|
:'architecture' => :'architecture',
|
@@ -49,6 +53,7 @@ module PulpDebClient
|
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
51
55
|
:'pulp_created' => :'DateTime',
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
52
57
|
:'artifacts' => :'Object',
|
53
58
|
:'component' => :'String',
|
54
59
|
:'architecture' => :'String',
|
@@ -85,6 +90,10 @@ module PulpDebClient
|
|
85
90
|
self.pulp_created = attributes[:'pulp_created']
|
86
91
|
end
|
87
92
|
|
93
|
+
if attributes.key?(:'pulp_last_updated')
|
94
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
95
|
+
end
|
96
|
+
|
88
97
|
if attributes.key?(:'artifacts')
|
89
98
|
self.artifacts = attributes[:'artifacts']
|
90
99
|
end
|
@@ -127,6 +136,7 @@ module PulpDebClient
|
|
127
136
|
self.class == o.class &&
|
128
137
|
pulp_href == o.pulp_href &&
|
129
138
|
pulp_created == o.pulp_created &&
|
139
|
+
pulp_last_updated == o.pulp_last_updated &&
|
130
140
|
artifacts == o.artifacts &&
|
131
141
|
component == o.component &&
|
132
142
|
architecture == o.architecture &&
|
@@ -142,7 +152,7 @@ module PulpDebClient
|
|
142
152
|
# Calculates hash code according to all attributes.
|
143
153
|
# @return [Integer] Hash code
|
144
154
|
def hash
|
145
|
-
[pulp_href, pulp_created, artifacts, component, architecture, relative_path].hash
|
155
|
+
[pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
146
156
|
end
|
147
157
|
|
148
158
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Package that is contained in release_comonent.
|
24
27
|
attr_accessor :package
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpDebClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'package' => :'package',
|
35
39
|
:'release_component' => :'release_component'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpDebClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'package' => :'String',
|
45
50
|
:'release_component' => :'String'
|
46
51
|
}
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'package')
|
79
88
|
self.package = attributes[:'package']
|
80
89
|
end
|
@@ -114,6 +123,7 @@ module PulpDebClient
|
|
114
123
|
self.class == o.class &&
|
115
124
|
pulp_href == o.pulp_href &&
|
116
125
|
pulp_created == o.pulp_created &&
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
117
127
|
package == o.package &&
|
118
128
|
release_component == o.release_component
|
119
129
|
end
|
@@ -127,7 +137,7 @@ module PulpDebClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[pulp_href, pulp_created, package, release_component].hash
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, package, release_component].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Artifact file representing the physical content
|
24
27
|
attr_accessor :artifact
|
25
28
|
|
@@ -113,6 +116,7 @@ module PulpDebClient
|
|
113
116
|
{
|
114
117
|
:'pulp_href' => :'pulp_href',
|
115
118
|
:'pulp_created' => :'pulp_created',
|
119
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
116
120
|
:'artifact' => :'artifact',
|
117
121
|
:'relative_path' => :'relative_path',
|
118
122
|
:'distribution' => :'distribution',
|
@@ -160,6 +164,7 @@ module PulpDebClient
|
|
160
164
|
{
|
161
165
|
:'pulp_href' => :'String',
|
162
166
|
:'pulp_created' => :'DateTime',
|
167
|
+
:'pulp_last_updated' => :'DateTime',
|
163
168
|
:'artifact' => :'String',
|
164
169
|
:'relative_path' => :'String',
|
165
170
|
:'distribution' => :'String',
|
@@ -231,6 +236,10 @@ module PulpDebClient
|
|
231
236
|
self.pulp_created = attributes[:'pulp_created']
|
232
237
|
end
|
233
238
|
|
239
|
+
if attributes.key?(:'pulp_last_updated')
|
240
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
241
|
+
end
|
242
|
+
|
234
243
|
if attributes.key?(:'artifact')
|
235
244
|
self.artifact = attributes[:'artifact']
|
236
245
|
end
|
@@ -408,6 +417,7 @@ module PulpDebClient
|
|
408
417
|
self.class == o.class &&
|
409
418
|
pulp_href == o.pulp_href &&
|
410
419
|
pulp_created == o.pulp_created &&
|
420
|
+
pulp_last_updated == o.pulp_last_updated &&
|
411
421
|
artifact == o.artifact &&
|
412
422
|
relative_path == o.relative_path &&
|
413
423
|
distribution == o.distribution &&
|
@@ -458,7 +468,7 @@ module PulpDebClient
|
|
458
468
|
# Calculates hash code according to all attributes.
|
459
469
|
# @return [Integer] Hash code
|
460
470
|
def hash
|
461
|
-
[pulp_href, pulp_created, 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
|
471
|
+
[pulp_href, 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
|
462
472
|
end
|
463
473
|
|
464
474
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Name of the architecture.
|
24
27
|
attr_accessor :architecture
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpDebClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'architecture' => :'architecture',
|
35
39
|
:'distribution' => :'distribution'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpDebClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'architecture' => :'String',
|
45
50
|
:'distribution' => :'String'
|
46
51
|
}
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'architecture')
|
79
88
|
self.architecture = attributes[:'architecture']
|
80
89
|
end
|
@@ -114,6 +123,7 @@ module PulpDebClient
|
|
114
123
|
self.class == o.class &&
|
115
124
|
pulp_href == o.pulp_href &&
|
116
125
|
pulp_created == o.pulp_created &&
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
117
127
|
architecture == o.architecture &&
|
118
128
|
distribution == o.distribution
|
119
129
|
end
|
@@ -127,7 +137,7 @@ module PulpDebClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[pulp_href, pulp_created, architecture, distribution].hash
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, architecture, distribution].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|