pulp_rpm_client 3.25.4 → 3.25.6
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/AcsRpmApi.md +5 -3
- data/docs/ArtifactResponse.md +4 -0
- data/docs/ContentAdvisoriesApi.md +14 -10
- data/docs/ContentDistributionTreesApi.md +11 -9
- data/docs/ContentModulemdDefaultsApi.md +11 -9
- data/docs/ContentModulemdObsoletesApi.md +11 -9
- data/docs/ContentModulemdsApi.md +11 -9
- data/docs/ContentPackagecategoriesApi.md +11 -9
- data/docs/ContentPackageenvironmentsApi.md +11 -9
- data/docs/ContentPackagegroupsApi.md +11 -9
- data/docs/ContentPackagelangpacksApi.md +11 -9
- data/docs/ContentPackagesApi.md +14 -10
- data/docs/ContentRepoMetadataFilesApi.md +11 -9
- data/docs/Copy.md +1 -1
- data/docs/DistributionsRpmApi.md +5 -3
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdResponseList.md +2 -2
- data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
- data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
- data/docs/PaginatedrpmPackageResponseList.md +2 -2
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
- data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
- data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
- data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +13 -11
- data/docs/RemotesRpmApi.md +5 -3
- data/docs/RemotesUlnApi.md +5 -3
- data/docs/RepositoriesRpmApi.md +9 -7
- data/docs/RepositoriesRpmVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +4 -0
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +5 -1
- data/docs/RpmModulemdObsoleteResponse.md +4 -0
- data/docs/RpmModulemdResponse.md +7 -3
- data/docs/RpmPackage.md +3 -1
- data/docs/RpmPackageCategoryResponse.md +7 -3
- data/docs/RpmPackageEnvironmentResponse.md +8 -4
- data/docs/RpmPackageGroupResponse.md +7 -3
- data/docs/RpmPackageLangpacksResponse.md +5 -1
- data/docs/RpmPackageResponse.md +14 -10
- data/docs/RpmRepoMetadataFileResponse.md +4 -0
- data/docs/RpmRpmAlternateContentSourceResponse.md +4 -0
- data/docs/RpmRpmDistributionResponse.md +6 -0
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +5 -1
- data/docs/RpmRpmRemoteResponse.md +4 -2
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +5 -1
- data/docs/RpmUlnRemoteResponse.md +4 -2
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +1 -1
- data/docs/RpmUpdateRecord.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +4 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +22 -2
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +25 -5
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +31 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +31 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +21 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +2 -1
- data/spec/api/content_advisories_api_spec.rb +6 -4
- data/spec/api/content_distribution_trees_api_spec.rb +5 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
- data/spec/api/content_modulemds_api_spec.rb +5 -4
- data/spec/api/content_packagecategories_api_spec.rb +5 -4
- data/spec/api/content_packageenvironments_api_spec.rb +5 -4
- data/spec/api/content_packagegroups_api_spec.rb +5 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
- data/spec/api/distributions_rpm_api_spec.rb +2 -1
- data/spec/api/publications_rpm_api_spec.rb +6 -5
- data/spec/api/remotes_rpm_api_spec.rb +2 -1
- data/spec/api/remotes_uln_api_spec.rb +2 -1
- data/spec/api/repositories_rpm_api_spec.rb +4 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_response_spec.rb +12 -0
- data/spec/models/rpm_package_category_response_spec.rb +12 -0
- data/spec/models/rpm_package_environment_response_spec.rb +12 -0
- data/spec/models/rpm_package_group_response_spec.rb +12 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +12 -0
- data/spec/models/rpm_package_response_spec.rb +12 -0
- data/spec/models/rpm_package_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +18 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +12 -6
- data/spec/models/rpm_update_record_response_spec.rb +12 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +96 -96
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmPublicationResponse
|
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
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
attr_accessor :repository_version
|
24
30
|
|
25
31
|
# A URI of the repository to be published.
|
@@ -53,7 +59,9 @@ module PulpRpmClient
|
|
53
59
|
def self.attribute_map
|
54
60
|
{
|
55
61
|
:'pulp_href' => :'pulp_href',
|
62
|
+
:'prn' => :'prn',
|
56
63
|
:'pulp_created' => :'pulp_created',
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
57
65
|
:'repository_version' => :'repository_version',
|
58
66
|
:'repository' => :'repository',
|
59
67
|
:'checksum_type' => :'checksum_type',
|
@@ -71,7 +79,9 @@ module PulpRpmClient
|
|
71
79
|
def self.openapi_types
|
72
80
|
{
|
73
81
|
:'pulp_href' => :'String',
|
82
|
+
:'prn' => :'String',
|
74
83
|
:'pulp_created' => :'DateTime',
|
84
|
+
:'pulp_last_updated' => :'DateTime',
|
75
85
|
:'repository_version' => :'String',
|
76
86
|
:'repository' => :'String',
|
77
87
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
@@ -80,7 +90,7 @@ module PulpRpmClient
|
|
80
90
|
:'gpgcheck' => :'Integer',
|
81
91
|
:'repo_gpgcheck' => :'Integer',
|
82
92
|
:'sqlite_metadata' => :'Boolean',
|
83
|
-
:'repo_config' => :'
|
93
|
+
:'repo_config' => :'AnyType',
|
84
94
|
:'compression_type' => :'CompressionTypeEnum'
|
85
95
|
}
|
86
96
|
end
|
@@ -112,10 +122,18 @@ module PulpRpmClient
|
|
112
122
|
self.pulp_href = attributes[:'pulp_href']
|
113
123
|
end
|
114
124
|
|
125
|
+
if attributes.key?(:'prn')
|
126
|
+
self.prn = attributes[:'prn']
|
127
|
+
end
|
128
|
+
|
115
129
|
if attributes.key?(:'pulp_created')
|
116
130
|
self.pulp_created = attributes[:'pulp_created']
|
117
131
|
end
|
118
132
|
|
133
|
+
if attributes.key?(:'pulp_last_updated')
|
134
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
135
|
+
end
|
136
|
+
|
119
137
|
if attributes.key?(:'repository_version')
|
120
138
|
self.repository_version = attributes[:'repository_version']
|
121
139
|
end
|
@@ -226,7 +244,9 @@ module PulpRpmClient
|
|
226
244
|
return true if self.equal?(o)
|
227
245
|
self.class == o.class &&
|
228
246
|
pulp_href == o.pulp_href &&
|
247
|
+
prn == o.prn &&
|
229
248
|
pulp_created == o.pulp_created &&
|
249
|
+
pulp_last_updated == o.pulp_last_updated &&
|
230
250
|
repository_version == o.repository_version &&
|
231
251
|
repository == o.repository &&
|
232
252
|
checksum_type == o.checksum_type &&
|
@@ -248,7 +268,7 @@ module PulpRpmClient
|
|
248
268
|
# Calculates hash code according to all attributes.
|
249
269
|
# @return [Integer] Hash code
|
250
270
|
def hash
|
251
|
-
[pulp_href, pulp_created, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
271
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
252
272
|
end
|
253
273
|
|
254
274
|
# Builds the object from hash
|
@@ -322,20 +322,20 @@ module PulpRpmClient
|
|
322
322
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
323
323
|
end
|
324
324
|
|
325
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
326
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
325
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
326
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
327
327
|
end
|
328
328
|
|
329
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
330
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
329
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
330
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
331
331
|
end
|
332
332
|
|
333
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
334
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
333
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
334
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
335
335
|
end
|
336
336
|
|
337
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
338
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
337
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
338
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
339
339
|
end
|
340
340
|
|
341
341
|
if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
@@ -361,10 +361,10 @@ module PulpRpmClient
|
|
361
361
|
return false if !@username.nil? && @username.to_s.length < 1
|
362
362
|
return false if !@password.nil? && @password.to_s.length < 1
|
363
363
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
364
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
365
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
366
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
367
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
364
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
365
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
366
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
367
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
368
368
|
return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
369
369
|
true
|
370
370
|
end
|
@@ -490,8 +490,8 @@ module PulpRpmClient
|
|
490
490
|
# Custom attribute writer method with validation
|
491
491
|
# @param [Object] total_timeout Value to be assigned
|
492
492
|
def total_timeout=(total_timeout)
|
493
|
-
if !total_timeout.nil? && total_timeout < 0
|
494
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
493
|
+
if !total_timeout.nil? && total_timeout < 0
|
494
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
495
495
|
end
|
496
496
|
|
497
497
|
@total_timeout = total_timeout
|
@@ -500,8 +500,8 @@ module PulpRpmClient
|
|
500
500
|
# Custom attribute writer method with validation
|
501
501
|
# @param [Object] connect_timeout Value to be assigned
|
502
502
|
def connect_timeout=(connect_timeout)
|
503
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
504
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
503
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
504
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
505
505
|
end
|
506
506
|
|
507
507
|
@connect_timeout = connect_timeout
|
@@ -510,8 +510,8 @@ module PulpRpmClient
|
|
510
510
|
# Custom attribute writer method with validation
|
511
511
|
# @param [Object] sock_connect_timeout Value to be assigned
|
512
512
|
def sock_connect_timeout=(sock_connect_timeout)
|
513
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
514
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
513
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
514
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
515
515
|
end
|
516
516
|
|
517
517
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -520,8 +520,8 @@ module PulpRpmClient
|
|
520
520
|
# Custom attribute writer method with validation
|
521
521
|
# @param [Object] sock_read_timeout Value to be assigned
|
522
522
|
def sock_read_timeout=(sock_read_timeout)
|
523
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
524
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
523
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
524
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
525
525
|
end
|
526
526
|
|
527
527
|
@sock_read_timeout = sock_read_timeout
|
@@ -17,9 +17,15 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# Timestamp of the most recent update of the remote.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# A unique name for this remote.
|
24
30
|
attr_accessor :name
|
25
31
|
|
@@ -40,9 +46,6 @@ module PulpRpmClient
|
|
40
46
|
|
41
47
|
attr_accessor :pulp_labels
|
42
48
|
|
43
|
-
# Timestamp of the most recent update of the remote.
|
44
|
-
attr_accessor :pulp_last_updated
|
45
|
-
|
46
49
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
50
|
attr_accessor :download_concurrency
|
48
51
|
|
@@ -80,7 +83,9 @@ module PulpRpmClient
|
|
80
83
|
def self.attribute_map
|
81
84
|
{
|
82
85
|
:'pulp_href' => :'pulp_href',
|
86
|
+
:'prn' => :'prn',
|
83
87
|
:'pulp_created' => :'pulp_created',
|
88
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
84
89
|
:'name' => :'name',
|
85
90
|
:'url' => :'url',
|
86
91
|
:'ca_cert' => :'ca_cert',
|
@@ -88,7 +93,6 @@ module PulpRpmClient
|
|
88
93
|
:'tls_validation' => :'tls_validation',
|
89
94
|
:'proxy_url' => :'proxy_url',
|
90
95
|
:'pulp_labels' => :'pulp_labels',
|
91
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
92
96
|
:'download_concurrency' => :'download_concurrency',
|
93
97
|
:'max_retries' => :'max_retries',
|
94
98
|
:'policy' => :'policy',
|
@@ -107,7 +111,9 @@ module PulpRpmClient
|
|
107
111
|
def self.openapi_types
|
108
112
|
{
|
109
113
|
:'pulp_href' => :'String',
|
114
|
+
:'prn' => :'String',
|
110
115
|
:'pulp_created' => :'DateTime',
|
116
|
+
:'pulp_last_updated' => :'DateTime',
|
111
117
|
:'name' => :'String',
|
112
118
|
:'url' => :'String',
|
113
119
|
:'ca_cert' => :'String',
|
@@ -115,7 +121,6 @@ module PulpRpmClient
|
|
115
121
|
:'tls_validation' => :'Boolean',
|
116
122
|
:'proxy_url' => :'String',
|
117
123
|
:'pulp_labels' => :'Hash<String, String>',
|
118
|
-
:'pulp_last_updated' => :'DateTime',
|
119
124
|
:'download_concurrency' => :'Integer',
|
120
125
|
:'max_retries' => :'Integer',
|
121
126
|
:'policy' => :'PolicyEnum',
|
@@ -166,10 +171,18 @@ module PulpRpmClient
|
|
166
171
|
self.pulp_href = attributes[:'pulp_href']
|
167
172
|
end
|
168
173
|
|
174
|
+
if attributes.key?(:'prn')
|
175
|
+
self.prn = attributes[:'prn']
|
176
|
+
end
|
177
|
+
|
169
178
|
if attributes.key?(:'pulp_created')
|
170
179
|
self.pulp_created = attributes[:'pulp_created']
|
171
180
|
end
|
172
181
|
|
182
|
+
if attributes.key?(:'pulp_last_updated')
|
183
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
184
|
+
end
|
185
|
+
|
173
186
|
if attributes.key?(:'name')
|
174
187
|
self.name = attributes[:'name']
|
175
188
|
end
|
@@ -200,10 +213,6 @@ module PulpRpmClient
|
|
200
213
|
end
|
201
214
|
end
|
202
215
|
|
203
|
-
if attributes.key?(:'pulp_last_updated')
|
204
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
205
|
-
end
|
206
|
-
|
207
216
|
if attributes.key?(:'download_concurrency')
|
208
217
|
self.download_concurrency = attributes[:'download_concurrency']
|
209
218
|
end
|
@@ -269,20 +278,20 @@ module PulpRpmClient
|
|
269
278
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
270
279
|
end
|
271
280
|
|
272
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
273
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
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.')
|
274
283
|
end
|
275
284
|
|
276
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
277
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
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.')
|
278
287
|
end
|
279
288
|
|
280
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
281
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
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.')
|
282
291
|
end
|
283
292
|
|
284
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
285
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
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.')
|
286
295
|
end
|
287
296
|
|
288
297
|
invalid_properties
|
@@ -294,10 +303,10 @@ module PulpRpmClient
|
|
294
303
|
return false if @name.nil?
|
295
304
|
return false if @url.nil?
|
296
305
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
297
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
298
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
299
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
300
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
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
|
301
310
|
true
|
302
311
|
end
|
303
312
|
|
@@ -314,8 +323,8 @@ module PulpRpmClient
|
|
314
323
|
# Custom attribute writer method with validation
|
315
324
|
# @param [Object] total_timeout Value to be assigned
|
316
325
|
def total_timeout=(total_timeout)
|
317
|
-
if !total_timeout.nil? && total_timeout < 0
|
318
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
326
|
+
if !total_timeout.nil? && total_timeout < 0
|
327
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
319
328
|
end
|
320
329
|
|
321
330
|
@total_timeout = total_timeout
|
@@ -324,8 +333,8 @@ module PulpRpmClient
|
|
324
333
|
# Custom attribute writer method with validation
|
325
334
|
# @param [Object] connect_timeout Value to be assigned
|
326
335
|
def connect_timeout=(connect_timeout)
|
327
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
328
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
336
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
337
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
329
338
|
end
|
330
339
|
|
331
340
|
@connect_timeout = connect_timeout
|
@@ -334,8 +343,8 @@ module PulpRpmClient
|
|
334
343
|
# Custom attribute writer method with validation
|
335
344
|
# @param [Object] sock_connect_timeout Value to be assigned
|
336
345
|
def sock_connect_timeout=(sock_connect_timeout)
|
337
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
338
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
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.'
|
339
348
|
end
|
340
349
|
|
341
350
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -344,8 +353,8 @@ module PulpRpmClient
|
|
344
353
|
# Custom attribute writer method with validation
|
345
354
|
# @param [Object] sock_read_timeout Value to be assigned
|
346
355
|
def sock_read_timeout=(sock_read_timeout)
|
347
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
348
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
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.'
|
349
358
|
end
|
350
359
|
|
351
360
|
@sock_read_timeout = sock_read_timeout
|
@@ -357,7 +366,9 @@ module PulpRpmClient
|
|
357
366
|
return true if self.equal?(o)
|
358
367
|
self.class == o.class &&
|
359
368
|
pulp_href == o.pulp_href &&
|
369
|
+
prn == o.prn &&
|
360
370
|
pulp_created == o.pulp_created &&
|
371
|
+
pulp_last_updated == o.pulp_last_updated &&
|
361
372
|
name == o.name &&
|
362
373
|
url == o.url &&
|
363
374
|
ca_cert == o.ca_cert &&
|
@@ -365,7 +376,6 @@ module PulpRpmClient
|
|
365
376
|
tls_validation == o.tls_validation &&
|
366
377
|
proxy_url == o.proxy_url &&
|
367
378
|
pulp_labels == o.pulp_labels &&
|
368
|
-
pulp_last_updated == o.pulp_last_updated &&
|
369
379
|
download_concurrency == o.download_concurrency &&
|
370
380
|
max_retries == o.max_retries &&
|
371
381
|
policy == o.policy &&
|
@@ -388,7 +398,7 @@ module PulpRpmClient
|
|
388
398
|
# Calculates hash code according to all attributes.
|
389
399
|
# @return [Integer] Hash code
|
390
400
|
def hash
|
391
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
401
|
+
[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, sles_auth_token].hash
|
392
402
|
end
|
393
403
|
|
394
404
|
# Builds the object from hash
|
@@ -68,12 +68,22 @@ module PulpRpmClient
|
|
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
|
|
@@ -96,7 +96,7 @@ module PulpRpmClient
|
|
96
96
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
97
97
|
:'gpgcheck' => :'Integer',
|
98
98
|
:'repo_gpgcheck' => :'Integer',
|
99
|
-
:'repo_config' => :'
|
99
|
+
:'repo_config' => :'AnyType',
|
100
100
|
:'compression_type' => :'CompressionTypeEnum'
|
101
101
|
}
|
102
102
|
end
|
@@ -17,9 +17,15 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
attr_accessor :versions_href
|
24
30
|
|
25
31
|
attr_accessor :pulp_labels
|
@@ -75,7 +81,9 @@ module PulpRpmClient
|
|
75
81
|
def self.attribute_map
|
76
82
|
{
|
77
83
|
:'pulp_href' => :'pulp_href',
|
84
|
+
:'prn' => :'prn',
|
78
85
|
:'pulp_created' => :'pulp_created',
|
86
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
79
87
|
:'versions_href' => :'versions_href',
|
80
88
|
:'pulp_labels' => :'pulp_labels',
|
81
89
|
:'latest_version_href' => :'latest_version_href',
|
@@ -101,7 +109,9 @@ module PulpRpmClient
|
|
101
109
|
def self.openapi_types
|
102
110
|
{
|
103
111
|
:'pulp_href' => :'String',
|
112
|
+
:'prn' => :'String',
|
104
113
|
:'pulp_created' => :'DateTime',
|
114
|
+
:'pulp_last_updated' => :'DateTime',
|
105
115
|
:'versions_href' => :'String',
|
106
116
|
:'pulp_labels' => :'Hash<String, String>',
|
107
117
|
:'latest_version_href' => :'String',
|
@@ -118,7 +128,7 @@ module PulpRpmClient
|
|
118
128
|
:'gpgcheck' => :'Integer',
|
119
129
|
:'repo_gpgcheck' => :'Integer',
|
120
130
|
:'sqlite_metadata' => :'Boolean',
|
121
|
-
:'repo_config' => :'
|
131
|
+
:'repo_config' => :'AnyType',
|
122
132
|
:'compression_type' => :'CompressionTypeEnum'
|
123
133
|
}
|
124
134
|
end
|
@@ -158,10 +168,18 @@ module PulpRpmClient
|
|
158
168
|
self.pulp_href = attributes[:'pulp_href']
|
159
169
|
end
|
160
170
|
|
171
|
+
if attributes.key?(:'prn')
|
172
|
+
self.prn = attributes[:'prn']
|
173
|
+
end
|
174
|
+
|
161
175
|
if attributes.key?(:'pulp_created')
|
162
176
|
self.pulp_created = attributes[:'pulp_created']
|
163
177
|
end
|
164
178
|
|
179
|
+
if attributes.key?(:'pulp_last_updated')
|
180
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
181
|
+
end
|
182
|
+
|
165
183
|
if attributes.key?(:'versions_href')
|
166
184
|
self.versions_href = attributes[:'versions_href']
|
167
185
|
end
|
@@ -343,7 +361,9 @@ module PulpRpmClient
|
|
343
361
|
return true if self.equal?(o)
|
344
362
|
self.class == o.class &&
|
345
363
|
pulp_href == o.pulp_href &&
|
364
|
+
prn == o.prn &&
|
346
365
|
pulp_created == o.pulp_created &&
|
366
|
+
pulp_last_updated == o.pulp_last_updated &&
|
347
367
|
versions_href == o.versions_href &&
|
348
368
|
pulp_labels == o.pulp_labels &&
|
349
369
|
latest_version_href == o.latest_version_href &&
|
@@ -373,7 +393,7 @@ module PulpRpmClient
|
|
373
393
|
# Calculates hash code according to all attributes.
|
374
394
|
# @return [Integer] Hash code
|
375
395
|
def hash
|
376
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
396
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
377
397
|
end
|
378
398
|
|
379
399
|
# 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
|
332
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 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
|
336
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 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
|
340
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 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
|
344
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 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
|
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
|
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
|
510
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 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
|
520
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 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
|
530
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 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
|
540
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
541
541
|
end
|
542
542
|
|
543
543
|
@sock_read_timeout = sock_read_timeout
|