pulp_ansible_client 0.22.0 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +7 -5
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignature.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +5 -3
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +25 -23
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleRemoteResponse.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +11 -9
- data/docs/ContentCollectionMarksApi.md +11 -9
- data/docs/ContentCollectionSignaturesApi.md +14 -10
- data/docs/ContentCollectionVersionsApi.md +15 -11
- data/docs/ContentNamespacesApi.md +11 -9
- data/docs/ContentRolesApi.md +11 -9
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +5 -3
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +5 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +9 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +5 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -3
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +9 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +5 -3
- data/docs/RemotesGitApi.md +5 -3
- data/docs/RemotesRoleApi.md +5 -3
- data/docs/RepositoriesAnsibleApi.md +9 -7
- data/docs/RepositoriesAnsibleVersionsApi.md +9 -7
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +22 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +31 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +43 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -23
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -131
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +31 -21
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -18
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
- data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -1
- data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
- data/spec/api/content_collection_marks_api_spec.rb +5 -4
- data/spec/api/content_collection_signatures_api_spec.rb +6 -4
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -4
- data/spec/api/content_roles_api_spec.rb +5 -4
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
- data/spec/api/remotes_collection_api_spec.rb +2 -1
- data/spec/api/remotes_git_api_spec.rb +2 -1
- data/spec/api/remotes_role_api_spec.rb +2 -1
- data/spec/api/repositories_ansible_api_spec.rb +4 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +9 -3
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +9 -3
- data/spec/models/ansible_git_remote_response_spec.rb +22 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +9 -3
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_version_search_list_spec.rb +0 -6
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +140 -140
@@ -15,32 +15,32 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
# Timestamp of
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# The URL of an external content source.
|
22
|
-
attr_accessor :url
|
23
|
-
|
24
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
25
|
-
attr_accessor :max_retries
|
26
|
-
|
27
|
-
# A PEM encoded client certificate used for authentication.
|
28
|
-
attr_accessor :client_cert
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
29
20
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
21
|
+
# The proxy URL. Format: scheme://host:port
|
22
|
+
attr_accessor :proxy_url
|
32
23
|
|
33
24
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
34
25
|
attr_accessor :total_timeout
|
35
26
|
|
27
|
+
# The Pulp Resource Name (PRN).
|
28
|
+
attr_accessor :prn
|
29
|
+
|
36
30
|
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
37
31
|
attr_accessor :connect_timeout
|
38
32
|
|
39
|
-
#
|
40
|
-
attr_accessor :
|
33
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
34
|
+
attr_accessor :sock_connect_timeout
|
41
35
|
|
42
|
-
#
|
43
|
-
attr_accessor :
|
36
|
+
# Timestamp of the most recent update of the remote.
|
37
|
+
attr_accessor :pulp_last_updated
|
38
|
+
|
39
|
+
# The URL of an external content source.
|
40
|
+
attr_accessor :url
|
41
|
+
|
42
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
43
|
+
attr_accessor :max_retries
|
44
44
|
|
45
45
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
46
46
|
attr_accessor :download_concurrency
|
@@ -48,27 +48,30 @@ module PulpAnsibleClient
|
|
48
48
|
# Headers for aiohttp.Clientsession
|
49
49
|
attr_accessor :headers
|
50
50
|
|
51
|
-
#
|
52
|
-
attr_accessor :
|
53
|
-
|
54
|
-
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
55
|
-
attr_accessor :ca_cert
|
51
|
+
# A unique name for this remote.
|
52
|
+
attr_accessor :name
|
56
53
|
|
57
|
-
#
|
58
|
-
attr_accessor :
|
54
|
+
# Limits requests per second for each concurrent downloader
|
55
|
+
attr_accessor :rate_limit
|
59
56
|
|
60
57
|
attr_accessor :pulp_labels
|
61
58
|
|
59
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
60
|
+
attr_accessor :ca_cert
|
61
|
+
|
62
62
|
# List of hidden (write only) fields
|
63
63
|
attr_accessor :hidden_fields
|
64
64
|
|
65
|
-
# A
|
66
|
-
attr_accessor :
|
65
|
+
# A PEM encoded client certificate used for authentication.
|
66
|
+
attr_accessor :client_cert
|
67
67
|
|
68
|
-
|
68
|
+
# If True, TLS peer validation must be performed.
|
69
|
+
attr_accessor :tls_validation
|
69
70
|
|
70
|
-
#
|
71
|
-
attr_accessor :
|
71
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
72
|
+
attr_accessor :sock_read_timeout
|
73
|
+
|
74
|
+
attr_accessor :pulp_href
|
72
75
|
|
73
76
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
74
77
|
attr_accessor :metadata_only
|
@@ -79,25 +82,26 @@ module PulpAnsibleClient
|
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
83
|
def self.attribute_map
|
81
84
|
{
|
85
|
+
:'pulp_created' => :'pulp_created',
|
86
|
+
:'proxy_url' => :'proxy_url',
|
87
|
+
:'total_timeout' => :'total_timeout',
|
88
|
+
:'prn' => :'prn',
|
89
|
+
:'connect_timeout' => :'connect_timeout',
|
90
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
82
91
|
:'pulp_last_updated' => :'pulp_last_updated',
|
83
92
|
:'url' => :'url',
|
84
93
|
:'max_retries' => :'max_retries',
|
85
|
-
:'client_cert' => :'client_cert',
|
86
|
-
:'tls_validation' => :'tls_validation',
|
87
|
-
:'total_timeout' => :'total_timeout',
|
88
|
-
:'connect_timeout' => :'connect_timeout',
|
89
|
-
:'rate_limit' => :'rate_limit',
|
90
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
91
94
|
:'download_concurrency' => :'download_concurrency',
|
92
95
|
:'headers' => :'headers',
|
93
|
-
:'
|
94
|
-
:'
|
95
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
96
|
+
:'name' => :'name',
|
97
|
+
:'rate_limit' => :'rate_limit',
|
96
98
|
:'pulp_labels' => :'pulp_labels',
|
99
|
+
:'ca_cert' => :'ca_cert',
|
97
100
|
:'hidden_fields' => :'hidden_fields',
|
98
|
-
:'
|
101
|
+
:'client_cert' => :'client_cert',
|
102
|
+
:'tls_validation' => :'tls_validation',
|
103
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
99
104
|
:'pulp_href' => :'pulp_href',
|
100
|
-
:'pulp_created' => :'pulp_created',
|
101
105
|
:'metadata_only' => :'metadata_only',
|
102
106
|
:'git_ref' => :'git_ref'
|
103
107
|
}
|
@@ -106,25 +110,26 @@ module PulpAnsibleClient
|
|
106
110
|
# Attribute type mapping.
|
107
111
|
def self.openapi_types
|
108
112
|
{
|
113
|
+
:'pulp_created' => :'DateTime',
|
114
|
+
:'proxy_url' => :'String',
|
115
|
+
:'total_timeout' => :'Float',
|
116
|
+
:'prn' => :'String',
|
117
|
+
:'connect_timeout' => :'Float',
|
118
|
+
:'sock_connect_timeout' => :'Float',
|
109
119
|
:'pulp_last_updated' => :'DateTime',
|
110
120
|
:'url' => :'String',
|
111
121
|
:'max_retries' => :'Integer',
|
112
|
-
:'client_cert' => :'String',
|
113
|
-
:'tls_validation' => :'Boolean',
|
114
|
-
:'total_timeout' => :'Float',
|
115
|
-
:'connect_timeout' => :'Float',
|
116
|
-
:'rate_limit' => :'Integer',
|
117
|
-
:'sock_read_timeout' => :'Float',
|
118
122
|
:'download_concurrency' => :'Integer',
|
119
123
|
:'headers' => :'Array<Object>',
|
120
|
-
:'
|
121
|
-
:'
|
122
|
-
:'sock_connect_timeout' => :'Float',
|
124
|
+
:'name' => :'String',
|
125
|
+
:'rate_limit' => :'Integer',
|
123
126
|
:'pulp_labels' => :'Hash<String, String>',
|
127
|
+
:'ca_cert' => :'String',
|
124
128
|
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
125
|
-
:'
|
129
|
+
:'client_cert' => :'String',
|
130
|
+
:'tls_validation' => :'Boolean',
|
131
|
+
:'sock_read_timeout' => :'Float',
|
126
132
|
:'pulp_href' => :'String',
|
127
|
-
:'pulp_created' => :'DateTime',
|
128
133
|
:'metadata_only' => :'Boolean',
|
129
134
|
:'git_ref' => :'String'
|
130
135
|
}
|
@@ -133,16 +138,16 @@ module PulpAnsibleClient
|
|
133
138
|
# List of attributes with nullable: true
|
134
139
|
def self.openapi_nullable
|
135
140
|
Set.new([
|
136
|
-
:'
|
137
|
-
:'client_cert',
|
141
|
+
:'proxy_url',
|
138
142
|
:'total_timeout',
|
139
143
|
:'connect_timeout',
|
140
|
-
:'
|
141
|
-
:'
|
144
|
+
:'sock_connect_timeout',
|
145
|
+
:'max_retries',
|
142
146
|
:'download_concurrency',
|
143
|
-
:'
|
147
|
+
:'rate_limit',
|
144
148
|
:'ca_cert',
|
145
|
-
:'
|
149
|
+
:'client_cert',
|
150
|
+
:'sock_read_timeout',
|
146
151
|
])
|
147
152
|
end
|
148
153
|
|
@@ -161,40 +166,40 @@ module PulpAnsibleClient
|
|
161
166
|
h[k.to_sym] = v
|
162
167
|
}
|
163
168
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
self.
|
169
|
+
if attributes.key?(:'pulp_created')
|
170
|
+
self.pulp_created = attributes[:'pulp_created']
|
166
171
|
end
|
167
172
|
|
168
|
-
if attributes.key?(:'
|
169
|
-
self.
|
173
|
+
if attributes.key?(:'proxy_url')
|
174
|
+
self.proxy_url = attributes[:'proxy_url']
|
170
175
|
end
|
171
176
|
|
172
|
-
if attributes.key?(:'
|
173
|
-
self.
|
177
|
+
if attributes.key?(:'total_timeout')
|
178
|
+
self.total_timeout = attributes[:'total_timeout']
|
174
179
|
end
|
175
180
|
|
176
|
-
if attributes.key?(:'
|
177
|
-
self.
|
181
|
+
if attributes.key?(:'prn')
|
182
|
+
self.prn = attributes[:'prn']
|
178
183
|
end
|
179
184
|
|
180
|
-
if attributes.key?(:'
|
181
|
-
self.
|
185
|
+
if attributes.key?(:'connect_timeout')
|
186
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
182
187
|
end
|
183
188
|
|
184
|
-
if attributes.key?(:'
|
185
|
-
self.
|
189
|
+
if attributes.key?(:'sock_connect_timeout')
|
190
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
186
191
|
end
|
187
192
|
|
188
|
-
if attributes.key?(:'
|
189
|
-
self.
|
193
|
+
if attributes.key?(:'pulp_last_updated')
|
194
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
190
195
|
end
|
191
196
|
|
192
|
-
if attributes.key?(:'
|
193
|
-
self.
|
197
|
+
if attributes.key?(:'url')
|
198
|
+
self.url = attributes[:'url']
|
194
199
|
end
|
195
200
|
|
196
|
-
if attributes.key?(:'
|
197
|
-
self.
|
201
|
+
if attributes.key?(:'max_retries')
|
202
|
+
self.max_retries = attributes[:'max_retries']
|
198
203
|
end
|
199
204
|
|
200
205
|
if attributes.key?(:'download_concurrency')
|
@@ -207,16 +212,12 @@ module PulpAnsibleClient
|
|
207
212
|
end
|
208
213
|
end
|
209
214
|
|
210
|
-
if attributes.key?(:'
|
211
|
-
self.
|
212
|
-
end
|
213
|
-
|
214
|
-
if attributes.key?(:'ca_cert')
|
215
|
-
self.ca_cert = attributes[:'ca_cert']
|
215
|
+
if attributes.key?(:'name')
|
216
|
+
self.name = attributes[:'name']
|
216
217
|
end
|
217
218
|
|
218
|
-
if attributes.key?(:'
|
219
|
-
self.
|
219
|
+
if attributes.key?(:'rate_limit')
|
220
|
+
self.rate_limit = attributes[:'rate_limit']
|
220
221
|
end
|
221
222
|
|
222
223
|
if attributes.key?(:'pulp_labels')
|
@@ -225,22 +226,30 @@ module PulpAnsibleClient
|
|
225
226
|
end
|
226
227
|
end
|
227
228
|
|
229
|
+
if attributes.key?(:'ca_cert')
|
230
|
+
self.ca_cert = attributes[:'ca_cert']
|
231
|
+
end
|
232
|
+
|
228
233
|
if attributes.key?(:'hidden_fields')
|
229
234
|
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
230
235
|
self.hidden_fields = value
|
231
236
|
end
|
232
237
|
end
|
233
238
|
|
234
|
-
if attributes.key?(:'
|
235
|
-
self.
|
239
|
+
if attributes.key?(:'client_cert')
|
240
|
+
self.client_cert = attributes[:'client_cert']
|
236
241
|
end
|
237
242
|
|
238
|
-
if attributes.key?(:'
|
239
|
-
self.
|
243
|
+
if attributes.key?(:'tls_validation')
|
244
|
+
self.tls_validation = attributes[:'tls_validation']
|
240
245
|
end
|
241
246
|
|
242
|
-
if attributes.key?(:'
|
243
|
-
self.
|
247
|
+
if attributes.key?(:'sock_read_timeout')
|
248
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
249
|
+
end
|
250
|
+
|
251
|
+
if attributes.key?(:'pulp_href')
|
252
|
+
self.pulp_href = attributes[:'pulp_href']
|
244
253
|
end
|
245
254
|
|
246
255
|
if attributes.key?(:'metadata_only')
|
@@ -256,55 +265,55 @@ module PulpAnsibleClient
|
|
256
265
|
# @return Array for valid properties with the reasons
|
257
266
|
def list_invalid_properties
|
258
267
|
invalid_properties = Array.new
|
259
|
-
if
|
260
|
-
invalid_properties.push('invalid value for "
|
268
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
269
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
261
270
|
end
|
262
271
|
|
263
|
-
if !@
|
264
|
-
invalid_properties.push('invalid value for "
|
272
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
273
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
265
274
|
end
|
266
275
|
|
267
|
-
if !@
|
268
|
-
invalid_properties.push('invalid value for "
|
276
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
277
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
269
278
|
end
|
270
279
|
|
271
|
-
if
|
272
|
-
invalid_properties.push('invalid value for "
|
280
|
+
if @url.nil?
|
281
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
273
282
|
end
|
274
283
|
|
275
284
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
276
285
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
277
286
|
end
|
278
287
|
|
279
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
280
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
281
|
-
end
|
282
|
-
|
283
288
|
if @name.nil?
|
284
289
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
285
290
|
end
|
286
291
|
|
292
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
293
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
294
|
+
end
|
295
|
+
|
287
296
|
invalid_properties
|
288
297
|
end
|
289
298
|
|
290
299
|
# Check to see if the all the properties in the model are valid
|
291
300
|
# @return true if the model is valid
|
292
301
|
def valid?
|
302
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
303
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
304
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
293
305
|
return false if @url.nil?
|
294
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
295
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
296
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
297
306
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
298
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
299
307
|
return false if @name.nil?
|
308
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
300
309
|
true
|
301
310
|
end
|
302
311
|
|
303
312
|
# Custom attribute writer method with validation
|
304
313
|
# @param [Object] total_timeout Value to be assigned
|
305
314
|
def total_timeout=(total_timeout)
|
306
|
-
if !total_timeout.nil? && total_timeout < 0
|
307
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
315
|
+
if !total_timeout.nil? && total_timeout < 0
|
316
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
308
317
|
end
|
309
318
|
|
310
319
|
@total_timeout = total_timeout
|
@@ -313,21 +322,21 @@ module PulpAnsibleClient
|
|
313
322
|
# Custom attribute writer method with validation
|
314
323
|
# @param [Object] connect_timeout Value to be assigned
|
315
324
|
def connect_timeout=(connect_timeout)
|
316
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
317
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
325
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
326
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
318
327
|
end
|
319
328
|
|
320
329
|
@connect_timeout = connect_timeout
|
321
330
|
end
|
322
331
|
|
323
332
|
# Custom attribute writer method with validation
|
324
|
-
# @param [Object]
|
325
|
-
def
|
326
|
-
if !
|
327
|
-
fail ArgumentError, 'invalid value for "
|
333
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
334
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
335
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
336
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
328
337
|
end
|
329
338
|
|
330
|
-
@
|
339
|
+
@sock_connect_timeout = sock_connect_timeout
|
331
340
|
end
|
332
341
|
|
333
342
|
# Custom attribute writer method with validation
|
@@ -341,13 +350,13 @@ module PulpAnsibleClient
|
|
341
350
|
end
|
342
351
|
|
343
352
|
# Custom attribute writer method with validation
|
344
|
-
# @param [Object]
|
345
|
-
def
|
346
|
-
if !
|
347
|
-
fail ArgumentError, 'invalid value for "
|
353
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
354
|
+
def sock_read_timeout=(sock_read_timeout)
|
355
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
356
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
348
357
|
end
|
349
358
|
|
350
|
-
@
|
359
|
+
@sock_read_timeout = sock_read_timeout
|
351
360
|
end
|
352
361
|
|
353
362
|
# Checks equality by comparing each attribute.
|
@@ -355,25 +364,26 @@ module PulpAnsibleClient
|
|
355
364
|
def ==(o)
|
356
365
|
return true if self.equal?(o)
|
357
366
|
self.class == o.class &&
|
367
|
+
pulp_created == o.pulp_created &&
|
368
|
+
proxy_url == o.proxy_url &&
|
369
|
+
total_timeout == o.total_timeout &&
|
370
|
+
prn == o.prn &&
|
371
|
+
connect_timeout == o.connect_timeout &&
|
372
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
358
373
|
pulp_last_updated == o.pulp_last_updated &&
|
359
374
|
url == o.url &&
|
360
375
|
max_retries == o.max_retries &&
|
361
|
-
client_cert == o.client_cert &&
|
362
|
-
tls_validation == o.tls_validation &&
|
363
|
-
total_timeout == o.total_timeout &&
|
364
|
-
connect_timeout == o.connect_timeout &&
|
365
|
-
rate_limit == o.rate_limit &&
|
366
|
-
sock_read_timeout == o.sock_read_timeout &&
|
367
376
|
download_concurrency == o.download_concurrency &&
|
368
377
|
headers == o.headers &&
|
369
|
-
|
370
|
-
|
371
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
378
|
+
name == o.name &&
|
379
|
+
rate_limit == o.rate_limit &&
|
372
380
|
pulp_labels == o.pulp_labels &&
|
381
|
+
ca_cert == o.ca_cert &&
|
373
382
|
hidden_fields == o.hidden_fields &&
|
374
|
-
|
383
|
+
client_cert == o.client_cert &&
|
384
|
+
tls_validation == o.tls_validation &&
|
385
|
+
sock_read_timeout == o.sock_read_timeout &&
|
375
386
|
pulp_href == o.pulp_href &&
|
376
|
-
pulp_created == o.pulp_created &&
|
377
387
|
metadata_only == o.metadata_only &&
|
378
388
|
git_ref == o.git_ref
|
379
389
|
end
|
@@ -387,7 +397,7 @@ module PulpAnsibleClient
|
|
387
397
|
# Calculates hash code according to all attributes.
|
388
398
|
# @return [Integer] Hash code
|
389
399
|
def hash
|
390
|
-
[
|
400
|
+
[pulp_created, proxy_url, total_timeout, prn, connect_timeout, sock_connect_timeout, pulp_last_updated, url, max_retries, download_concurrency, headers, name, rate_limit, pulp_labels, ca_cert, hidden_fields, client_cert, tls_validation, sock_read_timeout, pulp_href, metadata_only, git_ref].hash
|
391
401
|
end
|
392
402
|
|
393
403
|
# Builds the object from hash
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRole
|
18
|
-
# Artifact file representing the physical content
|
19
|
-
attr_accessor :artifact
|
20
|
-
|
21
18
|
# A URI of a repository the new content unit should be associated with.
|
22
19
|
attr_accessor :repository
|
23
20
|
|
21
|
+
# Artifact file representing the physical content
|
22
|
+
attr_accessor :artifact
|
23
|
+
|
24
24
|
attr_accessor :version
|
25
25
|
|
26
26
|
attr_accessor :name
|
@@ -30,8 +30,8 @@ module PulpAnsibleClient
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
|
-
:'artifact' => :'artifact',
|
34
33
|
:'repository' => :'repository',
|
34
|
+
:'artifact' => :'artifact',
|
35
35
|
:'version' => :'version',
|
36
36
|
:'name' => :'name',
|
37
37
|
:'namespace' => :'namespace'
|
@@ -41,8 +41,8 @@ module PulpAnsibleClient
|
|
41
41
|
# Attribute type mapping.
|
42
42
|
def self.openapi_types
|
43
43
|
{
|
44
|
-
:'artifact' => :'String',
|
45
44
|
:'repository' => :'String',
|
45
|
+
:'artifact' => :'String',
|
46
46
|
:'version' => :'String',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'namespace' => :'String'
|
@@ -70,14 +70,14 @@ module PulpAnsibleClient
|
|
70
70
|
h[k.to_sym] = v
|
71
71
|
}
|
72
72
|
|
73
|
-
if attributes.key?(:'artifact')
|
74
|
-
self.artifact = attributes[:'artifact']
|
75
|
-
end
|
76
|
-
|
77
73
|
if attributes.key?(:'repository')
|
78
74
|
self.repository = attributes[:'repository']
|
79
75
|
end
|
80
76
|
|
77
|
+
if attributes.key?(:'artifact')
|
78
|
+
self.artifact = attributes[:'artifact']
|
79
|
+
end
|
80
|
+
|
81
81
|
if attributes.key?(:'version')
|
82
82
|
self.version = attributes[:'version']
|
83
83
|
end
|
@@ -186,8 +186,8 @@ module PulpAnsibleClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
-
artifact == o.artifact &&
|
190
189
|
repository == o.repository &&
|
190
|
+
artifact == o.artifact &&
|
191
191
|
version == o.version &&
|
192
192
|
name == o.name &&
|
193
193
|
namespace == o.namespace
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
202
202
|
# Calculates hash code according to all attributes.
|
203
203
|
# @return [Integer] Hash code
|
204
204
|
def hash
|
205
|
-
[
|
205
|
+
[repository, artifact, version, name, namespace].hash
|
206
206
|
end
|
207
207
|
|
208
208
|
# Builds the object from hash
|
@@ -312,20 +312,20 @@ module PulpAnsibleClient
|
|
312
312
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
313
313
|
end
|
314
314
|
|
315
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
315
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
317
317
|
end
|
318
318
|
|
319
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
319
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
321
321
|
end
|
322
322
|
|
323
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
323
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
325
325
|
end
|
326
326
|
|
327
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
327
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
329
329
|
end
|
330
330
|
|
331
331
|
invalid_properties
|
@@ -347,10 +347,10 @@ module PulpAnsibleClient
|
|
347
347
|
return false if !@username.nil? && @username.to_s.length < 1
|
348
348
|
return false if !@password.nil? && @password.to_s.length < 1
|
349
349
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
350
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
350
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
354
354
|
true
|
355
355
|
end
|
356
356
|
|
@@ -475,8 +475,8 @@ module PulpAnsibleClient
|
|
475
475
|
# Custom attribute writer method with validation
|
476
476
|
# @param [Object] total_timeout Value to be assigned
|
477
477
|
def total_timeout=(total_timeout)
|
478
|
-
if !total_timeout.nil? && total_timeout < 0
|
479
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
478
|
+
if !total_timeout.nil? && total_timeout < 0
|
479
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
480
480
|
end
|
481
481
|
|
482
482
|
@total_timeout = total_timeout
|
@@ -485,8 +485,8 @@ module PulpAnsibleClient
|
|
485
485
|
# Custom attribute writer method with validation
|
486
486
|
# @param [Object] connect_timeout Value to be assigned
|
487
487
|
def connect_timeout=(connect_timeout)
|
488
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
489
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
488
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
489
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
490
490
|
end
|
491
491
|
|
492
492
|
@connect_timeout = connect_timeout
|
@@ -495,8 +495,8 @@ module PulpAnsibleClient
|
|
495
495
|
# Custom attribute writer method with validation
|
496
496
|
# @param [Object] sock_connect_timeout Value to be assigned
|
497
497
|
def sock_connect_timeout=(sock_connect_timeout)
|
498
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
499
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
498
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
499
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
500
500
|
end
|
501
501
|
|
502
502
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -505,8 +505,8 @@ module PulpAnsibleClient
|
|
505
505
|
# Custom attribute writer method with validation
|
506
506
|
# @param [Object] sock_read_timeout Value to be assigned
|
507
507
|
def sock_read_timeout=(sock_read_timeout)
|
508
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
509
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
508
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
509
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
510
510
|
end
|
511
511
|
|
512
512
|
@sock_read_timeout = sock_read_timeout
|