pulp_ansible_client 0.25.1 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/CollectionMetadataResponse.md +1 -1
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/CollectionSummaryResponseTagsInner.md +18 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +30 -16
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +6 -4
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
- data/docs/TagResponse.md +1 -1
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +28 -28
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +255 -255
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
- data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +246 -246
- data/lib/pulp_ansible_client/models/tag_response.rb +2 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +9 -4
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +131 -131
- data/docs/AnsibleTagResponse.md +0 -18
@@ -16,63 +16,63 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for Git Collection Remotes.
|
18
18
|
class AnsibleGitRemoteResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
21
|
-
|
22
|
-
# The Pulp Resource Name (PRN).
|
23
|
-
attr_accessor :prn
|
19
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
20
|
+
attr_accessor :total_timeout
|
24
21
|
|
25
22
|
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
26
23
|
attr_accessor :connect_timeout
|
27
24
|
|
25
|
+
# Headers for aiohttp.Clientsession
|
26
|
+
attr_accessor :headers
|
27
|
+
|
28
|
+
# Timestamp of the most recent update of the remote.
|
29
|
+
attr_accessor :pulp_last_updated
|
30
|
+
|
28
31
|
# List of hidden (write only) fields
|
29
32
|
attr_accessor :hidden_fields
|
30
33
|
|
31
|
-
#
|
32
|
-
attr_accessor :
|
34
|
+
# Timestamp of creation.
|
35
|
+
attr_accessor :pulp_created
|
33
36
|
|
34
37
|
# If True, TLS peer validation must be performed.
|
35
38
|
attr_accessor :tls_validation
|
36
39
|
|
37
|
-
#
|
38
|
-
attr_accessor :
|
40
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
41
|
+
attr_accessor :max_retries
|
39
42
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
43
|
+
# 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.
|
44
|
+
attr_accessor :sock_read_timeout
|
42
45
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
46
|
+
# A PEM encoded client certificate used for authentication.
|
47
|
+
attr_accessor :client_cert
|
48
|
+
|
49
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
50
|
+
attr_accessor :ca_cert
|
45
51
|
|
46
52
|
# The URL of an external content source.
|
47
53
|
attr_accessor :url
|
48
54
|
|
49
|
-
#
|
50
|
-
attr_accessor :
|
51
|
-
|
52
|
-
attr_accessor :pulp_labels
|
53
|
-
|
54
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
55
|
-
attr_accessor :total_timeout
|
55
|
+
# A unique name for this remote.
|
56
|
+
attr_accessor :name
|
56
57
|
|
57
|
-
#
|
58
|
-
attr_accessor :
|
58
|
+
# The Pulp Resource Name (PRN).
|
59
|
+
attr_accessor :prn
|
59
60
|
|
60
|
-
#
|
61
|
-
attr_accessor :
|
61
|
+
# Limits requests per second for each concurrent downloader
|
62
|
+
attr_accessor :rate_limit
|
62
63
|
|
63
|
-
#
|
64
|
-
attr_accessor :
|
64
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
65
|
+
attr_accessor :sock_connect_timeout
|
65
66
|
|
66
67
|
attr_accessor :pulp_href
|
67
68
|
|
68
|
-
|
69
|
-
attr_accessor :sock_connect_timeout
|
69
|
+
attr_accessor :pulp_labels
|
70
70
|
|
71
|
-
#
|
72
|
-
attr_accessor :
|
71
|
+
# The proxy URL. Format: scheme://host:port
|
72
|
+
attr_accessor :proxy_url
|
73
73
|
|
74
|
-
#
|
75
|
-
attr_accessor :
|
74
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
75
|
+
attr_accessor :download_concurrency
|
76
76
|
|
77
77
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
78
78
|
attr_accessor :metadata_only
|
@@ -83,26 +83,26 @@ module PulpAnsibleClient
|
|
83
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
84
84
|
def self.attribute_map
|
85
85
|
{
|
86
|
-
:'
|
87
|
-
:'prn' => :'prn',
|
86
|
+
:'total_timeout' => :'total_timeout',
|
88
87
|
:'connect_timeout' => :'connect_timeout',
|
88
|
+
:'headers' => :'headers',
|
89
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
89
90
|
:'hidden_fields' => :'hidden_fields',
|
90
|
-
:'rate_limit' => :'rate_limit',
|
91
|
-
:'tls_validation' => :'tls_validation',
|
92
91
|
:'pulp_created' => :'pulp_created',
|
93
|
-
:'
|
94
|
-
:'
|
95
|
-
:'url' => :'url',
|
96
|
-
:'proxy_url' => :'proxy_url',
|
97
|
-
:'pulp_labels' => :'pulp_labels',
|
98
|
-
:'total_timeout' => :'total_timeout',
|
92
|
+
:'tls_validation' => :'tls_validation',
|
93
|
+
:'max_retries' => :'max_retries',
|
99
94
|
:'sock_read_timeout' => :'sock_read_timeout',
|
100
95
|
:'client_cert' => :'client_cert',
|
101
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
102
|
-
:'pulp_href' => :'pulp_href',
|
103
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
104
|
-
:'name' => :'name',
|
105
96
|
:'ca_cert' => :'ca_cert',
|
97
|
+
:'url' => :'url',
|
98
|
+
:'name' => :'name',
|
99
|
+
:'prn' => :'prn',
|
100
|
+
:'rate_limit' => :'rate_limit',
|
101
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
102
|
+
:'pulp_href' => :'pulp_href',
|
103
|
+
:'pulp_labels' => :'pulp_labels',
|
104
|
+
:'proxy_url' => :'proxy_url',
|
105
|
+
:'download_concurrency' => :'download_concurrency',
|
106
106
|
:'metadata_only' => :'metadata_only',
|
107
107
|
:'git_ref' => :'git_ref'
|
108
108
|
}
|
@@ -116,26 +116,26 @@ module PulpAnsibleClient
|
|
116
116
|
# Attribute type mapping.
|
117
117
|
def self.openapi_types
|
118
118
|
{
|
119
|
-
:'
|
120
|
-
:'prn' => :'String',
|
119
|
+
:'total_timeout' => :'Float',
|
121
120
|
:'connect_timeout' => :'Float',
|
121
|
+
:'headers' => :'Array<Object>',
|
122
|
+
:'pulp_last_updated' => :'Time',
|
122
123
|
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
|
123
|
-
:'rate_limit' => :'Integer',
|
124
|
-
:'tls_validation' => :'Boolean',
|
125
124
|
:'pulp_created' => :'Time',
|
126
|
-
:'
|
127
|
-
:'
|
128
|
-
:'url' => :'String',
|
129
|
-
:'proxy_url' => :'String',
|
130
|
-
:'pulp_labels' => :'Hash<String, String>',
|
131
|
-
:'total_timeout' => :'Float',
|
125
|
+
:'tls_validation' => :'Boolean',
|
126
|
+
:'max_retries' => :'Integer',
|
132
127
|
:'sock_read_timeout' => :'Float',
|
133
128
|
:'client_cert' => :'String',
|
134
|
-
:'pulp_last_updated' => :'Time',
|
135
|
-
:'pulp_href' => :'String',
|
136
|
-
:'sock_connect_timeout' => :'Float',
|
137
|
-
:'name' => :'String',
|
138
129
|
:'ca_cert' => :'String',
|
130
|
+
:'url' => :'String',
|
131
|
+
:'name' => :'String',
|
132
|
+
:'prn' => :'String',
|
133
|
+
:'rate_limit' => :'Integer',
|
134
|
+
:'sock_connect_timeout' => :'Float',
|
135
|
+
:'pulp_href' => :'String',
|
136
|
+
:'pulp_labels' => :'Hash<String, String>',
|
137
|
+
:'proxy_url' => :'String',
|
138
|
+
:'download_concurrency' => :'Integer',
|
139
139
|
:'metadata_only' => :'Boolean',
|
140
140
|
:'git_ref' => :'String'
|
141
141
|
}
|
@@ -144,16 +144,16 @@ module PulpAnsibleClient
|
|
144
144
|
# List of attributes with nullable: true
|
145
145
|
def self.openapi_nullable
|
146
146
|
Set.new([
|
147
|
-
:'max_retries',
|
148
|
-
:'connect_timeout',
|
149
|
-
:'rate_limit',
|
150
|
-
:'download_concurrency',
|
151
|
-
:'proxy_url',
|
152
147
|
:'total_timeout',
|
148
|
+
:'connect_timeout',
|
149
|
+
:'max_retries',
|
153
150
|
:'sock_read_timeout',
|
154
151
|
:'client_cert',
|
155
|
-
:'sock_connect_timeout',
|
156
152
|
:'ca_cert',
|
153
|
+
:'rate_limit',
|
154
|
+
:'sock_connect_timeout',
|
155
|
+
:'proxy_url',
|
156
|
+
:'download_concurrency',
|
157
157
|
])
|
158
158
|
end
|
159
159
|
|
@@ -172,44 +172,52 @@ module PulpAnsibleClient
|
|
172
172
|
h[k.to_sym] = v
|
173
173
|
}
|
174
174
|
|
175
|
-
if attributes.key?(:'
|
176
|
-
self.
|
177
|
-
end
|
178
|
-
|
179
|
-
if attributes.key?(:'prn')
|
180
|
-
self.prn = attributes[:'prn']
|
175
|
+
if attributes.key?(:'total_timeout')
|
176
|
+
self.total_timeout = attributes[:'total_timeout']
|
181
177
|
end
|
182
178
|
|
183
179
|
if attributes.key?(:'connect_timeout')
|
184
180
|
self.connect_timeout = attributes[:'connect_timeout']
|
185
181
|
end
|
186
182
|
|
183
|
+
if attributes.key?(:'headers')
|
184
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
185
|
+
self.headers = value
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
if attributes.key?(:'pulp_last_updated')
|
190
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
191
|
+
end
|
192
|
+
|
187
193
|
if attributes.key?(:'hidden_fields')
|
188
194
|
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
189
195
|
self.hidden_fields = value
|
190
196
|
end
|
191
197
|
end
|
192
198
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
self.
|
199
|
+
if attributes.key?(:'pulp_created')
|
200
|
+
self.pulp_created = attributes[:'pulp_created']
|
195
201
|
end
|
196
202
|
|
197
203
|
if attributes.key?(:'tls_validation')
|
198
204
|
self.tls_validation = attributes[:'tls_validation']
|
199
205
|
end
|
200
206
|
|
201
|
-
if attributes.key?(:'
|
202
|
-
self.
|
207
|
+
if attributes.key?(:'max_retries')
|
208
|
+
self.max_retries = attributes[:'max_retries']
|
203
209
|
end
|
204
210
|
|
205
|
-
if attributes.key?(:'
|
206
|
-
self.
|
211
|
+
if attributes.key?(:'sock_read_timeout')
|
212
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
207
213
|
end
|
208
214
|
|
209
|
-
if attributes.key?(:'
|
210
|
-
|
211
|
-
|
212
|
-
|
215
|
+
if attributes.key?(:'client_cert')
|
216
|
+
self.client_cert = attributes[:'client_cert']
|
217
|
+
end
|
218
|
+
|
219
|
+
if attributes.key?(:'ca_cert')
|
220
|
+
self.ca_cert = attributes[:'ca_cert']
|
213
221
|
end
|
214
222
|
|
215
223
|
if attributes.key?(:'url')
|
@@ -218,48 +226,40 @@ module PulpAnsibleClient
|
|
218
226
|
self.url = nil
|
219
227
|
end
|
220
228
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
223
|
-
|
224
|
-
|
225
|
-
if attributes.key?(:'pulp_labels')
|
226
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
227
|
-
self.pulp_labels = value
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
if attributes.key?(:'total_timeout')
|
232
|
-
self.total_timeout = attributes[:'total_timeout']
|
229
|
+
if attributes.key?(:'name')
|
230
|
+
self.name = attributes[:'name']
|
231
|
+
else
|
232
|
+
self.name = nil
|
233
233
|
end
|
234
234
|
|
235
|
-
if attributes.key?(:'
|
236
|
-
self.
|
235
|
+
if attributes.key?(:'prn')
|
236
|
+
self.prn = attributes[:'prn']
|
237
237
|
end
|
238
238
|
|
239
|
-
if attributes.key?(:'
|
240
|
-
self.
|
239
|
+
if attributes.key?(:'rate_limit')
|
240
|
+
self.rate_limit = attributes[:'rate_limit']
|
241
241
|
end
|
242
242
|
|
243
|
-
if attributes.key?(:'
|
244
|
-
self.
|
243
|
+
if attributes.key?(:'sock_connect_timeout')
|
244
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
245
245
|
end
|
246
246
|
|
247
247
|
if attributes.key?(:'pulp_href')
|
248
248
|
self.pulp_href = attributes[:'pulp_href']
|
249
249
|
end
|
250
250
|
|
251
|
-
if attributes.key?(:'
|
252
|
-
|
251
|
+
if attributes.key?(:'pulp_labels')
|
252
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
253
|
+
self.pulp_labels = value
|
254
|
+
end
|
253
255
|
end
|
254
256
|
|
255
|
-
if attributes.key?(:'
|
256
|
-
self.
|
257
|
-
else
|
258
|
-
self.name = nil
|
257
|
+
if attributes.key?(:'proxy_url')
|
258
|
+
self.proxy_url = attributes[:'proxy_url']
|
259
259
|
end
|
260
260
|
|
261
|
-
if attributes.key?(:'
|
262
|
-
self.
|
261
|
+
if attributes.key?(:'download_concurrency')
|
262
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
263
263
|
end
|
264
264
|
|
265
265
|
if attributes.key?(:'metadata_only')
|
@@ -276,32 +276,32 @@ module PulpAnsibleClient
|
|
276
276
|
def list_invalid_properties
|
277
277
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
278
278
|
invalid_properties = Array.new
|
279
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
280
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
281
|
+
end
|
282
|
+
|
279
283
|
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
280
284
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
281
285
|
end
|
282
286
|
|
283
|
-
if !@
|
284
|
-
invalid_properties.push('invalid value for "
|
287
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
288
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
285
289
|
end
|
286
290
|
|
287
291
|
if @url.nil?
|
288
292
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
289
293
|
end
|
290
294
|
|
291
|
-
if
|
292
|
-
invalid_properties.push('invalid value for "
|
293
|
-
end
|
294
|
-
|
295
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
296
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
295
|
+
if @name.nil?
|
296
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
297
297
|
end
|
298
298
|
|
299
299
|
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
300
300
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
301
301
|
end
|
302
302
|
|
303
|
-
if
|
304
|
-
invalid_properties.push('invalid value for "
|
303
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
304
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
305
305
|
end
|
306
306
|
|
307
307
|
invalid_properties
|
@@ -311,36 +311,16 @@ module PulpAnsibleClient
|
|
311
311
|
# @return true if the model is valid
|
312
312
|
def valid?
|
313
313
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
314
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
315
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
316
|
-
return false if @url.nil?
|
317
314
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
315
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
318
316
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
319
|
-
return false if
|
317
|
+
return false if @url.nil?
|
320
318
|
return false if @name.nil?
|
319
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
320
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
321
321
|
true
|
322
322
|
end
|
323
323
|
|
324
|
-
# Custom attribute writer method with validation
|
325
|
-
# @param [Object] connect_timeout Value to be assigned
|
326
|
-
def connect_timeout=(connect_timeout)
|
327
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
328
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
329
|
-
end
|
330
|
-
|
331
|
-
@connect_timeout = connect_timeout
|
332
|
-
end
|
333
|
-
|
334
|
-
# Custom attribute writer method with validation
|
335
|
-
# @param [Object] download_concurrency Value to be assigned
|
336
|
-
def download_concurrency=(download_concurrency)
|
337
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
338
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
339
|
-
end
|
340
|
-
|
341
|
-
@download_concurrency = download_concurrency
|
342
|
-
end
|
343
|
-
|
344
324
|
# Custom attribute writer method with validation
|
345
325
|
# @param [Object] total_timeout Value to be assigned
|
346
326
|
def total_timeout=(total_timeout)
|
@@ -351,6 +331,16 @@ module PulpAnsibleClient
|
|
351
331
|
@total_timeout = total_timeout
|
352
332
|
end
|
353
333
|
|
334
|
+
# Custom attribute writer method with validation
|
335
|
+
# @param [Object] connect_timeout Value to be assigned
|
336
|
+
def connect_timeout=(connect_timeout)
|
337
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
338
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
339
|
+
end
|
340
|
+
|
341
|
+
@connect_timeout = connect_timeout
|
342
|
+
end
|
343
|
+
|
354
344
|
# Custom attribute writer method with validation
|
355
345
|
# @param [Object] sock_read_timeout Value to be assigned
|
356
346
|
def sock_read_timeout=(sock_read_timeout)
|
@@ -371,31 +361,41 @@ module PulpAnsibleClient
|
|
371
361
|
@sock_connect_timeout = sock_connect_timeout
|
372
362
|
end
|
373
363
|
|
364
|
+
# Custom attribute writer method with validation
|
365
|
+
# @param [Object] download_concurrency Value to be assigned
|
366
|
+
def download_concurrency=(download_concurrency)
|
367
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
368
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
369
|
+
end
|
370
|
+
|
371
|
+
@download_concurrency = download_concurrency
|
372
|
+
end
|
373
|
+
|
374
374
|
# Checks equality by comparing each attribute.
|
375
375
|
# @param [Object] Object to be compared
|
376
376
|
def ==(o)
|
377
377
|
return true if self.equal?(o)
|
378
378
|
self.class == o.class &&
|
379
|
-
|
380
|
-
prn == o.prn &&
|
379
|
+
total_timeout == o.total_timeout &&
|
381
380
|
connect_timeout == o.connect_timeout &&
|
381
|
+
headers == o.headers &&
|
382
|
+
pulp_last_updated == o.pulp_last_updated &&
|
382
383
|
hidden_fields == o.hidden_fields &&
|
383
|
-
rate_limit == o.rate_limit &&
|
384
|
-
tls_validation == o.tls_validation &&
|
385
384
|
pulp_created == o.pulp_created &&
|
386
|
-
|
387
|
-
|
388
|
-
url == o.url &&
|
389
|
-
proxy_url == o.proxy_url &&
|
390
|
-
pulp_labels == o.pulp_labels &&
|
391
|
-
total_timeout == o.total_timeout &&
|
385
|
+
tls_validation == o.tls_validation &&
|
386
|
+
max_retries == o.max_retries &&
|
392
387
|
sock_read_timeout == o.sock_read_timeout &&
|
393
388
|
client_cert == o.client_cert &&
|
394
|
-
pulp_last_updated == o.pulp_last_updated &&
|
395
|
-
pulp_href == o.pulp_href &&
|
396
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
397
|
-
name == o.name &&
|
398
389
|
ca_cert == o.ca_cert &&
|
390
|
+
url == o.url &&
|
391
|
+
name == o.name &&
|
392
|
+
prn == o.prn &&
|
393
|
+
rate_limit == o.rate_limit &&
|
394
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
395
|
+
pulp_href == o.pulp_href &&
|
396
|
+
pulp_labels == o.pulp_labels &&
|
397
|
+
proxy_url == o.proxy_url &&
|
398
|
+
download_concurrency == o.download_concurrency &&
|
399
399
|
metadata_only == o.metadata_only &&
|
400
400
|
git_ref == o.git_ref
|
401
401
|
end
|
@@ -409,7 +409,7 @@ module PulpAnsibleClient
|
|
409
409
|
# Calculates hash code according to all attributes.
|
410
410
|
# @return [Integer] Hash code
|
411
411
|
def hash
|
412
|
-
[
|
412
|
+
[total_timeout, connect_timeout, headers, pulp_last_updated, hidden_fields, pulp_created, tls_validation, max_retries, sock_read_timeout, client_cert, ca_cert, url, name, prn, rate_limit, sock_connect_timeout, pulp_href, pulp_labels, proxy_url, download_concurrency, metadata_only, git_ref].hash
|
413
413
|
end
|
414
414
|
|
415
415
|
# Builds the object from hash
|
@@ -16,14 +16,14 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for Role versions.
|
18
18
|
class AnsibleRole
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# Artifact file representing the physical content
|
20
|
+
attr_accessor :artifact
|
21
21
|
|
22
22
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
23
|
attr_accessor :pulp_labels
|
24
24
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
25
|
+
# A URI of a repository the new content unit should be associated with.
|
26
|
+
attr_accessor :repository
|
27
27
|
|
28
28
|
attr_accessor :version
|
29
29
|
|
@@ -34,9 +34,9 @@ module PulpAnsibleClient
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
|
-
:'repository' => :'repository',
|
38
|
-
:'pulp_labels' => :'pulp_labels',
|
39
37
|
:'artifact' => :'artifact',
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
39
|
+
:'repository' => :'repository',
|
40
40
|
:'version' => :'version',
|
41
41
|
:'name' => :'name',
|
42
42
|
:'namespace' => :'namespace'
|
@@ -51,9 +51,9 @@ module PulpAnsibleClient
|
|
51
51
|
# Attribute type mapping.
|
52
52
|
def self.openapi_types
|
53
53
|
{
|
54
|
-
:'repository' => :'String',
|
55
|
-
:'pulp_labels' => :'Hash<String, String>',
|
56
54
|
:'artifact' => :'String',
|
55
|
+
:'pulp_labels' => :'Hash<String, String>',
|
56
|
+
:'repository' => :'String',
|
57
57
|
:'version' => :'String',
|
58
58
|
:'name' => :'String',
|
59
59
|
:'namespace' => :'String'
|
@@ -81,8 +81,10 @@ module PulpAnsibleClient
|
|
81
81
|
h[k.to_sym] = v
|
82
82
|
}
|
83
83
|
|
84
|
-
if attributes.key?(:'
|
85
|
-
self.
|
84
|
+
if attributes.key?(:'artifact')
|
85
|
+
self.artifact = attributes[:'artifact']
|
86
|
+
else
|
87
|
+
self.artifact = nil
|
86
88
|
end
|
87
89
|
|
88
90
|
if attributes.key?(:'pulp_labels')
|
@@ -91,10 +93,8 @@ module PulpAnsibleClient
|
|
91
93
|
end
|
92
94
|
end
|
93
95
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
96
|
-
else
|
97
|
-
self.artifact = nil
|
96
|
+
if attributes.key?(:'repository')
|
97
|
+
self.repository = attributes[:'repository']
|
98
98
|
end
|
99
99
|
|
100
100
|
if attributes.key?(:'version')
|
@@ -213,9 +213,9 @@ module PulpAnsibleClient
|
|
213
213
|
def ==(o)
|
214
214
|
return true if self.equal?(o)
|
215
215
|
self.class == o.class &&
|
216
|
-
repository == o.repository &&
|
217
|
-
pulp_labels == o.pulp_labels &&
|
218
216
|
artifact == o.artifact &&
|
217
|
+
pulp_labels == o.pulp_labels &&
|
218
|
+
repository == o.repository &&
|
219
219
|
version == o.version &&
|
220
220
|
name == o.name &&
|
221
221
|
namespace == o.namespace
|
@@ -230,7 +230,7 @@ module PulpAnsibleClient
|
|
230
230
|
# Calculates hash code according to all attributes.
|
231
231
|
# @return [Integer] Hash code
|
232
232
|
def hash
|
233
|
-
[
|
233
|
+
[artifact, pulp_labels, repository, version, name, namespace].hash
|
234
234
|
end
|
235
235
|
|
236
236
|
# Builds the object from hash
|