pulp_ansible_client 0.16.0 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +10 -6
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +27 -25
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +5 -3
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +14 -10
- data/docs/ContentCollectionSignaturesApi.md +16 -12
- data/docs/ContentCollectionVersionsApi.md +18 -14
- data/docs/ContentRolesApi.md +14 -10
- data/docs/DistributionsAnsibleApi.md +22 -14
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +25 -25
- data/docs/PatchedansibleRoleRemote.md +2 -2
- 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 +10 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +10 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +18 -14
- data/docs/RemotesGitApi.md +18 -14
- data/docs/RemotesRoleApi.md +18 -14
- data/docs/RepositoriesAnsibleApi.md +33 -13
- data/docs/RepositoriesAnsibleVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +15 -9
- 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 +20 -14
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +21 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -21
- data/lib/pulp_ansible_client/api/content_roles_api.rb +21 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +31 -19
- 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 +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +21 -15
- 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 +15 -9
- 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 +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
- 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 +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +21 -15
- 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 +15 -9
- 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 +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
- 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 +25 -19
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +25 -19
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +25 -19
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +47 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +22 -19
- 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 +5 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +18 -4
- 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 +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -216
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -130
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +22 -8
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +5 -3
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -216
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +4 -0
- 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 +5 -3
- 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 +7 -5
- data/spec/api/content_collection_signatures_api_spec.rb +7 -5
- data/spec/api/content_collection_versions_api_spec.rb +9 -7
- data/spec/api/content_roles_api_spec.rb +7 -5
- data/spec/api/distributions_ansible_api_spec.rb +11 -7
- 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 +5 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +7 -5
- 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 +5 -3
- 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 +7 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
- 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 +5 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +7 -5
- 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 +5 -3
- 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 +7 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
- 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 +9 -7
- data/spec/api/remotes_git_api_spec.rb +9 -7
- data/spec/api/remotes_role_api_spec.rb +9 -7
- data/spec/api/repositories_ansible_api_spec.rb +16 -6
- data/spec/api/repositories_ansible_versions_api_spec.rb +8 -7
- 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 +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +24 -18
- 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
@@ -15,44 +15,23 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemote
|
18
|
-
# The proxy URL. Format: scheme://host:port
|
19
|
-
attr_accessor :proxy_url
|
20
|
-
|
21
|
-
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
22
|
-
attr_accessor :ca_cert
|
23
|
-
|
24
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
25
|
-
attr_accessor :download_concurrency
|
26
|
-
|
27
18
|
# 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.
|
28
19
|
attr_accessor :sock_connect_timeout
|
29
20
|
|
30
|
-
# Limits requests per second for each concurrent downloader
|
31
|
-
attr_accessor :rate_limit
|
32
|
-
|
33
|
-
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
34
|
-
attr_accessor :proxy_password
|
35
|
-
|
36
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
37
|
-
attr_accessor :max_retries
|
38
|
-
|
39
|
-
# A PEM encoded client certificate used for authentication.
|
40
|
-
attr_accessor :client_cert
|
41
|
-
|
42
21
|
# A unique name for this remote.
|
43
22
|
attr_accessor :name
|
44
23
|
|
45
|
-
#
|
46
|
-
attr_accessor :
|
24
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
25
|
+
attr_accessor :total_timeout
|
26
|
+
|
27
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
28
|
+
attr_accessor :ca_cert
|
47
29
|
|
48
30
|
# Headers for aiohttp.Clientsession
|
49
31
|
attr_accessor :headers
|
50
32
|
|
51
|
-
#
|
52
|
-
attr_accessor :
|
53
|
-
|
54
|
-
# The username to be used for authentication when syncing.
|
55
|
-
attr_accessor :username
|
33
|
+
# The proxy URL. Format: scheme://host:port
|
34
|
+
attr_accessor :proxy_url
|
56
35
|
|
57
36
|
# A PEM encoded private key used for authentication.
|
58
37
|
attr_accessor :client_key
|
@@ -63,14 +42,35 @@ module PulpAnsibleClient
|
|
63
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.
|
64
43
|
attr_accessor :sock_read_timeout
|
65
44
|
|
66
|
-
|
45
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
46
|
+
attr_accessor :download_concurrency
|
67
47
|
|
68
|
-
#
|
69
|
-
attr_accessor :
|
48
|
+
# The username to be used for authentication when syncing.
|
49
|
+
attr_accessor :username
|
50
|
+
|
51
|
+
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
52
|
+
attr_accessor :password
|
53
|
+
|
54
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
55
|
+
attr_accessor :max_retries
|
56
|
+
|
57
|
+
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
58
|
+
attr_accessor :proxy_password
|
59
|
+
|
60
|
+
# If True, TLS peer validation must be performed.
|
61
|
+
attr_accessor :tls_validation
|
70
62
|
|
71
63
|
# The URL of an external content source.
|
72
64
|
attr_accessor :url
|
73
65
|
|
66
|
+
# A PEM encoded client certificate used for authentication.
|
67
|
+
attr_accessor :client_cert
|
68
|
+
|
69
|
+
# Limits requests per second for each concurrent downloader
|
70
|
+
attr_accessor :rate_limit
|
71
|
+
|
72
|
+
attr_accessor :pulp_labels
|
73
|
+
|
74
74
|
# The username to authenticte to the proxy.
|
75
75
|
attr_accessor :proxy_username
|
76
76
|
|
@@ -83,25 +83,25 @@ module PulpAnsibleClient
|
|
83
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
84
84
|
def self.attribute_map
|
85
85
|
{
|
86
|
-
:'proxy_url' => :'proxy_url',
|
87
|
-
:'ca_cert' => :'ca_cert',
|
88
|
-
:'download_concurrency' => :'download_concurrency',
|
89
86
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
90
|
-
:'rate_limit' => :'rate_limit',
|
91
|
-
:'proxy_password' => :'proxy_password',
|
92
|
-
:'max_retries' => :'max_retries',
|
93
|
-
:'client_cert' => :'client_cert',
|
94
87
|
:'name' => :'name',
|
95
|
-
:'
|
88
|
+
:'total_timeout' => :'total_timeout',
|
89
|
+
:'ca_cert' => :'ca_cert',
|
96
90
|
:'headers' => :'headers',
|
97
|
-
:'
|
98
|
-
:'username' => :'username',
|
91
|
+
:'proxy_url' => :'proxy_url',
|
99
92
|
:'client_key' => :'client_key',
|
100
93
|
:'connect_timeout' => :'connect_timeout',
|
101
94
|
:'sock_read_timeout' => :'sock_read_timeout',
|
102
|
-
:'
|
103
|
-
:'
|
95
|
+
:'download_concurrency' => :'download_concurrency',
|
96
|
+
:'username' => :'username',
|
97
|
+
:'password' => :'password',
|
98
|
+
:'max_retries' => :'max_retries',
|
99
|
+
:'proxy_password' => :'proxy_password',
|
100
|
+
:'tls_validation' => :'tls_validation',
|
104
101
|
:'url' => :'url',
|
102
|
+
:'client_cert' => :'client_cert',
|
103
|
+
:'rate_limit' => :'rate_limit',
|
104
|
+
:'pulp_labels' => :'pulp_labels',
|
105
105
|
:'proxy_username' => :'proxy_username',
|
106
106
|
:'metadata_only' => :'metadata_only',
|
107
107
|
:'git_ref' => :'git_ref'
|
@@ -111,25 +111,25 @@ module PulpAnsibleClient
|
|
111
111
|
# Attribute type mapping.
|
112
112
|
def self.openapi_types
|
113
113
|
{
|
114
|
-
:'proxy_url' => :'String',
|
115
|
-
:'ca_cert' => :'String',
|
116
|
-
:'download_concurrency' => :'Integer',
|
117
114
|
:'sock_connect_timeout' => :'Float',
|
118
|
-
:'rate_limit' => :'Integer',
|
119
|
-
:'proxy_password' => :'String',
|
120
|
-
:'max_retries' => :'Integer',
|
121
|
-
:'client_cert' => :'String',
|
122
115
|
:'name' => :'String',
|
123
|
-
:'
|
116
|
+
:'total_timeout' => :'Float',
|
117
|
+
:'ca_cert' => :'String',
|
124
118
|
:'headers' => :'Array<Object>',
|
125
|
-
:'
|
126
|
-
:'username' => :'String',
|
119
|
+
:'proxy_url' => :'String',
|
127
120
|
:'client_key' => :'String',
|
128
121
|
:'connect_timeout' => :'Float',
|
129
122
|
:'sock_read_timeout' => :'Float',
|
130
|
-
:'
|
131
|
-
:'
|
123
|
+
:'download_concurrency' => :'Integer',
|
124
|
+
:'username' => :'String',
|
125
|
+
:'password' => :'String',
|
126
|
+
:'max_retries' => :'Integer',
|
127
|
+
:'proxy_password' => :'String',
|
128
|
+
:'tls_validation' => :'Boolean',
|
132
129
|
:'url' => :'String',
|
130
|
+
:'client_cert' => :'String',
|
131
|
+
:'rate_limit' => :'Integer',
|
132
|
+
:'pulp_labels' => :'Hash<String, String>',
|
133
133
|
:'proxy_username' => :'String',
|
134
134
|
:'metadata_only' => :'Boolean',
|
135
135
|
:'git_ref' => :'String'
|
@@ -139,20 +139,20 @@ module PulpAnsibleClient
|
|
139
139
|
# List of attributes with nullable: true
|
140
140
|
def self.openapi_nullable
|
141
141
|
Set.new([
|
142
|
-
:'proxy_url',
|
143
|
-
:'ca_cert',
|
144
|
-
:'download_concurrency',
|
145
142
|
:'sock_connect_timeout',
|
146
|
-
:'
|
147
|
-
:'
|
148
|
-
:'
|
149
|
-
:'client_cert',
|
150
|
-
:'password',
|
151
|
-
:'username',
|
143
|
+
:'total_timeout',
|
144
|
+
:'ca_cert',
|
145
|
+
:'proxy_url',
|
152
146
|
:'client_key',
|
153
147
|
:'connect_timeout',
|
154
148
|
:'sock_read_timeout',
|
155
|
-
:'
|
149
|
+
:'download_concurrency',
|
150
|
+
:'username',
|
151
|
+
:'password',
|
152
|
+
:'max_retries',
|
153
|
+
:'proxy_password',
|
154
|
+
:'client_cert',
|
155
|
+
:'rate_limit',
|
156
156
|
:'proxy_username',
|
157
157
|
])
|
158
158
|
end
|
@@ -172,82 +172,84 @@ module PulpAnsibleClient
|
|
172
172
|
h[k.to_sym] = v
|
173
173
|
}
|
174
174
|
|
175
|
-
if attributes.key?(:'
|
176
|
-
self.
|
175
|
+
if attributes.key?(:'sock_connect_timeout')
|
176
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes.key?(:'name')
|
180
|
+
self.name = attributes[:'name']
|
181
|
+
end
|
182
|
+
|
183
|
+
if attributes.key?(:'total_timeout')
|
184
|
+
self.total_timeout = attributes[:'total_timeout']
|
177
185
|
end
|
178
186
|
|
179
187
|
if attributes.key?(:'ca_cert')
|
180
188
|
self.ca_cert = attributes[:'ca_cert']
|
181
189
|
end
|
182
190
|
|
183
|
-
if attributes.key?(:'
|
184
|
-
|
191
|
+
if attributes.key?(:'headers')
|
192
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
193
|
+
self.headers = value
|
194
|
+
end
|
185
195
|
end
|
186
196
|
|
187
|
-
if attributes.key?(:'
|
188
|
-
self.
|
197
|
+
if attributes.key?(:'proxy_url')
|
198
|
+
self.proxy_url = attributes[:'proxy_url']
|
189
199
|
end
|
190
200
|
|
191
|
-
if attributes.key?(:'
|
192
|
-
self.
|
201
|
+
if attributes.key?(:'client_key')
|
202
|
+
self.client_key = attributes[:'client_key']
|
193
203
|
end
|
194
204
|
|
195
|
-
if attributes.key?(:'
|
196
|
-
self.
|
205
|
+
if attributes.key?(:'connect_timeout')
|
206
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
197
207
|
end
|
198
208
|
|
199
|
-
if attributes.key?(:'
|
200
|
-
self.
|
209
|
+
if attributes.key?(:'sock_read_timeout')
|
210
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
201
211
|
end
|
202
212
|
|
203
|
-
if attributes.key?(:'
|
204
|
-
self.
|
213
|
+
if attributes.key?(:'download_concurrency')
|
214
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
205
215
|
end
|
206
216
|
|
207
|
-
if attributes.key?(:'
|
208
|
-
self.
|
217
|
+
if attributes.key?(:'username')
|
218
|
+
self.username = attributes[:'username']
|
209
219
|
end
|
210
220
|
|
211
221
|
if attributes.key?(:'password')
|
212
222
|
self.password = attributes[:'password']
|
213
223
|
end
|
214
224
|
|
215
|
-
if attributes.key?(:'
|
216
|
-
|
217
|
-
self.headers = value
|
218
|
-
end
|
225
|
+
if attributes.key?(:'max_retries')
|
226
|
+
self.max_retries = attributes[:'max_retries']
|
219
227
|
end
|
220
228
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
229
|
+
if attributes.key?(:'proxy_password')
|
230
|
+
self.proxy_password = attributes[:'proxy_password']
|
223
231
|
end
|
224
232
|
|
225
|
-
if attributes.key?(:'
|
226
|
-
self.
|
233
|
+
if attributes.key?(:'tls_validation')
|
234
|
+
self.tls_validation = attributes[:'tls_validation']
|
227
235
|
end
|
228
236
|
|
229
|
-
if attributes.key?(:'
|
230
|
-
self.
|
237
|
+
if attributes.key?(:'url')
|
238
|
+
self.url = attributes[:'url']
|
231
239
|
end
|
232
240
|
|
233
|
-
if attributes.key?(:'
|
234
|
-
self.
|
241
|
+
if attributes.key?(:'client_cert')
|
242
|
+
self.client_cert = attributes[:'client_cert']
|
235
243
|
end
|
236
244
|
|
237
|
-
if attributes.key?(:'
|
238
|
-
self.
|
245
|
+
if attributes.key?(:'rate_limit')
|
246
|
+
self.rate_limit = attributes[:'rate_limit']
|
239
247
|
end
|
240
248
|
|
241
249
|
if attributes.key?(:'pulp_labels')
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
if attributes.key?(:'total_timeout')
|
246
|
-
self.total_timeout = attributes[:'total_timeout']
|
247
|
-
end
|
248
|
-
|
249
|
-
if attributes.key?(:'url')
|
250
|
-
self.url = attributes[:'url']
|
250
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
251
|
+
self.pulp_labels = value
|
252
|
+
end
|
251
253
|
end
|
252
254
|
|
253
255
|
if attributes.key?(:'proxy_username')
|
@@ -267,30 +269,10 @@ module PulpAnsibleClient
|
|
267
269
|
# @return Array for valid properties with the reasons
|
268
270
|
def list_invalid_properties
|
269
271
|
invalid_properties = Array.new
|
270
|
-
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
271
|
-
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
272
|
-
end
|
273
|
-
|
274
|
-
if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
275
|
-
invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
|
276
|
-
end
|
277
|
-
|
278
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
279
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
280
|
-
end
|
281
|
-
|
282
272
|
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
283
273
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
284
274
|
end
|
285
275
|
|
286
|
-
if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
287
|
-
invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
|
288
|
-
end
|
289
|
-
|
290
|
-
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
291
|
-
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
292
|
-
end
|
293
|
-
|
294
276
|
if @name.nil?
|
295
277
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
296
278
|
end
|
@@ -299,12 +281,16 @@ module PulpAnsibleClient
|
|
299
281
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
300
282
|
end
|
301
283
|
|
302
|
-
if !@
|
303
|
-
invalid_properties.push('invalid value for "
|
284
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
285
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
304
286
|
end
|
305
287
|
|
306
|
-
if !@
|
307
|
-
invalid_properties.push('invalid value for "
|
288
|
+
if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
289
|
+
invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
|
290
|
+
end
|
291
|
+
|
292
|
+
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
293
|
+
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
308
294
|
end
|
309
295
|
|
310
296
|
if !@client_key.nil? && @client_key.to_s.length < 1
|
@@ -319,8 +305,20 @@ module PulpAnsibleClient
|
|
319
305
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
320
306
|
end
|
321
307
|
|
322
|
-
if !@
|
323
|
-
invalid_properties.push('invalid value for "
|
308
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
309
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
310
|
+
end
|
311
|
+
|
312
|
+
if !@username.nil? && @username.to_s.length < 1
|
313
|
+
invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
|
314
|
+
end
|
315
|
+
|
316
|
+
if !@password.nil? && @password.to_s.length < 1
|
317
|
+
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
318
|
+
end
|
319
|
+
|
320
|
+
if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
321
|
+
invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
|
324
322
|
end
|
325
323
|
|
326
324
|
if @url.nil?
|
@@ -331,6 +329,10 @@ module PulpAnsibleClient
|
|
331
329
|
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
332
330
|
end
|
333
331
|
|
332
|
+
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
333
|
+
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
334
|
+
end
|
335
|
+
|
334
336
|
if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
335
337
|
invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
|
336
338
|
end
|
@@ -345,57 +347,27 @@ module PulpAnsibleClient
|
|
345
347
|
# Check to see if the all the properties in the model are valid
|
346
348
|
# @return true if the model is valid
|
347
349
|
def valid?
|
348
|
-
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
349
|
-
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
350
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
351
350
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
352
|
-
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
353
|
-
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
354
351
|
return false if @name.nil?
|
355
352
|
return false if @name.to_s.length < 1
|
356
|
-
return false if !@
|
357
|
-
return false if !@
|
353
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
354
|
+
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
355
|
+
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
358
356
|
return false if !@client_key.nil? && @client_key.to_s.length < 1
|
359
357
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
360
358
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
361
|
-
return false if !@
|
359
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
360
|
+
return false if !@username.nil? && @username.to_s.length < 1
|
361
|
+
return false if !@password.nil? && @password.to_s.length < 1
|
362
|
+
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
362
363
|
return false if @url.nil?
|
363
364
|
return false if @url.to_s.length < 1
|
365
|
+
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
364
366
|
return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
|
365
367
|
return false if !@git_ref.nil? && @git_ref.to_s.length < 1
|
366
368
|
true
|
367
369
|
end
|
368
370
|
|
369
|
-
# Custom attribute writer method with validation
|
370
|
-
# @param [Object] proxy_url Value to be assigned
|
371
|
-
def proxy_url=(proxy_url)
|
372
|
-
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
373
|
-
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
374
|
-
end
|
375
|
-
|
376
|
-
@proxy_url = proxy_url
|
377
|
-
end
|
378
|
-
|
379
|
-
# Custom attribute writer method with validation
|
380
|
-
# @param [Object] ca_cert Value to be assigned
|
381
|
-
def ca_cert=(ca_cert)
|
382
|
-
if !ca_cert.nil? && ca_cert.to_s.length < 1
|
383
|
-
fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
|
384
|
-
end
|
385
|
-
|
386
|
-
@ca_cert = ca_cert
|
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.'
|
394
|
-
end
|
395
|
-
|
396
|
-
@download_concurrency = download_concurrency
|
397
|
-
end
|
398
|
-
|
399
371
|
# Custom attribute writer method with validation
|
400
372
|
# @param [Object] sock_connect_timeout Value to be assigned
|
401
373
|
def sock_connect_timeout=(sock_connect_timeout)
|
@@ -406,26 +378,6 @@ module PulpAnsibleClient
|
|
406
378
|
@sock_connect_timeout = sock_connect_timeout
|
407
379
|
end
|
408
380
|
|
409
|
-
# Custom attribute writer method with validation
|
410
|
-
# @param [Object] proxy_password Value to be assigned
|
411
|
-
def proxy_password=(proxy_password)
|
412
|
-
if !proxy_password.nil? && proxy_password.to_s.length < 1
|
413
|
-
fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
|
414
|
-
end
|
415
|
-
|
416
|
-
@proxy_password = proxy_password
|
417
|
-
end
|
418
|
-
|
419
|
-
# Custom attribute writer method with validation
|
420
|
-
# @param [Object] client_cert Value to be assigned
|
421
|
-
def client_cert=(client_cert)
|
422
|
-
if !client_cert.nil? && client_cert.to_s.length < 1
|
423
|
-
fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
|
424
|
-
end
|
425
|
-
|
426
|
-
@client_cert = client_cert
|
427
|
-
end
|
428
|
-
|
429
381
|
# Custom attribute writer method with validation
|
430
382
|
# @param [Object] name Value to be assigned
|
431
383
|
def name=(name)
|
@@ -441,23 +393,33 @@ module PulpAnsibleClient
|
|
441
393
|
end
|
442
394
|
|
443
395
|
# Custom attribute writer method with validation
|
444
|
-
# @param [Object]
|
445
|
-
def
|
446
|
-
if !
|
447
|
-
fail ArgumentError, 'invalid value for "
|
396
|
+
# @param [Object] total_timeout Value to be assigned
|
397
|
+
def total_timeout=(total_timeout)
|
398
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
399
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
448
400
|
end
|
449
401
|
|
450
|
-
@
|
402
|
+
@total_timeout = total_timeout
|
451
403
|
end
|
452
404
|
|
453
405
|
# Custom attribute writer method with validation
|
454
|
-
# @param [Object]
|
455
|
-
def
|
456
|
-
if !
|
457
|
-
fail ArgumentError, 'invalid value for "
|
406
|
+
# @param [Object] ca_cert Value to be assigned
|
407
|
+
def ca_cert=(ca_cert)
|
408
|
+
if !ca_cert.nil? && ca_cert.to_s.length < 1
|
409
|
+
fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
|
458
410
|
end
|
459
411
|
|
460
|
-
@
|
412
|
+
@ca_cert = ca_cert
|
413
|
+
end
|
414
|
+
|
415
|
+
# Custom attribute writer method with validation
|
416
|
+
# @param [Object] proxy_url Value to be assigned
|
417
|
+
def proxy_url=(proxy_url)
|
418
|
+
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
419
|
+
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
420
|
+
end
|
421
|
+
|
422
|
+
@proxy_url = proxy_url
|
461
423
|
end
|
462
424
|
|
463
425
|
# Custom attribute writer method with validation
|
@@ -491,13 +453,43 @@ module PulpAnsibleClient
|
|
491
453
|
end
|
492
454
|
|
493
455
|
# Custom attribute writer method with validation
|
494
|
-
# @param [Object]
|
495
|
-
def
|
496
|
-
if !
|
497
|
-
fail ArgumentError, 'invalid value for "
|
456
|
+
# @param [Object] download_concurrency Value to be assigned
|
457
|
+
def download_concurrency=(download_concurrency)
|
458
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
459
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
498
460
|
end
|
499
461
|
|
500
|
-
@
|
462
|
+
@download_concurrency = download_concurrency
|
463
|
+
end
|
464
|
+
|
465
|
+
# Custom attribute writer method with validation
|
466
|
+
# @param [Object] username Value to be assigned
|
467
|
+
def username=(username)
|
468
|
+
if !username.nil? && username.to_s.length < 1
|
469
|
+
fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
|
470
|
+
end
|
471
|
+
|
472
|
+
@username = username
|
473
|
+
end
|
474
|
+
|
475
|
+
# Custom attribute writer method with validation
|
476
|
+
# @param [Object] password Value to be assigned
|
477
|
+
def password=(password)
|
478
|
+
if !password.nil? && password.to_s.length < 1
|
479
|
+
fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
|
480
|
+
end
|
481
|
+
|
482
|
+
@password = password
|
483
|
+
end
|
484
|
+
|
485
|
+
# Custom attribute writer method with validation
|
486
|
+
# @param [Object] proxy_password Value to be assigned
|
487
|
+
def proxy_password=(proxy_password)
|
488
|
+
if !proxy_password.nil? && proxy_password.to_s.length < 1
|
489
|
+
fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
|
490
|
+
end
|
491
|
+
|
492
|
+
@proxy_password = proxy_password
|
501
493
|
end
|
502
494
|
|
503
495
|
# Custom attribute writer method with validation
|
@@ -514,6 +506,16 @@ module PulpAnsibleClient
|
|
514
506
|
@url = url
|
515
507
|
end
|
516
508
|
|
509
|
+
# Custom attribute writer method with validation
|
510
|
+
# @param [Object] client_cert Value to be assigned
|
511
|
+
def client_cert=(client_cert)
|
512
|
+
if !client_cert.nil? && client_cert.to_s.length < 1
|
513
|
+
fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
|
514
|
+
end
|
515
|
+
|
516
|
+
@client_cert = client_cert
|
517
|
+
end
|
518
|
+
|
517
519
|
# Custom attribute writer method with validation
|
518
520
|
# @param [Object] proxy_username Value to be assigned
|
519
521
|
def proxy_username=(proxy_username)
|
@@ -539,25 +541,25 @@ module PulpAnsibleClient
|
|
539
541
|
def ==(o)
|
540
542
|
return true if self.equal?(o)
|
541
543
|
self.class == o.class &&
|
542
|
-
proxy_url == o.proxy_url &&
|
543
|
-
ca_cert == o.ca_cert &&
|
544
|
-
download_concurrency == o.download_concurrency &&
|
545
544
|
sock_connect_timeout == o.sock_connect_timeout &&
|
546
|
-
rate_limit == o.rate_limit &&
|
547
|
-
proxy_password == o.proxy_password &&
|
548
|
-
max_retries == o.max_retries &&
|
549
|
-
client_cert == o.client_cert &&
|
550
545
|
name == o.name &&
|
551
|
-
|
546
|
+
total_timeout == o.total_timeout &&
|
547
|
+
ca_cert == o.ca_cert &&
|
552
548
|
headers == o.headers &&
|
553
|
-
|
554
|
-
username == o.username &&
|
549
|
+
proxy_url == o.proxy_url &&
|
555
550
|
client_key == o.client_key &&
|
556
551
|
connect_timeout == o.connect_timeout &&
|
557
552
|
sock_read_timeout == o.sock_read_timeout &&
|
558
|
-
|
559
|
-
|
553
|
+
download_concurrency == o.download_concurrency &&
|
554
|
+
username == o.username &&
|
555
|
+
password == o.password &&
|
556
|
+
max_retries == o.max_retries &&
|
557
|
+
proxy_password == o.proxy_password &&
|
558
|
+
tls_validation == o.tls_validation &&
|
560
559
|
url == o.url &&
|
560
|
+
client_cert == o.client_cert &&
|
561
|
+
rate_limit == o.rate_limit &&
|
562
|
+
pulp_labels == o.pulp_labels &&
|
561
563
|
proxy_username == o.proxy_username &&
|
562
564
|
metadata_only == o.metadata_only &&
|
563
565
|
git_ref == o.git_ref
|
@@ -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
|
-
[
|
577
|
+
[sock_connect_timeout, name, total_timeout, ca_cert, headers, proxy_url, client_key, connect_timeout, sock_read_timeout, download_concurrency, username, password, max_retries, proxy_password, tls_validation, url, client_cert, rate_limit, pulp_labels, proxy_username, metadata_only, git_ref].hash
|
576
578
|
end
|
577
579
|
|
578
580
|
# Builds the object from hash
|