pulp_ansible_client 0.26.0 → 0.27.0
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 +10 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/CollectionMetadataResponse.md +1 -1
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/CollectionSummaryResponseTagsInner.md +18 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +32 -18
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +6 -4
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +30 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- 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 +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +10 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
- data/docs/AnsibleTagResponse.md +0 -18
@@ -16,64 +16,64 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for Git Collection Remotes.
|
18
18
|
class AnsibleGitRemote
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
20
|
+
attr_accessor :total_timeout
|
21
21
|
|
22
|
-
# The
|
23
|
-
attr_accessor :
|
22
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
23
|
+
attr_accessor :connect_timeout
|
24
24
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
25
|
+
# Headers for aiohttp.Clientsession
|
26
|
+
attr_accessor :headers
|
27
27
|
|
28
|
-
#
|
29
|
-
attr_accessor :
|
28
|
+
# If True, TLS peer validation must be performed.
|
29
|
+
attr_accessor :tls_validation
|
30
30
|
|
31
|
-
#
|
32
|
-
attr_accessor :
|
31
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
32
|
+
attr_accessor :max_retries
|
33
33
|
|
34
|
-
# The
|
35
|
-
attr_accessor :
|
34
|
+
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
35
|
+
attr_accessor :password
|
36
|
+
|
37
|
+
# A PEM encoded private key used for authentication.
|
38
|
+
attr_accessor :client_key
|
36
39
|
|
37
40
|
# 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.
|
38
41
|
attr_accessor :sock_read_timeout
|
39
42
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
43
|
+
# A PEM encoded client certificate used for authentication.
|
44
|
+
attr_accessor :client_cert
|
42
45
|
|
43
46
|
# The username to authenticte to the proxy.
|
44
47
|
attr_accessor :proxy_username
|
45
48
|
|
46
|
-
#
|
47
|
-
attr_accessor :
|
48
|
-
|
49
|
-
# Headers for aiohttp.Clientsession
|
50
|
-
attr_accessor :headers
|
49
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
50
|
+
attr_accessor :ca_cert
|
51
51
|
|
52
|
-
# The
|
53
|
-
attr_accessor :
|
52
|
+
# The URL of an external content source.
|
53
|
+
attr_accessor :url
|
54
54
|
|
55
55
|
# A unique name for this remote.
|
56
56
|
attr_accessor :name
|
57
57
|
|
58
|
+
# Limits requests per second for each concurrent downloader
|
59
|
+
attr_accessor :rate_limit
|
60
|
+
|
58
61
|
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
59
62
|
attr_accessor :proxy_password
|
60
63
|
|
61
|
-
# aiohttp.ClientTimeout.
|
62
|
-
attr_accessor :
|
64
|
+
# 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.
|
65
|
+
attr_accessor :sock_connect_timeout
|
63
66
|
|
64
67
|
# The username to be used for authentication when syncing.
|
65
68
|
attr_accessor :username
|
66
69
|
|
67
|
-
|
68
|
-
attr_accessor :client_key
|
69
|
-
|
70
|
-
# Limits requests per second for each concurrent downloader
|
71
|
-
attr_accessor :rate_limit
|
70
|
+
attr_accessor :pulp_labels
|
72
71
|
|
73
|
-
#
|
74
|
-
attr_accessor :
|
72
|
+
# The proxy URL. Format: scheme://host:port
|
73
|
+
attr_accessor :proxy_url
|
75
74
|
|
76
|
-
|
75
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
76
|
+
attr_accessor :download_concurrency
|
77
77
|
|
78
78
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
79
79
|
attr_accessor :metadata_only
|
@@ -84,26 +84,26 @@ module PulpAnsibleClient
|
|
84
84
|
# Attribute mapping from ruby-style variable name to JSON key.
|
85
85
|
def self.attribute_map
|
86
86
|
{
|
87
|
-
:'
|
88
|
-
:'url' => :'url',
|
89
|
-
:'client_cert' => :'client_cert',
|
90
|
-
:'download_concurrency' => :'download_concurrency',
|
91
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
92
|
-
:'proxy_url' => :'proxy_url',
|
93
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
87
|
+
:'total_timeout' => :'total_timeout',
|
94
88
|
:'connect_timeout' => :'connect_timeout',
|
95
|
-
:'proxy_username' => :'proxy_username',
|
96
|
-
:'tls_validation' => :'tls_validation',
|
97
89
|
:'headers' => :'headers',
|
90
|
+
:'tls_validation' => :'tls_validation',
|
91
|
+
:'max_retries' => :'max_retries',
|
98
92
|
:'password' => :'password',
|
93
|
+
:'client_key' => :'client_key',
|
94
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
95
|
+
:'client_cert' => :'client_cert',
|
96
|
+
:'proxy_username' => :'proxy_username',
|
97
|
+
:'ca_cert' => :'ca_cert',
|
98
|
+
:'url' => :'url',
|
99
99
|
:'name' => :'name',
|
100
|
+
:'rate_limit' => :'rate_limit',
|
100
101
|
:'proxy_password' => :'proxy_password',
|
101
|
-
:'
|
102
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
102
103
|
:'username' => :'username',
|
103
|
-
:'client_key' => :'client_key',
|
104
|
-
:'rate_limit' => :'rate_limit',
|
105
|
-
:'max_retries' => :'max_retries',
|
106
104
|
:'pulp_labels' => :'pulp_labels',
|
105
|
+
:'proxy_url' => :'proxy_url',
|
106
|
+
:'download_concurrency' => :'download_concurrency',
|
107
107
|
:'metadata_only' => :'metadata_only',
|
108
108
|
:'git_ref' => :'git_ref'
|
109
109
|
}
|
@@ -117,26 +117,26 @@ module PulpAnsibleClient
|
|
117
117
|
# Attribute type mapping.
|
118
118
|
def self.openapi_types
|
119
119
|
{
|
120
|
-
:'
|
121
|
-
:'url' => :'String',
|
122
|
-
:'client_cert' => :'String',
|
123
|
-
:'download_concurrency' => :'Integer',
|
124
|
-
:'sock_connect_timeout' => :'Float',
|
125
|
-
:'proxy_url' => :'String',
|
126
|
-
:'sock_read_timeout' => :'Float',
|
120
|
+
:'total_timeout' => :'Float',
|
127
121
|
:'connect_timeout' => :'Float',
|
128
|
-
:'proxy_username' => :'String',
|
129
|
-
:'tls_validation' => :'Boolean',
|
130
122
|
:'headers' => :'Array<Object>',
|
123
|
+
:'tls_validation' => :'Boolean',
|
124
|
+
:'max_retries' => :'Integer',
|
131
125
|
:'password' => :'String',
|
126
|
+
:'client_key' => :'String',
|
127
|
+
:'sock_read_timeout' => :'Float',
|
128
|
+
:'client_cert' => :'String',
|
129
|
+
:'proxy_username' => :'String',
|
130
|
+
:'ca_cert' => :'String',
|
131
|
+
:'url' => :'String',
|
132
132
|
:'name' => :'String',
|
133
|
+
:'rate_limit' => :'Integer',
|
133
134
|
:'proxy_password' => :'String',
|
134
|
-
:'
|
135
|
+
:'sock_connect_timeout' => :'Float',
|
135
136
|
:'username' => :'String',
|
136
|
-
:'client_key' => :'String',
|
137
|
-
:'rate_limit' => :'Integer',
|
138
|
-
:'max_retries' => :'Integer',
|
139
137
|
:'pulp_labels' => :'Hash<String, String>',
|
138
|
+
:'proxy_url' => :'String',
|
139
|
+
:'download_concurrency' => :'Integer',
|
140
140
|
:'metadata_only' => :'Boolean',
|
141
141
|
:'git_ref' => :'String'
|
142
142
|
}
|
@@ -145,21 +145,21 @@ module PulpAnsibleClient
|
|
145
145
|
# List of attributes with nullable: true
|
146
146
|
def self.openapi_nullable
|
147
147
|
Set.new([
|
148
|
-
:'
|
149
|
-
:'client_cert',
|
150
|
-
:'download_concurrency',
|
151
|
-
:'sock_connect_timeout',
|
152
|
-
:'proxy_url',
|
153
|
-
:'sock_read_timeout',
|
148
|
+
:'total_timeout',
|
154
149
|
:'connect_timeout',
|
155
|
-
:'
|
150
|
+
:'max_retries',
|
156
151
|
:'password',
|
157
|
-
:'proxy_password',
|
158
|
-
:'total_timeout',
|
159
|
-
:'username',
|
160
152
|
:'client_key',
|
153
|
+
:'sock_read_timeout',
|
154
|
+
:'client_cert',
|
155
|
+
:'proxy_username',
|
156
|
+
:'ca_cert',
|
161
157
|
:'rate_limit',
|
162
|
-
:'
|
158
|
+
:'proxy_password',
|
159
|
+
:'sock_connect_timeout',
|
160
|
+
:'username',
|
161
|
+
:'proxy_url',
|
162
|
+
:'download_concurrency',
|
163
163
|
])
|
164
164
|
end
|
165
165
|
|
@@ -178,56 +178,56 @@ module PulpAnsibleClient
|
|
178
178
|
h[k.to_sym] = v
|
179
179
|
}
|
180
180
|
|
181
|
-
if attributes.key?(:'
|
182
|
-
self.
|
181
|
+
if attributes.key?(:'total_timeout')
|
182
|
+
self.total_timeout = attributes[:'total_timeout']
|
183
183
|
end
|
184
184
|
|
185
|
-
if attributes.key?(:'
|
186
|
-
self.
|
187
|
-
else
|
188
|
-
self.url = nil
|
185
|
+
if attributes.key?(:'connect_timeout')
|
186
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
189
187
|
end
|
190
188
|
|
191
|
-
if attributes.key?(:'
|
192
|
-
|
189
|
+
if attributes.key?(:'headers')
|
190
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
191
|
+
self.headers = value
|
192
|
+
end
|
193
193
|
end
|
194
194
|
|
195
|
-
if attributes.key?(:'
|
196
|
-
self.
|
195
|
+
if attributes.key?(:'tls_validation')
|
196
|
+
self.tls_validation = attributes[:'tls_validation']
|
197
197
|
end
|
198
198
|
|
199
|
-
if attributes.key?(:'
|
200
|
-
self.
|
199
|
+
if attributes.key?(:'max_retries')
|
200
|
+
self.max_retries = attributes[:'max_retries']
|
201
201
|
end
|
202
202
|
|
203
|
-
if attributes.key?(:'
|
204
|
-
self.
|
203
|
+
if attributes.key?(:'password')
|
204
|
+
self.password = attributes[:'password']
|
205
|
+
end
|
206
|
+
|
207
|
+
if attributes.key?(:'client_key')
|
208
|
+
self.client_key = attributes[:'client_key']
|
205
209
|
end
|
206
210
|
|
207
211
|
if attributes.key?(:'sock_read_timeout')
|
208
212
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
209
213
|
end
|
210
214
|
|
211
|
-
if attributes.key?(:'
|
212
|
-
self.
|
215
|
+
if attributes.key?(:'client_cert')
|
216
|
+
self.client_cert = attributes[:'client_cert']
|
213
217
|
end
|
214
218
|
|
215
219
|
if attributes.key?(:'proxy_username')
|
216
220
|
self.proxy_username = attributes[:'proxy_username']
|
217
221
|
end
|
218
222
|
|
219
|
-
if attributes.key?(:'
|
220
|
-
self.
|
221
|
-
end
|
222
|
-
|
223
|
-
if attributes.key?(:'headers')
|
224
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
225
|
-
self.headers = value
|
226
|
-
end
|
223
|
+
if attributes.key?(:'ca_cert')
|
224
|
+
self.ca_cert = attributes[:'ca_cert']
|
227
225
|
end
|
228
226
|
|
229
|
-
if attributes.key?(:'
|
230
|
-
self.
|
227
|
+
if attributes.key?(:'url')
|
228
|
+
self.url = attributes[:'url']
|
229
|
+
else
|
230
|
+
self.url = nil
|
231
231
|
end
|
232
232
|
|
233
233
|
if attributes.key?(:'name')
|
@@ -236,36 +236,36 @@ module PulpAnsibleClient
|
|
236
236
|
self.name = nil
|
237
237
|
end
|
238
238
|
|
239
|
+
if attributes.key?(:'rate_limit')
|
240
|
+
self.rate_limit = attributes[:'rate_limit']
|
241
|
+
end
|
242
|
+
|
239
243
|
if attributes.key?(:'proxy_password')
|
240
244
|
self.proxy_password = attributes[:'proxy_password']
|
241
245
|
end
|
242
246
|
|
243
|
-
if attributes.key?(:'
|
244
|
-
self.
|
247
|
+
if attributes.key?(:'sock_connect_timeout')
|
248
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
245
249
|
end
|
246
250
|
|
247
251
|
if attributes.key?(:'username')
|
248
252
|
self.username = attributes[:'username']
|
249
253
|
end
|
250
254
|
|
251
|
-
if attributes.key?(:'client_key')
|
252
|
-
self.client_key = attributes[:'client_key']
|
253
|
-
end
|
254
|
-
|
255
|
-
if attributes.key?(:'rate_limit')
|
256
|
-
self.rate_limit = attributes[:'rate_limit']
|
257
|
-
end
|
258
|
-
|
259
|
-
if attributes.key?(:'max_retries')
|
260
|
-
self.max_retries = attributes[:'max_retries']
|
261
|
-
end
|
262
|
-
|
263
255
|
if attributes.key?(:'pulp_labels')
|
264
256
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
265
257
|
self.pulp_labels = value
|
266
258
|
end
|
267
259
|
end
|
268
260
|
|
261
|
+
if attributes.key?(:'proxy_url')
|
262
|
+
self.proxy_url = attributes[:'proxy_url']
|
263
|
+
end
|
264
|
+
|
265
|
+
if attributes.key?(:'download_concurrency')
|
266
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
267
|
+
end
|
268
|
+
|
269
269
|
if attributes.key?(:'metadata_only')
|
270
270
|
self.metadata_only = attributes[:'metadata_only']
|
271
271
|
end
|
@@ -280,48 +280,44 @@ module PulpAnsibleClient
|
|
280
280
|
def list_invalid_properties
|
281
281
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
282
282
|
invalid_properties = Array.new
|
283
|
-
if !@
|
284
|
-
invalid_properties.push('invalid value for "
|
285
|
-
end
|
286
|
-
|
287
|
-
if @url.nil?
|
288
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
289
|
-
end
|
290
|
-
|
291
|
-
if @url.to_s.length < 1
|
292
|
-
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
293
|
-
end
|
294
|
-
|
295
|
-
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
296
|
-
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
283
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
284
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
297
285
|
end
|
298
286
|
|
299
|
-
if !@
|
300
|
-
invalid_properties.push('invalid value for "
|
287
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
288
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
301
289
|
end
|
302
290
|
|
303
|
-
if !@
|
304
|
-
invalid_properties.push('invalid value for "
|
291
|
+
if !@password.nil? && @password.to_s.length < 1
|
292
|
+
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
305
293
|
end
|
306
294
|
|
307
|
-
if !@
|
308
|
-
invalid_properties.push('invalid value for "
|
295
|
+
if !@client_key.nil? && @client_key.to_s.length < 1
|
296
|
+
invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
|
309
297
|
end
|
310
298
|
|
311
299
|
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
312
300
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
313
301
|
end
|
314
302
|
|
315
|
-
if !@
|
316
|
-
invalid_properties.push('invalid value for "
|
303
|
+
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
304
|
+
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
317
305
|
end
|
318
306
|
|
319
307
|
if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
320
308
|
invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
|
321
309
|
end
|
322
310
|
|
323
|
-
if !@
|
324
|
-
invalid_properties.push('invalid value for "
|
311
|
+
if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
312
|
+
invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
|
313
|
+
end
|
314
|
+
|
315
|
+
if @url.nil?
|
316
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
317
|
+
end
|
318
|
+
|
319
|
+
if @url.to_s.length < 1
|
320
|
+
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
325
321
|
end
|
326
322
|
|
327
323
|
if @name.nil?
|
@@ -336,16 +332,20 @@ module PulpAnsibleClient
|
|
336
332
|
invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
|
337
333
|
end
|
338
334
|
|
339
|
-
if !@
|
340
|
-
invalid_properties.push('invalid value for "
|
335
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
336
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
341
337
|
end
|
342
338
|
|
343
339
|
if !@username.nil? && @username.to_s.length < 1
|
344
340
|
invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
|
345
341
|
end
|
346
342
|
|
347
|
-
if !@
|
348
|
-
invalid_properties.push('invalid value for "
|
343
|
+
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
344
|
+
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
345
|
+
end
|
346
|
+
|
347
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
348
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
349
349
|
end
|
350
350
|
|
351
351
|
if !@git_ref.nil? && @git_ref.to_s.length < 1
|
@@ -359,89 +359,65 @@ module PulpAnsibleClient
|
|
359
359
|
# @return true if the model is valid
|
360
360
|
def valid?
|
361
361
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
362
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
363
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
364
|
+
return false if !@password.nil? && @password.to_s.length < 1
|
365
|
+
return false if !@client_key.nil? && @client_key.to_s.length < 1
|
366
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
367
|
+
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
368
|
+
return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
362
369
|
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
363
370
|
return false if @url.nil?
|
364
371
|
return false if @url.to_s.length < 1
|
365
|
-
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
366
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
367
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
368
|
-
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
369
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
370
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
371
|
-
return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
372
|
-
return false if !@password.nil? && @password.to_s.length < 1
|
373
372
|
return false if @name.nil?
|
374
373
|
return false if @name.to_s.length < 1
|
375
374
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
376
|
-
return false if !@
|
375
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
377
376
|
return false if !@username.nil? && @username.to_s.length < 1
|
378
|
-
return false if !@
|
377
|
+
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
378
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
379
379
|
return false if !@git_ref.nil? && @git_ref.to_s.length < 1
|
380
380
|
true
|
381
381
|
end
|
382
382
|
|
383
383
|
# Custom attribute writer method with validation
|
384
|
-
# @param [Object]
|
385
|
-
def
|
386
|
-
if !
|
387
|
-
fail ArgumentError, 'invalid value for "
|
388
|
-
end
|
389
|
-
|
390
|
-
@ca_cert = ca_cert
|
391
|
-
end
|
392
|
-
|
393
|
-
# Custom attribute writer method with validation
|
394
|
-
# @param [Object] url Value to be assigned
|
395
|
-
def url=(url)
|
396
|
-
if url.nil?
|
397
|
-
fail ArgumentError, 'url cannot be nil'
|
398
|
-
end
|
399
|
-
|
400
|
-
if url.to_s.length < 1
|
401
|
-
fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
|
402
|
-
end
|
403
|
-
|
404
|
-
@url = url
|
405
|
-
end
|
406
|
-
|
407
|
-
# Custom attribute writer method with validation
|
408
|
-
# @param [Object] client_cert Value to be assigned
|
409
|
-
def client_cert=(client_cert)
|
410
|
-
if !client_cert.nil? && client_cert.to_s.length < 1
|
411
|
-
fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
|
384
|
+
# @param [Object] total_timeout Value to be assigned
|
385
|
+
def total_timeout=(total_timeout)
|
386
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
387
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
412
388
|
end
|
413
389
|
|
414
|
-
@
|
390
|
+
@total_timeout = total_timeout
|
415
391
|
end
|
416
392
|
|
417
393
|
# Custom attribute writer method with validation
|
418
|
-
# @param [Object]
|
419
|
-
def
|
420
|
-
if !
|
421
|
-
fail ArgumentError, 'invalid value for "
|
394
|
+
# @param [Object] connect_timeout Value to be assigned
|
395
|
+
def connect_timeout=(connect_timeout)
|
396
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
397
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
422
398
|
end
|
423
399
|
|
424
|
-
@
|
400
|
+
@connect_timeout = connect_timeout
|
425
401
|
end
|
426
402
|
|
427
403
|
# Custom attribute writer method with validation
|
428
|
-
# @param [Object]
|
429
|
-
def
|
430
|
-
if !
|
431
|
-
fail ArgumentError, 'invalid value for "
|
404
|
+
# @param [Object] password Value to be assigned
|
405
|
+
def password=(password)
|
406
|
+
if !password.nil? && password.to_s.length < 1
|
407
|
+
fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
|
432
408
|
end
|
433
409
|
|
434
|
-
@
|
410
|
+
@password = password
|
435
411
|
end
|
436
412
|
|
437
413
|
# Custom attribute writer method with validation
|
438
|
-
# @param [Object]
|
439
|
-
def
|
440
|
-
if !
|
441
|
-
fail ArgumentError, 'invalid value for "
|
414
|
+
# @param [Object] client_key Value to be assigned
|
415
|
+
def client_key=(client_key)
|
416
|
+
if !client_key.nil? && client_key.to_s.length < 1
|
417
|
+
fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
|
442
418
|
end
|
443
419
|
|
444
|
-
@
|
420
|
+
@client_key = client_key
|
445
421
|
end
|
446
422
|
|
447
423
|
# Custom attribute writer method with validation
|
@@ -455,13 +431,13 @@ module PulpAnsibleClient
|
|
455
431
|
end
|
456
432
|
|
457
433
|
# Custom attribute writer method with validation
|
458
|
-
# @param [Object]
|
459
|
-
def
|
460
|
-
if !
|
461
|
-
fail ArgumentError, 'invalid value for "
|
434
|
+
# @param [Object] client_cert Value to be assigned
|
435
|
+
def client_cert=(client_cert)
|
436
|
+
if !client_cert.nil? && client_cert.to_s.length < 1
|
437
|
+
fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
|
462
438
|
end
|
463
439
|
|
464
|
-
@
|
440
|
+
@client_cert = client_cert
|
465
441
|
end
|
466
442
|
|
467
443
|
# Custom attribute writer method with validation
|
@@ -475,13 +451,27 @@ module PulpAnsibleClient
|
|
475
451
|
end
|
476
452
|
|
477
453
|
# Custom attribute writer method with validation
|
478
|
-
# @param [Object]
|
479
|
-
def
|
480
|
-
if !
|
481
|
-
fail ArgumentError, 'invalid value for "
|
454
|
+
# @param [Object] ca_cert Value to be assigned
|
455
|
+
def ca_cert=(ca_cert)
|
456
|
+
if !ca_cert.nil? && ca_cert.to_s.length < 1
|
457
|
+
fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
|
482
458
|
end
|
483
459
|
|
484
|
-
@
|
460
|
+
@ca_cert = ca_cert
|
461
|
+
end
|
462
|
+
|
463
|
+
# Custom attribute writer method with validation
|
464
|
+
# @param [Object] url Value to be assigned
|
465
|
+
def url=(url)
|
466
|
+
if url.nil?
|
467
|
+
fail ArgumentError, 'url cannot be nil'
|
468
|
+
end
|
469
|
+
|
470
|
+
if url.to_s.length < 1
|
471
|
+
fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
|
472
|
+
end
|
473
|
+
|
474
|
+
@url = url
|
485
475
|
end
|
486
476
|
|
487
477
|
# Custom attribute writer method with validation
|
@@ -509,13 +499,13 @@ module PulpAnsibleClient
|
|
509
499
|
end
|
510
500
|
|
511
501
|
# Custom attribute writer method with validation
|
512
|
-
# @param [Object]
|
513
|
-
def
|
514
|
-
if !
|
515
|
-
fail ArgumentError, 'invalid value for "
|
502
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
503
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
504
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
505
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
516
506
|
end
|
517
507
|
|
518
|
-
@
|
508
|
+
@sock_connect_timeout = sock_connect_timeout
|
519
509
|
end
|
520
510
|
|
521
511
|
# Custom attribute writer method with validation
|
@@ -529,13 +519,23 @@ module PulpAnsibleClient
|
|
529
519
|
end
|
530
520
|
|
531
521
|
# Custom attribute writer method with validation
|
532
|
-
# @param [Object]
|
533
|
-
def
|
534
|
-
if !
|
535
|
-
fail ArgumentError, 'invalid value for "
|
522
|
+
# @param [Object] proxy_url Value to be assigned
|
523
|
+
def proxy_url=(proxy_url)
|
524
|
+
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
525
|
+
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
536
526
|
end
|
537
527
|
|
538
|
-
@
|
528
|
+
@proxy_url = proxy_url
|
529
|
+
end
|
530
|
+
|
531
|
+
# Custom attribute writer method with validation
|
532
|
+
# @param [Object] download_concurrency Value to be assigned
|
533
|
+
def download_concurrency=(download_concurrency)
|
534
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
535
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
536
|
+
end
|
537
|
+
|
538
|
+
@download_concurrency = download_concurrency
|
539
539
|
end
|
540
540
|
|
541
541
|
# Custom attribute writer method with validation
|
@@ -557,26 +557,26 @@ module PulpAnsibleClient
|
|
557
557
|
def ==(o)
|
558
558
|
return true if self.equal?(o)
|
559
559
|
self.class == o.class &&
|
560
|
-
|
561
|
-
url == o.url &&
|
562
|
-
client_cert == o.client_cert &&
|
563
|
-
download_concurrency == o.download_concurrency &&
|
564
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
565
|
-
proxy_url == o.proxy_url &&
|
566
|
-
sock_read_timeout == o.sock_read_timeout &&
|
560
|
+
total_timeout == o.total_timeout &&
|
567
561
|
connect_timeout == o.connect_timeout &&
|
568
|
-
proxy_username == o.proxy_username &&
|
569
|
-
tls_validation == o.tls_validation &&
|
570
562
|
headers == o.headers &&
|
563
|
+
tls_validation == o.tls_validation &&
|
564
|
+
max_retries == o.max_retries &&
|
571
565
|
password == o.password &&
|
566
|
+
client_key == o.client_key &&
|
567
|
+
sock_read_timeout == o.sock_read_timeout &&
|
568
|
+
client_cert == o.client_cert &&
|
569
|
+
proxy_username == o.proxy_username &&
|
570
|
+
ca_cert == o.ca_cert &&
|
571
|
+
url == o.url &&
|
572
572
|
name == o.name &&
|
573
|
+
rate_limit == o.rate_limit &&
|
573
574
|
proxy_password == o.proxy_password &&
|
574
|
-
|
575
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
575
576
|
username == o.username &&
|
576
|
-
client_key == o.client_key &&
|
577
|
-
rate_limit == o.rate_limit &&
|
578
|
-
max_retries == o.max_retries &&
|
579
577
|
pulp_labels == o.pulp_labels &&
|
578
|
+
proxy_url == o.proxy_url &&
|
579
|
+
download_concurrency == o.download_concurrency &&
|
580
580
|
metadata_only == o.metadata_only &&
|
581
581
|
git_ref == o.git_ref
|
582
582
|
end
|
@@ -590,7 +590,7 @@ module PulpAnsibleClient
|
|
590
590
|
# Calculates hash code according to all attributes.
|
591
591
|
# @return [Integer] Hash code
|
592
592
|
def hash
|
593
|
-
[
|
593
|
+
[total_timeout, connect_timeout, headers, tls_validation, max_retries, password, client_key, sock_read_timeout, client_cert, proxy_username, ca_cert, url, name, rate_limit, proxy_password, sock_connect_timeout, username, pulp_labels, proxy_url, download_concurrency, metadata_only, git_ref].hash
|
594
594
|
end
|
595
595
|
|
596
596
|
# Builds the object from hash
|