pulp_ansible_client 0.15.6 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -3
- data/docs/AnsibleCollectionVersion.md +10 -8
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +5 -5
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +24 -26
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +2 -4
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +5 -5
- data/docs/ApiRolesApi.md +5 -5
- data/docs/CollectionImportApi.md +5 -5
- data/docs/ContentCollectionDeprecationsApi.md +9 -9
- data/docs/ContentCollectionSignaturesApi.md +11 -11
- data/docs/ContentCollectionVersionsApi.md +22 -20
- data/docs/ContentRolesApi.md +9 -9
- data/docs/DistributionsAnsibleApi.md +13 -13
- data/docs/GalaxyDetailApi.md +5 -5
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiApi.md +5 -5
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3Api.md +5 -5
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleTagsApi.md +5 -5
- data/docs/RemotesCollectionApi.md +13 -13
- data/docs/RemotesGitApi.md +13 -13
- data/docs/RemotesRoleApi.md +13 -13
- data/docs/RepositoriesAnsibleApi.md +12 -12
- data/docs/RepositoriesAnsibleVersionsApi.md +13 -13
- data/docs/VersionsApi.md +9 -9
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +12 -12
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +43 -52
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +23 -37
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +75 -92
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +52 -160
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -250
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -159
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +27 -41
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +236 -238
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +22 -24
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +0 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +9 -8
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +6 -6
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +6 -6
- data/spec/api/remotes_git_api_spec.rb +6 -6
- data/spec/api/remotes_role_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_api_spec.rb +5 -5
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +8 -8
- data/spec/models/ansible_collection_version_spec.rb +10 -4
- data/spec/models/ansible_git_remote_response_spec.rb +16 -22
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +111 -115
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -225
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -15,61 +15,58 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# A PEM encoded client certificate used for authentication.
|
22
|
-
attr_accessor :client_cert
|
23
|
-
|
24
|
-
# The URL of an external content source.
|
25
|
-
attr_accessor :url
|
26
|
-
|
27
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
28
|
-
attr_accessor :max_retries
|
18
|
+
# The proxy URL. Format: scheme://host:port
|
19
|
+
attr_accessor :proxy_url
|
29
20
|
|
30
21
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
31
22
|
attr_accessor :ca_cert
|
32
23
|
|
33
|
-
#
|
34
|
-
attr_accessor :
|
35
|
-
|
36
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
37
|
-
attr_accessor :connect_timeout
|
24
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
25
|
+
attr_accessor :download_concurrency
|
38
26
|
|
39
27
|
# Timestamp of creation.
|
40
28
|
attr_accessor :pulp_created
|
41
29
|
|
42
|
-
#
|
43
|
-
attr_accessor :
|
30
|
+
# 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.
|
31
|
+
attr_accessor :sock_connect_timeout
|
44
32
|
|
45
|
-
#
|
46
|
-
attr_accessor :
|
33
|
+
# Limits requests per second for each concurrent downloader
|
34
|
+
attr_accessor :rate_limit
|
47
35
|
|
48
|
-
#
|
49
|
-
attr_accessor :
|
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
|
50
38
|
|
51
|
-
|
39
|
+
# A PEM encoded client certificate used for authentication.
|
40
|
+
attr_accessor :client_cert
|
52
41
|
|
53
|
-
|
42
|
+
# A unique name for this remote.
|
43
|
+
attr_accessor :name
|
54
44
|
|
55
|
-
|
56
|
-
attr_accessor :sock_read_timeout
|
45
|
+
attr_accessor :pulp_href
|
57
46
|
|
58
|
-
#
|
59
|
-
attr_accessor :
|
47
|
+
# Headers for aiohttp.Clientsession
|
48
|
+
attr_accessor :headers
|
60
49
|
|
61
50
|
# If True, TLS peer validation must be performed.
|
62
51
|
attr_accessor :tls_validation
|
63
52
|
|
64
|
-
# aiohttp.ClientTimeout.
|
65
|
-
attr_accessor :
|
53
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
54
|
+
attr_accessor :connect_timeout
|
66
55
|
|
67
|
-
#
|
68
|
-
attr_accessor :
|
56
|
+
# 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.
|
57
|
+
attr_accessor :sock_read_timeout
|
58
|
+
|
59
|
+
attr_accessor :pulp_labels
|
69
60
|
|
70
61
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
71
62
|
attr_accessor :total_timeout
|
72
63
|
|
64
|
+
# The URL of an external content source.
|
65
|
+
attr_accessor :url
|
66
|
+
|
67
|
+
# Timestamp of the most recent update of the remote.
|
68
|
+
attr_accessor :pulp_last_updated
|
69
|
+
|
73
70
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
74
71
|
attr_accessor :metadata_only
|
75
72
|
|
@@ -79,25 +76,24 @@ module PulpAnsibleClient
|
|
79
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
77
|
def self.attribute_map
|
81
78
|
{
|
82
|
-
:'
|
83
|
-
:'client_cert' => :'client_cert',
|
84
|
-
:'url' => :'url',
|
85
|
-
:'max_retries' => :'max_retries',
|
79
|
+
:'proxy_url' => :'proxy_url',
|
86
80
|
:'ca_cert' => :'ca_cert',
|
87
|
-
:'
|
88
|
-
:'connect_timeout' => :'connect_timeout',
|
81
|
+
:'download_concurrency' => :'download_concurrency',
|
89
82
|
:'pulp_created' => :'pulp_created',
|
83
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
84
|
+
:'rate_limit' => :'rate_limit',
|
85
|
+
:'max_retries' => :'max_retries',
|
86
|
+
:'client_cert' => :'client_cert',
|
90
87
|
:'name' => :'name',
|
91
|
-
:'download_concurrency' => :'download_concurrency',
|
92
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
93
88
|
:'pulp_href' => :'pulp_href',
|
94
|
-
:'
|
95
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
96
|
-
:'proxy_url' => :'proxy_url',
|
89
|
+
:'headers' => :'headers',
|
97
90
|
:'tls_validation' => :'tls_validation',
|
98
|
-
:'
|
99
|
-
:'
|
91
|
+
:'connect_timeout' => :'connect_timeout',
|
92
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
93
|
+
:'pulp_labels' => :'pulp_labels',
|
100
94
|
:'total_timeout' => :'total_timeout',
|
95
|
+
:'url' => :'url',
|
96
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
101
97
|
:'metadata_only' => :'metadata_only',
|
102
98
|
:'git_ref' => :'git_ref'
|
103
99
|
}
|
@@ -106,25 +102,24 @@ module PulpAnsibleClient
|
|
106
102
|
# Attribute type mapping.
|
107
103
|
def self.openapi_types
|
108
104
|
{
|
109
|
-
:'
|
110
|
-
:'client_cert' => :'String',
|
111
|
-
:'url' => :'String',
|
112
|
-
:'max_retries' => :'Integer',
|
105
|
+
:'proxy_url' => :'String',
|
113
106
|
:'ca_cert' => :'String',
|
114
|
-
:'
|
115
|
-
:'connect_timeout' => :'Float',
|
107
|
+
:'download_concurrency' => :'Integer',
|
116
108
|
:'pulp_created' => :'DateTime',
|
109
|
+
:'sock_connect_timeout' => :'Float',
|
110
|
+
:'rate_limit' => :'Integer',
|
111
|
+
:'max_retries' => :'Integer',
|
112
|
+
:'client_cert' => :'String',
|
117
113
|
:'name' => :'String',
|
118
|
-
:'download_concurrency' => :'Integer',
|
119
|
-
:'pulp_last_updated' => :'DateTime',
|
120
114
|
:'pulp_href' => :'String',
|
121
|
-
:'
|
122
|
-
:'sock_read_timeout' => :'Float',
|
123
|
-
:'proxy_url' => :'String',
|
115
|
+
:'headers' => :'Array<Object>',
|
124
116
|
:'tls_validation' => :'Boolean',
|
125
|
-
:'
|
126
|
-
:'
|
117
|
+
:'connect_timeout' => :'Float',
|
118
|
+
:'sock_read_timeout' => :'Float',
|
119
|
+
:'pulp_labels' => :'Object',
|
127
120
|
:'total_timeout' => :'Float',
|
121
|
+
:'url' => :'String',
|
122
|
+
:'pulp_last_updated' => :'DateTime',
|
128
123
|
:'metadata_only' => :'Boolean',
|
129
124
|
:'git_ref' => :'String'
|
130
125
|
}
|
@@ -133,15 +128,15 @@ module PulpAnsibleClient
|
|
133
128
|
# List of attributes with nullable: true
|
134
129
|
def self.openapi_nullable
|
135
130
|
Set.new([
|
136
|
-
:'
|
137
|
-
:'max_retries',
|
131
|
+
:'proxy_url',
|
138
132
|
:'ca_cert',
|
139
|
-
:'connect_timeout',
|
140
133
|
:'download_concurrency',
|
141
|
-
:'sock_read_timeout',
|
142
|
-
:'proxy_url',
|
143
134
|
:'sock_connect_timeout',
|
144
135
|
:'rate_limit',
|
136
|
+
:'max_retries',
|
137
|
+
:'client_cert',
|
138
|
+
:'connect_timeout',
|
139
|
+
:'sock_read_timeout',
|
145
140
|
:'total_timeout',
|
146
141
|
])
|
147
142
|
end
|
@@ -161,86 +156,78 @@ module PulpAnsibleClient
|
|
161
156
|
h[k.to_sym] = v
|
162
157
|
}
|
163
158
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
|
166
|
-
self.headers = value
|
167
|
-
end
|
159
|
+
if attributes.key?(:'proxy_url')
|
160
|
+
self.proxy_url = attributes[:'proxy_url']
|
168
161
|
end
|
169
162
|
|
170
|
-
if attributes.key?(:'
|
171
|
-
self.
|
163
|
+
if attributes.key?(:'ca_cert')
|
164
|
+
self.ca_cert = attributes[:'ca_cert']
|
172
165
|
end
|
173
166
|
|
174
|
-
if attributes.key?(:'
|
175
|
-
self.
|
167
|
+
if attributes.key?(:'download_concurrency')
|
168
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
176
169
|
end
|
177
170
|
|
178
|
-
if attributes.key?(:'
|
179
|
-
self.
|
171
|
+
if attributes.key?(:'pulp_created')
|
172
|
+
self.pulp_created = attributes[:'pulp_created']
|
180
173
|
end
|
181
174
|
|
182
|
-
if attributes.key?(:'
|
183
|
-
self.
|
175
|
+
if attributes.key?(:'sock_connect_timeout')
|
176
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
184
177
|
end
|
185
178
|
|
186
|
-
if attributes.key?(:'
|
187
|
-
|
188
|
-
self.hidden_fields = value
|
189
|
-
end
|
179
|
+
if attributes.key?(:'rate_limit')
|
180
|
+
self.rate_limit = attributes[:'rate_limit']
|
190
181
|
end
|
191
182
|
|
192
|
-
if attributes.key?(:'
|
193
|
-
self.
|
183
|
+
if attributes.key?(:'max_retries')
|
184
|
+
self.max_retries = attributes[:'max_retries']
|
194
185
|
end
|
195
186
|
|
196
|
-
if attributes.key?(:'
|
197
|
-
self.
|
187
|
+
if attributes.key?(:'client_cert')
|
188
|
+
self.client_cert = attributes[:'client_cert']
|
198
189
|
end
|
199
190
|
|
200
191
|
if attributes.key?(:'name')
|
201
192
|
self.name = attributes[:'name']
|
202
193
|
end
|
203
194
|
|
204
|
-
if attributes.key?(:'
|
205
|
-
self.
|
195
|
+
if attributes.key?(:'pulp_href')
|
196
|
+
self.pulp_href = attributes[:'pulp_href']
|
206
197
|
end
|
207
198
|
|
208
|
-
if attributes.key?(:'
|
209
|
-
|
199
|
+
if attributes.key?(:'headers')
|
200
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
201
|
+
self.headers = value
|
202
|
+
end
|
210
203
|
end
|
211
204
|
|
212
|
-
if attributes.key?(:'
|
213
|
-
self.
|
205
|
+
if attributes.key?(:'tls_validation')
|
206
|
+
self.tls_validation = attributes[:'tls_validation']
|
214
207
|
end
|
215
208
|
|
216
|
-
if attributes.key?(:'
|
217
|
-
|
218
|
-
self.pulp_labels = value
|
219
|
-
end
|
209
|
+
if attributes.key?(:'connect_timeout')
|
210
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
220
211
|
end
|
221
212
|
|
222
213
|
if attributes.key?(:'sock_read_timeout')
|
223
214
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
224
215
|
end
|
225
216
|
|
226
|
-
if attributes.key?(:'
|
227
|
-
self.
|
228
|
-
end
|
229
|
-
|
230
|
-
if attributes.key?(:'tls_validation')
|
231
|
-
self.tls_validation = attributes[:'tls_validation']
|
217
|
+
if attributes.key?(:'pulp_labels')
|
218
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
232
219
|
end
|
233
220
|
|
234
|
-
if attributes.key?(:'
|
235
|
-
self.
|
221
|
+
if attributes.key?(:'total_timeout')
|
222
|
+
self.total_timeout = attributes[:'total_timeout']
|
236
223
|
end
|
237
224
|
|
238
|
-
if attributes.key?(:'
|
239
|
-
self.
|
225
|
+
if attributes.key?(:'url')
|
226
|
+
self.url = attributes[:'url']
|
240
227
|
end
|
241
228
|
|
242
|
-
if attributes.key?(:'
|
243
|
-
self.
|
229
|
+
if attributes.key?(:'pulp_last_updated')
|
230
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
244
231
|
end
|
245
232
|
|
246
233
|
if attributes.key?(:'metadata_only')
|
@@ -256,32 +243,32 @@ module PulpAnsibleClient
|
|
256
243
|
# @return Array for valid properties with the reasons
|
257
244
|
def list_invalid_properties
|
258
245
|
invalid_properties = Array.new
|
259
|
-
if
|
260
|
-
invalid_properties.push('invalid value for "
|
246
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
247
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
261
248
|
end
|
262
249
|
|
263
|
-
if !@
|
264
|
-
invalid_properties.push('invalid value for "
|
250
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
251
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
265
252
|
end
|
266
253
|
|
267
254
|
if @name.nil?
|
268
255
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
269
256
|
end
|
270
257
|
|
271
|
-
if !@
|
272
|
-
invalid_properties.push('invalid value for "
|
258
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
259
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
273
260
|
end
|
274
261
|
|
275
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
276
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
262
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
263
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
277
264
|
end
|
278
265
|
|
279
|
-
if !@
|
280
|
-
invalid_properties.push('invalid value for "
|
266
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
267
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
281
268
|
end
|
282
269
|
|
283
|
-
if
|
284
|
-
invalid_properties.push('invalid value for "
|
270
|
+
if @url.nil?
|
271
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
285
272
|
end
|
286
273
|
|
287
274
|
invalid_properties
|
@@ -290,26 +277,16 @@ module PulpAnsibleClient
|
|
290
277
|
# Check to see if the all the properties in the model are valid
|
291
278
|
# @return true if the model is valid
|
292
279
|
def valid?
|
293
|
-
return false if @url.nil?
|
294
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
295
|
-
return false if @name.nil?
|
296
280
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
297
|
-
return false if !@
|
298
|
-
return false if
|
299
|
-
return false if !@
|
281
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
282
|
+
return false if @name.nil?
|
283
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
284
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
285
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
286
|
+
return false if @url.nil?
|
300
287
|
true
|
301
288
|
end
|
302
289
|
|
303
|
-
# Custom attribute writer method with validation
|
304
|
-
# @param [Object] connect_timeout Value to be assigned
|
305
|
-
def connect_timeout=(connect_timeout)
|
306
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
307
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
308
|
-
end
|
309
|
-
|
310
|
-
@connect_timeout = connect_timeout
|
311
|
-
end
|
312
|
-
|
313
290
|
# Custom attribute writer method with validation
|
314
291
|
# @param [Object] download_concurrency Value to be assigned
|
315
292
|
def download_concurrency=(download_concurrency)
|
@@ -321,30 +298,40 @@ module PulpAnsibleClient
|
|
321
298
|
end
|
322
299
|
|
323
300
|
# Custom attribute writer method with validation
|
324
|
-
# @param [Object]
|
325
|
-
def
|
326
|
-
if !
|
327
|
-
fail ArgumentError, 'invalid value for "
|
301
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
302
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
303
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
304
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
328
305
|
end
|
329
306
|
|
330
|
-
@
|
307
|
+
@sock_connect_timeout = sock_connect_timeout
|
331
308
|
end
|
332
309
|
|
333
310
|
# Custom attribute writer method with validation
|
334
|
-
# @param [Object]
|
335
|
-
def
|
336
|
-
if !
|
337
|
-
fail ArgumentError, 'invalid value for "
|
311
|
+
# @param [Object] connect_timeout Value to be assigned
|
312
|
+
def connect_timeout=(connect_timeout)
|
313
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
314
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
338
315
|
end
|
339
316
|
|
340
|
-
@
|
317
|
+
@connect_timeout = connect_timeout
|
318
|
+
end
|
319
|
+
|
320
|
+
# Custom attribute writer method with validation
|
321
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
322
|
+
def sock_read_timeout=(sock_read_timeout)
|
323
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
324
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
325
|
+
end
|
326
|
+
|
327
|
+
@sock_read_timeout = sock_read_timeout
|
341
328
|
end
|
342
329
|
|
343
330
|
# Custom attribute writer method with validation
|
344
331
|
# @param [Object] total_timeout Value to be assigned
|
345
332
|
def total_timeout=(total_timeout)
|
346
|
-
if !total_timeout.nil? && total_timeout < 0
|
347
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
333
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
334
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
348
335
|
end
|
349
336
|
|
350
337
|
@total_timeout = total_timeout
|
@@ -355,25 +342,24 @@ module PulpAnsibleClient
|
|
355
342
|
def ==(o)
|
356
343
|
return true if self.equal?(o)
|
357
344
|
self.class == o.class &&
|
358
|
-
|
359
|
-
client_cert == o.client_cert &&
|
360
|
-
url == o.url &&
|
361
|
-
max_retries == o.max_retries &&
|
345
|
+
proxy_url == o.proxy_url &&
|
362
346
|
ca_cert == o.ca_cert &&
|
363
|
-
|
364
|
-
connect_timeout == o.connect_timeout &&
|
347
|
+
download_concurrency == o.download_concurrency &&
|
365
348
|
pulp_created == o.pulp_created &&
|
349
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
350
|
+
rate_limit == o.rate_limit &&
|
351
|
+
max_retries == o.max_retries &&
|
352
|
+
client_cert == o.client_cert &&
|
366
353
|
name == o.name &&
|
367
|
-
download_concurrency == o.download_concurrency &&
|
368
|
-
pulp_last_updated == o.pulp_last_updated &&
|
369
354
|
pulp_href == o.pulp_href &&
|
370
|
-
|
371
|
-
sock_read_timeout == o.sock_read_timeout &&
|
372
|
-
proxy_url == o.proxy_url &&
|
355
|
+
headers == o.headers &&
|
373
356
|
tls_validation == o.tls_validation &&
|
374
|
-
|
375
|
-
|
357
|
+
connect_timeout == o.connect_timeout &&
|
358
|
+
sock_read_timeout == o.sock_read_timeout &&
|
359
|
+
pulp_labels == o.pulp_labels &&
|
376
360
|
total_timeout == o.total_timeout &&
|
361
|
+
url == o.url &&
|
362
|
+
pulp_last_updated == o.pulp_last_updated &&
|
377
363
|
metadata_only == o.metadata_only &&
|
378
364
|
git_ref == o.git_ref
|
379
365
|
end
|
@@ -387,7 +373,7 @@ module PulpAnsibleClient
|
|
387
373
|
# Calculates hash code according to all attributes.
|
388
374
|
# @return [Integer] Hash code
|
389
375
|
def hash
|
390
|
-
[
|
376
|
+
[proxy_url, ca_cert, download_concurrency, pulp_created, sock_connect_timeout, rate_limit, max_retries, client_cert, name, pulp_href, headers, tls_validation, connect_timeout, sock_read_timeout, pulp_labels, total_timeout, url, pulp_last_updated, metadata_only, git_ref].hash
|
391
377
|
end
|
392
378
|
|
393
379
|
# Builds the object from hash
|
@@ -118,7 +118,7 @@ module PulpAnsibleClient
|
|
118
118
|
:'proxy_password' => :'String',
|
119
119
|
:'username' => :'String',
|
120
120
|
:'password' => :'String',
|
121
|
-
:'pulp_labels' => :'
|
121
|
+
:'pulp_labels' => :'Object',
|
122
122
|
:'download_concurrency' => :'Integer',
|
123
123
|
:'max_retries' => :'Integer',
|
124
124
|
:'policy' => :'PolicyEnum',
|
@@ -212,9 +212,7 @@ module PulpAnsibleClient
|
|
212
212
|
end
|
213
213
|
|
214
214
|
if attributes.key?(:'pulp_labels')
|
215
|
-
|
216
|
-
self.pulp_labels = value
|
217
|
-
end
|
215
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
218
216
|
end
|
219
217
|
|
220
218
|
if attributes.key?(:'download_concurrency')
|
@@ -312,20 +310,20 @@ module PulpAnsibleClient
|
|
312
310
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
313
311
|
end
|
314
312
|
|
315
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
313
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
314
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
317
315
|
end
|
318
316
|
|
319
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
317
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
318
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
321
319
|
end
|
322
320
|
|
323
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
321
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
322
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
325
323
|
end
|
326
324
|
|
327
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
325
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
326
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
329
327
|
end
|
330
328
|
|
331
329
|
invalid_properties
|
@@ -347,10 +345,10 @@ module PulpAnsibleClient
|
|
347
345
|
return false if !@username.nil? && @username.to_s.length < 1
|
348
346
|
return false if !@password.nil? && @password.to_s.length < 1
|
349
347
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
350
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
348
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
349
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
350
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
351
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
354
352
|
true
|
355
353
|
end
|
356
354
|
|
@@ -475,8 +473,8 @@ module PulpAnsibleClient
|
|
475
473
|
# Custom attribute writer method with validation
|
476
474
|
# @param [Object] total_timeout Value to be assigned
|
477
475
|
def total_timeout=(total_timeout)
|
478
|
-
if !total_timeout.nil? && total_timeout < 0
|
479
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
476
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
477
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
480
478
|
end
|
481
479
|
|
482
480
|
@total_timeout = total_timeout
|
@@ -485,8 +483,8 @@ module PulpAnsibleClient
|
|
485
483
|
# Custom attribute writer method with validation
|
486
484
|
# @param [Object] connect_timeout Value to be assigned
|
487
485
|
def connect_timeout=(connect_timeout)
|
488
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
489
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
486
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
487
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
490
488
|
end
|
491
489
|
|
492
490
|
@connect_timeout = connect_timeout
|
@@ -495,8 +493,8 @@ module PulpAnsibleClient
|
|
495
493
|
# Custom attribute writer method with validation
|
496
494
|
# @param [Object] sock_connect_timeout Value to be assigned
|
497
495
|
def sock_connect_timeout=(sock_connect_timeout)
|
498
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
499
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
496
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
497
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
500
498
|
end
|
501
499
|
|
502
500
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -505,8 +503,8 @@ module PulpAnsibleClient
|
|
505
503
|
# Custom attribute writer method with validation
|
506
504
|
# @param [Object] sock_read_timeout Value to be assigned
|
507
505
|
def sock_read_timeout=(sock_read_timeout)
|
508
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
509
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
506
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
507
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
510
508
|
end
|
511
509
|
|
512
510
|
@sock_read_timeout = sock_read_timeout
|