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,60 +273,52 @@ 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.')
|
|
276
|
+
if @url.nil?
|
|
277
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
|
280
278
|
end
|
|
281
279
|
|
|
282
|
-
if
|
|
283
|
-
invalid_properties.push('invalid value for "
|
|
280
|
+
if @url.to_s.length < 1
|
|
281
|
+
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
|
284
282
|
end
|
|
285
283
|
|
|
286
284
|
if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
|
287
285
|
invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
|
|
288
286
|
end
|
|
289
287
|
|
|
290
|
-
if
|
|
291
|
-
invalid_properties.push('invalid value for "
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
if @name.to_s.length < 1
|
|
295
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
288
|
+
if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
|
289
|
+
invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
|
|
296
290
|
end
|
|
297
291
|
|
|
298
292
|
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
|
299
293
|
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
|
300
294
|
end
|
|
301
295
|
|
|
302
|
-
if !@
|
|
303
|
-
invalid_properties.push('invalid value for "
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
307
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
296
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
297
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
|
308
298
|
end
|
|
309
299
|
|
|
310
300
|
if !@password.nil? && @password.to_s.length < 1
|
|
311
301
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
|
312
302
|
end
|
|
313
303
|
|
|
314
|
-
if !@
|
|
315
|
-
invalid_properties.push('invalid value for "
|
|
304
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
305
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
|
316
306
|
end
|
|
317
307
|
|
|
318
|
-
if
|
|
319
|
-
invalid_properties.push('invalid value for "
|
|
308
|
+
if @name.nil?
|
|
309
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
320
310
|
end
|
|
321
311
|
|
|
322
|
-
if @
|
|
323
|
-
invalid_properties.push('invalid value for "
|
|
312
|
+
if @name.to_s.length < 1
|
|
313
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
324
314
|
end
|
|
325
315
|
|
|
326
|
-
if @
|
|
327
|
-
invalid_properties.push('invalid value for "
|
|
316
|
+
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
317
|
+
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
321
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
328
322
|
end
|
|
329
323
|
|
|
330
324
|
if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
|
@@ -335,6 +329,14 @@ module PulpAnsibleClient
|
|
|
335
329
|
invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
|
|
336
330
|
end
|
|
337
331
|
|
|
332
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
333
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
|
337
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
|
338
|
+
end
|
|
339
|
+
|
|
338
340
|
if !@git_ref.nil? && @git_ref.to_s.length < 1
|
|
339
341
|
invalid_properties.push('invalid value for "git_ref", the character length must be great than or equal to 1.')
|
|
340
342
|
end
|
|
@@ -346,22 +348,22 @@ module PulpAnsibleClient
|
|
|
346
348
|
# @return true if the model is valid
|
|
347
349
|
def valid?
|
|
348
350
|
return false if !@username.nil? && @username.to_s.length < 1
|
|
349
|
-
return false if
|
|
350
|
-
return false if
|
|
351
|
-
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
351
|
+
return false if @url.nil?
|
|
352
|
+
return false if @url.to_s.length < 1
|
|
352
353
|
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
|
353
|
-
return false if
|
|
354
|
-
return false if @name.to_s.length < 1
|
|
354
|
+
return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
|
355
355
|
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
|
356
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
357
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
358
|
-
return false if !@password.nil? && @password.to_s.length < 1
|
|
359
356
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
360
|
-
return false if !@
|
|
361
|
-
return false if
|
|
362
|
-
return false if @
|
|
357
|
+
return false if !@password.nil? && @password.to_s.length < 1
|
|
358
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
359
|
+
return false if @name.nil?
|
|
360
|
+
return false if @name.to_s.length < 1
|
|
361
|
+
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
|
362
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
363
363
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
|
364
364
|
return false if !@client_key.nil? && @client_key.to_s.length < 1
|
|
365
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
366
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
|
365
367
|
return false if !@git_ref.nil? && @git_ref.to_s.length < 1
|
|
366
368
|
true
|
|
367
369
|
end
|
|
@@ -377,33 +379,17 @@ module PulpAnsibleClient
|
|
|
377
379
|
end
|
|
378
380
|
|
|
379
381
|
# Custom attribute writer method with validation
|
|
380
|
-
# @param [Object]
|
|
381
|
-
def
|
|
382
|
-
if
|
|
383
|
-
fail ArgumentError, '
|
|
384
|
-
end
|
|
385
|
-
|
|
386
|
-
@proxy_username = proxy_username
|
|
387
|
-
end
|
|
388
|
-
|
|
389
|
-
# Custom attribute writer method with validation
|
|
390
|
-
# @param [Object] download_concurrency Value to be assigned
|
|
391
|
-
def download_concurrency=(download_concurrency)
|
|
392
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
|
393
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
382
|
+
# @param [Object] url Value to be assigned
|
|
383
|
+
def url=(url)
|
|
384
|
+
if url.nil?
|
|
385
|
+
fail ArgumentError, 'url cannot be nil'
|
|
394
386
|
end
|
|
395
387
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
# Custom attribute writer method with validation
|
|
400
|
-
# @param [Object] proxy_url Value to be assigned
|
|
401
|
-
def proxy_url=(proxy_url)
|
|
402
|
-
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
|
403
|
-
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
|
388
|
+
if url.to_s.length < 1
|
|
389
|
+
fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
|
|
404
390
|
end
|
|
405
391
|
|
|
406
|
-
@
|
|
392
|
+
@url = url
|
|
407
393
|
end
|
|
408
394
|
|
|
409
395
|
# Custom attribute writer method with validation
|
|
@@ -417,17 +403,13 @@ module PulpAnsibleClient
|
|
|
417
403
|
end
|
|
418
404
|
|
|
419
405
|
# Custom attribute writer method with validation
|
|
420
|
-
# @param [Object]
|
|
421
|
-
def
|
|
422
|
-
if
|
|
423
|
-
fail ArgumentError, '
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
if name.to_s.length < 1
|
|
427
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
406
|
+
# @param [Object] proxy_username Value to be assigned
|
|
407
|
+
def proxy_username=(proxy_username)
|
|
408
|
+
if !proxy_username.nil? && proxy_username.to_s.length < 1
|
|
409
|
+
fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
|
|
428
410
|
end
|
|
429
411
|
|
|
430
|
-
@
|
|
412
|
+
@proxy_username = proxy_username
|
|
431
413
|
end
|
|
432
414
|
|
|
433
415
|
# Custom attribute writer method with validation
|
|
@@ -441,23 +423,13 @@ module PulpAnsibleClient
|
|
|
441
423
|
end
|
|
442
424
|
|
|
443
425
|
# Custom attribute writer method with validation
|
|
444
|
-
# @param [Object]
|
|
445
|
-
def
|
|
446
|
-
if !
|
|
447
|
-
fail ArgumentError, 'invalid value for "
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
@connect_timeout = connect_timeout
|
|
451
|
-
end
|
|
452
|
-
|
|
453
|
-
# Custom attribute writer method with validation
|
|
454
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
|
455
|
-
def sock_read_timeout=(sock_read_timeout)
|
|
456
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
|
457
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
|
426
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
|
427
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
|
428
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
|
429
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
|
458
430
|
end
|
|
459
431
|
|
|
460
|
-
@
|
|
432
|
+
@sock_connect_timeout = sock_connect_timeout
|
|
461
433
|
end
|
|
462
434
|
|
|
463
435
|
# Custom attribute writer method with validation
|
|
@@ -471,37 +443,47 @@ module PulpAnsibleClient
|
|
|
471
443
|
end
|
|
472
444
|
|
|
473
445
|
# Custom attribute writer method with validation
|
|
474
|
-
# @param [Object]
|
|
475
|
-
def
|
|
476
|
-
if !
|
|
477
|
-
fail ArgumentError, 'invalid value for "
|
|
446
|
+
# @param [Object] connect_timeout Value to be assigned
|
|
447
|
+
def connect_timeout=(connect_timeout)
|
|
448
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
|
449
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
|
478
450
|
end
|
|
479
451
|
|
|
480
|
-
@
|
|
452
|
+
@connect_timeout = connect_timeout
|
|
481
453
|
end
|
|
482
454
|
|
|
483
455
|
# Custom attribute writer method with validation
|
|
484
|
-
# @param [Object]
|
|
485
|
-
def
|
|
486
|
-
if
|
|
487
|
-
fail ArgumentError, '
|
|
456
|
+
# @param [Object] name Value to be assigned
|
|
457
|
+
def name=(name)
|
|
458
|
+
if name.nil?
|
|
459
|
+
fail ArgumentError, 'name cannot be nil'
|
|
488
460
|
end
|
|
489
461
|
|
|
490
|
-
|
|
462
|
+
if name.to_s.length < 1
|
|
463
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
@name = name
|
|
491
467
|
end
|
|
492
468
|
|
|
493
469
|
# Custom attribute writer method with validation
|
|
494
|
-
# @param [Object]
|
|
495
|
-
def
|
|
496
|
-
if
|
|
497
|
-
fail ArgumentError, '
|
|
470
|
+
# @param [Object] proxy_url Value to be assigned
|
|
471
|
+
def proxy_url=(proxy_url)
|
|
472
|
+
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
|
473
|
+
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
|
498
474
|
end
|
|
499
475
|
|
|
500
|
-
|
|
501
|
-
|
|
476
|
+
@proxy_url = proxy_url
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
# Custom attribute writer method with validation
|
|
480
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
481
|
+
def download_concurrency=(download_concurrency)
|
|
482
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
483
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
502
484
|
end
|
|
503
485
|
|
|
504
|
-
@
|
|
486
|
+
@download_concurrency = download_concurrency
|
|
505
487
|
end
|
|
506
488
|
|
|
507
489
|
# Custom attribute writer method with validation
|
|
@@ -524,6 +506,26 @@ module PulpAnsibleClient
|
|
|
524
506
|
@client_key = client_key
|
|
525
507
|
end
|
|
526
508
|
|
|
509
|
+
# Custom attribute writer method with validation
|
|
510
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
|
511
|
+
def sock_read_timeout=(sock_read_timeout)
|
|
512
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
|
513
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
@sock_read_timeout = sock_read_timeout
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
# Custom attribute writer method with validation
|
|
520
|
+
# @param [Object] total_timeout Value to be assigned
|
|
521
|
+
def total_timeout=(total_timeout)
|
|
522
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
|
523
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
@total_timeout = total_timeout
|
|
527
|
+
end
|
|
528
|
+
|
|
527
529
|
# Custom attribute writer method with validation
|
|
528
530
|
# @param [Object] git_ref Value to be assigned
|
|
529
531
|
def git_ref=(git_ref)
|
|
@@ -540,25 +542,25 @@ module PulpAnsibleClient
|
|
|
540
542
|
return true if self.equal?(o)
|
|
541
543
|
self.class == o.class &&
|
|
542
544
|
username == o.username &&
|
|
543
|
-
|
|
544
|
-
download_concurrency == o.download_concurrency &&
|
|
545
|
-
proxy_url == o.proxy_url &&
|
|
545
|
+
url == o.url &&
|
|
546
546
|
ca_cert == o.ca_cert &&
|
|
547
|
-
|
|
547
|
+
rate_limit == o.rate_limit &&
|
|
548
|
+
proxy_username == o.proxy_username &&
|
|
548
549
|
client_cert == o.client_cert &&
|
|
549
|
-
connect_timeout == o.connect_timeout &&
|
|
550
|
-
sock_read_timeout == o.sock_read_timeout &&
|
|
551
|
-
pulp_labels == o.pulp_labels &&
|
|
552
|
-
password == o.password &&
|
|
553
550
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
554
|
-
|
|
555
|
-
|
|
551
|
+
password == o.password &&
|
|
552
|
+
connect_timeout == o.connect_timeout &&
|
|
553
|
+
name == o.name &&
|
|
554
|
+
proxy_url == o.proxy_url &&
|
|
556
555
|
max_retries == o.max_retries &&
|
|
557
|
-
|
|
558
|
-
tls_validation == o.tls_validation &&
|
|
556
|
+
download_concurrency == o.download_concurrency &&
|
|
559
557
|
proxy_password == o.proxy_password &&
|
|
560
558
|
client_key == o.client_key &&
|
|
561
|
-
|
|
559
|
+
sock_read_timeout == o.sock_read_timeout &&
|
|
560
|
+
pulp_labels == o.pulp_labels &&
|
|
561
|
+
tls_validation == o.tls_validation &&
|
|
562
|
+
headers == o.headers &&
|
|
563
|
+
total_timeout == o.total_timeout &&
|
|
562
564
|
metadata_only == o.metadata_only &&
|
|
563
565
|
git_ref == o.git_ref
|
|
564
566
|
end
|
|
@@ -572,7 +574,7 @@ module PulpAnsibleClient
|
|
|
572
574
|
# Calculates hash code according to all attributes.
|
|
573
575
|
# @return [Integer] Hash code
|
|
574
576
|
def hash
|
|
575
|
-
[username,
|
|
577
|
+
[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
|
|
576
578
|
end
|
|
577
579
|
|
|
578
580
|
# Builds the object from hash
|