pulp_ansible_client 0.20.7 → 0.21.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 +4 -4
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionVersionSignature.md +3 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionSignaturesApi.md +7 -5
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/TagResponse.md +3 -1
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +9 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +12 -7
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +243 -243
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -139
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/tag_response.rb +13 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +2 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/tag_response_spec.rb +6 -0
- metadata +131 -131
@@ -15,57 +15,57 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# The proxy URL. Format: scheme://host:port
|
22
|
-
attr_accessor :proxy_url
|
18
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
19
|
+
attr_accessor :ca_cert
|
23
20
|
|
24
21
|
# Timestamp of the most recent update of the remote.
|
25
22
|
attr_accessor :pulp_last_updated
|
26
23
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
29
|
-
|
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.
|
31
|
-
attr_accessor :connect_timeout
|
24
|
+
# The URL of an external content source.
|
25
|
+
attr_accessor :url
|
32
26
|
|
33
|
-
#
|
34
|
-
attr_accessor :
|
27
|
+
# If True, TLS peer validation must be performed.
|
28
|
+
attr_accessor :tls_validation
|
35
29
|
|
36
30
|
attr_accessor :pulp_href
|
37
31
|
|
32
|
+
# 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.
|
33
|
+
attr_accessor :sock_read_timeout
|
34
|
+
|
35
|
+
# Timestamp of creation.
|
36
|
+
attr_accessor :pulp_created
|
37
|
+
|
38
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
39
|
+
attr_accessor :max_retries
|
40
|
+
|
38
41
|
# A unique name for this remote.
|
39
42
|
attr_accessor :name
|
40
43
|
|
41
|
-
|
44
|
+
# Headers for aiohttp.Clientsession
|
45
|
+
attr_accessor :headers
|
42
46
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
47
|
+
# Limits requests per second for each concurrent downloader
|
48
|
+
attr_accessor :rate_limit
|
49
|
+
|
50
|
+
# A PEM encoded client certificate used for authentication.
|
51
|
+
attr_accessor :client_cert
|
45
52
|
|
46
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.
|
47
54
|
attr_accessor :sock_connect_timeout
|
48
55
|
|
49
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
50
|
-
attr_accessor :total_timeout
|
51
|
-
|
52
56
|
# List of hidden (write only) fields
|
53
57
|
attr_accessor :hidden_fields
|
54
58
|
|
55
|
-
# aiohttp.ClientTimeout.
|
56
|
-
attr_accessor :
|
57
|
-
|
58
|
-
# The URL of an external content source.
|
59
|
-
attr_accessor :url
|
59
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
60
|
+
attr_accessor :connect_timeout
|
60
61
|
|
61
|
-
#
|
62
|
-
attr_accessor :
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
63
|
+
attr_accessor :total_timeout
|
63
64
|
|
64
|
-
|
65
|
-
attr_accessor :rate_limit
|
65
|
+
attr_accessor :pulp_labels
|
66
66
|
|
67
|
-
#
|
68
|
-
attr_accessor :
|
67
|
+
# The proxy URL. Format: scheme://host:port
|
68
|
+
attr_accessor :proxy_url
|
69
69
|
|
70
70
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
71
71
|
attr_accessor :download_concurrency
|
@@ -79,24 +79,24 @@ module PulpAnsibleClient
|
|
79
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
80
|
def self.attribute_map
|
81
81
|
{
|
82
|
-
:'headers' => :'headers',
|
83
|
-
:'proxy_url' => :'proxy_url',
|
84
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
85
|
-
:'max_retries' => :'max_retries',
|
86
|
-
:'connect_timeout' => :'connect_timeout',
|
87
82
|
:'ca_cert' => :'ca_cert',
|
88
|
-
:'
|
89
|
-
:'name' => :'name',
|
90
|
-
:'pulp_labels' => :'pulp_labels',
|
91
|
-
:'pulp_created' => :'pulp_created',
|
92
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
93
|
-
:'total_timeout' => :'total_timeout',
|
94
|
-
:'hidden_fields' => :'hidden_fields',
|
95
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
83
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
96
84
|
:'url' => :'url',
|
97
85
|
:'tls_validation' => :'tls_validation',
|
86
|
+
:'pulp_href' => :'pulp_href',
|
87
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
88
|
+
:'pulp_created' => :'pulp_created',
|
89
|
+
:'max_retries' => :'max_retries',
|
90
|
+
:'name' => :'name',
|
91
|
+
:'headers' => :'headers',
|
98
92
|
:'rate_limit' => :'rate_limit',
|
99
93
|
:'client_cert' => :'client_cert',
|
94
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
95
|
+
:'hidden_fields' => :'hidden_fields',
|
96
|
+
:'connect_timeout' => :'connect_timeout',
|
97
|
+
:'total_timeout' => :'total_timeout',
|
98
|
+
:'pulp_labels' => :'pulp_labels',
|
99
|
+
:'proxy_url' => :'proxy_url',
|
100
100
|
:'download_concurrency' => :'download_concurrency',
|
101
101
|
:'metadata_only' => :'metadata_only',
|
102
102
|
:'git_ref' => :'git_ref'
|
@@ -106,24 +106,24 @@ module PulpAnsibleClient
|
|
106
106
|
# Attribute type mapping.
|
107
107
|
def self.openapi_types
|
108
108
|
{
|
109
|
-
:'headers' => :'Array<Object>',
|
110
|
-
:'proxy_url' => :'String',
|
111
|
-
:'pulp_last_updated' => :'DateTime',
|
112
|
-
:'max_retries' => :'Integer',
|
113
|
-
:'connect_timeout' => :'Float',
|
114
109
|
:'ca_cert' => :'String',
|
115
|
-
:'
|
116
|
-
:'name' => :'String',
|
117
|
-
:'pulp_labels' => :'Hash<String, String>',
|
118
|
-
:'pulp_created' => :'DateTime',
|
119
|
-
:'sock_connect_timeout' => :'Float',
|
120
|
-
:'total_timeout' => :'Float',
|
121
|
-
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
122
|
-
:'sock_read_timeout' => :'Float',
|
110
|
+
:'pulp_last_updated' => :'DateTime',
|
123
111
|
:'url' => :'String',
|
124
112
|
:'tls_validation' => :'Boolean',
|
113
|
+
:'pulp_href' => :'String',
|
114
|
+
:'sock_read_timeout' => :'Float',
|
115
|
+
:'pulp_created' => :'DateTime',
|
116
|
+
:'max_retries' => :'Integer',
|
117
|
+
:'name' => :'String',
|
118
|
+
:'headers' => :'Array<Object>',
|
125
119
|
:'rate_limit' => :'Integer',
|
126
120
|
:'client_cert' => :'String',
|
121
|
+
:'sock_connect_timeout' => :'Float',
|
122
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
123
|
+
:'connect_timeout' => :'Float',
|
124
|
+
:'total_timeout' => :'Float',
|
125
|
+
:'pulp_labels' => :'Hash<String, String>',
|
126
|
+
:'proxy_url' => :'String',
|
127
127
|
:'download_concurrency' => :'Integer',
|
128
128
|
:'metadata_only' => :'Boolean',
|
129
129
|
:'git_ref' => :'String'
|
@@ -133,15 +133,15 @@ module PulpAnsibleClient
|
|
133
133
|
# List of attributes with nullable: true
|
134
134
|
def self.openapi_nullable
|
135
135
|
Set.new([
|
136
|
-
:'proxy_url',
|
137
|
-
:'max_retries',
|
138
|
-
:'connect_timeout',
|
139
136
|
:'ca_cert',
|
140
|
-
:'sock_connect_timeout',
|
141
|
-
:'total_timeout',
|
142
137
|
:'sock_read_timeout',
|
138
|
+
:'max_retries',
|
143
139
|
:'rate_limit',
|
144
140
|
:'client_cert',
|
141
|
+
:'sock_connect_timeout',
|
142
|
+
:'connect_timeout',
|
143
|
+
:'total_timeout',
|
144
|
+
:'proxy_url',
|
145
145
|
:'download_concurrency',
|
146
146
|
])
|
147
147
|
end
|
@@ -161,56 +161,58 @@ module PulpAnsibleClient
|
|
161
161
|
h[k.to_sym] = v
|
162
162
|
}
|
163
163
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
|
166
|
-
self.headers = value
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
if attributes.key?(:'proxy_url')
|
171
|
-
self.proxy_url = attributes[:'proxy_url']
|
164
|
+
if attributes.key?(:'ca_cert')
|
165
|
+
self.ca_cert = attributes[:'ca_cert']
|
172
166
|
end
|
173
167
|
|
174
168
|
if attributes.key?(:'pulp_last_updated')
|
175
169
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
176
170
|
end
|
177
171
|
|
178
|
-
if attributes.key?(:'
|
179
|
-
self.
|
180
|
-
end
|
181
|
-
|
182
|
-
if attributes.key?(:'connect_timeout')
|
183
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
172
|
+
if attributes.key?(:'url')
|
173
|
+
self.url = attributes[:'url']
|
184
174
|
end
|
185
175
|
|
186
|
-
if attributes.key?(:'
|
187
|
-
self.
|
176
|
+
if attributes.key?(:'tls_validation')
|
177
|
+
self.tls_validation = attributes[:'tls_validation']
|
188
178
|
end
|
189
179
|
|
190
180
|
if attributes.key?(:'pulp_href')
|
191
181
|
self.pulp_href = attributes[:'pulp_href']
|
192
182
|
end
|
193
183
|
|
184
|
+
if attributes.key?(:'sock_read_timeout')
|
185
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes.key?(:'pulp_created')
|
189
|
+
self.pulp_created = attributes[:'pulp_created']
|
190
|
+
end
|
191
|
+
|
192
|
+
if attributes.key?(:'max_retries')
|
193
|
+
self.max_retries = attributes[:'max_retries']
|
194
|
+
end
|
195
|
+
|
194
196
|
if attributes.key?(:'name')
|
195
197
|
self.name = attributes[:'name']
|
196
198
|
end
|
197
199
|
|
198
|
-
if attributes.key?(:'
|
199
|
-
if (value = attributes[:'
|
200
|
-
self.
|
200
|
+
if attributes.key?(:'headers')
|
201
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
202
|
+
self.headers = value
|
201
203
|
end
|
202
204
|
end
|
203
205
|
|
204
|
-
if attributes.key?(:'
|
205
|
-
self.
|
206
|
+
if attributes.key?(:'rate_limit')
|
207
|
+
self.rate_limit = attributes[:'rate_limit']
|
206
208
|
end
|
207
209
|
|
208
|
-
if attributes.key?(:'
|
209
|
-
self.
|
210
|
+
if attributes.key?(:'client_cert')
|
211
|
+
self.client_cert = attributes[:'client_cert']
|
210
212
|
end
|
211
213
|
|
212
|
-
if attributes.key?(:'
|
213
|
-
self.
|
214
|
+
if attributes.key?(:'sock_connect_timeout')
|
215
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
214
216
|
end
|
215
217
|
|
216
218
|
if attributes.key?(:'hidden_fields')
|
@@ -219,24 +221,22 @@ module PulpAnsibleClient
|
|
219
221
|
end
|
220
222
|
end
|
221
223
|
|
222
|
-
if attributes.key?(:'
|
223
|
-
self.
|
224
|
-
end
|
225
|
-
|
226
|
-
if attributes.key?(:'url')
|
227
|
-
self.url = attributes[:'url']
|
224
|
+
if attributes.key?(:'connect_timeout')
|
225
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
228
226
|
end
|
229
227
|
|
230
|
-
if attributes.key?(:'
|
231
|
-
self.
|
228
|
+
if attributes.key?(:'total_timeout')
|
229
|
+
self.total_timeout = attributes[:'total_timeout']
|
232
230
|
end
|
233
231
|
|
234
|
-
if attributes.key?(:'
|
235
|
-
|
232
|
+
if attributes.key?(:'pulp_labels')
|
233
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
234
|
+
self.pulp_labels = value
|
235
|
+
end
|
236
236
|
end
|
237
237
|
|
238
|
-
if attributes.key?(:'
|
239
|
-
self.
|
238
|
+
if attributes.key?(:'proxy_url')
|
239
|
+
self.proxy_url = attributes[:'proxy_url']
|
240
240
|
end
|
241
241
|
|
242
242
|
if attributes.key?(:'download_concurrency')
|
@@ -256,8 +256,12 @@ 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
|
260
|
-
invalid_properties.push('invalid value for "
|
259
|
+
if @url.nil?
|
260
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
261
|
+
end
|
262
|
+
|
263
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
264
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
261
265
|
end
|
262
266
|
|
263
267
|
if @name.nil?
|
@@ -268,16 +272,12 @@ module PulpAnsibleClient
|
|
268
272
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
269
273
|
end
|
270
274
|
|
271
|
-
if !@
|
272
|
-
invalid_properties.push('invalid value for "
|
273
|
-
end
|
274
|
-
|
275
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
276
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
275
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
276
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
277
277
|
end
|
278
278
|
|
279
|
-
if
|
280
|
-
invalid_properties.push('invalid value for "
|
279
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
280
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
281
281
|
end
|
282
282
|
|
283
283
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
@@ -290,24 +290,24 @@ 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
|
293
|
+
return false if @url.nil?
|
294
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
294
295
|
return false if @name.nil?
|
295
296
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
297
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
296
298
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
297
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
298
|
-
return false if @url.nil?
|
299
299
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
300
300
|
true
|
301
301
|
end
|
302
302
|
|
303
303
|
# Custom attribute writer method with validation
|
304
|
-
# @param [Object]
|
305
|
-
def
|
306
|
-
if !
|
307
|
-
fail ArgumentError, 'invalid value for "
|
304
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
305
|
+
def sock_read_timeout=(sock_read_timeout)
|
306
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
307
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
308
308
|
end
|
309
309
|
|
310
|
-
@
|
310
|
+
@sock_read_timeout = sock_read_timeout
|
311
311
|
end
|
312
312
|
|
313
313
|
# Custom attribute writer method with validation
|
@@ -321,23 +321,23 @@ module PulpAnsibleClient
|
|
321
321
|
end
|
322
322
|
|
323
323
|
# Custom attribute writer method with validation
|
324
|
-
# @param [Object]
|
325
|
-
def
|
326
|
-
if !
|
327
|
-
fail ArgumentError, 'invalid value for "
|
324
|
+
# @param [Object] connect_timeout Value to be assigned
|
325
|
+
def connect_timeout=(connect_timeout)
|
326
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
327
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
328
328
|
end
|
329
329
|
|
330
|
-
@
|
330
|
+
@connect_timeout = connect_timeout
|
331
331
|
end
|
332
332
|
|
333
333
|
# Custom attribute writer method with validation
|
334
|
-
# @param [Object]
|
335
|
-
def
|
336
|
-
if !
|
337
|
-
fail ArgumentError, 'invalid value for "
|
334
|
+
# @param [Object] total_timeout Value to be assigned
|
335
|
+
def total_timeout=(total_timeout)
|
336
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
337
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
338
338
|
end
|
339
339
|
|
340
|
-
@
|
340
|
+
@total_timeout = total_timeout
|
341
341
|
end
|
342
342
|
|
343
343
|
# Custom attribute writer method with validation
|
@@ -355,24 +355,24 @@ module PulpAnsibleClient
|
|
355
355
|
def ==(o)
|
356
356
|
return true if self.equal?(o)
|
357
357
|
self.class == o.class &&
|
358
|
-
headers == o.headers &&
|
359
|
-
proxy_url == o.proxy_url &&
|
360
|
-
pulp_last_updated == o.pulp_last_updated &&
|
361
|
-
max_retries == o.max_retries &&
|
362
|
-
connect_timeout == o.connect_timeout &&
|
363
358
|
ca_cert == o.ca_cert &&
|
364
|
-
|
365
|
-
name == o.name &&
|
366
|
-
pulp_labels == o.pulp_labels &&
|
367
|
-
pulp_created == o.pulp_created &&
|
368
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
369
|
-
total_timeout == o.total_timeout &&
|
370
|
-
hidden_fields == o.hidden_fields &&
|
371
|
-
sock_read_timeout == o.sock_read_timeout &&
|
359
|
+
pulp_last_updated == o.pulp_last_updated &&
|
372
360
|
url == o.url &&
|
373
361
|
tls_validation == o.tls_validation &&
|
362
|
+
pulp_href == o.pulp_href &&
|
363
|
+
sock_read_timeout == o.sock_read_timeout &&
|
364
|
+
pulp_created == o.pulp_created &&
|
365
|
+
max_retries == o.max_retries &&
|
366
|
+
name == o.name &&
|
367
|
+
headers == o.headers &&
|
374
368
|
rate_limit == o.rate_limit &&
|
375
369
|
client_cert == o.client_cert &&
|
370
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
371
|
+
hidden_fields == o.hidden_fields &&
|
372
|
+
connect_timeout == o.connect_timeout &&
|
373
|
+
total_timeout == o.total_timeout &&
|
374
|
+
pulp_labels == o.pulp_labels &&
|
375
|
+
proxy_url == o.proxy_url &&
|
376
376
|
download_concurrency == o.download_concurrency &&
|
377
377
|
metadata_only == o.metadata_only &&
|
378
378
|
git_ref == o.git_ref
|
@@ -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
|
+
[ca_cert, pulp_last_updated, url, tls_validation, pulp_href, sock_read_timeout, pulp_created, max_retries, name, headers, rate_limit, client_cert, sock_connect_timeout, hidden_fields, connect_timeout, total_timeout, pulp_labels, proxy_url, download_concurrency, metadata_only, git_ref].hash
|
391
391
|
end
|
392
392
|
|
393
393
|
# Builds the object from hash
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRole
|
18
|
-
# A URI of a repository the new content unit should be associated with.
|
19
|
-
attr_accessor :repository
|
20
|
-
|
21
18
|
# Artifact file representing the physical content
|
22
19
|
attr_accessor :artifact
|
23
20
|
|
21
|
+
# A URI of a repository the new content unit should be associated with.
|
22
|
+
attr_accessor :repository
|
23
|
+
|
24
24
|
attr_accessor :version
|
25
25
|
|
26
26
|
attr_accessor :name
|
@@ -30,8 +30,8 @@ module PulpAnsibleClient
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
|
-
:'repository' => :'repository',
|
34
33
|
:'artifact' => :'artifact',
|
34
|
+
:'repository' => :'repository',
|
35
35
|
:'version' => :'version',
|
36
36
|
:'name' => :'name',
|
37
37
|
:'namespace' => :'namespace'
|
@@ -41,8 +41,8 @@ module PulpAnsibleClient
|
|
41
41
|
# Attribute type mapping.
|
42
42
|
def self.openapi_types
|
43
43
|
{
|
44
|
-
:'repository' => :'String',
|
45
44
|
:'artifact' => :'String',
|
45
|
+
:'repository' => :'String',
|
46
46
|
:'version' => :'String',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'namespace' => :'String'
|
@@ -70,14 +70,14 @@ module PulpAnsibleClient
|
|
70
70
|
h[k.to_sym] = v
|
71
71
|
}
|
72
72
|
|
73
|
-
if attributes.key?(:'repository')
|
74
|
-
self.repository = attributes[:'repository']
|
75
|
-
end
|
76
|
-
|
77
73
|
if attributes.key?(:'artifact')
|
78
74
|
self.artifact = attributes[:'artifact']
|
79
75
|
end
|
80
76
|
|
77
|
+
if attributes.key?(:'repository')
|
78
|
+
self.repository = attributes[:'repository']
|
79
|
+
end
|
80
|
+
|
81
81
|
if attributes.key?(:'version')
|
82
82
|
self.version = attributes[:'version']
|
83
83
|
end
|
@@ -186,8 +186,8 @@ module PulpAnsibleClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
-
repository == o.repository &&
|
190
189
|
artifact == o.artifact &&
|
190
|
+
repository == o.repository &&
|
191
191
|
version == o.version &&
|
192
192
|
name == o.name &&
|
193
193
|
namespace == o.namespace
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
202
202
|
# Calculates hash code according to all attributes.
|
203
203
|
# @return [Integer] Hash code
|
204
204
|
def hash
|
205
|
-
[
|
205
|
+
[artifact, repository, version, name, namespace].hash
|
206
206
|
end
|
207
207
|
|
208
208
|
# 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
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
20
|
|
21
21
|
attr_accessor :pulp_href
|
22
22
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
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_created' => :'pulp_created',
|
36
|
-
:'pulp_href' => :'pulp_href',
|
37
35
|
:'artifact' => :'artifact',
|
36
|
+
:'pulp_href' => :'pulp_href',
|
37
|
+
:'pulp_created' => :'pulp_created',
|
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_created' => :'DateTime',
|
48
|
-
:'pulp_href' => :'String',
|
49
47
|
:'artifact' => :'String',
|
48
|
+
:'pulp_href' => :'String',
|
49
|
+
:'pulp_created' => :'DateTime',
|
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_href')
|
82
82
|
self.pulp_href = attributes[:'pulp_href']
|
83
83
|
end
|
84
84
|
|
85
|
-
if attributes.key?(:'
|
86
|
-
self.
|
85
|
+
if attributes.key?(:'pulp_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
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_created == o.pulp_created &&
|
141
|
-
pulp_href == o.pulp_href &&
|
142
140
|
artifact == o.artifact &&
|
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
|
-
[
|
157
|
+
[artifact, pulp_href, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|