pulp_ansible_client 0.13.6 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +2 -2
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionDeprecationsApi.md +2 -2
- data/docs/ContentCollectionSignaturesApi.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +4 -2
- data/docs/ContentRolesApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/docs/RemotesRoleApi.md +2 -2
- data/docs/RepositoriesAnsibleApi.md +2 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/git_push.sh +58 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +10 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +7 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +7 -3
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +208 -208
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +199 -199
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -1
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- 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 +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_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_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -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 +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -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_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/api/remotes_git_api_spec.rb +1 -1
- data/spec/api/remotes_role_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +101 -100
@@ -15,54 +15,54 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A PEM encoded client certificate used for authentication.
|
19
|
+
attr_accessor :client_cert
|
20
20
|
|
21
21
|
# 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
22
|
attr_accessor :connect_timeout
|
23
23
|
|
24
|
-
# A
|
25
|
-
attr_accessor :
|
24
|
+
# A unique name for this remote.
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# The proxy URL. Format: scheme://host:port
|
28
|
+
attr_accessor :proxy_url
|
29
|
+
|
30
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
31
|
+
attr_accessor :max_retries
|
32
|
+
|
33
|
+
# 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.
|
34
|
+
attr_accessor :sock_read_timeout
|
26
35
|
|
27
36
|
# Headers for aiohttp.Clientsession
|
28
37
|
attr_accessor :headers
|
29
38
|
|
39
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
40
|
+
attr_accessor :download_concurrency
|
41
|
+
|
30
42
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
31
43
|
attr_accessor :total_timeout
|
32
44
|
|
33
|
-
attr_accessor :pulp_href
|
34
|
-
|
35
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
36
|
-
attr_accessor :sock_connect_timeout
|
37
|
-
|
38
45
|
# The URL of an external content source.
|
39
46
|
attr_accessor :url
|
40
47
|
|
41
|
-
#
|
42
|
-
attr_accessor :
|
43
|
-
|
44
|
-
# Timestamp of the most recent update of the remote.
|
45
|
-
attr_accessor :pulp_last_updated
|
48
|
+
# Timestamp of creation.
|
49
|
+
attr_accessor :pulp_created
|
46
50
|
|
47
51
|
attr_accessor :pulp_labels
|
48
52
|
|
49
|
-
#
|
50
|
-
attr_accessor :
|
53
|
+
# 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.
|
54
|
+
attr_accessor :sock_connect_timeout
|
55
|
+
|
56
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
57
|
+
attr_accessor :ca_cert
|
51
58
|
|
52
59
|
# If True, TLS peer validation must be performed.
|
53
60
|
attr_accessor :tls_validation
|
54
61
|
|
55
|
-
|
56
|
-
attr_accessor :pulp_created
|
57
|
-
|
58
|
-
# A unique name for this remote.
|
59
|
-
attr_accessor :name
|
60
|
-
|
61
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
62
|
-
attr_accessor :max_retries
|
62
|
+
attr_accessor :pulp_href
|
63
63
|
|
64
|
-
#
|
65
|
-
attr_accessor :
|
64
|
+
# Timestamp of the most recent update of the remote.
|
65
|
+
attr_accessor :pulp_last_updated
|
66
66
|
|
67
67
|
# Limits requests per second for each concurrent downloader
|
68
68
|
attr_accessor :rate_limit
|
@@ -76,23 +76,23 @@ module PulpAnsibleClient
|
|
76
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
77
77
|
def self.attribute_map
|
78
78
|
{
|
79
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
80
|
-
:'connect_timeout' => :'connect_timeout',
|
81
79
|
:'client_cert' => :'client_cert',
|
80
|
+
:'connect_timeout' => :'connect_timeout',
|
81
|
+
:'name' => :'name',
|
82
|
+
:'proxy_url' => :'proxy_url',
|
83
|
+
:'max_retries' => :'max_retries',
|
84
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
82
85
|
:'headers' => :'headers',
|
86
|
+
:'download_concurrency' => :'download_concurrency',
|
83
87
|
:'total_timeout' => :'total_timeout',
|
84
|
-
:'pulp_href' => :'pulp_href',
|
85
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
86
88
|
:'url' => :'url',
|
87
|
-
:'
|
88
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
89
|
+
:'pulp_created' => :'pulp_created',
|
89
90
|
:'pulp_labels' => :'pulp_labels',
|
90
|
-
:'
|
91
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
92
|
+
:'ca_cert' => :'ca_cert',
|
91
93
|
:'tls_validation' => :'tls_validation',
|
92
|
-
:'
|
93
|
-
:'
|
94
|
-
:'max_retries' => :'max_retries',
|
95
|
-
:'download_concurrency' => :'download_concurrency',
|
94
|
+
:'pulp_href' => :'pulp_href',
|
95
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
96
96
|
:'rate_limit' => :'rate_limit',
|
97
97
|
:'metadata_only' => :'metadata_only',
|
98
98
|
:'git_ref' => :'git_ref'
|
@@ -102,23 +102,23 @@ module PulpAnsibleClient
|
|
102
102
|
# Attribute type mapping.
|
103
103
|
def self.openapi_types
|
104
104
|
{
|
105
|
-
:'sock_read_timeout' => :'Float',
|
106
|
-
:'connect_timeout' => :'Float',
|
107
105
|
:'client_cert' => :'String',
|
106
|
+
:'connect_timeout' => :'Float',
|
107
|
+
:'name' => :'String',
|
108
|
+
:'proxy_url' => :'String',
|
109
|
+
:'max_retries' => :'Integer',
|
110
|
+
:'sock_read_timeout' => :'Float',
|
108
111
|
:'headers' => :'Array<Object>',
|
112
|
+
:'download_concurrency' => :'Integer',
|
109
113
|
:'total_timeout' => :'Float',
|
110
|
-
:'pulp_href' => :'String',
|
111
|
-
:'sock_connect_timeout' => :'Float',
|
112
114
|
:'url' => :'String',
|
113
|
-
:'
|
114
|
-
:'pulp_last_updated' => :'DateTime',
|
115
|
+
:'pulp_created' => :'DateTime',
|
115
116
|
:'pulp_labels' => :'Object',
|
116
|
-
:'
|
117
|
+
:'sock_connect_timeout' => :'Float',
|
118
|
+
:'ca_cert' => :'String',
|
117
119
|
:'tls_validation' => :'Boolean',
|
118
|
-
:'
|
119
|
-
:'
|
120
|
-
:'max_retries' => :'Integer',
|
121
|
-
:'download_concurrency' => :'Integer',
|
120
|
+
:'pulp_href' => :'String',
|
121
|
+
:'pulp_last_updated' => :'DateTime',
|
122
122
|
:'rate_limit' => :'Integer',
|
123
123
|
:'metadata_only' => :'Boolean',
|
124
124
|
:'git_ref' => :'String'
|
@@ -128,15 +128,15 @@ module PulpAnsibleClient
|
|
128
128
|
# List of attributes with nullable: true
|
129
129
|
def self.openapi_nullable
|
130
130
|
Set.new([
|
131
|
-
:'sock_read_timeout',
|
132
|
-
:'connect_timeout',
|
133
131
|
:'client_cert',
|
134
|
-
:'
|
135
|
-
:'sock_connect_timeout',
|
136
|
-
:'ca_cert',
|
132
|
+
:'connect_timeout',
|
137
133
|
:'proxy_url',
|
138
134
|
:'max_retries',
|
135
|
+
:'sock_read_timeout',
|
139
136
|
:'download_concurrency',
|
137
|
+
:'total_timeout',
|
138
|
+
:'sock_connect_timeout',
|
139
|
+
:'ca_cert',
|
140
140
|
:'rate_limit',
|
141
141
|
])
|
142
142
|
end
|
@@ -156,16 +156,28 @@ module PulpAnsibleClient
|
|
156
156
|
h[k.to_sym] = v
|
157
157
|
}
|
158
158
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
159
|
+
if attributes.key?(:'client_cert')
|
160
|
+
self.client_cert = attributes[:'client_cert']
|
161
161
|
end
|
162
162
|
|
163
163
|
if attributes.key?(:'connect_timeout')
|
164
164
|
self.connect_timeout = attributes[:'connect_timeout']
|
165
165
|
end
|
166
166
|
|
167
|
-
if attributes.key?(:'
|
168
|
-
self.
|
167
|
+
if attributes.key?(:'name')
|
168
|
+
self.name = attributes[:'name']
|
169
|
+
end
|
170
|
+
|
171
|
+
if attributes.key?(:'proxy_url')
|
172
|
+
self.proxy_url = attributes[:'proxy_url']
|
173
|
+
end
|
174
|
+
|
175
|
+
if attributes.key?(:'max_retries')
|
176
|
+
self.max_retries = attributes[:'max_retries']
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes.key?(:'sock_read_timeout')
|
180
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
169
181
|
end
|
170
182
|
|
171
183
|
if attributes.key?(:'headers')
|
@@ -174,56 +186,44 @@ module PulpAnsibleClient
|
|
174
186
|
end
|
175
187
|
end
|
176
188
|
|
177
|
-
if attributes.key?(:'
|
178
|
-
self.
|
179
|
-
end
|
180
|
-
|
181
|
-
if attributes.key?(:'pulp_href')
|
182
|
-
self.pulp_href = attributes[:'pulp_href']
|
189
|
+
if attributes.key?(:'download_concurrency')
|
190
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
183
191
|
end
|
184
192
|
|
185
|
-
if attributes.key?(:'
|
186
|
-
self.
|
193
|
+
if attributes.key?(:'total_timeout')
|
194
|
+
self.total_timeout = attributes[:'total_timeout']
|
187
195
|
end
|
188
196
|
|
189
197
|
if attributes.key?(:'url')
|
190
198
|
self.url = attributes[:'url']
|
191
199
|
end
|
192
200
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
self.
|
195
|
-
end
|
196
|
-
|
197
|
-
if attributes.key?(:'pulp_last_updated')
|
198
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
201
|
+
if attributes.key?(:'pulp_created')
|
202
|
+
self.pulp_created = attributes[:'pulp_created']
|
199
203
|
end
|
200
204
|
|
201
205
|
if attributes.key?(:'pulp_labels')
|
202
206
|
self.pulp_labels = attributes[:'pulp_labels']
|
203
207
|
end
|
204
208
|
|
205
|
-
if attributes.key?(:'
|
206
|
-
self.
|
207
|
-
end
|
208
|
-
|
209
|
-
if attributes.key?(:'tls_validation')
|
210
|
-
self.tls_validation = attributes[:'tls_validation']
|
209
|
+
if attributes.key?(:'sock_connect_timeout')
|
210
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
211
211
|
end
|
212
212
|
|
213
|
-
if attributes.key?(:'
|
214
|
-
self.
|
213
|
+
if attributes.key?(:'ca_cert')
|
214
|
+
self.ca_cert = attributes[:'ca_cert']
|
215
215
|
end
|
216
216
|
|
217
|
-
if attributes.key?(:'
|
218
|
-
self.
|
217
|
+
if attributes.key?(:'tls_validation')
|
218
|
+
self.tls_validation = attributes[:'tls_validation']
|
219
219
|
end
|
220
220
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
221
|
+
if attributes.key?(:'pulp_href')
|
222
|
+
self.pulp_href = attributes[:'pulp_href']
|
223
223
|
end
|
224
224
|
|
225
|
-
if attributes.key?(:'
|
226
|
-
self.
|
225
|
+
if attributes.key?(:'pulp_last_updated')
|
226
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
227
227
|
end
|
228
228
|
|
229
229
|
if attributes.key?(:'rate_limit')
|
@@ -243,32 +243,32 @@ module PulpAnsibleClient
|
|
243
243
|
# @return Array for valid properties with the reasons
|
244
244
|
def list_invalid_properties
|
245
245
|
invalid_properties = Array.new
|
246
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
247
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
248
|
+
end
|
249
|
+
|
250
|
+
if @name.nil?
|
251
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
252
|
+
end
|
253
|
+
|
246
254
|
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
247
255
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
248
256
|
end
|
249
257
|
|
250
|
-
if !@
|
251
|
-
invalid_properties.push('invalid value for "
|
258
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
259
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
252
260
|
end
|
253
261
|
|
254
262
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
255
263
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
256
264
|
end
|
257
265
|
|
258
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
259
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
260
|
-
end
|
261
|
-
|
262
266
|
if @url.nil?
|
263
267
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
264
268
|
end
|
265
269
|
|
266
|
-
if
|
267
|
-
invalid_properties.push('invalid value for "
|
268
|
-
end
|
269
|
-
|
270
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
271
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
270
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
271
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
272
272
|
end
|
273
273
|
|
274
274
|
invalid_properties
|
@@ -277,16 +277,26 @@ module PulpAnsibleClient
|
|
277
277
|
# Check to see if the all the properties in the model are valid
|
278
278
|
# @return true if the model is valid
|
279
279
|
def valid?
|
280
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
281
280
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
282
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
283
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
284
|
-
return false if @url.nil?
|
285
281
|
return false if @name.nil?
|
282
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
286
283
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
284
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
285
|
+
return false if @url.nil?
|
286
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
287
287
|
true
|
288
288
|
end
|
289
289
|
|
290
|
+
# Custom attribute writer method with validation
|
291
|
+
# @param [Object] connect_timeout Value to be assigned
|
292
|
+
def connect_timeout=(connect_timeout)
|
293
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
294
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
295
|
+
end
|
296
|
+
|
297
|
+
@connect_timeout = connect_timeout
|
298
|
+
end
|
299
|
+
|
290
300
|
# Custom attribute writer method with validation
|
291
301
|
# @param [Object] sock_read_timeout Value to be assigned
|
292
302
|
def sock_read_timeout=(sock_read_timeout)
|
@@ -298,13 +308,13 @@ module PulpAnsibleClient
|
|
298
308
|
end
|
299
309
|
|
300
310
|
# Custom attribute writer method with validation
|
301
|
-
# @param [Object]
|
302
|
-
def
|
303
|
-
if !
|
304
|
-
fail ArgumentError, 'invalid value for "
|
311
|
+
# @param [Object] download_concurrency Value to be assigned
|
312
|
+
def download_concurrency=(download_concurrency)
|
313
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
314
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
305
315
|
end
|
306
316
|
|
307
|
-
@
|
317
|
+
@download_concurrency = download_concurrency
|
308
318
|
end
|
309
319
|
|
310
320
|
# Custom attribute writer method with validation
|
@@ -327,38 +337,28 @@ module PulpAnsibleClient
|
|
327
337
|
@sock_connect_timeout = sock_connect_timeout
|
328
338
|
end
|
329
339
|
|
330
|
-
# Custom attribute writer method with validation
|
331
|
-
# @param [Object] download_concurrency Value to be assigned
|
332
|
-
def download_concurrency=(download_concurrency)
|
333
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
334
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
335
|
-
end
|
336
|
-
|
337
|
-
@download_concurrency = download_concurrency
|
338
|
-
end
|
339
|
-
|
340
340
|
# Checks equality by comparing each attribute.
|
341
341
|
# @param [Object] Object to be compared
|
342
342
|
def ==(o)
|
343
343
|
return true if self.equal?(o)
|
344
344
|
self.class == o.class &&
|
345
|
-
sock_read_timeout == o.sock_read_timeout &&
|
346
|
-
connect_timeout == o.connect_timeout &&
|
347
345
|
client_cert == o.client_cert &&
|
346
|
+
connect_timeout == o.connect_timeout &&
|
347
|
+
name == o.name &&
|
348
|
+
proxy_url == o.proxy_url &&
|
349
|
+
max_retries == o.max_retries &&
|
350
|
+
sock_read_timeout == o.sock_read_timeout &&
|
348
351
|
headers == o.headers &&
|
352
|
+
download_concurrency == o.download_concurrency &&
|
349
353
|
total_timeout == o.total_timeout &&
|
350
|
-
pulp_href == o.pulp_href &&
|
351
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
352
354
|
url == o.url &&
|
353
|
-
|
354
|
-
pulp_last_updated == o.pulp_last_updated &&
|
355
|
+
pulp_created == o.pulp_created &&
|
355
356
|
pulp_labels == o.pulp_labels &&
|
356
|
-
|
357
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
358
|
+
ca_cert == o.ca_cert &&
|
357
359
|
tls_validation == o.tls_validation &&
|
358
|
-
|
359
|
-
|
360
|
-
max_retries == o.max_retries &&
|
361
|
-
download_concurrency == o.download_concurrency &&
|
360
|
+
pulp_href == o.pulp_href &&
|
361
|
+
pulp_last_updated == o.pulp_last_updated &&
|
362
362
|
rate_limit == o.rate_limit &&
|
363
363
|
metadata_only == o.metadata_only &&
|
364
364
|
git_ref == o.git_ref
|
@@ -373,7 +373,7 @@ module PulpAnsibleClient
|
|
373
373
|
# Calculates hash code according to all attributes.
|
374
374
|
# @return [Integer] Hash code
|
375
375
|
def hash
|
376
|
-
[
|
376
|
+
[client_cert, connect_timeout, name, proxy_url, max_retries, sock_read_timeout, headers, download_concurrency, total_timeout, url, pulp_created, pulp_labels, sock_connect_timeout, ca_cert, tls_validation, pulp_href, pulp_last_updated, rate_limit, metadata_only, git_ref].hash
|
377
377
|
end
|
378
378
|
|
379
379
|
# Builds the object from hash
|
@@ -39,13 +39,13 @@ module PulpAnsibleClient
|
|
39
39
|
# The username to authenticte to the proxy.
|
40
40
|
attr_accessor :proxy_username
|
41
41
|
|
42
|
-
# The password to
|
42
|
+
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
43
43
|
attr_accessor :proxy_password
|
44
44
|
|
45
45
|
# The username to be used for authentication when syncing.
|
46
46
|
attr_accessor :username
|
47
47
|
|
48
|
-
# The password to be used for authentication when syncing.
|
48
|
+
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
49
49
|
attr_accessor :password
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|
@@ -18,11 +18,11 @@ module PulpAnsibleClient
|
|
18
18
|
# Artifact file representing the physical content
|
19
19
|
attr_accessor :artifact
|
20
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
21
23
|
# Timestamp of creation.
|
22
24
|
attr_accessor :pulp_created
|
23
25
|
|
24
|
-
attr_accessor :pulp_href
|
25
|
-
|
26
26
|
attr_accessor :version
|
27
27
|
|
28
28
|
attr_accessor :name
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'artifact' => :'artifact',
|
36
|
-
:'pulp_created' => :'pulp_created',
|
37
36
|
:'pulp_href' => :'pulp_href',
|
37
|
+
:'pulp_created' => :'pulp_created',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
40
40
|
:'namespace' => :'namespace'
|
@@ -45,8 +45,8 @@ module PulpAnsibleClient
|
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
47
|
:'artifact' => :'String',
|
48
|
-
:'pulp_created' => :'DateTime',
|
49
48
|
:'pulp_href' => :'String',
|
49
|
+
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -78,14 +78,14 @@ module PulpAnsibleClient
|
|
78
78
|
self.artifact = attributes[:'artifact']
|
79
79
|
end
|
80
80
|
|
81
|
-
if attributes.key?(:'pulp_created')
|
82
|
-
self.pulp_created = attributes[:'pulp_created']
|
83
|
-
end
|
84
|
-
|
85
81
|
if attributes.key?(:'pulp_href')
|
86
82
|
self.pulp_href = attributes[:'pulp_href']
|
87
83
|
end
|
88
84
|
|
85
|
+
if attributes.key?(:'pulp_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
87
|
+
end
|
88
|
+
|
89
89
|
if attributes.key?(:'version')
|
90
90
|
self.version = attributes[:'version']
|
91
91
|
end
|
@@ -138,8 +138,8 @@ module PulpAnsibleClient
|
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
140
|
artifact == o.artifact &&
|
141
|
-
pulp_created == o.pulp_created &&
|
142
141
|
pulp_href == o.pulp_href &&
|
142
|
+
pulp_created == o.pulp_created &&
|
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
|
-
[artifact,
|
157
|
+
[artifact, pulp_href, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|
@@ -39,13 +39,13 @@ module PulpAnsibleClient
|
|
39
39
|
# The username to authenticte to the proxy.
|
40
40
|
attr_accessor :proxy_username
|
41
41
|
|
42
|
-
# The password to
|
42
|
+
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
43
43
|
attr_accessor :proxy_password
|
44
44
|
|
45
45
|
# The username to be used for authentication when syncing.
|
46
46
|
attr_accessor :username
|
47
47
|
|
48
|
-
# The password to be used for authentication when syncing.
|
48
|
+
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
49
49
|
attr_accessor :password
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|