pulp_rpm_client 3.26.3 → 3.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/docs/AcsRpmApi.md +3 -5
- data/docs/ArtifactResponse.md +0 -2
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +9 -11
- data/docs/ContentModulemdDefaultsApi.md +9 -11
- data/docs/ContentModulemdObsoletesApi.md +9 -11
- data/docs/ContentModulemdsApi.md +9 -11
- data/docs/ContentPackagecategoriesApi.md +9 -11
- data/docs/ContentPackageenvironmentsApi.md +9 -11
- data/docs/ContentPackagegroupsApi.md +9 -11
- data/docs/ContentPackagelangpacksApi.md +9 -11
- data/docs/ContentPackagesApi.md +11 -15
- data/docs/ContentRepoMetadataFilesApi.md +9 -11
- data/docs/DistributionsRpmApi.md +3 -5
- data/docs/PatchedrpmRpmRepository.md +4 -0
- data/docs/PrunePackages.md +21 -0
- data/docs/PublicationsRpmApi.md +11 -13
- data/docs/RemotesRpmApi.md +3 -5
- data/docs/RemotesUlnApi.md +3 -5
- data/docs/RepositoriesRpmApi.md +7 -9
- data/docs/RepositoriesRpmVersionsApi.md +7 -9
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +0 -2
- data/docs/RpmModulemdObsoleteResponse.md +0 -2
- data/docs/RpmModulemdResponse.md +0 -2
- data/docs/RpmPackage.md +1 -3
- data/docs/RpmPackageCategoryResponse.md +0 -2
- data/docs/RpmPackageEnvironmentResponse.md +0 -2
- data/docs/RpmPackageGroupResponse.md +0 -2
- data/docs/RpmPackageLangpacksResponse.md +0 -2
- data/docs/RpmPackageResponse.md +0 -2
- data/docs/RpmPruneApi.md +61 -0
- data/docs/RpmRepoMetadataFileResponse.md +0 -2
- data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -4
- data/docs/RpmRpmPublicationResponse.md +0 -2
- data/docs/RpmRpmRemoteResponse.md +0 -2
- data/docs/RpmRpmRepository.md +4 -0
- data/docs/RpmRpmRepositoryResponse.md +4 -2
- data/docs/RpmUlnRemoteResponse.md +0 -2
- data/docs/RpmUpdateRecord.md +1 -3
- data/docs/RpmUpdateRecordResponse.md +0 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -20
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +84 -0
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/prune_packages.rb +254 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +21 -31
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +39 -11
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +21 -31
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -0
- data/spec/api/acs_rpm_api_spec.rb +1 -2
- data/spec/api/content_advisories_api_spec.rb +4 -6
- data/spec/api/content_distribution_trees_api_spec.rb +4 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
- data/spec/api/content_modulemds_api_spec.rb +4 -5
- data/spec/api/content_packagecategories_api_spec.rb +4 -5
- data/spec/api/content_packageenvironments_api_spec.rb +4 -5
- data/spec/api/content_packagegroups_api_spec.rb +4 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
- data/spec/api/content_packages_api_spec.rb +5 -7
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
- data/spec/api/distributions_rpm_api_spec.rb +1 -2
- data/spec/api/publications_rpm_api_spec.rb +5 -6
- data/spec/api/remotes_rpm_api_spec.rb +1 -2
- data/spec/api/remotes_uln_api_spec.rb +1 -2
- data/spec/api/repositories_rpm_api_spec.rb +3 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
- data/spec/api/rpm_prune_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +0 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +12 -0
- data/spec/models/prune_packages_spec.rb +53 -0
- data/spec/models/repository_version_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_response_spec.rb +0 -6
- data/spec/models/rpm_package_category_response_spec.rb +0 -6
- data/spec/models/rpm_package_environment_response_spec.rb +0 -6
- data/spec/models/rpm_package_group_response_spec.rb +0 -6
- data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
- data/spec/models/rpm_package_response_spec.rb +0 -6
- data/spec/models/rpm_package_spec.rb +0 -6
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
- data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_spec.rb +0 -6
- metadata +104 -96
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -83,7 +80,6 @@ module PulpRpmClient
|
|
83
80
|
def self.attribute_map
|
84
81
|
{
|
85
82
|
:'pulp_href' => :'pulp_href',
|
86
|
-
:'prn' => :'prn',
|
87
83
|
:'pulp_created' => :'pulp_created',
|
88
84
|
:'pulp_last_updated' => :'pulp_last_updated',
|
89
85
|
:'name' => :'name',
|
@@ -111,7 +107,6 @@ module PulpRpmClient
|
|
111
107
|
def self.openapi_types
|
112
108
|
{
|
113
109
|
:'pulp_href' => :'String',
|
114
|
-
:'prn' => :'String',
|
115
110
|
:'pulp_created' => :'DateTime',
|
116
111
|
:'pulp_last_updated' => :'DateTime',
|
117
112
|
:'name' => :'String',
|
@@ -171,10 +166,6 @@ module PulpRpmClient
|
|
171
166
|
self.pulp_href = attributes[:'pulp_href']
|
172
167
|
end
|
173
168
|
|
174
|
-
if attributes.key?(:'prn')
|
175
|
-
self.prn = attributes[:'prn']
|
176
|
-
end
|
177
|
-
|
178
169
|
if attributes.key?(:'pulp_created')
|
179
170
|
self.pulp_created = attributes[:'pulp_created']
|
180
171
|
end
|
@@ -278,20 +269,20 @@ module PulpRpmClient
|
|
278
269
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
279
270
|
end
|
280
271
|
|
281
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
282
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
272
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
273
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
283
274
|
end
|
284
275
|
|
285
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
286
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
276
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
277
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
287
278
|
end
|
288
279
|
|
289
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
290
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
280
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
281
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
291
282
|
end
|
292
283
|
|
293
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
294
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
284
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
285
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
295
286
|
end
|
296
287
|
|
297
288
|
invalid_properties
|
@@ -303,10 +294,10 @@ module PulpRpmClient
|
|
303
294
|
return false if @name.nil?
|
304
295
|
return false if @url.nil?
|
305
296
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
306
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
307
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
308
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
309
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
297
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
298
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
299
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
300
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
310
301
|
true
|
311
302
|
end
|
312
303
|
|
@@ -323,8 +314,8 @@ module PulpRpmClient
|
|
323
314
|
# Custom attribute writer method with validation
|
324
315
|
# @param [Object] total_timeout Value to be assigned
|
325
316
|
def total_timeout=(total_timeout)
|
326
|
-
if !total_timeout.nil? && total_timeout < 0
|
327
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
317
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
318
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
328
319
|
end
|
329
320
|
|
330
321
|
@total_timeout = total_timeout
|
@@ -333,8 +324,8 @@ module PulpRpmClient
|
|
333
324
|
# Custom attribute writer method with validation
|
334
325
|
# @param [Object] connect_timeout Value to be assigned
|
335
326
|
def connect_timeout=(connect_timeout)
|
336
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
337
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
327
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
328
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
338
329
|
end
|
339
330
|
|
340
331
|
@connect_timeout = connect_timeout
|
@@ -343,8 +334,8 @@ module PulpRpmClient
|
|
343
334
|
# Custom attribute writer method with validation
|
344
335
|
# @param [Object] sock_connect_timeout Value to be assigned
|
345
336
|
def sock_connect_timeout=(sock_connect_timeout)
|
346
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
347
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
337
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
338
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
348
339
|
end
|
349
340
|
|
350
341
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -353,8 +344,8 @@ module PulpRpmClient
|
|
353
344
|
# Custom attribute writer method with validation
|
354
345
|
# @param [Object] sock_read_timeout Value to be assigned
|
355
346
|
def sock_read_timeout=(sock_read_timeout)
|
356
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
357
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
347
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
348
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
358
349
|
end
|
359
350
|
|
360
351
|
@sock_read_timeout = sock_read_timeout
|
@@ -366,7 +357,6 @@ module PulpRpmClient
|
|
366
357
|
return true if self.equal?(o)
|
367
358
|
self.class == o.class &&
|
368
359
|
pulp_href == o.pulp_href &&
|
369
|
-
prn == o.prn &&
|
370
360
|
pulp_created == o.pulp_created &&
|
371
361
|
pulp_last_updated == o.pulp_last_updated &&
|
372
362
|
name == o.name &&
|
@@ -398,7 +388,7 @@ module PulpRpmClient
|
|
398
388
|
# Calculates hash code according to all attributes.
|
399
389
|
# @return [Integer] Hash code
|
400
390
|
def hash
|
401
|
-
[pulp_href,
|
391
|
+
[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, sles_auth_token].hash
|
402
392
|
end
|
403
393
|
|
404
394
|
# Builds the object from hash
|
@@ -35,6 +35,12 @@ module PulpRpmClient
|
|
35
35
|
# A reference to an associated signing service.
|
36
36
|
attr_accessor :metadata_signing_service
|
37
37
|
|
38
|
+
# A reference to an associated package signing service.
|
39
|
+
attr_accessor :package_signing_service
|
40
|
+
|
41
|
+
# The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository.
|
42
|
+
attr_accessor :package_signing_fingerprint
|
43
|
+
|
38
44
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
39
45
|
attr_accessor :retain_package_versions
|
40
46
|
|
@@ -69,6 +75,8 @@ module PulpRpmClient
|
|
69
75
|
:'remote' => :'remote',
|
70
76
|
:'autopublish' => :'autopublish',
|
71
77
|
:'metadata_signing_service' => :'metadata_signing_service',
|
78
|
+
:'package_signing_service' => :'package_signing_service',
|
79
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint',
|
72
80
|
:'retain_package_versions' => :'retain_package_versions',
|
73
81
|
:'checksum_type' => :'checksum_type',
|
74
82
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
@@ -90,6 +98,8 @@ module PulpRpmClient
|
|
90
98
|
:'remote' => :'String',
|
91
99
|
:'autopublish' => :'Boolean',
|
92
100
|
:'metadata_signing_service' => :'String',
|
101
|
+
:'package_signing_service' => :'String',
|
102
|
+
:'package_signing_fingerprint' => :'String',
|
93
103
|
:'retain_package_versions' => :'Integer',
|
94
104
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
95
105
|
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
@@ -108,6 +118,7 @@ module PulpRpmClient
|
|
108
118
|
:'retain_repo_versions',
|
109
119
|
:'remote',
|
110
120
|
:'metadata_signing_service',
|
121
|
+
:'package_signing_service',
|
111
122
|
:'checksum_type',
|
112
123
|
:'metadata_checksum_type',
|
113
124
|
:'package_checksum_type',
|
@@ -164,6 +175,16 @@ module PulpRpmClient
|
|
164
175
|
self.metadata_signing_service = attributes[:'metadata_signing_service']
|
165
176
|
end
|
166
177
|
|
178
|
+
if attributes.key?(:'package_signing_service')
|
179
|
+
self.package_signing_service = attributes[:'package_signing_service']
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes.key?(:'package_signing_fingerprint')
|
183
|
+
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
184
|
+
else
|
185
|
+
self.package_signing_fingerprint = ''
|
186
|
+
end
|
187
|
+
|
167
188
|
if attributes.key?(:'retain_package_versions')
|
168
189
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
169
190
|
end
|
@@ -217,6 +238,10 @@ module PulpRpmClient
|
|
217
238
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
218
239
|
end
|
219
240
|
|
241
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
242
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
243
|
+
end
|
244
|
+
|
220
245
|
if !@retain_package_versions.nil? && @retain_package_versions < 0
|
221
246
|
invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
|
222
247
|
end
|
@@ -247,6 +272,7 @@ module PulpRpmClient
|
|
247
272
|
return false if @name.to_s.length < 1
|
248
273
|
return false if !@description.nil? && @description.to_s.length < 1
|
249
274
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
275
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
250
276
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
251
277
|
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
252
278
|
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
@@ -289,6 +315,16 @@ module PulpRpmClient
|
|
289
315
|
@retain_repo_versions = retain_repo_versions
|
290
316
|
end
|
291
317
|
|
318
|
+
# Custom attribute writer method with validation
|
319
|
+
# @param [Object] package_signing_fingerprint Value to be assigned
|
320
|
+
def package_signing_fingerprint=(package_signing_fingerprint)
|
321
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
|
322
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
|
323
|
+
end
|
324
|
+
|
325
|
+
@package_signing_fingerprint = package_signing_fingerprint
|
326
|
+
end
|
327
|
+
|
292
328
|
# Custom attribute writer method with validation
|
293
329
|
# @param [Object] retain_package_versions Value to be assigned
|
294
330
|
def retain_package_versions=(retain_package_versions)
|
@@ -339,6 +375,8 @@ module PulpRpmClient
|
|
339
375
|
remote == o.remote &&
|
340
376
|
autopublish == o.autopublish &&
|
341
377
|
metadata_signing_service == o.metadata_signing_service &&
|
378
|
+
package_signing_service == o.package_signing_service &&
|
379
|
+
package_signing_fingerprint == o.package_signing_fingerprint &&
|
342
380
|
retain_package_versions == o.retain_package_versions &&
|
343
381
|
checksum_type == o.checksum_type &&
|
344
382
|
metadata_checksum_type == o.metadata_checksum_type &&
|
@@ -358,7 +396,7 @@ module PulpRpmClient
|
|
358
396
|
# Calculates hash code according to all attributes.
|
359
397
|
# @return [Integer] Hash code
|
360
398
|
def hash
|
361
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
399
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
362
400
|
end
|
363
401
|
|
364
402
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -50,6 +47,12 @@ module PulpRpmClient
|
|
50
47
|
# A reference to an associated signing service.
|
51
48
|
attr_accessor :metadata_signing_service
|
52
49
|
|
50
|
+
# A reference to an associated package signing service.
|
51
|
+
attr_accessor :package_signing_service
|
52
|
+
|
53
|
+
# The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository.
|
54
|
+
attr_accessor :package_signing_fingerprint
|
55
|
+
|
53
56
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
54
57
|
attr_accessor :retain_package_versions
|
55
58
|
|
@@ -81,7 +84,6 @@ module PulpRpmClient
|
|
81
84
|
def self.attribute_map
|
82
85
|
{
|
83
86
|
:'pulp_href' => :'pulp_href',
|
84
|
-
:'prn' => :'prn',
|
85
87
|
:'pulp_created' => :'pulp_created',
|
86
88
|
:'pulp_last_updated' => :'pulp_last_updated',
|
87
89
|
:'versions_href' => :'versions_href',
|
@@ -93,6 +95,8 @@ module PulpRpmClient
|
|
93
95
|
:'remote' => :'remote',
|
94
96
|
:'autopublish' => :'autopublish',
|
95
97
|
:'metadata_signing_service' => :'metadata_signing_service',
|
98
|
+
:'package_signing_service' => :'package_signing_service',
|
99
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint',
|
96
100
|
:'retain_package_versions' => :'retain_package_versions',
|
97
101
|
:'checksum_type' => :'checksum_type',
|
98
102
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
@@ -109,7 +113,6 @@ module PulpRpmClient
|
|
109
113
|
def self.openapi_types
|
110
114
|
{
|
111
115
|
:'pulp_href' => :'String',
|
112
|
-
:'prn' => :'String',
|
113
116
|
:'pulp_created' => :'DateTime',
|
114
117
|
:'pulp_last_updated' => :'DateTime',
|
115
118
|
:'versions_href' => :'String',
|
@@ -121,6 +124,8 @@ module PulpRpmClient
|
|
121
124
|
:'remote' => :'String',
|
122
125
|
:'autopublish' => :'Boolean',
|
123
126
|
:'metadata_signing_service' => :'String',
|
127
|
+
:'package_signing_service' => :'String',
|
128
|
+
:'package_signing_fingerprint' => :'String',
|
124
129
|
:'retain_package_versions' => :'Integer',
|
125
130
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
126
131
|
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
@@ -140,6 +145,7 @@ module PulpRpmClient
|
|
140
145
|
:'retain_repo_versions',
|
141
146
|
:'remote',
|
142
147
|
:'metadata_signing_service',
|
148
|
+
:'package_signing_service',
|
143
149
|
:'checksum_type',
|
144
150
|
:'metadata_checksum_type',
|
145
151
|
:'package_checksum_type',
|
@@ -168,10 +174,6 @@ module PulpRpmClient
|
|
168
174
|
self.pulp_href = attributes[:'pulp_href']
|
169
175
|
end
|
170
176
|
|
171
|
-
if attributes.key?(:'prn')
|
172
|
-
self.prn = attributes[:'prn']
|
173
|
-
end
|
174
|
-
|
175
177
|
if attributes.key?(:'pulp_created')
|
176
178
|
self.pulp_created = attributes[:'pulp_created']
|
177
179
|
end
|
@@ -220,6 +222,16 @@ module PulpRpmClient
|
|
220
222
|
self.metadata_signing_service = attributes[:'metadata_signing_service']
|
221
223
|
end
|
222
224
|
|
225
|
+
if attributes.key?(:'package_signing_service')
|
226
|
+
self.package_signing_service = attributes[:'package_signing_service']
|
227
|
+
end
|
228
|
+
|
229
|
+
if attributes.key?(:'package_signing_fingerprint')
|
230
|
+
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
231
|
+
else
|
232
|
+
self.package_signing_fingerprint = ''
|
233
|
+
end
|
234
|
+
|
223
235
|
if attributes.key?(:'retain_package_versions')
|
224
236
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
225
237
|
end
|
@@ -271,6 +283,10 @@ module PulpRpmClient
|
|
271
283
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
272
284
|
end
|
273
285
|
|
286
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
287
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
288
|
+
end
|
289
|
+
|
274
290
|
if !@retain_package_versions.nil? && @retain_package_versions < 0
|
275
291
|
invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
|
276
292
|
end
|
@@ -299,6 +315,7 @@ module PulpRpmClient
|
|
299
315
|
def valid?
|
300
316
|
return false if @name.nil?
|
301
317
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
318
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
302
319
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
303
320
|
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
304
321
|
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
@@ -317,6 +334,16 @@ module PulpRpmClient
|
|
317
334
|
@retain_repo_versions = retain_repo_versions
|
318
335
|
end
|
319
336
|
|
337
|
+
# Custom attribute writer method with validation
|
338
|
+
# @param [Object] package_signing_fingerprint Value to be assigned
|
339
|
+
def package_signing_fingerprint=(package_signing_fingerprint)
|
340
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
|
341
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
|
342
|
+
end
|
343
|
+
|
344
|
+
@package_signing_fingerprint = package_signing_fingerprint
|
345
|
+
end
|
346
|
+
|
320
347
|
# Custom attribute writer method with validation
|
321
348
|
# @param [Object] retain_package_versions Value to be assigned
|
322
349
|
def retain_package_versions=(retain_package_versions)
|
@@ -361,7 +388,6 @@ module PulpRpmClient
|
|
361
388
|
return true if self.equal?(o)
|
362
389
|
self.class == o.class &&
|
363
390
|
pulp_href == o.pulp_href &&
|
364
|
-
prn == o.prn &&
|
365
391
|
pulp_created == o.pulp_created &&
|
366
392
|
pulp_last_updated == o.pulp_last_updated &&
|
367
393
|
versions_href == o.versions_href &&
|
@@ -373,6 +399,8 @@ module PulpRpmClient
|
|
373
399
|
remote == o.remote &&
|
374
400
|
autopublish == o.autopublish &&
|
375
401
|
metadata_signing_service == o.metadata_signing_service &&
|
402
|
+
package_signing_service == o.package_signing_service &&
|
403
|
+
package_signing_fingerprint == o.package_signing_fingerprint &&
|
376
404
|
retain_package_versions == o.retain_package_versions &&
|
377
405
|
checksum_type == o.checksum_type &&
|
378
406
|
metadata_checksum_type == o.metadata_checksum_type &&
|
@@ -393,7 +421,7 @@ module PulpRpmClient
|
|
393
421
|
# Calculates hash code according to all attributes.
|
394
422
|
# @return [Integer] Hash code
|
395
423
|
def hash
|
396
|
-
[pulp_href,
|
424
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
397
425
|
end
|
398
426
|
|
399
427
|
# Builds the object from hash
|
@@ -328,20 +328,20 @@ module PulpRpmClient
|
|
328
328
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
329
329
|
end
|
330
330
|
|
331
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
332
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
331
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
332
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
333
333
|
end
|
334
334
|
|
335
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
336
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
335
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
336
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
337
337
|
end
|
338
338
|
|
339
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
340
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
339
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
340
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
341
341
|
end
|
342
342
|
|
343
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
344
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
343
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
344
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
345
345
|
end
|
346
346
|
|
347
347
|
if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
|
@@ -369,10 +369,10 @@ module PulpRpmClient
|
|
369
369
|
return false if @password.nil?
|
370
370
|
return false if @password.to_s.length < 1
|
371
371
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
372
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
373
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
374
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
375
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
372
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
373
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
374
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
375
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
376
376
|
return false if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
|
377
377
|
true
|
378
378
|
end
|
@@ -506,8 +506,8 @@ module PulpRpmClient
|
|
506
506
|
# Custom attribute writer method with validation
|
507
507
|
# @param [Object] total_timeout Value to be assigned
|
508
508
|
def total_timeout=(total_timeout)
|
509
|
-
if !total_timeout.nil? && total_timeout < 0
|
510
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
509
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
510
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
511
511
|
end
|
512
512
|
|
513
513
|
@total_timeout = total_timeout
|
@@ -516,8 +516,8 @@ module PulpRpmClient
|
|
516
516
|
# Custom attribute writer method with validation
|
517
517
|
# @param [Object] connect_timeout Value to be assigned
|
518
518
|
def connect_timeout=(connect_timeout)
|
519
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
520
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
519
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
520
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
521
521
|
end
|
522
522
|
|
523
523
|
@connect_timeout = connect_timeout
|
@@ -526,8 +526,8 @@ module PulpRpmClient
|
|
526
526
|
# Custom attribute writer method with validation
|
527
527
|
# @param [Object] sock_connect_timeout Value to be assigned
|
528
528
|
def sock_connect_timeout=(sock_connect_timeout)
|
529
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
530
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
529
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
530
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
531
531
|
end
|
532
532
|
|
533
533
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -536,8 +536,8 @@ module PulpRpmClient
|
|
536
536
|
# Custom attribute writer method with validation
|
537
537
|
# @param [Object] sock_read_timeout Value to be assigned
|
538
538
|
def sock_read_timeout=(sock_read_timeout)
|
539
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
540
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
539
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
540
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
541
541
|
end
|
542
542
|
|
543
543
|
@sock_read_timeout = sock_read_timeout
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmUlnRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -83,7 +80,6 @@ module PulpRpmClient
|
|
83
80
|
def self.attribute_map
|
84
81
|
{
|
85
82
|
:'pulp_href' => :'pulp_href',
|
86
|
-
:'prn' => :'prn',
|
87
83
|
:'pulp_created' => :'pulp_created',
|
88
84
|
:'pulp_last_updated' => :'pulp_last_updated',
|
89
85
|
:'name' => :'name',
|
@@ -111,7 +107,6 @@ module PulpRpmClient
|
|
111
107
|
def self.openapi_types
|
112
108
|
{
|
113
109
|
:'pulp_href' => :'String',
|
114
|
-
:'prn' => :'String',
|
115
110
|
:'pulp_created' => :'DateTime',
|
116
111
|
:'pulp_last_updated' => :'DateTime',
|
117
112
|
:'name' => :'String',
|
@@ -171,10 +166,6 @@ module PulpRpmClient
|
|
171
166
|
self.pulp_href = attributes[:'pulp_href']
|
172
167
|
end
|
173
168
|
|
174
|
-
if attributes.key?(:'prn')
|
175
|
-
self.prn = attributes[:'prn']
|
176
|
-
end
|
177
|
-
|
178
169
|
if attributes.key?(:'pulp_created')
|
179
170
|
self.pulp_created = attributes[:'pulp_created']
|
180
171
|
end
|
@@ -278,20 +269,20 @@ module PulpRpmClient
|
|
278
269
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
279
270
|
end
|
280
271
|
|
281
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
282
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
272
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
273
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
283
274
|
end
|
284
275
|
|
285
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
286
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
276
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
277
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
287
278
|
end
|
288
279
|
|
289
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
290
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
280
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
281
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
291
282
|
end
|
292
283
|
|
293
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
294
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
284
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
285
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
295
286
|
end
|
296
287
|
|
297
288
|
invalid_properties
|
@@ -303,10 +294,10 @@ module PulpRpmClient
|
|
303
294
|
return false if @name.nil?
|
304
295
|
return false if @url.nil?
|
305
296
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
306
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
307
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
308
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
309
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
297
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
298
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
299
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
300
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
310
301
|
true
|
311
302
|
end
|
312
303
|
|
@@ -323,8 +314,8 @@ module PulpRpmClient
|
|
323
314
|
# Custom attribute writer method with validation
|
324
315
|
# @param [Object] total_timeout Value to be assigned
|
325
316
|
def total_timeout=(total_timeout)
|
326
|
-
if !total_timeout.nil? && total_timeout < 0
|
327
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
317
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
318
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
328
319
|
end
|
329
320
|
|
330
321
|
@total_timeout = total_timeout
|
@@ -333,8 +324,8 @@ module PulpRpmClient
|
|
333
324
|
# Custom attribute writer method with validation
|
334
325
|
# @param [Object] connect_timeout Value to be assigned
|
335
326
|
def connect_timeout=(connect_timeout)
|
336
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
337
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
327
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
328
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
338
329
|
end
|
339
330
|
|
340
331
|
@connect_timeout = connect_timeout
|
@@ -343,8 +334,8 @@ module PulpRpmClient
|
|
343
334
|
# Custom attribute writer method with validation
|
344
335
|
# @param [Object] sock_connect_timeout Value to be assigned
|
345
336
|
def sock_connect_timeout=(sock_connect_timeout)
|
346
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
347
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
337
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
338
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
348
339
|
end
|
349
340
|
|
350
341
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -353,8 +344,8 @@ module PulpRpmClient
|
|
353
344
|
# Custom attribute writer method with validation
|
354
345
|
# @param [Object] sock_read_timeout Value to be assigned
|
355
346
|
def sock_read_timeout=(sock_read_timeout)
|
356
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
357
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
347
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
348
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
358
349
|
end
|
359
350
|
|
360
351
|
@sock_read_timeout = sock_read_timeout
|
@@ -366,7 +357,6 @@ module PulpRpmClient
|
|
366
357
|
return true if self.equal?(o)
|
367
358
|
self.class == o.class &&
|
368
359
|
pulp_href == o.pulp_href &&
|
369
|
-
prn == o.prn &&
|
370
360
|
pulp_created == o.pulp_created &&
|
371
361
|
pulp_last_updated == o.pulp_last_updated &&
|
372
362
|
name == o.name &&
|
@@ -398,7 +388,7 @@ module PulpRpmClient
|
|
398
388
|
# Calculates hash code according to all attributes.
|
399
389
|
# @return [Integer] Hash code
|
400
390
|
def hash
|
401
|
-
[pulp_href,
|
391
|
+
[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, uln_server_base_url].hash
|
402
392
|
end
|
403
393
|
|
404
394
|
# Builds the object from hash
|