pulp_ansible_client 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +4 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -22
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +4 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +8 -8
- data/docs/ContentCollectionSignaturesApi.md +10 -10
- data/docs/ContentCollectionVersionsApi.md +10 -10
- data/docs/ContentRolesApi.md +8 -8
- data/docs/DistributionsAnsibleApi.md +12 -12
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +12 -12
- data/docs/RemotesGitApi.md +12 -12
- data/docs/RemotesRoleApi.md +12 -12
- data/docs/RepositoriesAnsibleApi.md +11 -11
- data/docs/RepositoriesAnsibleVersionsApi.md +12 -12
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +12 -12
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +16 -16
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +17 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +137 -123
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -7
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +210 -208
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +4 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -0
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +5 -5
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +6 -6
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +6 -6
- data/spec/api/remotes_git_api_spec.rb +6 -6
- data/spec/api/remotes_role_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_api_spec.rb +5 -5
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +20 -14
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +104 -100
|
@@ -18,52 +18,41 @@ module PulpAnsibleClient
|
|
|
18
18
|
# The username to be used for authentication when syncing.
|
|
19
19
|
attr_accessor :username
|
|
20
20
|
|
|
21
|
-
# The
|
|
22
|
-
attr_accessor :
|
|
23
|
-
|
|
24
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
25
|
-
attr_accessor :download_concurrency
|
|
26
|
-
|
|
27
|
-
# The proxy URL. Format: scheme://host:port
|
|
28
|
-
attr_accessor :proxy_url
|
|
21
|
+
# The URL of an external content source.
|
|
22
|
+
attr_accessor :url
|
|
29
23
|
|
|
30
24
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
31
25
|
attr_accessor :ca_cert
|
|
32
26
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
27
|
+
# Limits requests per second for each concurrent downloader
|
|
28
|
+
attr_accessor :rate_limit
|
|
29
|
+
|
|
30
|
+
# The username to authenticte to the proxy.
|
|
31
|
+
attr_accessor :proxy_username
|
|
35
32
|
|
|
36
33
|
# A PEM encoded client certificate used for authentication.
|
|
37
34
|
attr_accessor :client_cert
|
|
38
35
|
|
|
39
|
-
# aiohttp.ClientTimeout.
|
|
40
|
-
attr_accessor :
|
|
41
|
-
|
|
42
|
-
# 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.
|
|
43
|
-
attr_accessor :sock_read_timeout
|
|
44
|
-
|
|
45
|
-
attr_accessor :pulp_labels
|
|
36
|
+
# 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.
|
|
37
|
+
attr_accessor :sock_connect_timeout
|
|
46
38
|
|
|
47
39
|
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
|
48
40
|
attr_accessor :password
|
|
49
41
|
|
|
50
|
-
# aiohttp.ClientTimeout.
|
|
51
|
-
attr_accessor :
|
|
42
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
43
|
+
attr_accessor :connect_timeout
|
|
52
44
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
45
|
+
# A unique name for this remote.
|
|
46
|
+
attr_accessor :name
|
|
55
47
|
|
|
56
|
-
# The URL
|
|
57
|
-
attr_accessor :
|
|
48
|
+
# The proxy URL. Format: scheme://host:port
|
|
49
|
+
attr_accessor :proxy_url
|
|
58
50
|
|
|
59
51
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
60
52
|
attr_accessor :max_retries
|
|
61
53
|
|
|
62
|
-
#
|
|
63
|
-
attr_accessor :
|
|
64
|
-
|
|
65
|
-
# If True, TLS peer validation must be performed.
|
|
66
|
-
attr_accessor :tls_validation
|
|
54
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
55
|
+
attr_accessor :download_concurrency
|
|
67
56
|
|
|
68
57
|
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
|
69
58
|
attr_accessor :proxy_password
|
|
@@ -71,8 +60,19 @@ module PulpAnsibleClient
|
|
|
71
60
|
# A PEM encoded private key used for authentication.
|
|
72
61
|
attr_accessor :client_key
|
|
73
62
|
|
|
74
|
-
#
|
|
75
|
-
attr_accessor :
|
|
63
|
+
# 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.
|
|
64
|
+
attr_accessor :sock_read_timeout
|
|
65
|
+
|
|
66
|
+
attr_accessor :pulp_labels
|
|
67
|
+
|
|
68
|
+
# If True, TLS peer validation must be performed.
|
|
69
|
+
attr_accessor :tls_validation
|
|
70
|
+
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
|
72
|
+
attr_accessor :headers
|
|
73
|
+
|
|
74
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
75
|
+
attr_accessor :total_timeout
|
|
76
76
|
|
|
77
77
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
|
78
78
|
attr_accessor :metadata_only
|
|
@@ -84,25 +84,25 @@ module PulpAnsibleClient
|
|
|
84
84
|
def self.attribute_map
|
|
85
85
|
{
|
|
86
86
|
:'username' => :'username',
|
|
87
|
-
:'
|
|
88
|
-
:'download_concurrency' => :'download_concurrency',
|
|
89
|
-
:'proxy_url' => :'proxy_url',
|
|
87
|
+
:'url' => :'url',
|
|
90
88
|
:'ca_cert' => :'ca_cert',
|
|
91
|
-
:'
|
|
89
|
+
:'rate_limit' => :'rate_limit',
|
|
90
|
+
:'proxy_username' => :'proxy_username',
|
|
92
91
|
:'client_cert' => :'client_cert',
|
|
93
|
-
:'connect_timeout' => :'connect_timeout',
|
|
94
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
|
95
|
-
:'pulp_labels' => :'pulp_labels',
|
|
96
|
-
:'password' => :'password',
|
|
97
92
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
98
|
-
:'
|
|
99
|
-
:'
|
|
93
|
+
:'password' => :'password',
|
|
94
|
+
:'connect_timeout' => :'connect_timeout',
|
|
95
|
+
:'name' => :'name',
|
|
96
|
+
:'proxy_url' => :'proxy_url',
|
|
100
97
|
:'max_retries' => :'max_retries',
|
|
101
|
-
:'
|
|
102
|
-
:'tls_validation' => :'tls_validation',
|
|
98
|
+
:'download_concurrency' => :'download_concurrency',
|
|
103
99
|
:'proxy_password' => :'proxy_password',
|
|
104
100
|
:'client_key' => :'client_key',
|
|
105
|
-
:'
|
|
101
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
|
102
|
+
:'pulp_labels' => :'pulp_labels',
|
|
103
|
+
:'tls_validation' => :'tls_validation',
|
|
104
|
+
:'headers' => :'headers',
|
|
105
|
+
:'total_timeout' => :'total_timeout',
|
|
106
106
|
:'metadata_only' => :'metadata_only',
|
|
107
107
|
:'git_ref' => :'git_ref'
|
|
108
108
|
}
|
|
@@ -112,25 +112,25 @@ module PulpAnsibleClient
|
|
|
112
112
|
def self.openapi_types
|
|
113
113
|
{
|
|
114
114
|
:'username' => :'String',
|
|
115
|
-
:'
|
|
116
|
-
:'download_concurrency' => :'Integer',
|
|
117
|
-
:'proxy_url' => :'String',
|
|
115
|
+
:'url' => :'String',
|
|
118
116
|
:'ca_cert' => :'String',
|
|
119
|
-
:'
|
|
117
|
+
:'rate_limit' => :'Integer',
|
|
118
|
+
:'proxy_username' => :'String',
|
|
120
119
|
:'client_cert' => :'String',
|
|
121
|
-
:'connect_timeout' => :'Float',
|
|
122
|
-
:'sock_read_timeout' => :'Float',
|
|
123
|
-
:'pulp_labels' => :'Object',
|
|
124
|
-
:'password' => :'String',
|
|
125
120
|
:'sock_connect_timeout' => :'Float',
|
|
126
|
-
:'
|
|
127
|
-
:'
|
|
121
|
+
:'password' => :'String',
|
|
122
|
+
:'connect_timeout' => :'Float',
|
|
123
|
+
:'name' => :'String',
|
|
124
|
+
:'proxy_url' => :'String',
|
|
128
125
|
:'max_retries' => :'Integer',
|
|
129
|
-
:'
|
|
130
|
-
:'tls_validation' => :'Boolean',
|
|
126
|
+
:'download_concurrency' => :'Integer',
|
|
131
127
|
:'proxy_password' => :'String',
|
|
132
128
|
:'client_key' => :'String',
|
|
133
|
-
:'
|
|
129
|
+
:'sock_read_timeout' => :'Float',
|
|
130
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
131
|
+
:'tls_validation' => :'Boolean',
|
|
132
|
+
:'headers' => :'Array<Object>',
|
|
133
|
+
:'total_timeout' => :'Float',
|
|
134
134
|
:'metadata_only' => :'Boolean',
|
|
135
135
|
:'git_ref' => :'String'
|
|
136
136
|
}
|
|
@@ -140,20 +140,20 @@ module PulpAnsibleClient
|
|
|
140
140
|
def self.openapi_nullable
|
|
141
141
|
Set.new([
|
|
142
142
|
:'username',
|
|
143
|
-
:'proxy_username',
|
|
144
|
-
:'download_concurrency',
|
|
145
|
-
:'proxy_url',
|
|
146
143
|
:'ca_cert',
|
|
144
|
+
:'rate_limit',
|
|
145
|
+
:'proxy_username',
|
|
147
146
|
:'client_cert',
|
|
148
|
-
:'connect_timeout',
|
|
149
|
-
:'sock_read_timeout',
|
|
150
|
-
:'password',
|
|
151
147
|
:'sock_connect_timeout',
|
|
152
|
-
:'
|
|
148
|
+
:'password',
|
|
149
|
+
:'connect_timeout',
|
|
150
|
+
:'proxy_url',
|
|
153
151
|
:'max_retries',
|
|
152
|
+
:'download_concurrency',
|
|
154
153
|
:'proxy_password',
|
|
155
154
|
:'client_key',
|
|
156
|
-
:'
|
|
155
|
+
:'sock_read_timeout',
|
|
156
|
+
:'total_timeout',
|
|
157
157
|
])
|
|
158
158
|
end
|
|
159
159
|
|
|
@@ -176,65 +176,69 @@ module PulpAnsibleClient
|
|
|
176
176
|
self.username = attributes[:'username']
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
self.
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
if attributes.key?(:'download_concurrency')
|
|
184
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
if attributes.key?(:'proxy_url')
|
|
188
|
-
self.proxy_url = attributes[:'proxy_url']
|
|
179
|
+
if attributes.key?(:'url')
|
|
180
|
+
self.url = attributes[:'url']
|
|
189
181
|
end
|
|
190
182
|
|
|
191
183
|
if attributes.key?(:'ca_cert')
|
|
192
184
|
self.ca_cert = attributes[:'ca_cert']
|
|
193
185
|
end
|
|
194
186
|
|
|
195
|
-
if attributes.key?(:'
|
|
196
|
-
self.
|
|
187
|
+
if attributes.key?(:'rate_limit')
|
|
188
|
+
self.rate_limit = attributes[:'rate_limit']
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
if attributes.key?(:'proxy_username')
|
|
192
|
+
self.proxy_username = attributes[:'proxy_username']
|
|
197
193
|
end
|
|
198
194
|
|
|
199
195
|
if attributes.key?(:'client_cert')
|
|
200
196
|
self.client_cert = attributes[:'client_cert']
|
|
201
197
|
end
|
|
202
198
|
|
|
199
|
+
if attributes.key?(:'sock_connect_timeout')
|
|
200
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
if attributes.key?(:'password')
|
|
204
|
+
self.password = attributes[:'password']
|
|
205
|
+
end
|
|
206
|
+
|
|
203
207
|
if attributes.key?(:'connect_timeout')
|
|
204
208
|
self.connect_timeout = attributes[:'connect_timeout']
|
|
205
209
|
end
|
|
206
210
|
|
|
207
|
-
if attributes.key?(:'
|
|
208
|
-
self.
|
|
211
|
+
if attributes.key?(:'name')
|
|
212
|
+
self.name = attributes[:'name']
|
|
209
213
|
end
|
|
210
214
|
|
|
211
|
-
if attributes.key?(:'
|
|
212
|
-
self.
|
|
215
|
+
if attributes.key?(:'proxy_url')
|
|
216
|
+
self.proxy_url = attributes[:'proxy_url']
|
|
213
217
|
end
|
|
214
218
|
|
|
215
|
-
if attributes.key?(:'
|
|
216
|
-
self.
|
|
219
|
+
if attributes.key?(:'max_retries')
|
|
220
|
+
self.max_retries = attributes[:'max_retries']
|
|
217
221
|
end
|
|
218
222
|
|
|
219
|
-
if attributes.key?(:'
|
|
220
|
-
self.
|
|
223
|
+
if attributes.key?(:'download_concurrency')
|
|
224
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
221
225
|
end
|
|
222
226
|
|
|
223
|
-
if attributes.key?(:'
|
|
224
|
-
self.
|
|
227
|
+
if attributes.key?(:'proxy_password')
|
|
228
|
+
self.proxy_password = attributes[:'proxy_password']
|
|
225
229
|
end
|
|
226
230
|
|
|
227
|
-
if attributes.key?(:'
|
|
228
|
-
self.
|
|
231
|
+
if attributes.key?(:'client_key')
|
|
232
|
+
self.client_key = attributes[:'client_key']
|
|
229
233
|
end
|
|
230
234
|
|
|
231
|
-
if attributes.key?(:'
|
|
232
|
-
self.
|
|
235
|
+
if attributes.key?(:'sock_read_timeout')
|
|
236
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
233
237
|
end
|
|
234
238
|
|
|
235
|
-
if attributes.key?(:'
|
|
236
|
-
if (value = attributes[:'
|
|
237
|
-
self.
|
|
239
|
+
if attributes.key?(:'pulp_labels')
|
|
240
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
241
|
+
self.pulp_labels = value
|
|
238
242
|
end
|
|
239
243
|
end
|
|
240
244
|
|
|
@@ -242,16 +246,14 @@ module PulpAnsibleClient
|
|
|
242
246
|
self.tls_validation = attributes[:'tls_validation']
|
|
243
247
|
end
|
|
244
248
|
|
|
245
|
-
if attributes.key?(:'
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
if attributes.key?(:'client_key')
|
|
250
|
-
self.client_key = attributes[:'client_key']
|
|
249
|
+
if attributes.key?(:'headers')
|
|
250
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
251
|
+
self.headers = value
|
|
252
|
+
end
|
|
251
253
|
end
|
|
252
254
|
|
|
253
|
-
if attributes.key?(:'
|
|
254
|
-
self.
|
|
255
|
+
if attributes.key?(:'total_timeout')
|
|
256
|
+
self.total_timeout = attributes[:'total_timeout']
|
|
255
257
|
end
|
|
256
258
|
|
|
257
259
|
if attributes.key?(:'metadata_only')
|
|
@@ -271,52 +273,44 @@ module PulpAnsibleClient
|
|
|
271
273
|
invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
|
|
272
274
|
end
|
|
273
275
|
|
|
274
|
-
if !@
|
|
275
|
-
invalid_properties.push('invalid value for "
|
|
276
|
-
end
|
|
277
|
-
|
|
278
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
279
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
283
|
-
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
|
276
|
+
if !@url.nil? && @url.to_s.length < 1
|
|
277
|
+
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
|
284
278
|
end
|
|
285
279
|
|
|
286
280
|
if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
|
287
281
|
invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
|
|
288
282
|
end
|
|
289
283
|
|
|
290
|
-
if !@
|
|
291
|
-
invalid_properties.push('invalid value for "
|
|
284
|
+
if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
|
285
|
+
invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
|
|
292
286
|
end
|
|
293
287
|
|
|
294
288
|
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
|
295
289
|
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
|
296
290
|
end
|
|
297
291
|
|
|
298
|
-
if !@
|
|
299
|
-
invalid_properties.push('invalid value for "
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
303
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
292
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
293
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
|
304
294
|
end
|
|
305
295
|
|
|
306
296
|
if !@password.nil? && @password.to_s.length < 1
|
|
307
297
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
|
308
298
|
end
|
|
309
299
|
|
|
310
|
-
if !@
|
|
311
|
-
invalid_properties.push('invalid value for "
|
|
300
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
301
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
|
312
302
|
end
|
|
313
303
|
|
|
314
|
-
if !@
|
|
315
|
-
invalid_properties.push('invalid value for "
|
|
304
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
305
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
316
306
|
end
|
|
317
307
|
|
|
318
|
-
if !@
|
|
319
|
-
invalid_properties.push('invalid value for "
|
|
308
|
+
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
309
|
+
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
313
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
320
314
|
end
|
|
321
315
|
|
|
322
316
|
if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
|
@@ -327,6 +321,14 @@ module PulpAnsibleClient
|
|
|
327
321
|
invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
|
|
328
322
|
end
|
|
329
323
|
|
|
324
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
325
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
|
329
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
|
330
|
+
end
|
|
331
|
+
|
|
330
332
|
if !@git_ref.nil? && @git_ref.to_s.length < 1
|
|
331
333
|
invalid_properties.push('invalid value for "git_ref", the character length must be great than or equal to 1.')
|
|
332
334
|
end
|
|
@@ -338,20 +340,20 @@ module PulpAnsibleClient
|
|
|
338
340
|
# @return true if the model is valid
|
|
339
341
|
def valid?
|
|
340
342
|
return false if !@username.nil? && @username.to_s.length < 1
|
|
341
|
-
return false if !@
|
|
342
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
343
|
-
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
343
|
+
return false if !@url.nil? && @url.to_s.length < 1
|
|
344
344
|
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
|
345
|
-
return false if !@
|
|
345
|
+
return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
|
346
346
|
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
|
347
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
348
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
349
|
-
return false if !@password.nil? && @password.to_s.length < 1
|
|
350
347
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
351
|
-
return false if !@
|
|
352
|
-
return false if !@
|
|
348
|
+
return false if !@password.nil? && @password.to_s.length < 1
|
|
349
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
350
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
|
351
|
+
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
352
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
353
353
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
|
354
354
|
return false if !@client_key.nil? && @client_key.to_s.length < 1
|
|
355
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
356
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
|
355
357
|
return false if !@git_ref.nil? && @git_ref.to_s.length < 1
|
|
356
358
|
true
|
|
357
359
|
end
|
|
@@ -367,33 +369,13 @@ module PulpAnsibleClient
|
|
|
367
369
|
end
|
|
368
370
|
|
|
369
371
|
# Custom attribute writer method with validation
|
|
370
|
-
# @param [Object]
|
|
371
|
-
def
|
|
372
|
-
if !
|
|
373
|
-
fail ArgumentError, 'invalid value for "
|
|
374
|
-
end
|
|
375
|
-
|
|
376
|
-
@proxy_username = proxy_username
|
|
377
|
-
end
|
|
378
|
-
|
|
379
|
-
# Custom attribute writer method with validation
|
|
380
|
-
# @param [Object] download_concurrency Value to be assigned
|
|
381
|
-
def download_concurrency=(download_concurrency)
|
|
382
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
|
383
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
384
|
-
end
|
|
385
|
-
|
|
386
|
-
@download_concurrency = download_concurrency
|
|
387
|
-
end
|
|
388
|
-
|
|
389
|
-
# Custom attribute writer method with validation
|
|
390
|
-
# @param [Object] proxy_url Value to be assigned
|
|
391
|
-
def proxy_url=(proxy_url)
|
|
392
|
-
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
|
393
|
-
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
|
372
|
+
# @param [Object] url Value to be assigned
|
|
373
|
+
def url=(url)
|
|
374
|
+
if !url.nil? && url.to_s.length < 1
|
|
375
|
+
fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
|
|
394
376
|
end
|
|
395
377
|
|
|
396
|
-
@
|
|
378
|
+
@url = url
|
|
397
379
|
end
|
|
398
380
|
|
|
399
381
|
# Custom attribute writer method with validation
|
|
@@ -407,13 +389,13 @@ module PulpAnsibleClient
|
|
|
407
389
|
end
|
|
408
390
|
|
|
409
391
|
# Custom attribute writer method with validation
|
|
410
|
-
# @param [Object]
|
|
411
|
-
def
|
|
412
|
-
if !
|
|
413
|
-
fail ArgumentError, 'invalid value for "
|
|
392
|
+
# @param [Object] proxy_username Value to be assigned
|
|
393
|
+
def proxy_username=(proxy_username)
|
|
394
|
+
if !proxy_username.nil? && proxy_username.to_s.length < 1
|
|
395
|
+
fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
|
|
414
396
|
end
|
|
415
397
|
|
|
416
|
-
@
|
|
398
|
+
@proxy_username = proxy_username
|
|
417
399
|
end
|
|
418
400
|
|
|
419
401
|
# Custom attribute writer method with validation
|
|
@@ -427,23 +409,13 @@ module PulpAnsibleClient
|
|
|
427
409
|
end
|
|
428
410
|
|
|
429
411
|
# Custom attribute writer method with validation
|
|
430
|
-
# @param [Object]
|
|
431
|
-
def
|
|
432
|
-
if !
|
|
433
|
-
fail ArgumentError, 'invalid value for "
|
|
434
|
-
end
|
|
435
|
-
|
|
436
|
-
@connect_timeout = connect_timeout
|
|
437
|
-
end
|
|
438
|
-
|
|
439
|
-
# Custom attribute writer method with validation
|
|
440
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
|
441
|
-
def sock_read_timeout=(sock_read_timeout)
|
|
442
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
|
443
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
|
412
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
|
413
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
|
414
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
|
415
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
|
444
416
|
end
|
|
445
417
|
|
|
446
|
-
@
|
|
418
|
+
@sock_connect_timeout = sock_connect_timeout
|
|
447
419
|
end
|
|
448
420
|
|
|
449
421
|
# Custom attribute writer method with validation
|
|
@@ -457,33 +429,43 @@ module PulpAnsibleClient
|
|
|
457
429
|
end
|
|
458
430
|
|
|
459
431
|
# Custom attribute writer method with validation
|
|
460
|
-
# @param [Object]
|
|
461
|
-
def
|
|
462
|
-
if !
|
|
463
|
-
fail ArgumentError, 'invalid value for "
|
|
432
|
+
# @param [Object] connect_timeout Value to be assigned
|
|
433
|
+
def connect_timeout=(connect_timeout)
|
|
434
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
|
435
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
|
464
436
|
end
|
|
465
437
|
|
|
466
|
-
@
|
|
438
|
+
@connect_timeout = connect_timeout
|
|
467
439
|
end
|
|
468
440
|
|
|
469
441
|
# Custom attribute writer method with validation
|
|
470
|
-
# @param [Object]
|
|
471
|
-
def
|
|
472
|
-
if !
|
|
473
|
-
fail ArgumentError, 'invalid value for "
|
|
442
|
+
# @param [Object] name Value to be assigned
|
|
443
|
+
def name=(name)
|
|
444
|
+
if !name.nil? && name.to_s.length < 1
|
|
445
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
474
446
|
end
|
|
475
447
|
|
|
476
|
-
@
|
|
448
|
+
@name = name
|
|
477
449
|
end
|
|
478
450
|
|
|
479
451
|
# Custom attribute writer method with validation
|
|
480
|
-
# @param [Object]
|
|
481
|
-
def
|
|
482
|
-
if !
|
|
483
|
-
fail ArgumentError, 'invalid value for "
|
|
452
|
+
# @param [Object] proxy_url Value to be assigned
|
|
453
|
+
def proxy_url=(proxy_url)
|
|
454
|
+
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
|
455
|
+
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
|
484
456
|
end
|
|
485
457
|
|
|
486
|
-
@
|
|
458
|
+
@proxy_url = proxy_url
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
# Custom attribute writer method with validation
|
|
462
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
463
|
+
def download_concurrency=(download_concurrency)
|
|
464
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
465
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
@download_concurrency = download_concurrency
|
|
487
469
|
end
|
|
488
470
|
|
|
489
471
|
# Custom attribute writer method with validation
|
|
@@ -506,6 +488,26 @@ module PulpAnsibleClient
|
|
|
506
488
|
@client_key = client_key
|
|
507
489
|
end
|
|
508
490
|
|
|
491
|
+
# Custom attribute writer method with validation
|
|
492
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
|
493
|
+
def sock_read_timeout=(sock_read_timeout)
|
|
494
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
|
495
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
@sock_read_timeout = sock_read_timeout
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
# Custom attribute writer method with validation
|
|
502
|
+
# @param [Object] total_timeout Value to be assigned
|
|
503
|
+
def total_timeout=(total_timeout)
|
|
504
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
|
505
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
@total_timeout = total_timeout
|
|
509
|
+
end
|
|
510
|
+
|
|
509
511
|
# Custom attribute writer method with validation
|
|
510
512
|
# @param [Object] git_ref Value to be assigned
|
|
511
513
|
def git_ref=(git_ref)
|
|
@@ -522,25 +524,25 @@ module PulpAnsibleClient
|
|
|
522
524
|
return true if self.equal?(o)
|
|
523
525
|
self.class == o.class &&
|
|
524
526
|
username == o.username &&
|
|
525
|
-
|
|
526
|
-
download_concurrency == o.download_concurrency &&
|
|
527
|
-
proxy_url == o.proxy_url &&
|
|
527
|
+
url == o.url &&
|
|
528
528
|
ca_cert == o.ca_cert &&
|
|
529
|
-
|
|
529
|
+
rate_limit == o.rate_limit &&
|
|
530
|
+
proxy_username == o.proxy_username &&
|
|
530
531
|
client_cert == o.client_cert &&
|
|
531
|
-
connect_timeout == o.connect_timeout &&
|
|
532
|
-
sock_read_timeout == o.sock_read_timeout &&
|
|
533
|
-
pulp_labels == o.pulp_labels &&
|
|
534
|
-
password == o.password &&
|
|
535
532
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
536
|
-
|
|
537
|
-
|
|
533
|
+
password == o.password &&
|
|
534
|
+
connect_timeout == o.connect_timeout &&
|
|
535
|
+
name == o.name &&
|
|
536
|
+
proxy_url == o.proxy_url &&
|
|
538
537
|
max_retries == o.max_retries &&
|
|
539
|
-
|
|
540
|
-
tls_validation == o.tls_validation &&
|
|
538
|
+
download_concurrency == o.download_concurrency &&
|
|
541
539
|
proxy_password == o.proxy_password &&
|
|
542
540
|
client_key == o.client_key &&
|
|
543
|
-
|
|
541
|
+
sock_read_timeout == o.sock_read_timeout &&
|
|
542
|
+
pulp_labels == o.pulp_labels &&
|
|
543
|
+
tls_validation == o.tls_validation &&
|
|
544
|
+
headers == o.headers &&
|
|
545
|
+
total_timeout == o.total_timeout &&
|
|
544
546
|
metadata_only == o.metadata_only &&
|
|
545
547
|
git_ref == o.git_ref
|
|
546
548
|
end
|
|
@@ -554,7 +556,7 @@ module PulpAnsibleClient
|
|
|
554
556
|
# Calculates hash code according to all attributes.
|
|
555
557
|
# @return [Integer] Hash code
|
|
556
558
|
def hash
|
|
557
|
-
[username,
|
|
559
|
+
[username, url, ca_cert, rate_limit, proxy_username, client_cert, sock_connect_timeout, password, connect_timeout, name, proxy_url, max_retries, download_concurrency, proxy_password, client_key, sock_read_timeout, pulp_labels, tls_validation, headers, total_timeout, metadata_only, git_ref].hash
|
|
558
560
|
end
|
|
559
561
|
|
|
560
562
|
# Builds the object from hash
|