pulp_ansible_client 0.18.4 → 0.19.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 +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- 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 +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +158 -166
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -15,60 +15,60 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
19
|
-
attr_accessor :total_timeout
|
20
|
-
|
21
|
-
# Limits requests per second for each concurrent downloader
|
22
|
-
attr_accessor :rate_limit
|
23
|
-
|
24
|
-
# Timestamp of the most recent update of the remote.
|
25
|
-
attr_accessor :pulp_last_updated
|
26
|
-
|
27
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
28
|
-
attr_accessor :connect_timeout
|
29
|
-
|
30
|
-
# Headers for aiohttp.Clientsession
|
31
|
-
attr_accessor :headers
|
32
|
-
|
33
18
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
34
19
|
attr_accessor :download_concurrency
|
35
20
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
21
|
+
# A unique name for this remote.
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# Limits requests per second for each concurrent downloader
|
25
|
+
attr_accessor :rate_limit
|
38
26
|
|
39
27
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
40
28
|
attr_accessor :ca_cert
|
41
29
|
|
42
|
-
#
|
43
|
-
attr_accessor :
|
30
|
+
# The proxy URL. Format: scheme://host:port
|
31
|
+
attr_accessor :proxy_url
|
44
32
|
|
45
33
|
attr_accessor :pulp_href
|
46
34
|
|
35
|
+
# Timestamp of the most recent update of the remote.
|
36
|
+
attr_accessor :pulp_last_updated
|
37
|
+
|
38
|
+
# 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.
|
39
|
+
attr_accessor :sock_connect_timeout
|
40
|
+
|
41
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
42
|
+
attr_accessor :total_timeout
|
43
|
+
|
47
44
|
# The URL of an external content source.
|
48
45
|
attr_accessor :url
|
49
46
|
|
50
47
|
# List of hidden (write only) fields
|
51
48
|
attr_accessor :hidden_fields
|
52
49
|
|
53
|
-
|
54
|
-
attr_accessor :sock_read_timeout
|
50
|
+
attr_accessor :pulp_labels
|
55
51
|
|
56
|
-
#
|
57
|
-
attr_accessor :
|
52
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
53
|
+
attr_accessor :connect_timeout
|
58
54
|
|
59
|
-
#
|
60
|
-
attr_accessor :
|
55
|
+
# Timestamp of creation.
|
56
|
+
attr_accessor :pulp_created
|
57
|
+
|
58
|
+
# Headers for aiohttp.Clientsession
|
59
|
+
attr_accessor :headers
|
60
|
+
|
61
|
+
# 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.
|
62
|
+
attr_accessor :sock_read_timeout
|
61
63
|
|
62
64
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
63
65
|
attr_accessor :max_retries
|
64
66
|
|
65
|
-
#
|
66
|
-
attr_accessor :
|
67
|
-
|
68
|
-
attr_accessor :pulp_labels
|
67
|
+
# If True, TLS peer validation must be performed.
|
68
|
+
attr_accessor :tls_validation
|
69
69
|
|
70
|
-
#
|
71
|
-
attr_accessor :
|
70
|
+
# A PEM encoded client certificate used for authentication.
|
71
|
+
attr_accessor :client_cert
|
72
72
|
|
73
73
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
74
74
|
attr_accessor :metadata_only
|
@@ -79,25 +79,25 @@ module PulpAnsibleClient
|
|
79
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
80
|
def self.attribute_map
|
81
81
|
{
|
82
|
-
:'total_timeout' => :'total_timeout',
|
83
|
-
:'rate_limit' => :'rate_limit',
|
84
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
85
|
-
:'connect_timeout' => :'connect_timeout',
|
86
|
-
:'headers' => :'headers',
|
87
82
|
:'download_concurrency' => :'download_concurrency',
|
88
|
-
:'pulp_created' => :'pulp_created',
|
89
|
-
:'ca_cert' => :'ca_cert',
|
90
83
|
:'name' => :'name',
|
84
|
+
:'rate_limit' => :'rate_limit',
|
85
|
+
:'ca_cert' => :'ca_cert',
|
86
|
+
:'proxy_url' => :'proxy_url',
|
91
87
|
:'pulp_href' => :'pulp_href',
|
88
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
89
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
90
|
+
:'total_timeout' => :'total_timeout',
|
92
91
|
:'url' => :'url',
|
93
92
|
:'hidden_fields' => :'hidden_fields',
|
93
|
+
:'pulp_labels' => :'pulp_labels',
|
94
|
+
:'connect_timeout' => :'connect_timeout',
|
95
|
+
:'pulp_created' => :'pulp_created',
|
96
|
+
:'headers' => :'headers',
|
94
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
95
|
-
:'client_cert' => :'client_cert',
|
96
|
-
:'tls_validation' => :'tls_validation',
|
97
98
|
:'max_retries' => :'max_retries',
|
98
|
-
:'
|
99
|
-
:'
|
100
|
-
:'proxy_url' => :'proxy_url',
|
99
|
+
:'tls_validation' => :'tls_validation',
|
100
|
+
:'client_cert' => :'client_cert',
|
101
101
|
:'metadata_only' => :'metadata_only',
|
102
102
|
:'git_ref' => :'git_ref'
|
103
103
|
}
|
@@ -106,25 +106,25 @@ module PulpAnsibleClient
|
|
106
106
|
# Attribute type mapping.
|
107
107
|
def self.openapi_types
|
108
108
|
{
|
109
|
-
:'total_timeout' => :'Float',
|
110
|
-
:'rate_limit' => :'Integer',
|
111
|
-
:'pulp_last_updated' => :'DateTime',
|
112
|
-
:'connect_timeout' => :'Float',
|
113
|
-
:'headers' => :'Array<Object>',
|
114
109
|
:'download_concurrency' => :'Integer',
|
115
|
-
:'pulp_created' => :'DateTime',
|
116
|
-
:'ca_cert' => :'String',
|
117
110
|
:'name' => :'String',
|
111
|
+
:'rate_limit' => :'Integer',
|
112
|
+
:'ca_cert' => :'String',
|
113
|
+
:'proxy_url' => :'String',
|
118
114
|
:'pulp_href' => :'String',
|
115
|
+
:'pulp_last_updated' => :'DateTime',
|
116
|
+
:'sock_connect_timeout' => :'Float',
|
117
|
+
:'total_timeout' => :'Float',
|
119
118
|
:'url' => :'String',
|
120
119
|
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
120
|
+
:'pulp_labels' => :'Hash<String, String>',
|
121
|
+
:'connect_timeout' => :'Float',
|
122
|
+
:'pulp_created' => :'DateTime',
|
123
|
+
:'headers' => :'Array<Object>',
|
121
124
|
:'sock_read_timeout' => :'Float',
|
122
|
-
:'client_cert' => :'String',
|
123
|
-
:'tls_validation' => :'Boolean',
|
124
125
|
:'max_retries' => :'Integer',
|
125
|
-
:'
|
126
|
-
:'
|
127
|
-
:'proxy_url' => :'String',
|
126
|
+
:'tls_validation' => :'Boolean',
|
127
|
+
:'client_cert' => :'String',
|
128
128
|
:'metadata_only' => :'Boolean',
|
129
129
|
:'git_ref' => :'String'
|
130
130
|
}
|
@@ -133,16 +133,16 @@ module PulpAnsibleClient
|
|
133
133
|
# List of attributes with nullable: true
|
134
134
|
def self.openapi_nullable
|
135
135
|
Set.new([
|
136
|
-
:'total_timeout',
|
137
|
-
:'rate_limit',
|
138
|
-
:'connect_timeout',
|
139
136
|
:'download_concurrency',
|
137
|
+
:'rate_limit',
|
140
138
|
:'ca_cert',
|
139
|
+
:'proxy_url',
|
140
|
+
:'sock_connect_timeout',
|
141
|
+
:'total_timeout',
|
142
|
+
:'connect_timeout',
|
141
143
|
:'sock_read_timeout',
|
142
|
-
:'client_cert',
|
143
144
|
:'max_retries',
|
144
|
-
:'
|
145
|
-
:'proxy_url',
|
145
|
+
:'client_cert',
|
146
146
|
])
|
147
147
|
end
|
148
148
|
|
@@ -161,46 +161,40 @@ module PulpAnsibleClient
|
|
161
161
|
h[k.to_sym] = v
|
162
162
|
}
|
163
163
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
self.
|
166
|
-
end
|
167
|
-
|
168
|
-
if attributes.key?(:'rate_limit')
|
169
|
-
self.rate_limit = attributes[:'rate_limit']
|
164
|
+
if attributes.key?(:'download_concurrency')
|
165
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
170
166
|
end
|
171
167
|
|
172
|
-
if attributes.key?(:'
|
173
|
-
self.
|
168
|
+
if attributes.key?(:'name')
|
169
|
+
self.name = attributes[:'name']
|
174
170
|
end
|
175
171
|
|
176
|
-
if attributes.key?(:'
|
177
|
-
self.
|
172
|
+
if attributes.key?(:'rate_limit')
|
173
|
+
self.rate_limit = attributes[:'rate_limit']
|
178
174
|
end
|
179
175
|
|
180
|
-
if attributes.key?(:'
|
181
|
-
|
182
|
-
self.headers = value
|
183
|
-
end
|
176
|
+
if attributes.key?(:'ca_cert')
|
177
|
+
self.ca_cert = attributes[:'ca_cert']
|
184
178
|
end
|
185
179
|
|
186
|
-
if attributes.key?(:'
|
187
|
-
self.
|
180
|
+
if attributes.key?(:'proxy_url')
|
181
|
+
self.proxy_url = attributes[:'proxy_url']
|
188
182
|
end
|
189
183
|
|
190
|
-
if attributes.key?(:'
|
191
|
-
self.
|
184
|
+
if attributes.key?(:'pulp_href')
|
185
|
+
self.pulp_href = attributes[:'pulp_href']
|
192
186
|
end
|
193
187
|
|
194
|
-
if attributes.key?(:'
|
195
|
-
self.
|
188
|
+
if attributes.key?(:'pulp_last_updated')
|
189
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
196
190
|
end
|
197
191
|
|
198
|
-
if attributes.key?(:'
|
199
|
-
self.
|
192
|
+
if attributes.key?(:'sock_connect_timeout')
|
193
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
200
194
|
end
|
201
195
|
|
202
|
-
if attributes.key?(:'
|
203
|
-
self.
|
196
|
+
if attributes.key?(:'total_timeout')
|
197
|
+
self.total_timeout = attributes[:'total_timeout']
|
204
198
|
end
|
205
199
|
|
206
200
|
if attributes.key?(:'url')
|
@@ -213,34 +207,40 @@ module PulpAnsibleClient
|
|
213
207
|
end
|
214
208
|
end
|
215
209
|
|
216
|
-
if attributes.key?(:'
|
217
|
-
|
210
|
+
if attributes.key?(:'pulp_labels')
|
211
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
212
|
+
self.pulp_labels = value
|
213
|
+
end
|
218
214
|
end
|
219
215
|
|
220
|
-
if attributes.key?(:'
|
221
|
-
self.
|
216
|
+
if attributes.key?(:'connect_timeout')
|
217
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
222
218
|
end
|
223
219
|
|
224
|
-
if attributes.key?(:'
|
225
|
-
self.
|
220
|
+
if attributes.key?(:'pulp_created')
|
221
|
+
self.pulp_created = attributes[:'pulp_created']
|
226
222
|
end
|
227
223
|
|
228
|
-
if attributes.key?(:'
|
229
|
-
|
224
|
+
if attributes.key?(:'headers')
|
225
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
226
|
+
self.headers = value
|
227
|
+
end
|
230
228
|
end
|
231
229
|
|
232
|
-
if attributes.key?(:'
|
233
|
-
self.
|
230
|
+
if attributes.key?(:'sock_read_timeout')
|
231
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
234
232
|
end
|
235
233
|
|
236
|
-
if attributes.key?(:'
|
237
|
-
|
238
|
-
self.pulp_labels = value
|
239
|
-
end
|
234
|
+
if attributes.key?(:'max_retries')
|
235
|
+
self.max_retries = attributes[:'max_retries']
|
240
236
|
end
|
241
237
|
|
242
|
-
if attributes.key?(:'
|
243
|
-
self.
|
238
|
+
if attributes.key?(:'tls_validation')
|
239
|
+
self.tls_validation = attributes[:'tls_validation']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.key?(:'client_cert')
|
243
|
+
self.client_cert = attributes[:'client_cert']
|
244
244
|
end
|
245
245
|
|
246
246
|
if attributes.key?(:'metadata_only')
|
@@ -256,14 +256,6 @@ module PulpAnsibleClient
|
|
256
256
|
# @return Array for valid properties with the reasons
|
257
257
|
def list_invalid_properties
|
258
258
|
invalid_properties = Array.new
|
259
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
260
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
261
|
-
end
|
262
|
-
|
263
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
264
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
265
|
-
end
|
266
|
-
|
267
259
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
268
260
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
269
261
|
end
|
@@ -272,16 +264,24 @@ module PulpAnsibleClient
|
|
272
264
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
273
265
|
end
|
274
266
|
|
267
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
268
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
269
|
+
end
|
270
|
+
|
271
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
272
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
273
|
+
end
|
274
|
+
|
275
275
|
if @url.nil?
|
276
276
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
277
277
|
end
|
278
278
|
|
279
|
-
if !@
|
280
|
-
invalid_properties.push('invalid value for "
|
279
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
280
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
281
281
|
end
|
282
282
|
|
283
|
-
if !@
|
284
|
-
invalid_properties.push('invalid value for "
|
283
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
284
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
285
285
|
end
|
286
286
|
|
287
287
|
invalid_properties
|
@@ -290,16 +290,36 @@ module PulpAnsibleClient
|
|
290
290
|
# Check to see if the all the properties in the model are valid
|
291
291
|
# @return true if the model is valid
|
292
292
|
def valid?
|
293
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
294
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
295
293
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
296
294
|
return false if @name.nil?
|
295
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
296
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
297
297
|
return false if @url.nil?
|
298
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
298
299
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
299
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
300
300
|
true
|
301
301
|
end
|
302
302
|
|
303
|
+
# Custom attribute writer method with validation
|
304
|
+
# @param [Object] download_concurrency Value to be assigned
|
305
|
+
def download_concurrency=(download_concurrency)
|
306
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
307
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
308
|
+
end
|
309
|
+
|
310
|
+
@download_concurrency = download_concurrency
|
311
|
+
end
|
312
|
+
|
313
|
+
# Custom attribute writer method with validation
|
314
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
315
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
316
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
317
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
318
|
+
end
|
319
|
+
|
320
|
+
@sock_connect_timeout = sock_connect_timeout
|
321
|
+
end
|
322
|
+
|
303
323
|
# Custom attribute writer method with validation
|
304
324
|
# @param [Object] total_timeout Value to be assigned
|
305
325
|
def total_timeout=(total_timeout)
|
@@ -320,16 +340,6 @@ module PulpAnsibleClient
|
|
320
340
|
@connect_timeout = connect_timeout
|
321
341
|
end
|
322
342
|
|
323
|
-
# Custom attribute writer method with validation
|
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.'
|
328
|
-
end
|
329
|
-
|
330
|
-
@download_concurrency = download_concurrency
|
331
|
-
end
|
332
|
-
|
333
343
|
# Custom attribute writer method with validation
|
334
344
|
# @param [Object] sock_read_timeout Value to be assigned
|
335
345
|
def sock_read_timeout=(sock_read_timeout)
|
@@ -340,40 +350,30 @@ module PulpAnsibleClient
|
|
340
350
|
@sock_read_timeout = sock_read_timeout
|
341
351
|
end
|
342
352
|
|
343
|
-
# Custom attribute writer method with validation
|
344
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
345
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
346
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
347
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
348
|
-
end
|
349
|
-
|
350
|
-
@sock_connect_timeout = sock_connect_timeout
|
351
|
-
end
|
352
|
-
|
353
353
|
# Checks equality by comparing each attribute.
|
354
354
|
# @param [Object] Object to be compared
|
355
355
|
def ==(o)
|
356
356
|
return true if self.equal?(o)
|
357
357
|
self.class == o.class &&
|
358
|
-
total_timeout == o.total_timeout &&
|
359
|
-
rate_limit == o.rate_limit &&
|
360
|
-
pulp_last_updated == o.pulp_last_updated &&
|
361
|
-
connect_timeout == o.connect_timeout &&
|
362
|
-
headers == o.headers &&
|
363
358
|
download_concurrency == o.download_concurrency &&
|
364
|
-
pulp_created == o.pulp_created &&
|
365
|
-
ca_cert == o.ca_cert &&
|
366
359
|
name == o.name &&
|
360
|
+
rate_limit == o.rate_limit &&
|
361
|
+
ca_cert == o.ca_cert &&
|
362
|
+
proxy_url == o.proxy_url &&
|
367
363
|
pulp_href == o.pulp_href &&
|
364
|
+
pulp_last_updated == o.pulp_last_updated &&
|
365
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
366
|
+
total_timeout == o.total_timeout &&
|
368
367
|
url == o.url &&
|
369
368
|
hidden_fields == o.hidden_fields &&
|
369
|
+
pulp_labels == o.pulp_labels &&
|
370
|
+
connect_timeout == o.connect_timeout &&
|
371
|
+
pulp_created == o.pulp_created &&
|
372
|
+
headers == o.headers &&
|
370
373
|
sock_read_timeout == o.sock_read_timeout &&
|
371
|
-
client_cert == o.client_cert &&
|
372
|
-
tls_validation == o.tls_validation &&
|
373
374
|
max_retries == o.max_retries &&
|
374
|
-
|
375
|
-
|
376
|
-
proxy_url == o.proxy_url &&
|
375
|
+
tls_validation == o.tls_validation &&
|
376
|
+
client_cert == o.client_cert &&
|
377
377
|
metadata_only == o.metadata_only &&
|
378
378
|
git_ref == o.git_ref
|
379
379
|
end
|
@@ -387,7 +387,7 @@ module PulpAnsibleClient
|
|
387
387
|
# Calculates hash code according to all attributes.
|
388
388
|
# @return [Integer] Hash code
|
389
389
|
def hash
|
390
|
-
[
|
390
|
+
[download_concurrency, name, rate_limit, ca_cert, proxy_url, pulp_href, pulp_last_updated, sock_connect_timeout, total_timeout, url, hidden_fields, pulp_labels, connect_timeout, pulp_created, headers, sock_read_timeout, max_retries, tls_validation, client_cert, metadata_only, git_ref].hash
|
391
391
|
end
|
392
392
|
|
393
393
|
# Builds the object from hash
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
19
20
|
|
20
21
|
# Timestamp of creation.
|
21
22
|
attr_accessor :pulp_created
|
22
23
|
|
23
|
-
|
24
|
-
attr_accessor :artifact
|
24
|
+
attr_accessor :pulp_href
|
25
25
|
|
26
26
|
attr_accessor :version
|
27
27
|
|
@@ -32,9 +32,9 @@ module PulpAnsibleClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'pulp_href' => :'pulp_href',
|
36
|
-
:'pulp_created' => :'pulp_created',
|
37
35
|
:'artifact' => :'artifact',
|
36
|
+
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_href' => :'pulp_href',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
40
40
|
:'namespace' => :'namespace'
|
@@ -44,9 +44,9 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'pulp_href' => :'String',
|
48
|
-
:'pulp_created' => :'DateTime',
|
49
47
|
:'artifact' => :'String',
|
48
|
+
:'pulp_created' => :'DateTime',
|
49
|
+
:'pulp_href' => :'String',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -74,16 +74,16 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'
|
78
|
-
self.
|
77
|
+
if attributes.key?(:'artifact')
|
78
|
+
self.artifact = attributes[:'artifact']
|
79
79
|
end
|
80
80
|
|
81
81
|
if attributes.key?(:'pulp_created')
|
82
82
|
self.pulp_created = attributes[:'pulp_created']
|
83
83
|
end
|
84
84
|
|
85
|
-
if attributes.key?(:'
|
86
|
-
self.
|
85
|
+
if attributes.key?(:'pulp_href')
|
86
|
+
self.pulp_href = attributes[:'pulp_href']
|
87
87
|
end
|
88
88
|
|
89
89
|
if attributes.key?(:'version')
|
@@ -137,9 +137,9 @@ module PulpAnsibleClient
|
|
137
137
|
def ==(o)
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
|
-
pulp_href == o.pulp_href &&
|
141
|
-
pulp_created == o.pulp_created &&
|
142
140
|
artifact == o.artifact &&
|
141
|
+
pulp_created == o.pulp_created &&
|
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
|
-
[
|
157
|
+
[artifact, pulp_created, pulp_href, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|
@@ -22,7 +22,6 @@ module PulpAnsibleClient
|
|
22
22
|
|
23
23
|
attr_accessor :name
|
24
24
|
|
25
|
-
# Get deprecated.
|
26
25
|
attr_accessor :deprecated
|
27
26
|
|
28
27
|
# Get a link to a collection versions list.
|
@@ -34,9 +33,11 @@ module PulpAnsibleClient
|
|
34
33
|
# Get the timestamp of the lowest version CollectionVersion's created timestamp.
|
35
34
|
attr_accessor :created_at
|
36
35
|
|
37
|
-
# Get the timestamp of the
|
36
|
+
# Get the timestamp of the latest version CollectionVersion's created timestamp.
|
38
37
|
attr_accessor :updated_at
|
39
38
|
|
39
|
+
attr_accessor :download_count
|
40
|
+
|
40
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
42
|
def self.attribute_map
|
42
43
|
{
|
@@ -47,7 +48,8 @@ module PulpAnsibleClient
|
|
47
48
|
:'versions_url' => :'versions_url',
|
48
49
|
:'highest_version' => :'highest_version',
|
49
50
|
:'created_at' => :'created_at',
|
50
|
-
:'updated_at' => :'updated_at'
|
51
|
+
:'updated_at' => :'updated_at',
|
52
|
+
:'download_count' => :'download_count'
|
51
53
|
}
|
52
54
|
end
|
53
55
|
|
@@ -61,7 +63,8 @@ module PulpAnsibleClient
|
|
61
63
|
:'versions_url' => :'String',
|
62
64
|
:'highest_version' => :'Object',
|
63
65
|
:'created_at' => :'DateTime',
|
64
|
-
:'updated_at' => :'DateTime'
|
66
|
+
:'updated_at' => :'DateTime',
|
67
|
+
:'download_count' => :'String'
|
65
68
|
}
|
66
69
|
end
|
67
70
|
|
@@ -117,18 +120,27 @@ module PulpAnsibleClient
|
|
117
120
|
if attributes.key?(:'updated_at')
|
118
121
|
self.updated_at = attributes[:'updated_at']
|
119
122
|
end
|
123
|
+
|
124
|
+
if attributes.key?(:'download_count')
|
125
|
+
self.download_count = attributes[:'download_count']
|
126
|
+
end
|
120
127
|
end
|
121
128
|
|
122
129
|
# Show invalid properties with the reasons. Usually used together with valid?
|
123
130
|
# @return Array for valid properties with the reasons
|
124
131
|
def list_invalid_properties
|
125
132
|
invalid_properties = Array.new
|
133
|
+
if @deprecated.nil?
|
134
|
+
invalid_properties.push('invalid value for "deprecated", deprecated cannot be nil.')
|
135
|
+
end
|
136
|
+
|
126
137
|
invalid_properties
|
127
138
|
end
|
128
139
|
|
129
140
|
# Check to see if the all the properties in the model are valid
|
130
141
|
# @return true if the model is valid
|
131
142
|
def valid?
|
143
|
+
return false if @deprecated.nil?
|
132
144
|
true
|
133
145
|
end
|
134
146
|
|
@@ -144,7 +156,8 @@ module PulpAnsibleClient
|
|
144
156
|
versions_url == o.versions_url &&
|
145
157
|
highest_version == o.highest_version &&
|
146
158
|
created_at == o.created_at &&
|
147
|
-
updated_at == o.updated_at
|
159
|
+
updated_at == o.updated_at &&
|
160
|
+
download_count == o.download_count
|
148
161
|
end
|
149
162
|
|
150
163
|
# @see the `==` method
|
@@ -156,7 +169,7 @@ module PulpAnsibleClient
|
|
156
169
|
# Calculates hash code according to all attributes.
|
157
170
|
# @return [Integer] Hash code
|
158
171
|
def hash
|
159
|
-
[href, namespace, name, deprecated, versions_url, highest_version, created_at, updated_at].hash
|
172
|
+
[href, namespace, name, deprecated, versions_url, highest_version, created_at, updated_at, download_count].hash
|
160
173
|
end
|
161
174
|
|
162
175
|
# Builds the object from hash
|