pulp_ansible_client 0.22.1 → 0.22.2
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 +4 -4
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +7 -5
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignature.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +4 -2
- data/docs/AnsibleGitRemote.md +22 -22
- data/docs/AnsibleGitRemoteResponse.md +28 -26
- data/docs/AnsibleRoleRemoteResponse.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +10 -8
- data/docs/ContentCollectionMarksApi.md +10 -8
- data/docs/ContentCollectionSignaturesApi.md +13 -9
- data/docs/ContentCollectionVersionsApi.md +14 -10
- data/docs/ContentNamespacesApi.md +10 -8
- data/docs/ContentRolesApi.md +10 -8
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +22 -22
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/RemotesCollectionApi.md +4 -2
- data/docs/RemotesGitApi.md +4 -2
- data/docs/RemotesRoleApi.md +4 -2
- data/docs/RepositoriesAnsibleApi.md +8 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +8 -6
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +22 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +40 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +29 -19
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +209 -209
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +158 -148
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -14
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +208 -208
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
- data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
- data/spec/api/content_collection_marks_api_spec.rb +5 -4
- data/spec/api/content_collection_signatures_api_spec.rb +6 -4
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -4
- data/spec/api/content_roles_api_spec.rb +5 -4
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +2 -1
- data/spec/api/remotes_git_api_spec.rb +2 -1
- data/spec/api/remotes_role_api_spec.rb +2 -1
- data/spec/api/repositories_ansible_api_spec.rb +4 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +8 -2
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +8 -2
- data/spec/models/ansible_git_remote_response_spec.rb +25 -19
- 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 +8 -2
- data/spec/models/collection_version_search_list_spec.rb +0 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +127 -127
@@ -15,8 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
|
+
|
21
|
+
# The proxy URL. Format: scheme://host:port
|
22
|
+
attr_accessor :proxy_url
|
23
|
+
|
24
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
25
|
+
attr_accessor :total_timeout
|
26
|
+
|
27
|
+
# The Pulp Resource Name (PRN).
|
28
|
+
attr_accessor :prn
|
20
29
|
|
21
30
|
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
22
31
|
attr_accessor :connect_timeout
|
@@ -24,51 +33,45 @@ module PulpAnsibleClient
|
|
24
33
|
# 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.
|
25
34
|
attr_accessor :sock_connect_timeout
|
26
35
|
|
27
|
-
|
36
|
+
# Timestamp of the most recent update of the remote.
|
37
|
+
attr_accessor :pulp_last_updated
|
28
38
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
39
|
+
# The URL of an external content source.
|
40
|
+
attr_accessor :url
|
31
41
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
42
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
43
|
+
attr_accessor :max_retries
|
34
44
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
45
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
46
|
+
attr_accessor :download_concurrency
|
47
|
+
|
48
|
+
# Headers for aiohttp.Clientsession
|
49
|
+
attr_accessor :headers
|
37
50
|
|
38
51
|
# A unique name for this remote.
|
39
52
|
attr_accessor :name
|
40
53
|
|
41
|
-
# The URL of an external content source.
|
42
|
-
attr_accessor :url
|
43
|
-
|
44
54
|
# Limits requests per second for each concurrent downloader
|
45
55
|
attr_accessor :rate_limit
|
46
56
|
|
47
|
-
|
48
|
-
attr_accessor :client_cert
|
57
|
+
attr_accessor :pulp_labels
|
49
58
|
|
50
59
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
51
60
|
attr_accessor :ca_cert
|
52
61
|
|
53
|
-
#
|
54
|
-
attr_accessor :
|
55
|
-
|
56
|
-
# Timestamp of creation.
|
57
|
-
attr_accessor :pulp_created
|
58
|
-
|
59
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
60
|
-
attr_accessor :download_concurrency
|
62
|
+
# List of hidden (write only) fields
|
63
|
+
attr_accessor :hidden_fields
|
61
64
|
|
62
|
-
|
65
|
+
# A PEM encoded client certificate used for authentication.
|
66
|
+
attr_accessor :client_cert
|
63
67
|
|
64
|
-
#
|
65
|
-
attr_accessor :
|
68
|
+
# If True, TLS peer validation must be performed.
|
69
|
+
attr_accessor :tls_validation
|
66
70
|
|
67
|
-
#
|
68
|
-
attr_accessor :
|
71
|
+
# 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.
|
72
|
+
attr_accessor :sock_read_timeout
|
69
73
|
|
70
|
-
|
71
|
-
attr_accessor :pulp_last_updated
|
74
|
+
attr_accessor :pulp_href
|
72
75
|
|
73
76
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
74
77
|
attr_accessor :metadata_only
|
@@ -79,25 +82,26 @@ module PulpAnsibleClient
|
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
83
|
def self.attribute_map
|
81
84
|
{
|
82
|
-
:'
|
85
|
+
:'pulp_created' => :'pulp_created',
|
86
|
+
:'proxy_url' => :'proxy_url',
|
87
|
+
:'total_timeout' => :'total_timeout',
|
88
|
+
:'prn' => :'prn',
|
83
89
|
:'connect_timeout' => :'connect_timeout',
|
84
90
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
85
|
-
:'
|
86
|
-
:'tls_validation' => :'tls_validation',
|
87
|
-
:'proxy_url' => :'proxy_url',
|
88
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
89
|
-
:'name' => :'name',
|
91
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
90
92
|
:'url' => :'url',
|
91
|
-
:'
|
92
|
-
:'client_cert' => :'client_cert',
|
93
|
-
:'ca_cert' => :'ca_cert',
|
94
|
-
:'total_timeout' => :'total_timeout',
|
95
|
-
:'pulp_created' => :'pulp_created',
|
93
|
+
:'max_retries' => :'max_retries',
|
96
94
|
:'download_concurrency' => :'download_concurrency',
|
97
|
-
:'pulp_labels' => :'pulp_labels',
|
98
95
|
:'headers' => :'headers',
|
96
|
+
:'name' => :'name',
|
97
|
+
:'rate_limit' => :'rate_limit',
|
98
|
+
:'pulp_labels' => :'pulp_labels',
|
99
|
+
:'ca_cert' => :'ca_cert',
|
99
100
|
:'hidden_fields' => :'hidden_fields',
|
100
|
-
:'
|
101
|
+
:'client_cert' => :'client_cert',
|
102
|
+
:'tls_validation' => :'tls_validation',
|
103
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
104
|
+
:'pulp_href' => :'pulp_href',
|
101
105
|
:'metadata_only' => :'metadata_only',
|
102
106
|
:'git_ref' => :'git_ref'
|
103
107
|
}
|
@@ -106,25 +110,26 @@ module PulpAnsibleClient
|
|
106
110
|
# Attribute type mapping.
|
107
111
|
def self.openapi_types
|
108
112
|
{
|
109
|
-
:'
|
113
|
+
:'pulp_created' => :'DateTime',
|
114
|
+
:'proxy_url' => :'String',
|
115
|
+
:'total_timeout' => :'Float',
|
116
|
+
:'prn' => :'String',
|
110
117
|
:'connect_timeout' => :'Float',
|
111
118
|
:'sock_connect_timeout' => :'Float',
|
112
|
-
:'
|
113
|
-
:'tls_validation' => :'Boolean',
|
114
|
-
:'proxy_url' => :'String',
|
115
|
-
:'sock_read_timeout' => :'Float',
|
116
|
-
:'name' => :'String',
|
119
|
+
:'pulp_last_updated' => :'DateTime',
|
117
120
|
:'url' => :'String',
|
118
|
-
:'
|
119
|
-
:'client_cert' => :'String',
|
120
|
-
:'ca_cert' => :'String',
|
121
|
-
:'total_timeout' => :'Float',
|
122
|
-
:'pulp_created' => :'DateTime',
|
121
|
+
:'max_retries' => :'Integer',
|
123
122
|
:'download_concurrency' => :'Integer',
|
124
|
-
:'pulp_labels' => :'Hash<String, String>',
|
125
123
|
:'headers' => :'Array<Object>',
|
124
|
+
:'name' => :'String',
|
125
|
+
:'rate_limit' => :'Integer',
|
126
|
+
:'pulp_labels' => :'Hash<String, String>',
|
127
|
+
:'ca_cert' => :'String',
|
126
128
|
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
127
|
-
:'
|
129
|
+
:'client_cert' => :'String',
|
130
|
+
:'tls_validation' => :'Boolean',
|
131
|
+
:'sock_read_timeout' => :'Float',
|
132
|
+
:'pulp_href' => :'String',
|
128
133
|
:'metadata_only' => :'Boolean',
|
129
134
|
:'git_ref' => :'String'
|
130
135
|
}
|
@@ -133,16 +138,16 @@ module PulpAnsibleClient
|
|
133
138
|
# List of attributes with nullable: true
|
134
139
|
def self.openapi_nullable
|
135
140
|
Set.new([
|
136
|
-
:'
|
141
|
+
:'proxy_url',
|
142
|
+
:'total_timeout',
|
137
143
|
:'connect_timeout',
|
138
144
|
:'sock_connect_timeout',
|
139
|
-
:'
|
140
|
-
:'
|
145
|
+
:'max_retries',
|
146
|
+
:'download_concurrency',
|
141
147
|
:'rate_limit',
|
142
|
-
:'client_cert',
|
143
148
|
:'ca_cert',
|
144
|
-
:'
|
145
|
-
:'
|
149
|
+
:'client_cert',
|
150
|
+
:'sock_read_timeout',
|
146
151
|
])
|
147
152
|
end
|
148
153
|
|
@@ -161,64 +166,58 @@ module PulpAnsibleClient
|
|
161
166
|
h[k.to_sym] = v
|
162
167
|
}
|
163
168
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
self.
|
166
|
-
end
|
167
|
-
|
168
|
-
if attributes.key?(:'connect_timeout')
|
169
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
169
|
+
if attributes.key?(:'pulp_created')
|
170
|
+
self.pulp_created = attributes[:'pulp_created']
|
170
171
|
end
|
171
172
|
|
172
|
-
if attributes.key?(:'
|
173
|
-
self.
|
173
|
+
if attributes.key?(:'proxy_url')
|
174
|
+
self.proxy_url = attributes[:'proxy_url']
|
174
175
|
end
|
175
176
|
|
176
|
-
if attributes.key?(:'
|
177
|
-
self.
|
177
|
+
if attributes.key?(:'total_timeout')
|
178
|
+
self.total_timeout = attributes[:'total_timeout']
|
178
179
|
end
|
179
180
|
|
180
|
-
if attributes.key?(:'
|
181
|
-
self.
|
181
|
+
if attributes.key?(:'prn')
|
182
|
+
self.prn = attributes[:'prn']
|
182
183
|
end
|
183
184
|
|
184
|
-
if attributes.key?(:'
|
185
|
-
self.
|
185
|
+
if attributes.key?(:'connect_timeout')
|
186
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
186
187
|
end
|
187
188
|
|
188
|
-
if attributes.key?(:'
|
189
|
-
self.
|
189
|
+
if attributes.key?(:'sock_connect_timeout')
|
190
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
190
191
|
end
|
191
192
|
|
192
|
-
if attributes.key?(:'
|
193
|
-
self.
|
193
|
+
if attributes.key?(:'pulp_last_updated')
|
194
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
194
195
|
end
|
195
196
|
|
196
197
|
if attributes.key?(:'url')
|
197
198
|
self.url = attributes[:'url']
|
198
199
|
end
|
199
200
|
|
200
|
-
if attributes.key?(:'
|
201
|
-
self.
|
202
|
-
end
|
203
|
-
|
204
|
-
if attributes.key?(:'client_cert')
|
205
|
-
self.client_cert = attributes[:'client_cert']
|
201
|
+
if attributes.key?(:'max_retries')
|
202
|
+
self.max_retries = attributes[:'max_retries']
|
206
203
|
end
|
207
204
|
|
208
|
-
if attributes.key?(:'
|
209
|
-
self.
|
205
|
+
if attributes.key?(:'download_concurrency')
|
206
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
210
207
|
end
|
211
208
|
|
212
|
-
if attributes.key?(:'
|
213
|
-
|
209
|
+
if attributes.key?(:'headers')
|
210
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
211
|
+
self.headers = value
|
212
|
+
end
|
214
213
|
end
|
215
214
|
|
216
|
-
if attributes.key?(:'
|
217
|
-
self.
|
215
|
+
if attributes.key?(:'name')
|
216
|
+
self.name = attributes[:'name']
|
218
217
|
end
|
219
218
|
|
220
|
-
if attributes.key?(:'
|
221
|
-
self.
|
219
|
+
if attributes.key?(:'rate_limit')
|
220
|
+
self.rate_limit = attributes[:'rate_limit']
|
222
221
|
end
|
223
222
|
|
224
223
|
if attributes.key?(:'pulp_labels')
|
@@ -227,10 +226,8 @@ module PulpAnsibleClient
|
|
227
226
|
end
|
228
227
|
end
|
229
228
|
|
230
|
-
if attributes.key?(:'
|
231
|
-
|
232
|
-
self.headers = value
|
233
|
-
end
|
229
|
+
if attributes.key?(:'ca_cert')
|
230
|
+
self.ca_cert = attributes[:'ca_cert']
|
234
231
|
end
|
235
232
|
|
236
233
|
if attributes.key?(:'hidden_fields')
|
@@ -239,8 +236,20 @@ module PulpAnsibleClient
|
|
239
236
|
end
|
240
237
|
end
|
241
238
|
|
242
|
-
if attributes.key?(:'
|
243
|
-
self.
|
239
|
+
if attributes.key?(:'client_cert')
|
240
|
+
self.client_cert = attributes[:'client_cert']
|
241
|
+
end
|
242
|
+
|
243
|
+
if attributes.key?(:'tls_validation')
|
244
|
+
self.tls_validation = attributes[:'tls_validation']
|
245
|
+
end
|
246
|
+
|
247
|
+
if attributes.key?(:'sock_read_timeout')
|
248
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
249
|
+
end
|
250
|
+
|
251
|
+
if attributes.key?(:'pulp_href')
|
252
|
+
self.pulp_href = attributes[:'pulp_href']
|
244
253
|
end
|
245
254
|
|
246
255
|
if attributes.key?(:'metadata_only')
|
@@ -256,6 +265,10 @@ module PulpAnsibleClient
|
|
256
265
|
# @return Array for valid properties with the reasons
|
257
266
|
def list_invalid_properties
|
258
267
|
invalid_properties = Array.new
|
268
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
269
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
270
|
+
end
|
271
|
+
|
259
272
|
if !@connect_timeout.nil? && @connect_timeout < 0
|
260
273
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
261
274
|
end
|
@@ -264,42 +277,48 @@ module PulpAnsibleClient
|
|
264
277
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
265
278
|
end
|
266
279
|
|
267
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
268
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
269
|
-
end
|
270
|
-
|
271
|
-
if @name.nil?
|
272
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
273
|
-
end
|
274
|
-
|
275
280
|
if @url.nil?
|
276
281
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
277
282
|
end
|
278
283
|
|
279
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
280
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
281
|
-
end
|
282
|
-
|
283
284
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
284
285
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
285
286
|
end
|
286
287
|
|
288
|
+
if @name.nil?
|
289
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
290
|
+
end
|
291
|
+
|
292
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
293
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
294
|
+
end
|
295
|
+
|
287
296
|
invalid_properties
|
288
297
|
end
|
289
298
|
|
290
299
|
# Check to see if the all the properties in the model are valid
|
291
300
|
# @return true if the model is valid
|
292
301
|
def valid?
|
302
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
293
303
|
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
294
304
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
295
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
296
|
-
return false if @name.nil?
|
297
305
|
return false if @url.nil?
|
298
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
299
306
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
307
|
+
return false if @name.nil?
|
308
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
300
309
|
true
|
301
310
|
end
|
302
311
|
|
312
|
+
# Custom attribute writer method with validation
|
313
|
+
# @param [Object] total_timeout Value to be assigned
|
314
|
+
def total_timeout=(total_timeout)
|
315
|
+
if !total_timeout.nil? && total_timeout < 0
|
316
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
317
|
+
end
|
318
|
+
|
319
|
+
@total_timeout = total_timeout
|
320
|
+
end
|
321
|
+
|
303
322
|
# Custom attribute writer method with validation
|
304
323
|
# @param [Object] connect_timeout Value to be assigned
|
305
324
|
def connect_timeout=(connect_timeout)
|
@@ -320,26 +339,6 @@ module PulpAnsibleClient
|
|
320
339
|
@sock_connect_timeout = sock_connect_timeout
|
321
340
|
end
|
322
341
|
|
323
|
-
# Custom attribute writer method with validation
|
324
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
325
|
-
def sock_read_timeout=(sock_read_timeout)
|
326
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
327
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
328
|
-
end
|
329
|
-
|
330
|
-
@sock_read_timeout = sock_read_timeout
|
331
|
-
end
|
332
|
-
|
333
|
-
# Custom attribute writer method with validation
|
334
|
-
# @param [Object] total_timeout Value to be assigned
|
335
|
-
def total_timeout=(total_timeout)
|
336
|
-
if !total_timeout.nil? && total_timeout < 0
|
337
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
338
|
-
end
|
339
|
-
|
340
|
-
@total_timeout = total_timeout
|
341
|
-
end
|
342
|
-
|
343
342
|
# Custom attribute writer method with validation
|
344
343
|
# @param [Object] download_concurrency Value to be assigned
|
345
344
|
def download_concurrency=(download_concurrency)
|
@@ -350,30 +349,41 @@ module PulpAnsibleClient
|
|
350
349
|
@download_concurrency = download_concurrency
|
351
350
|
end
|
352
351
|
|
352
|
+
# Custom attribute writer method with validation
|
353
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
354
|
+
def sock_read_timeout=(sock_read_timeout)
|
355
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
356
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
357
|
+
end
|
358
|
+
|
359
|
+
@sock_read_timeout = sock_read_timeout
|
360
|
+
end
|
361
|
+
|
353
362
|
# Checks equality by comparing each attribute.
|
354
363
|
# @param [Object] Object to be compared
|
355
364
|
def ==(o)
|
356
365
|
return true if self.equal?(o)
|
357
366
|
self.class == o.class &&
|
358
|
-
|
367
|
+
pulp_created == o.pulp_created &&
|
368
|
+
proxy_url == o.proxy_url &&
|
369
|
+
total_timeout == o.total_timeout &&
|
370
|
+
prn == o.prn &&
|
359
371
|
connect_timeout == o.connect_timeout &&
|
360
372
|
sock_connect_timeout == o.sock_connect_timeout &&
|
361
|
-
|
362
|
-
tls_validation == o.tls_validation &&
|
363
|
-
proxy_url == o.proxy_url &&
|
364
|
-
sock_read_timeout == o.sock_read_timeout &&
|
365
|
-
name == o.name &&
|
373
|
+
pulp_last_updated == o.pulp_last_updated &&
|
366
374
|
url == o.url &&
|
367
|
-
|
368
|
-
client_cert == o.client_cert &&
|
369
|
-
ca_cert == o.ca_cert &&
|
370
|
-
total_timeout == o.total_timeout &&
|
371
|
-
pulp_created == o.pulp_created &&
|
375
|
+
max_retries == o.max_retries &&
|
372
376
|
download_concurrency == o.download_concurrency &&
|
373
|
-
pulp_labels == o.pulp_labels &&
|
374
377
|
headers == o.headers &&
|
378
|
+
name == o.name &&
|
379
|
+
rate_limit == o.rate_limit &&
|
380
|
+
pulp_labels == o.pulp_labels &&
|
381
|
+
ca_cert == o.ca_cert &&
|
375
382
|
hidden_fields == o.hidden_fields &&
|
376
|
-
|
383
|
+
client_cert == o.client_cert &&
|
384
|
+
tls_validation == o.tls_validation &&
|
385
|
+
sock_read_timeout == o.sock_read_timeout &&
|
386
|
+
pulp_href == o.pulp_href &&
|
377
387
|
metadata_only == o.metadata_only &&
|
378
388
|
git_ref == o.git_ref
|
379
389
|
end
|
@@ -387,7 +397,7 @@ module PulpAnsibleClient
|
|
387
397
|
# Calculates hash code according to all attributes.
|
388
398
|
# @return [Integer] Hash code
|
389
399
|
def hash
|
390
|
-
[
|
400
|
+
[pulp_created, proxy_url, total_timeout, prn, connect_timeout, sock_connect_timeout, pulp_last_updated, url, max_retries, download_concurrency, headers, name, rate_limit, pulp_labels, ca_cert, hidden_fields, client_cert, tls_validation, sock_read_timeout, pulp_href, metadata_only, git_ref].hash
|
391
401
|
end
|
392
402
|
|
393
403
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleRoleRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -77,6 +80,7 @@ module PulpAnsibleClient
|
|
77
80
|
def self.attribute_map
|
78
81
|
{
|
79
82
|
:'pulp_href' => :'pulp_href',
|
83
|
+
:'prn' => :'prn',
|
80
84
|
:'pulp_created' => :'pulp_created',
|
81
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
82
86
|
:'name' => :'name',
|
@@ -103,6 +107,7 @@ module PulpAnsibleClient
|
|
103
107
|
def self.openapi_types
|
104
108
|
{
|
105
109
|
:'pulp_href' => :'String',
|
110
|
+
:'prn' => :'String',
|
106
111
|
:'pulp_created' => :'DateTime',
|
107
112
|
:'pulp_last_updated' => :'DateTime',
|
108
113
|
:'name' => :'String',
|
@@ -160,6 +165,10 @@ module PulpAnsibleClient
|
|
160
165
|
self.pulp_href = attributes[:'pulp_href']
|
161
166
|
end
|
162
167
|
|
168
|
+
if attributes.key?(:'prn')
|
169
|
+
self.prn = attributes[:'prn']
|
170
|
+
end
|
171
|
+
|
163
172
|
if attributes.key?(:'pulp_created')
|
164
173
|
self.pulp_created = attributes[:'pulp_created']
|
165
174
|
end
|
@@ -347,6 +356,7 @@ module PulpAnsibleClient
|
|
347
356
|
return true if self.equal?(o)
|
348
357
|
self.class == o.class &&
|
349
358
|
pulp_href == o.pulp_href &&
|
359
|
+
prn == o.prn &&
|
350
360
|
pulp_created == o.pulp_created &&
|
351
361
|
pulp_last_updated == o.pulp_last_updated &&
|
352
362
|
name == o.name &&
|
@@ -377,7 +387,7 @@ module PulpAnsibleClient
|
|
377
387
|
# Calculates hash code according to all attributes.
|
378
388
|
# @return [Integer] Hash code
|
379
389
|
def hash
|
380
|
-
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
390
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
381
391
|
end
|
382
392
|
|
383
393
|
# Builds the object from hash
|
@@ -18,13 +18,16 @@ module PulpAnsibleClient
|
|
18
18
|
# Timestamp of creation.
|
19
19
|
attr_accessor :pulp_created
|
20
20
|
|
21
|
-
|
21
|
+
# The Pulp Resource Name (PRN).
|
22
|
+
attr_accessor :prn
|
23
|
+
|
24
|
+
# Artifact file representing the physical content
|
25
|
+
attr_accessor :artifact
|
22
26
|
|
23
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
24
28
|
attr_accessor :pulp_last_updated
|
25
29
|
|
26
|
-
|
27
|
-
attr_accessor :artifact
|
30
|
+
attr_accessor :pulp_href
|
28
31
|
|
29
32
|
attr_accessor :version
|
30
33
|
|
@@ -36,9 +39,10 @@ module PulpAnsibleClient
|
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
38
41
|
:'pulp_created' => :'pulp_created',
|
39
|
-
:'
|
40
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
42
|
+
:'prn' => :'prn',
|
41
43
|
:'artifact' => :'artifact',
|
44
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
45
|
+
:'pulp_href' => :'pulp_href',
|
42
46
|
:'version' => :'version',
|
43
47
|
:'name' => :'name',
|
44
48
|
:'namespace' => :'namespace'
|
@@ -49,9 +53,10 @@ module PulpAnsibleClient
|
|
49
53
|
def self.openapi_types
|
50
54
|
{
|
51
55
|
:'pulp_created' => :'DateTime',
|
52
|
-
:'
|
53
|
-
:'pulp_last_updated' => :'DateTime',
|
56
|
+
:'prn' => :'String',
|
54
57
|
:'artifact' => :'String',
|
58
|
+
:'pulp_last_updated' => :'DateTime',
|
59
|
+
:'pulp_href' => :'String',
|
55
60
|
:'version' => :'String',
|
56
61
|
:'name' => :'String',
|
57
62
|
:'namespace' => :'String'
|
@@ -83,16 +88,20 @@ module PulpAnsibleClient
|
|
83
88
|
self.pulp_created = attributes[:'pulp_created']
|
84
89
|
end
|
85
90
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
self.
|
91
|
+
if attributes.key?(:'prn')
|
92
|
+
self.prn = attributes[:'prn']
|
93
|
+
end
|
94
|
+
|
95
|
+
if attributes.key?(:'artifact')
|
96
|
+
self.artifact = attributes[:'artifact']
|
88
97
|
end
|
89
98
|
|
90
99
|
if attributes.key?(:'pulp_last_updated')
|
91
100
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
92
101
|
end
|
93
102
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
103
|
+
if attributes.key?(:'pulp_href')
|
104
|
+
self.pulp_href = attributes[:'pulp_href']
|
96
105
|
end
|
97
106
|
|
98
107
|
if attributes.key?(:'version')
|
@@ -147,9 +156,10 @@ module PulpAnsibleClient
|
|
147
156
|
return true if self.equal?(o)
|
148
157
|
self.class == o.class &&
|
149
158
|
pulp_created == o.pulp_created &&
|
150
|
-
|
151
|
-
pulp_last_updated == o.pulp_last_updated &&
|
159
|
+
prn == o.prn &&
|
152
160
|
artifact == o.artifact &&
|
161
|
+
pulp_last_updated == o.pulp_last_updated &&
|
162
|
+
pulp_href == o.pulp_href &&
|
153
163
|
version == o.version &&
|
154
164
|
name == o.name &&
|
155
165
|
namespace == o.namespace
|
@@ -164,7 +174,7 @@ module PulpAnsibleClient
|
|
164
174
|
# Calculates hash code according to all attributes.
|
165
175
|
# @return [Integer] Hash code
|
166
176
|
def hash
|
167
|
-
[pulp_created,
|
177
|
+
[pulp_created, prn, artifact, pulp_last_updated, pulp_href, version, name, namespace].hash
|
168
178
|
end
|
169
179
|
|
170
180
|
# Builds the object from hash
|
@@ -68,8 +68,8 @@ module PulpAnsibleClient
|
|
68
68
|
:'version' => :'String',
|
69
69
|
:'requires_ansible' => :'String',
|
70
70
|
:'pulp_created' => :'DateTime',
|
71
|
-
:'contents' => :'
|
72
|
-
:'dependencies' => :'
|
71
|
+
:'contents' => :'Object',
|
72
|
+
:'dependencies' => :'Object',
|
73
73
|
:'description' => :'String',
|
74
74
|
:'tags' => :'Array<AnsibleTagResponse>'
|
75
75
|
}
|