pulp_ansible_client 0.25.1 → 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 +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +4 -4
- 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 +30 -16
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +30 -30
- 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/TagResponse.md +1 -1
- 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 +27 -12
- 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 +28 -28
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +255 -255
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
- data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- 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 +246 -246
- data/lib/pulp_ansible_client/models/tag_response.rb +2 -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 +9 -4
- 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 +6 -6
- 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 +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- 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 +131 -131
- 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 :
|
21
|
-
|
22
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
23
|
-
attr_accessor :max_retries
|
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
|
24
21
|
|
25
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.
|
26
23
|
attr_accessor :connect_timeout
|
27
24
|
|
28
|
-
#
|
29
|
-
attr_accessor :
|
25
|
+
# Headers for aiohttp.Clientsession
|
26
|
+
attr_accessor :headers
|
30
27
|
|
31
28
|
# If True, TLS peer validation must be performed.
|
32
29
|
attr_accessor :tls_validation
|
33
30
|
|
34
|
-
#
|
35
|
-
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
|
36
33
|
|
37
|
-
#
|
38
|
-
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
|
39
36
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
37
|
+
# A PEM encoded private key used for authentication.
|
38
|
+
attr_accessor :client_key
|
42
39
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
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.
|
41
|
+
attr_accessor :sock_read_timeout
|
45
42
|
|
46
|
-
|
43
|
+
# A PEM encoded client certificate used for authentication.
|
44
|
+
attr_accessor :client_cert
|
47
45
|
|
48
|
-
#
|
49
|
-
attr_accessor :
|
46
|
+
# The username to authenticte to the proxy.
|
47
|
+
attr_accessor :proxy_username
|
50
48
|
|
51
|
-
#
|
52
|
-
attr_accessor :
|
49
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
50
|
+
attr_accessor :ca_cert
|
53
51
|
|
54
|
-
# The
|
55
|
-
attr_accessor :
|
52
|
+
# The URL of an external content source.
|
53
|
+
attr_accessor :url
|
56
54
|
|
57
|
-
#
|
58
|
-
attr_accessor :
|
55
|
+
# A unique name for this remote.
|
56
|
+
attr_accessor :name
|
59
57
|
|
60
|
-
#
|
61
|
-
attr_accessor :
|
58
|
+
# Limits requests per second for each concurrent downloader
|
59
|
+
attr_accessor :rate_limit
|
60
|
+
|
61
|
+
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
62
|
+
attr_accessor :proxy_password
|
62
63
|
|
63
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.
|
64
65
|
attr_accessor :sock_connect_timeout
|
65
66
|
|
66
|
-
#
|
67
|
-
attr_accessor :
|
67
|
+
# The username to be used for authentication when syncing.
|
68
|
+
attr_accessor :username
|
68
69
|
|
69
|
-
|
70
|
-
attr_accessor :name
|
70
|
+
attr_accessor :pulp_labels
|
71
71
|
|
72
|
-
#
|
73
|
-
attr_accessor :
|
72
|
+
# The proxy URL. Format: scheme://host:port
|
73
|
+
attr_accessor :proxy_url
|
74
74
|
|
75
|
-
#
|
76
|
-
attr_accessor :
|
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
|
-
:'max_retries' => :'max_retries',
|
87
|
+
:'total_timeout' => :'total_timeout',
|
89
88
|
:'connect_timeout' => :'connect_timeout',
|
90
|
-
:'rate_limit' => :'rate_limit',
|
91
|
-
:'tls_validation' => :'tls_validation',
|
92
|
-
:'download_concurrency' => :'download_concurrency',
|
93
89
|
:'headers' => :'headers',
|
94
|
-
:'
|
95
|
-
:'
|
96
|
-
:'
|
97
|
-
:'
|
90
|
+
:'tls_validation' => :'tls_validation',
|
91
|
+
:'max_retries' => :'max_retries',
|
92
|
+
:'password' => :'password',
|
93
|
+
:'client_key' => :'client_key',
|
98
94
|
:'sock_read_timeout' => :'sock_read_timeout',
|
99
|
-
:'proxy_password' => :'proxy_password',
|
100
|
-
:'username' => :'username',
|
101
95
|
:'client_cert' => :'client_cert',
|
102
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
103
|
-
:'client_key' => :'client_key',
|
104
|
-
:'name' => :'name',
|
105
|
-
:'ca_cert' => :'ca_cert',
|
106
96
|
:'proxy_username' => :'proxy_username',
|
97
|
+
:'ca_cert' => :'ca_cert',
|
98
|
+
:'url' => :'url',
|
99
|
+
:'name' => :'name',
|
100
|
+
:'rate_limit' => :'rate_limit',
|
101
|
+
:'proxy_password' => :'proxy_password',
|
102
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
103
|
+
:'username' => :'username',
|
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
|
-
:'max_retries' => :'Integer',
|
120
|
+
:'total_timeout' => :'Float',
|
122
121
|
:'connect_timeout' => :'Float',
|
123
|
-
:'rate_limit' => :'Integer',
|
124
|
-
:'tls_validation' => :'Boolean',
|
125
|
-
:'download_concurrency' => :'Integer',
|
126
122
|
:'headers' => :'Array<Object>',
|
127
|
-
:'
|
128
|
-
:'
|
129
|
-
:'
|
130
|
-
:'
|
123
|
+
:'tls_validation' => :'Boolean',
|
124
|
+
:'max_retries' => :'Integer',
|
125
|
+
:'password' => :'String',
|
126
|
+
:'client_key' => :'String',
|
131
127
|
:'sock_read_timeout' => :'Float',
|
132
|
-
:'proxy_password' => :'String',
|
133
|
-
:'username' => :'String',
|
134
128
|
:'client_cert' => :'String',
|
135
|
-
:'sock_connect_timeout' => :'Float',
|
136
|
-
:'client_key' => :'String',
|
137
|
-
:'name' => :'String',
|
138
|
-
:'ca_cert' => :'String',
|
139
129
|
:'proxy_username' => :'String',
|
130
|
+
:'ca_cert' => :'String',
|
131
|
+
:'url' => :'String',
|
132
|
+
:'name' => :'String',
|
133
|
+
:'rate_limit' => :'Integer',
|
134
|
+
:'proxy_password' => :'String',
|
135
|
+
:'sock_connect_timeout' => :'Float',
|
136
|
+
:'username' => :'String',
|
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
|
-
:'password',
|
149
|
-
:'max_retries',
|
150
|
-
:'connect_timeout',
|
151
|
-
:'rate_limit',
|
152
|
-
:'download_concurrency',
|
153
|
-
:'proxy_url',
|
154
148
|
:'total_timeout',
|
149
|
+
:'connect_timeout',
|
150
|
+
:'max_retries',
|
151
|
+
:'password',
|
152
|
+
:'client_key',
|
155
153
|
:'sock_read_timeout',
|
156
|
-
:'proxy_password',
|
157
|
-
:'username',
|
158
154
|
:'client_cert',
|
159
|
-
:'sock_connect_timeout',
|
160
|
-
:'client_key',
|
161
|
-
:'ca_cert',
|
162
155
|
:'proxy_username',
|
156
|
+
:'ca_cert',
|
157
|
+
:'rate_limit',
|
158
|
+
:'proxy_password',
|
159
|
+
:'sock_connect_timeout',
|
160
|
+
:'username',
|
161
|
+
:'proxy_url',
|
162
|
+
:'download_concurrency',
|
163
163
|
])
|
164
164
|
end
|
165
165
|
|
@@ -178,92 +178,92 @@ module PulpAnsibleClient
|
|
178
178
|
h[k.to_sym] = v
|
179
179
|
}
|
180
180
|
|
181
|
-
if attributes.key?(:'
|
182
|
-
self.
|
183
|
-
end
|
184
|
-
|
185
|
-
if attributes.key?(:'max_retries')
|
186
|
-
self.max_retries = attributes[:'max_retries']
|
181
|
+
if attributes.key?(:'total_timeout')
|
182
|
+
self.total_timeout = attributes[:'total_timeout']
|
187
183
|
end
|
188
184
|
|
189
185
|
if attributes.key?(:'connect_timeout')
|
190
186
|
self.connect_timeout = attributes[:'connect_timeout']
|
191
187
|
end
|
192
188
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
|
189
|
+
if attributes.key?(:'headers')
|
190
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
191
|
+
self.headers = value
|
192
|
+
end
|
195
193
|
end
|
196
194
|
|
197
195
|
if attributes.key?(:'tls_validation')
|
198
196
|
self.tls_validation = attributes[:'tls_validation']
|
199
197
|
end
|
200
198
|
|
201
|
-
if attributes.key?(:'
|
202
|
-
self.
|
199
|
+
if attributes.key?(:'max_retries')
|
200
|
+
self.max_retries = attributes[:'max_retries']
|
203
201
|
end
|
204
202
|
|
205
|
-
if attributes.key?(:'
|
206
|
-
|
207
|
-
self.headers = value
|
208
|
-
end
|
203
|
+
if attributes.key?(:'password')
|
204
|
+
self.password = attributes[:'password']
|
209
205
|
end
|
210
206
|
|
211
|
-
if attributes.key?(:'
|
212
|
-
self.
|
213
|
-
else
|
214
|
-
self.url = nil
|
207
|
+
if attributes.key?(:'client_key')
|
208
|
+
self.client_key = attributes[:'client_key']
|
215
209
|
end
|
216
210
|
|
217
|
-
if attributes.key?(:'
|
218
|
-
self.
|
211
|
+
if attributes.key?(:'sock_read_timeout')
|
212
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
219
213
|
end
|
220
214
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
|
223
|
-
self.pulp_labels = value
|
224
|
-
end
|
215
|
+
if attributes.key?(:'client_cert')
|
216
|
+
self.client_cert = attributes[:'client_cert']
|
225
217
|
end
|
226
218
|
|
227
|
-
if attributes.key?(:'
|
228
|
-
self.
|
219
|
+
if attributes.key?(:'proxy_username')
|
220
|
+
self.proxy_username = attributes[:'proxy_username']
|
229
221
|
end
|
230
222
|
|
231
|
-
if attributes.key?(:'
|
232
|
-
self.
|
223
|
+
if attributes.key?(:'ca_cert')
|
224
|
+
self.ca_cert = attributes[:'ca_cert']
|
233
225
|
end
|
234
226
|
|
235
|
-
if attributes.key?(:'
|
236
|
-
self.
|
227
|
+
if attributes.key?(:'url')
|
228
|
+
self.url = attributes[:'url']
|
229
|
+
else
|
230
|
+
self.url = nil
|
237
231
|
end
|
238
232
|
|
239
|
-
if attributes.key?(:'
|
240
|
-
self.
|
233
|
+
if attributes.key?(:'name')
|
234
|
+
self.name = attributes[:'name']
|
235
|
+
else
|
236
|
+
self.name = nil
|
241
237
|
end
|
242
238
|
|
243
|
-
if attributes.key?(:'
|
244
|
-
self.
|
239
|
+
if attributes.key?(:'rate_limit')
|
240
|
+
self.rate_limit = attributes[:'rate_limit']
|
241
|
+
end
|
242
|
+
|
243
|
+
if attributes.key?(:'proxy_password')
|
244
|
+
self.proxy_password = attributes[:'proxy_password']
|
245
245
|
end
|
246
246
|
|
247
247
|
if attributes.key?(:'sock_connect_timeout')
|
248
248
|
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
249
249
|
end
|
250
250
|
|
251
|
-
if attributes.key?(:'
|
252
|
-
self.
|
251
|
+
if attributes.key?(:'username')
|
252
|
+
self.username = attributes[:'username']
|
253
253
|
end
|
254
254
|
|
255
|
-
if attributes.key?(:'
|
256
|
-
|
257
|
-
|
258
|
-
|
255
|
+
if attributes.key?(:'pulp_labels')
|
256
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
257
|
+
self.pulp_labels = value
|
258
|
+
end
|
259
259
|
end
|
260
260
|
|
261
|
-
if attributes.key?(:'
|
262
|
-
self.
|
261
|
+
if attributes.key?(:'proxy_url')
|
262
|
+
self.proxy_url = attributes[:'proxy_url']
|
263
263
|
end
|
264
264
|
|
265
|
-
if attributes.key?(:'
|
266
|
-
self.
|
265
|
+
if attributes.key?(:'download_concurrency')
|
266
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
267
267
|
end
|
268
268
|
|
269
269
|
if attributes.key?(:'metadata_only')
|
@@ -280,56 +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 "
|
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.')
|
285
285
|
end
|
286
286
|
|
287
287
|
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
288
288
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
289
289
|
end
|
290
290
|
|
291
|
-
if !@
|
292
|
-
invalid_properties.push('invalid value for "
|
293
|
-
end
|
294
|
-
|
295
|
-
if @url.nil?
|
296
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
297
|
-
end
|
298
|
-
|
299
|
-
if @url.to_s.length < 1
|
300
|
-
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
301
|
-
end
|
302
|
-
|
303
|
-
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
304
|
-
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
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
|
-
if !@
|
320
|
-
invalid_properties.push('invalid value for "
|
307
|
+
if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
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.')
|
325
313
|
end
|
326
314
|
|
327
|
-
if
|
328
|
-
invalid_properties.push('invalid value for "
|
315
|
+
if @url.nil?
|
316
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
329
317
|
end
|
330
318
|
|
331
|
-
if
|
332
|
-
invalid_properties.push('invalid value for "
|
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.')
|
333
321
|
end
|
334
322
|
|
335
323
|
if @name.nil?
|
@@ -340,12 +328,24 @@ module PulpAnsibleClient
|
|
340
328
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
341
329
|
end
|
342
330
|
|
343
|
-
if !@
|
344
|
-
invalid_properties.push('invalid value for "
|
331
|
+
if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
332
|
+
invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
|
345
333
|
end
|
346
334
|
|
347
|
-
if !@
|
348
|
-
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.')
|
337
|
+
end
|
338
|
+
|
339
|
+
if !@username.nil? && @username.to_s.length < 1
|
340
|
+
invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
|
341
|
+
end
|
342
|
+
|
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,35 +359,35 @@ 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 !@password.nil? && @password.to_s.length < 1
|
363
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
364
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
365
|
-
return false if @url.nil?
|
366
|
-
return false if @url.to_s.length < 1
|
367
|
-
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
368
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
|
369
366
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
370
|
-
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
371
|
-
return false if !@username.nil? && @username.to_s.length < 1
|
372
367
|
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
373
|
-
return false if !@
|
374
|
-
return false if !@
|
368
|
+
return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
369
|
+
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
370
|
+
return false if @url.nil?
|
371
|
+
return false if @url.to_s.length < 1
|
375
372
|
return false if @name.nil?
|
376
373
|
return false if @name.to_s.length < 1
|
377
|
-
return false if !@
|
378
|
-
return false if !@
|
374
|
+
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
375
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
376
|
+
return false if !@username.nil? && @username.to_s.length < 1
|
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 "
|
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.'
|
388
388
|
end
|
389
389
|
|
390
|
-
@
|
390
|
+
@total_timeout = total_timeout
|
391
391
|
end
|
392
392
|
|
393
393
|
# Custom attribute writer method with validation
|
@@ -401,87 +401,101 @@ module PulpAnsibleClient
|
|
401
401
|
end
|
402
402
|
|
403
403
|
# Custom attribute writer method with validation
|
404
|
-
# @param [Object]
|
405
|
-
def
|
406
|
-
if !
|
407
|
-
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.'
|
408
408
|
end
|
409
409
|
|
410
|
-
@
|
410
|
+
@password = password
|
411
411
|
end
|
412
412
|
|
413
413
|
# Custom attribute writer method with validation
|
414
|
-
# @param [Object]
|
415
|
-
def
|
416
|
-
if
|
417
|
-
fail ArgumentError, '
|
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.'
|
418
418
|
end
|
419
419
|
|
420
|
-
|
421
|
-
|
420
|
+
@client_key = client_key
|
421
|
+
end
|
422
|
+
|
423
|
+
# Custom attribute writer method with validation
|
424
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
425
|
+
def sock_read_timeout=(sock_read_timeout)
|
426
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
427
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
422
428
|
end
|
423
429
|
|
424
|
-
@
|
430
|
+
@sock_read_timeout = sock_read_timeout
|
425
431
|
end
|
426
432
|
|
427
433
|
# Custom attribute writer method with validation
|
428
|
-
# @param [Object]
|
429
|
-
def
|
430
|
-
if !
|
431
|
-
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.'
|
432
438
|
end
|
433
439
|
|
434
|
-
@
|
440
|
+
@client_cert = client_cert
|
435
441
|
end
|
436
442
|
|
437
443
|
# Custom attribute writer method with validation
|
438
|
-
# @param [Object]
|
439
|
-
def
|
440
|
-
if !
|
441
|
-
fail ArgumentError, 'invalid value for "
|
444
|
+
# @param [Object] proxy_username Value to be assigned
|
445
|
+
def proxy_username=(proxy_username)
|
446
|
+
if !proxy_username.nil? && proxy_username.to_s.length < 1
|
447
|
+
fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
|
442
448
|
end
|
443
449
|
|
444
|
-
@
|
450
|
+
@proxy_username = proxy_username
|
445
451
|
end
|
446
452
|
|
447
453
|
# Custom attribute writer method with validation
|
448
|
-
# @param [Object]
|
449
|
-
def
|
450
|
-
if !
|
451
|
-
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.'
|
452
458
|
end
|
453
459
|
|
454
|
-
@
|
460
|
+
@ca_cert = ca_cert
|
455
461
|
end
|
456
462
|
|
457
463
|
# Custom attribute writer method with validation
|
458
|
-
# @param [Object]
|
459
|
-
def
|
460
|
-
if
|
461
|
-
fail ArgumentError, '
|
464
|
+
# @param [Object] url Value to be assigned
|
465
|
+
def url=(url)
|
466
|
+
if url.nil?
|
467
|
+
fail ArgumentError, 'url cannot be nil'
|
462
468
|
end
|
463
469
|
|
464
|
-
|
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
|
465
475
|
end
|
466
476
|
|
467
477
|
# Custom attribute writer method with validation
|
468
|
-
# @param [Object]
|
469
|
-
def
|
470
|
-
if
|
471
|
-
fail ArgumentError, '
|
478
|
+
# @param [Object] name Value to be assigned
|
479
|
+
def name=(name)
|
480
|
+
if name.nil?
|
481
|
+
fail ArgumentError, 'name cannot be nil'
|
472
482
|
end
|
473
483
|
|
474
|
-
|
484
|
+
if name.to_s.length < 1
|
485
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
486
|
+
end
|
487
|
+
|
488
|
+
@name = name
|
475
489
|
end
|
476
490
|
|
477
491
|
# Custom attribute writer method with validation
|
478
|
-
# @param [Object]
|
479
|
-
def
|
480
|
-
if !
|
481
|
-
fail ArgumentError, 'invalid value for "
|
492
|
+
# @param [Object] proxy_password Value to be assigned
|
493
|
+
def proxy_password=(proxy_password)
|
494
|
+
if !proxy_password.nil? && proxy_password.to_s.length < 1
|
495
|
+
fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
|
482
496
|
end
|
483
497
|
|
484
|
-
@
|
498
|
+
@proxy_password = proxy_password
|
485
499
|
end
|
486
500
|
|
487
501
|
# Custom attribute writer method with validation
|
@@ -495,47 +509,33 @@ module PulpAnsibleClient
|
|
495
509
|
end
|
496
510
|
|
497
511
|
# Custom attribute writer method with validation
|
498
|
-
# @param [Object]
|
499
|
-
def
|
500
|
-
if !
|
501
|
-
fail ArgumentError, 'invalid value for "
|
502
|
-
end
|
503
|
-
|
504
|
-
@client_key = client_key
|
505
|
-
end
|
506
|
-
|
507
|
-
# Custom attribute writer method with validation
|
508
|
-
# @param [Object] name Value to be assigned
|
509
|
-
def name=(name)
|
510
|
-
if name.nil?
|
511
|
-
fail ArgumentError, 'name cannot be nil'
|
512
|
-
end
|
513
|
-
|
514
|
-
if name.to_s.length < 1
|
515
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
512
|
+
# @param [Object] username Value to be assigned
|
513
|
+
def username=(username)
|
514
|
+
if !username.nil? && username.to_s.length < 1
|
515
|
+
fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
|
516
516
|
end
|
517
517
|
|
518
|
-
@
|
518
|
+
@username = username
|
519
519
|
end
|
520
520
|
|
521
521
|
# Custom attribute writer method with validation
|
522
|
-
# @param [Object]
|
523
|
-
def
|
524
|
-
if !
|
525
|
-
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.'
|
526
526
|
end
|
527
527
|
|
528
|
-
@
|
528
|
+
@proxy_url = proxy_url
|
529
529
|
end
|
530
530
|
|
531
531
|
# Custom attribute writer method with validation
|
532
|
-
# @param [Object]
|
533
|
-
def
|
534
|
-
if !
|
535
|
-
fail ArgumentError, 'invalid value for "
|
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
536
|
end
|
537
537
|
|
538
|
-
@
|
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
|
-
max_retries == o.max_retries &&
|
560
|
+
total_timeout == o.total_timeout &&
|
562
561
|
connect_timeout == o.connect_timeout &&
|
563
|
-
rate_limit == o.rate_limit &&
|
564
|
-
tls_validation == o.tls_validation &&
|
565
|
-
download_concurrency == o.download_concurrency &&
|
566
562
|
headers == o.headers &&
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
563
|
+
tls_validation == o.tls_validation &&
|
564
|
+
max_retries == o.max_retries &&
|
565
|
+
password == o.password &&
|
566
|
+
client_key == o.client_key &&
|
571
567
|
sock_read_timeout == o.sock_read_timeout &&
|
572
|
-
proxy_password == o.proxy_password &&
|
573
|
-
username == o.username &&
|
574
568
|
client_cert == o.client_cert &&
|
575
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
576
|
-
client_key == o.client_key &&
|
577
|
-
name == o.name &&
|
578
|
-
ca_cert == o.ca_cert &&
|
579
569
|
proxy_username == o.proxy_username &&
|
570
|
+
ca_cert == o.ca_cert &&
|
571
|
+
url == o.url &&
|
572
|
+
name == o.name &&
|
573
|
+
rate_limit == o.rate_limit &&
|
574
|
+
proxy_password == o.proxy_password &&
|
575
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
576
|
+
username == o.username &&
|
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
|