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