pulp_deb_client 3.3.0 → 3.4.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 +7 -6
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +11 -9
- data/docs/ContentInstallerPackagesApi.md +14 -10
- data/docs/ContentPackageIndicesApi.md +11 -9
- data/docs/ContentPackageReleaseComponentsApi.md +11 -9
- data/docs/ContentPackagesApi.md +13 -9
- data/docs/ContentReleaseArchitecturesApi.md +11 -9
- data/docs/ContentReleaseComponentsApi.md +11 -9
- data/docs/ContentReleaseFilesApi.md +11 -9
- data/docs/ContentReleasesApi.md +11 -9
- data/docs/ContentSourceIndicesApi.md +11 -9
- data/docs/ContentSourcePackagesApi.md +11 -9
- data/docs/ContentSourceReleaseComponentsApi.md +11 -9
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackage.md +3 -1
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackage.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 +5 -3
- data/docs/PublicationsAptApi.md +13 -11
- data/docs/PublicationsVerbatimApi.md +13 -11
- data/docs/RemotesAptApi.md +5 -3
- data/docs/RepositoriesAptApi.md +9 -7
- data/docs/RepositoriesAptVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/publications_apt_api.rb +14 -11
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +14 -11
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -6
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -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 -21
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +29 -4
- 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.rb +29 -4
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package.rb +26 -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/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
- data/spec/api/content_installer_packages_api_spec.rb +6 -4
- data/spec/api/content_package_indices_api_spec.rb +5 -4
- data/spec/api/content_package_release_components_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_release_architectures_api_spec.rb +5 -4
- data/spec/api/content_release_components_api_spec.rb +5 -4
- data/spec/api/content_release_files_api_spec.rb +5 -4
- data/spec/api/content_releases_api_spec.rb +5 -4
- data/spec/api/content_source_indices_api_spec.rb +5 -4
- data/spec/api/content_source_packages_api_spec.rb +5 -4
- data/spec/api/content_source_release_components_api_spec.rb +5 -4
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +6 -5
- data/spec/api/publications_verbatim_api_spec.rb +6 -5
- data/spec/api/remotes_apt_api_spec.rb +2 -1
- data/spec/api/repositories_apt_api_spec.rb +4 -3
- data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- 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_generic_content_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_installer_package_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_package_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 +85 -85
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebAptRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -101,6 +104,7 @@ module PulpDebClient
|
|
101
104
|
def self.attribute_map
|
102
105
|
{
|
103
106
|
:'pulp_href' => :'pulp_href',
|
107
|
+
:'prn' => :'prn',
|
104
108
|
:'pulp_created' => :'pulp_created',
|
105
109
|
:'pulp_last_updated' => :'pulp_last_updated',
|
106
110
|
:'name' => :'name',
|
@@ -135,6 +139,7 @@ module PulpDebClient
|
|
135
139
|
def self.openapi_types
|
136
140
|
{
|
137
141
|
:'pulp_href' => :'String',
|
142
|
+
:'prn' => :'String',
|
138
143
|
:'pulp_created' => :'DateTime',
|
139
144
|
:'pulp_last_updated' => :'DateTime',
|
140
145
|
:'name' => :'String',
|
@@ -203,6 +208,10 @@ module PulpDebClient
|
|
203
208
|
self.pulp_href = attributes[:'pulp_href']
|
204
209
|
end
|
205
210
|
|
211
|
+
if attributes.key?(:'prn')
|
212
|
+
self.prn = attributes[:'prn']
|
213
|
+
end
|
214
|
+
|
206
215
|
if attributes.key?(:'pulp_created')
|
207
216
|
self.pulp_created = attributes[:'pulp_created']
|
208
217
|
end
|
@@ -334,20 +343,20 @@ module PulpDebClient
|
|
334
343
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
335
344
|
end
|
336
345
|
|
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.
|
346
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
347
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
339
348
|
end
|
340
349
|
|
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.
|
350
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
351
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
343
352
|
end
|
344
353
|
|
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.
|
354
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
355
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
347
356
|
end
|
348
357
|
|
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.
|
358
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
359
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
351
360
|
end
|
352
361
|
|
353
362
|
if @distributions.nil?
|
@@ -363,10 +372,10 @@ module PulpDebClient
|
|
363
372
|
return false if @name.nil?
|
364
373
|
return false if @url.nil?
|
365
374
|
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
|
375
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
376
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
377
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
378
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
370
379
|
return false if @distributions.nil?
|
371
380
|
true
|
372
381
|
end
|
@@ -384,8 +393,8 @@ module PulpDebClient
|
|
384
393
|
# Custom attribute writer method with validation
|
385
394
|
# @param [Object] total_timeout Value to be assigned
|
386
395
|
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.
|
396
|
+
if !total_timeout.nil? && total_timeout < 0
|
397
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
389
398
|
end
|
390
399
|
|
391
400
|
@total_timeout = total_timeout
|
@@ -394,8 +403,8 @@ module PulpDebClient
|
|
394
403
|
# Custom attribute writer method with validation
|
395
404
|
# @param [Object] connect_timeout Value to be assigned
|
396
405
|
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.
|
406
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
407
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
399
408
|
end
|
400
409
|
|
401
410
|
@connect_timeout = connect_timeout
|
@@ -404,8 +413,8 @@ module PulpDebClient
|
|
404
413
|
# Custom attribute writer method with validation
|
405
414
|
# @param [Object] sock_connect_timeout Value to be assigned
|
406
415
|
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.
|
416
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
417
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
409
418
|
end
|
410
419
|
|
411
420
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -414,8 +423,8 @@ module PulpDebClient
|
|
414
423
|
# Custom attribute writer method with validation
|
415
424
|
# @param [Object] sock_read_timeout Value to be assigned
|
416
425
|
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.
|
426
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
427
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
419
428
|
end
|
420
429
|
|
421
430
|
@sock_read_timeout = sock_read_timeout
|
@@ -427,6 +436,7 @@ module PulpDebClient
|
|
427
436
|
return true if self.equal?(o)
|
428
437
|
self.class == o.class &&
|
429
438
|
pulp_href == o.pulp_href &&
|
439
|
+
prn == o.prn &&
|
430
440
|
pulp_created == o.pulp_created &&
|
431
441
|
pulp_last_updated == o.pulp_last_updated &&
|
432
442
|
name == o.name &&
|
@@ -465,7 +475,7 @@ module PulpDebClient
|
|
465
475
|
# Calculates hash code according to all attributes.
|
466
476
|
# @return [Integer] Hash code
|
467
477
|
def hash
|
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
|
478
|
+
[pulp_href, prn, 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
479
|
end
|
470
480
|
|
471
481
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebAptRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -54,6 +57,7 @@ module PulpDebClient
|
|
54
57
|
def self.attribute_map
|
55
58
|
{
|
56
59
|
:'pulp_href' => :'pulp_href',
|
60
|
+
:'prn' => :'prn',
|
57
61
|
:'pulp_created' => :'pulp_created',
|
58
62
|
:'pulp_last_updated' => :'pulp_last_updated',
|
59
63
|
:'versions_href' => :'versions_href',
|
@@ -73,6 +77,7 @@ module PulpDebClient
|
|
73
77
|
def self.openapi_types
|
74
78
|
{
|
75
79
|
:'pulp_href' => :'String',
|
80
|
+
:'prn' => :'String',
|
76
81
|
:'pulp_created' => :'DateTime',
|
77
82
|
:'pulp_last_updated' => :'DateTime',
|
78
83
|
:'versions_href' => :'String',
|
@@ -117,6 +122,10 @@ module PulpDebClient
|
|
117
122
|
self.pulp_href = attributes[:'pulp_href']
|
118
123
|
end
|
119
124
|
|
125
|
+
if attributes.key?(:'prn')
|
126
|
+
self.prn = attributes[:'prn']
|
127
|
+
end
|
128
|
+
|
120
129
|
if attributes.key?(:'pulp_created')
|
121
130
|
self.pulp_created = attributes[:'pulp_created']
|
122
131
|
end
|
@@ -209,6 +218,7 @@ module PulpDebClient
|
|
209
218
|
return true if self.equal?(o)
|
210
219
|
self.class == o.class &&
|
211
220
|
pulp_href == o.pulp_href &&
|
221
|
+
prn == o.prn &&
|
212
222
|
pulp_created == o.pulp_created &&
|
213
223
|
pulp_last_updated == o.pulp_last_updated &&
|
214
224
|
versions_href == o.versions_href &&
|
@@ -232,7 +242,7 @@ module PulpDebClient
|
|
232
242
|
# Calculates hash code according to all attributes.
|
233
243
|
# @return [Integer] Hash code
|
234
244
|
def 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
|
245
|
+
[pulp_href, prn, 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
|
236
246
|
end
|
237
247
|
|
238
248
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module PulpDebClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
@@ -37,7 +40,8 @@ module PulpDebClient
|
|
37
40
|
:'artifact' => :'artifact',
|
38
41
|
:'relative_path' => :'relative_path',
|
39
42
|
:'file' => :'file',
|
40
|
-
:'upload' => :'upload'
|
43
|
+
:'upload' => :'upload',
|
44
|
+
:'file_url' => :'file_url'
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -48,7 +52,8 @@ module PulpDebClient
|
|
48
52
|
:'artifact' => :'String',
|
49
53
|
:'relative_path' => :'String',
|
50
54
|
:'file' => :'File',
|
51
|
-
:'upload' => :'String'
|
55
|
+
:'upload' => :'String',
|
56
|
+
:'file_url' => :'String'
|
52
57
|
}
|
53
58
|
end
|
54
59
|
|
@@ -92,6 +97,10 @@ module PulpDebClient
|
|
92
97
|
if attributes.key?(:'upload')
|
93
98
|
self.upload = attributes[:'upload']
|
94
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'file_url')
|
102
|
+
self.file_url = attributes[:'file_url']
|
103
|
+
end
|
95
104
|
end
|
96
105
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,6 +115,10 @@ module PulpDebClient
|
|
106
115
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
107
116
|
end
|
108
117
|
|
118
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
119
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
120
|
+
end
|
121
|
+
|
109
122
|
invalid_properties
|
110
123
|
end
|
111
124
|
|
@@ -114,6 +127,7 @@ module PulpDebClient
|
|
114
127
|
def valid?
|
115
128
|
return false if @relative_path.nil?
|
116
129
|
return false if @relative_path.to_s.length < 1
|
130
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
117
131
|
true
|
118
132
|
end
|
119
133
|
|
@@ -131,6 +145,16 @@ module PulpDebClient
|
|
131
145
|
@relative_path = relative_path
|
132
146
|
end
|
133
147
|
|
148
|
+
# Custom attribute writer method with validation
|
149
|
+
# @param [Object] file_url Value to be assigned
|
150
|
+
def file_url=(file_url)
|
151
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
152
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
153
|
+
end
|
154
|
+
|
155
|
+
@file_url = file_url
|
156
|
+
end
|
157
|
+
|
134
158
|
# Checks equality by comparing each attribute.
|
135
159
|
# @param [Object] Object to be compared
|
136
160
|
def ==(o)
|
@@ -140,7 +164,8 @@ module PulpDebClient
|
|
140
164
|
artifact == o.artifact &&
|
141
165
|
relative_path == o.relative_path &&
|
142
166
|
file == o.file &&
|
143
|
-
upload == o.upload
|
167
|
+
upload == o.upload &&
|
168
|
+
file_url == o.file_url
|
144
169
|
end
|
145
170
|
|
146
171
|
# @see the `==` method
|
@@ -152,7 +177,7 @@ module PulpDebClient
|
|
152
177
|
# Calculates hash code according to all attributes.
|
153
178
|
# @return [Integer] Hash code
|
154
179
|
def hash
|
155
|
-
[repository, artifact, relative_path, file, upload].hash
|
180
|
+
[repository, artifact, relative_path, file, upload, file_url].hash
|
156
181
|
end
|
157
182
|
|
158
183
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebGenericContentResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -51,6 +54,7 @@ module PulpDebClient
|
|
51
54
|
def self.attribute_map
|
52
55
|
{
|
53
56
|
:'pulp_href' => :'pulp_href',
|
57
|
+
:'prn' => :'prn',
|
54
58
|
:'pulp_created' => :'pulp_created',
|
55
59
|
:'pulp_last_updated' => :'pulp_last_updated',
|
56
60
|
:'artifact' => :'artifact',
|
@@ -68,6 +72,7 @@ module PulpDebClient
|
|
68
72
|
def self.openapi_types
|
69
73
|
{
|
70
74
|
:'pulp_href' => :'String',
|
75
|
+
:'prn' => :'String',
|
71
76
|
:'pulp_created' => :'DateTime',
|
72
77
|
:'pulp_last_updated' => :'DateTime',
|
73
78
|
:'artifact' => :'String',
|
@@ -106,6 +111,10 @@ module PulpDebClient
|
|
106
111
|
self.pulp_href = attributes[:'pulp_href']
|
107
112
|
end
|
108
113
|
|
114
|
+
if attributes.key?(:'prn')
|
115
|
+
self.prn = attributes[:'prn']
|
116
|
+
end
|
117
|
+
|
109
118
|
if attributes.key?(:'pulp_created')
|
110
119
|
self.pulp_created = attributes[:'pulp_created']
|
111
120
|
end
|
@@ -171,6 +180,7 @@ module PulpDebClient
|
|
171
180
|
return true if self.equal?(o)
|
172
181
|
self.class == o.class &&
|
173
182
|
pulp_href == o.pulp_href &&
|
183
|
+
prn == o.prn &&
|
174
184
|
pulp_created == o.pulp_created &&
|
175
185
|
pulp_last_updated == o.pulp_last_updated &&
|
176
186
|
artifact == o.artifact &&
|
@@ -192,7 +202,7 @@ module PulpDebClient
|
|
192
202
|
# Calculates hash code according to all attributes.
|
193
203
|
# @return [Integer] Hash code
|
194
204
|
def hash
|
195
|
-
[pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
205
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
196
206
|
end
|
197
207
|
|
198
208
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebInstallerFileIndexResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -39,6 +42,7 @@ module PulpDebClient
|
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
41
44
|
:'pulp_href' => :'pulp_href',
|
45
|
+
:'prn' => :'prn',
|
42
46
|
:'pulp_created' => :'pulp_created',
|
43
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
44
48
|
:'artifacts' => :'artifacts',
|
@@ -52,6 +56,7 @@ module PulpDebClient
|
|
52
56
|
def self.openapi_types
|
53
57
|
{
|
54
58
|
:'pulp_href' => :'String',
|
59
|
+
:'prn' => :'String',
|
55
60
|
:'pulp_created' => :'DateTime',
|
56
61
|
:'pulp_last_updated' => :'DateTime',
|
57
62
|
:'artifacts' => :'Object',
|
@@ -86,6 +91,10 @@ module PulpDebClient
|
|
86
91
|
self.pulp_href = attributes[:'pulp_href']
|
87
92
|
end
|
88
93
|
|
94
|
+
if attributes.key?(:'prn')
|
95
|
+
self.prn = attributes[:'prn']
|
96
|
+
end
|
97
|
+
|
89
98
|
if attributes.key?(:'pulp_created')
|
90
99
|
self.pulp_created = attributes[:'pulp_created']
|
91
100
|
end
|
@@ -145,6 +154,7 @@ module PulpDebClient
|
|
145
154
|
return true if self.equal?(o)
|
146
155
|
self.class == o.class &&
|
147
156
|
pulp_href == o.pulp_href &&
|
157
|
+
prn == o.prn &&
|
148
158
|
pulp_created == o.pulp_created &&
|
149
159
|
pulp_last_updated == o.pulp_last_updated &&
|
150
160
|
artifacts == o.artifacts &&
|
@@ -162,7 +172,7 @@ module PulpDebClient
|
|
162
172
|
# Calculates hash code according to all attributes.
|
163
173
|
# @return [Integer] Hash code
|
164
174
|
def hash
|
165
|
-
[pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
166
176
|
end
|
167
177
|
|
168
178
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module PulpDebClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
@@ -37,7 +40,8 @@ module PulpDebClient
|
|
37
40
|
:'artifact' => :'artifact',
|
38
41
|
:'relative_path' => :'relative_path',
|
39
42
|
:'file' => :'file',
|
40
|
-
:'upload' => :'upload'
|
43
|
+
:'upload' => :'upload',
|
44
|
+
:'file_url' => :'file_url'
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -48,7 +52,8 @@ module PulpDebClient
|
|
48
52
|
:'artifact' => :'String',
|
49
53
|
:'relative_path' => :'String',
|
50
54
|
:'file' => :'File',
|
51
|
-
:'upload' => :'String'
|
55
|
+
:'upload' => :'String',
|
56
|
+
:'file_url' => :'String'
|
52
57
|
}
|
53
58
|
end
|
54
59
|
|
@@ -92,6 +97,10 @@ module PulpDebClient
|
|
92
97
|
if attributes.key?(:'upload')
|
93
98
|
self.upload = attributes[:'upload']
|
94
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'file_url')
|
102
|
+
self.file_url = attributes[:'file_url']
|
103
|
+
end
|
95
104
|
end
|
96
105
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -102,6 +111,10 @@ module PulpDebClient
|
|
102
111
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
103
112
|
end
|
104
113
|
|
114
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
115
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
116
|
+
end
|
117
|
+
|
105
118
|
invalid_properties
|
106
119
|
end
|
107
120
|
|
@@ -109,6 +122,7 @@ module PulpDebClient
|
|
109
122
|
# @return true if the model is valid
|
110
123
|
def valid?
|
111
124
|
return false if !@relative_path.nil? && @relative_path.to_s.length < 1
|
125
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
112
126
|
true
|
113
127
|
end
|
114
128
|
|
@@ -122,6 +136,16 @@ module PulpDebClient
|
|
122
136
|
@relative_path = relative_path
|
123
137
|
end
|
124
138
|
|
139
|
+
# Custom attribute writer method with validation
|
140
|
+
# @param [Object] file_url Value to be assigned
|
141
|
+
def file_url=(file_url)
|
142
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
143
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
144
|
+
end
|
145
|
+
|
146
|
+
@file_url = file_url
|
147
|
+
end
|
148
|
+
|
125
149
|
# Checks equality by comparing each attribute.
|
126
150
|
# @param [Object] Object to be compared
|
127
151
|
def ==(o)
|
@@ -131,7 +155,8 @@ module PulpDebClient
|
|
131
155
|
artifact == o.artifact &&
|
132
156
|
relative_path == o.relative_path &&
|
133
157
|
file == o.file &&
|
134
|
-
upload == o.upload
|
158
|
+
upload == o.upload &&
|
159
|
+
file_url == o.file_url
|
135
160
|
end
|
136
161
|
|
137
162
|
# @see the `==` method
|
@@ -143,7 +168,7 @@ module PulpDebClient
|
|
143
168
|
# Calculates hash code according to all attributes.
|
144
169
|
# @return [Integer] Hash code
|
145
170
|
def hash
|
146
|
-
[repository, artifact, relative_path, file, upload].hash
|
171
|
+
[repository, artifact, relative_path, file, upload, file_url].hash
|
147
172
|
end
|
148
173
|
|
149
174
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebInstallerPackageResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -109,6 +112,7 @@ module PulpDebClient
|
|
109
112
|
def self.attribute_map
|
110
113
|
{
|
111
114
|
:'pulp_href' => :'pulp_href',
|
115
|
+
:'prn' => :'prn',
|
112
116
|
:'pulp_created' => :'pulp_created',
|
113
117
|
:'pulp_last_updated' => :'pulp_last_updated',
|
114
118
|
:'artifact' => :'artifact',
|
@@ -155,6 +159,7 @@ module PulpDebClient
|
|
155
159
|
def self.openapi_types
|
156
160
|
{
|
157
161
|
:'pulp_href' => :'String',
|
162
|
+
:'prn' => :'String',
|
158
163
|
:'pulp_created' => :'DateTime',
|
159
164
|
:'pulp_last_updated' => :'DateTime',
|
160
165
|
:'artifact' => :'String',
|
@@ -222,6 +227,10 @@ module PulpDebClient
|
|
222
227
|
self.pulp_href = attributes[:'pulp_href']
|
223
228
|
end
|
224
229
|
|
230
|
+
if attributes.key?(:'prn')
|
231
|
+
self.prn = attributes[:'prn']
|
232
|
+
end
|
233
|
+
|
225
234
|
if attributes.key?(:'pulp_created')
|
226
235
|
self.pulp_created = attributes[:'pulp_created']
|
227
236
|
end
|
@@ -398,6 +407,7 @@ module PulpDebClient
|
|
398
407
|
return true if self.equal?(o)
|
399
408
|
self.class == o.class &&
|
400
409
|
pulp_href == o.pulp_href &&
|
410
|
+
prn == o.prn &&
|
401
411
|
pulp_created == o.pulp_created &&
|
402
412
|
pulp_last_updated == o.pulp_last_updated &&
|
403
413
|
artifact == o.artifact &&
|
@@ -448,7 +458,7 @@ module PulpDebClient
|
|
448
458
|
# Calculates hash code according to all attributes.
|
449
459
|
# @return [Integer] Hash code
|
450
460
|
def 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
|
461
|
+
[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
|
452
462
|
end
|
453
463
|
|
454
464
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module PulpDebClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Name of the distribution.
|
34
37
|
attr_accessor :distribution
|
35
38
|
|
@@ -44,6 +47,7 @@ module PulpDebClient
|
|
44
47
|
:'relative_path' => :'relative_path',
|
45
48
|
:'file' => :'file',
|
46
49
|
:'upload' => :'upload',
|
50
|
+
:'file_url' => :'file_url',
|
47
51
|
:'distribution' => :'distribution',
|
48
52
|
:'component' => :'component'
|
49
53
|
}
|
@@ -57,6 +61,7 @@ module PulpDebClient
|
|
57
61
|
:'relative_path' => :'String',
|
58
62
|
:'file' => :'File',
|
59
63
|
:'upload' => :'String',
|
64
|
+
:'file_url' => :'String',
|
60
65
|
:'distribution' => :'String',
|
61
66
|
:'component' => :'String'
|
62
67
|
}
|
@@ -103,6 +108,10 @@ module PulpDebClient
|
|
103
108
|
self.upload = attributes[:'upload']
|
104
109
|
end
|
105
110
|
|
111
|
+
if attributes.key?(:'file_url')
|
112
|
+
self.file_url = attributes[:'file_url']
|
113
|
+
end
|
114
|
+
|
106
115
|
if attributes.key?(:'distribution')
|
107
116
|
self.distribution = attributes[:'distribution']
|
108
117
|
end
|
@@ -120,6 +129,10 @@ module PulpDebClient
|
|
120
129
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
121
130
|
end
|
122
131
|
|
132
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
133
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
134
|
+
end
|
135
|
+
|
123
136
|
if !@distribution.nil? && @distribution.to_s.length < 1
|
124
137
|
invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
|
125
138
|
end
|
@@ -135,6 +148,7 @@ module PulpDebClient
|
|
135
148
|
# @return true if the model is valid
|
136
149
|
def valid?
|
137
150
|
return false if !@relative_path.nil? && @relative_path.to_s.length < 1
|
151
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
138
152
|
return false if !@distribution.nil? && @distribution.to_s.length < 1
|
139
153
|
return false if !@component.nil? && @component.to_s.length < 1
|
140
154
|
true
|
@@ -150,6 +164,16 @@ module PulpDebClient
|
|
150
164
|
@relative_path = relative_path
|
151
165
|
end
|
152
166
|
|
167
|
+
# Custom attribute writer method with validation
|
168
|
+
# @param [Object] file_url Value to be assigned
|
169
|
+
def file_url=(file_url)
|
170
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
171
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
172
|
+
end
|
173
|
+
|
174
|
+
@file_url = file_url
|
175
|
+
end
|
176
|
+
|
153
177
|
# Custom attribute writer method with validation
|
154
178
|
# @param [Object] distribution Value to be assigned
|
155
179
|
def distribution=(distribution)
|
@@ -180,6 +204,7 @@ module PulpDebClient
|
|
180
204
|
relative_path == o.relative_path &&
|
181
205
|
file == o.file &&
|
182
206
|
upload == o.upload &&
|
207
|
+
file_url == o.file_url &&
|
183
208
|
distribution == o.distribution &&
|
184
209
|
component == o.component
|
185
210
|
end
|
@@ -193,7 +218,7 @@ module PulpDebClient
|
|
193
218
|
# Calculates hash code according to all attributes.
|
194
219
|
# @return [Integer] Hash code
|
195
220
|
def hash
|
196
|
-
[repository, artifact, relative_path, file, upload, distribution, component].hash
|
221
|
+
[repository, artifact, relative_path, file, upload, file_url, distribution, component].hash
|
197
222
|
end
|
198
223
|
|
199
224
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebPackageIndexResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -39,6 +42,7 @@ module PulpDebClient
|
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
41
44
|
:'pulp_href' => :'pulp_href',
|
45
|
+
:'prn' => :'prn',
|
42
46
|
:'pulp_created' => :'pulp_created',
|
43
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
44
48
|
:'artifacts' => :'artifacts',
|
@@ -52,6 +56,7 @@ module PulpDebClient
|
|
52
56
|
def self.openapi_types
|
53
57
|
{
|
54
58
|
:'pulp_href' => :'String',
|
59
|
+
:'prn' => :'String',
|
55
60
|
:'pulp_created' => :'DateTime',
|
56
61
|
:'pulp_last_updated' => :'DateTime',
|
57
62
|
:'artifacts' => :'Object',
|
@@ -86,6 +91,10 @@ module PulpDebClient
|
|
86
91
|
self.pulp_href = attributes[:'pulp_href']
|
87
92
|
end
|
88
93
|
|
94
|
+
if attributes.key?(:'prn')
|
95
|
+
self.prn = attributes[:'prn']
|
96
|
+
end
|
97
|
+
|
89
98
|
if attributes.key?(:'pulp_created')
|
90
99
|
self.pulp_created = attributes[:'pulp_created']
|
91
100
|
end
|
@@ -135,6 +144,7 @@ module PulpDebClient
|
|
135
144
|
return true if self.equal?(o)
|
136
145
|
self.class == o.class &&
|
137
146
|
pulp_href == o.pulp_href &&
|
147
|
+
prn == o.prn &&
|
138
148
|
pulp_created == o.pulp_created &&
|
139
149
|
pulp_last_updated == o.pulp_last_updated &&
|
140
150
|
artifacts == o.artifacts &&
|
@@ -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, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
165
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
|
156
166
|
end
|
157
167
|
|
158
168
|
# Builds the object from hash
|