pulp_ansible_client 0.21.2 → 0.21.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRole.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +132 -132
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +15 -15
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +2 -2
@@ -18,17 +18,16 @@ module PulpAnsibleClient
|
|
18
18
|
# A unique name for this remote.
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
|
-
|
22
|
-
attr_accessor :download_concurrency
|
21
|
+
attr_accessor :pulp_labels
|
23
22
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
23
|
+
# List of hidden (write only) fields
|
24
|
+
attr_accessor :hidden_fields
|
26
25
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
29
28
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
29
|
+
# The proxy URL. Format: scheme://host:port
|
30
|
+
attr_accessor :proxy_url
|
32
31
|
|
33
32
|
# A PEM encoded client certificate used for authentication.
|
34
33
|
attr_accessor :client_cert
|
@@ -38,37 +37,38 @@ module PulpAnsibleClient
|
|
38
37
|
# 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.
|
39
38
|
attr_accessor :sock_read_timeout
|
40
39
|
|
41
|
-
#
|
42
|
-
attr_accessor :
|
43
|
-
|
44
|
-
# Timestamp of the most recent update of the remote.
|
45
|
-
attr_accessor :pulp_last_updated
|
40
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
41
|
+
attr_accessor :total_timeout
|
46
42
|
|
47
43
|
# If True, TLS peer validation must be performed.
|
48
44
|
attr_accessor :tls_validation
|
49
45
|
|
46
|
+
# Limits requests per second for each concurrent downloader
|
47
|
+
attr_accessor :rate_limit
|
48
|
+
|
49
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
|
+
attr_accessor :max_retries
|
51
|
+
|
52
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
53
|
+
attr_accessor :download_concurrency
|
54
|
+
|
50
55
|
# The URL of an external content source.
|
51
56
|
attr_accessor :url
|
52
57
|
|
53
|
-
#
|
54
|
-
attr_accessor :
|
58
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
59
|
+
attr_accessor :ca_cert
|
55
60
|
|
56
|
-
#
|
57
|
-
attr_accessor :
|
61
|
+
# Timestamp of the most recent update of the remote.
|
62
|
+
attr_accessor :pulp_last_updated
|
58
63
|
|
59
|
-
#
|
60
|
-
attr_accessor :
|
64
|
+
# Headers for aiohttp.Clientsession
|
65
|
+
attr_accessor :headers
|
61
66
|
|
62
67
|
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
63
68
|
attr_accessor :connect_timeout
|
64
69
|
|
65
|
-
|
66
|
-
|
67
|
-
# List of hidden (write only) fields
|
68
|
-
attr_accessor :hidden_fields
|
69
|
-
|
70
|
-
# The proxy URL. Format: scheme://host:port
|
71
|
-
attr_accessor :proxy_url
|
70
|
+
# 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.
|
71
|
+
attr_accessor :sock_connect_timeout
|
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
|
@@ -80,24 +80,24 @@ module PulpAnsibleClient
|
|
80
80
|
def self.attribute_map
|
81
81
|
{
|
82
82
|
:'name' => :'name',
|
83
|
-
:'
|
84
|
-
:'
|
85
|
-
:'
|
86
|
-
:'
|
83
|
+
:'pulp_labels' => :'pulp_labels',
|
84
|
+
:'hidden_fields' => :'hidden_fields',
|
85
|
+
:'pulp_created' => :'pulp_created',
|
86
|
+
:'proxy_url' => :'proxy_url',
|
87
87
|
:'client_cert' => :'client_cert',
|
88
88
|
:'pulp_href' => :'pulp_href',
|
89
89
|
:'sock_read_timeout' => :'sock_read_timeout',
|
90
|
-
:'
|
91
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
90
|
+
:'total_timeout' => :'total_timeout',
|
92
91
|
:'tls_validation' => :'tls_validation',
|
92
|
+
:'rate_limit' => :'rate_limit',
|
93
|
+
:'max_retries' => :'max_retries',
|
94
|
+
:'download_concurrency' => :'download_concurrency',
|
93
95
|
:'url' => :'url',
|
96
|
+
:'ca_cert' => :'ca_cert',
|
97
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
94
98
|
:'headers' => :'headers',
|
95
|
-
:'max_retries' => :'max_retries',
|
96
|
-
:'pulp_created' => :'pulp_created',
|
97
99
|
:'connect_timeout' => :'connect_timeout',
|
98
|
-
:'
|
99
|
-
:'hidden_fields' => :'hidden_fields',
|
100
|
-
:'proxy_url' => :'proxy_url',
|
100
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
101
101
|
:'metadata_only' => :'metadata_only',
|
102
102
|
:'git_ref' => :'git_ref'
|
103
103
|
}
|
@@ -107,24 +107,24 @@ module PulpAnsibleClient
|
|
107
107
|
def self.openapi_types
|
108
108
|
{
|
109
109
|
:'name' => :'String',
|
110
|
-
:'
|
111
|
-
:'
|
112
|
-
:'
|
113
|
-
:'
|
110
|
+
:'pulp_labels' => :'Hash<String, String>',
|
111
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
112
|
+
:'pulp_created' => :'DateTime',
|
113
|
+
:'proxy_url' => :'String',
|
114
114
|
:'client_cert' => :'String',
|
115
115
|
:'pulp_href' => :'String',
|
116
116
|
:'sock_read_timeout' => :'Float',
|
117
|
-
:'
|
118
|
-
:'pulp_last_updated' => :'DateTime',
|
117
|
+
:'total_timeout' => :'Float',
|
119
118
|
:'tls_validation' => :'Boolean',
|
119
|
+
:'rate_limit' => :'Integer',
|
120
|
+
:'max_retries' => :'Integer',
|
121
|
+
:'download_concurrency' => :'Integer',
|
120
122
|
:'url' => :'String',
|
123
|
+
:'ca_cert' => :'String',
|
124
|
+
:'pulp_last_updated' => :'DateTime',
|
121
125
|
:'headers' => :'Array<Object>',
|
122
|
-
:'max_retries' => :'Integer',
|
123
|
-
:'pulp_created' => :'DateTime',
|
124
126
|
:'connect_timeout' => :'Float',
|
125
|
-
:'
|
126
|
-
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
127
|
-
:'proxy_url' => :'String',
|
127
|
+
:'sock_connect_timeout' => :'Float',
|
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
|
-
:'
|
137
|
-
:'total_timeout',
|
138
|
-
:'sock_connect_timeout',
|
139
|
-
:'rate_limit',
|
136
|
+
:'proxy_url',
|
140
137
|
:'client_cert',
|
141
138
|
:'sock_read_timeout',
|
142
|
-
:'
|
139
|
+
:'total_timeout',
|
140
|
+
:'rate_limit',
|
143
141
|
:'max_retries',
|
142
|
+
:'download_concurrency',
|
143
|
+
:'ca_cert',
|
144
144
|
:'connect_timeout',
|
145
|
-
:'
|
145
|
+
:'sock_connect_timeout',
|
146
146
|
])
|
147
147
|
end
|
148
148
|
|
@@ -165,20 +165,24 @@ module PulpAnsibleClient
|
|
165
165
|
self.name = attributes[:'name']
|
166
166
|
end
|
167
167
|
|
168
|
-
if attributes.key?(:'
|
169
|
-
|
168
|
+
if attributes.key?(:'pulp_labels')
|
169
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
170
|
+
self.pulp_labels = value
|
171
|
+
end
|
170
172
|
end
|
171
173
|
|
172
|
-
if attributes.key?(:'
|
173
|
-
|
174
|
+
if attributes.key?(:'hidden_fields')
|
175
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
176
|
+
self.hidden_fields = value
|
177
|
+
end
|
174
178
|
end
|
175
179
|
|
176
|
-
if attributes.key?(:'
|
177
|
-
self.
|
180
|
+
if attributes.key?(:'pulp_created')
|
181
|
+
self.pulp_created = attributes[:'pulp_created']
|
178
182
|
end
|
179
183
|
|
180
|
-
if attributes.key?(:'
|
181
|
-
self.
|
184
|
+
if attributes.key?(:'proxy_url')
|
185
|
+
self.proxy_url = attributes[:'proxy_url']
|
182
186
|
end
|
183
187
|
|
184
188
|
if attributes.key?(:'client_cert')
|
@@ -193,54 +197,50 @@ module PulpAnsibleClient
|
|
193
197
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
198
|
end
|
195
199
|
|
196
|
-
if attributes.key?(:'
|
197
|
-
self.
|
198
|
-
end
|
199
|
-
|
200
|
-
if attributes.key?(:'pulp_last_updated')
|
201
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
200
|
+
if attributes.key?(:'total_timeout')
|
201
|
+
self.total_timeout = attributes[:'total_timeout']
|
202
202
|
end
|
203
203
|
|
204
204
|
if attributes.key?(:'tls_validation')
|
205
205
|
self.tls_validation = attributes[:'tls_validation']
|
206
206
|
end
|
207
207
|
|
208
|
-
if attributes.key?(:'
|
209
|
-
self.
|
210
|
-
end
|
211
|
-
|
212
|
-
if attributes.key?(:'headers')
|
213
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
214
|
-
self.headers = value
|
215
|
-
end
|
208
|
+
if attributes.key?(:'rate_limit')
|
209
|
+
self.rate_limit = attributes[:'rate_limit']
|
216
210
|
end
|
217
211
|
|
218
212
|
if attributes.key?(:'max_retries')
|
219
213
|
self.max_retries = attributes[:'max_retries']
|
220
214
|
end
|
221
215
|
|
222
|
-
if attributes.key?(:'
|
223
|
-
self.
|
216
|
+
if attributes.key?(:'download_concurrency')
|
217
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
224
218
|
end
|
225
219
|
|
226
|
-
if attributes.key?(:'
|
227
|
-
self.
|
220
|
+
if attributes.key?(:'url')
|
221
|
+
self.url = attributes[:'url']
|
228
222
|
end
|
229
223
|
|
230
|
-
if attributes.key?(:'
|
231
|
-
|
232
|
-
self.pulp_labels = value
|
233
|
-
end
|
224
|
+
if attributes.key?(:'ca_cert')
|
225
|
+
self.ca_cert = attributes[:'ca_cert']
|
234
226
|
end
|
235
227
|
|
236
|
-
if attributes.key?(:'
|
237
|
-
|
238
|
-
|
228
|
+
if attributes.key?(:'pulp_last_updated')
|
229
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
230
|
+
end
|
231
|
+
|
232
|
+
if attributes.key?(:'headers')
|
233
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
234
|
+
self.headers = value
|
239
235
|
end
|
240
236
|
end
|
241
237
|
|
242
|
-
if attributes.key?(:'
|
243
|
-
self.
|
238
|
+
if attributes.key?(:'connect_timeout')
|
239
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.key?(:'sock_connect_timeout')
|
243
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
244
244
|
end
|
245
245
|
|
246
246
|
if attributes.key?(:'metadata_only')
|
@@ -260,20 +260,16 @@ module PulpAnsibleClient
|
|
260
260
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
261
261
|
end
|
262
262
|
|
263
|
-
if !@
|
264
|
-
invalid_properties.push('invalid value for "
|
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.')
|
265
265
|
end
|
266
266
|
|
267
267
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
268
268
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
269
269
|
end
|
270
270
|
|
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.')
|
271
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
272
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
277
273
|
end
|
278
274
|
|
279
275
|
if @url.nil?
|
@@ -284,6 +280,10 @@ module PulpAnsibleClient
|
|
284
280
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
285
281
|
end
|
286
282
|
|
283
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
284
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
285
|
+
end
|
286
|
+
|
287
287
|
invalid_properties
|
288
288
|
end
|
289
289
|
|
@@ -291,23 +291,23 @@ module PulpAnsibleClient
|
|
291
291
|
# @return true if the model is valid
|
292
292
|
def valid?
|
293
293
|
return false if @name.nil?
|
294
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
295
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
296
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
297
294
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
295
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
296
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
298
297
|
return false if @url.nil?
|
299
298
|
return false if !@connect_timeout.nil? && @connect_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
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,13 @@ 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 "
|
328
|
-
end
|
329
|
-
|
330
|
-
@sock_connect_timeout = sock_connect_timeout
|
331
|
-
end
|
332
|
-
|
333
|
-
# Custom attribute writer method with validation
|
334
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
335
|
-
def sock_read_timeout=(sock_read_timeout)
|
336
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
337
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
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.'
|
338
328
|
end
|
339
329
|
|
340
|
-
@
|
330
|
+
@download_concurrency = download_concurrency
|
341
331
|
end
|
342
332
|
|
343
333
|
# Custom attribute writer method with validation
|
@@ -350,30 +340,40 @@ module PulpAnsibleClient
|
|
350
340
|
@connect_timeout = connect_timeout
|
351
341
|
end
|
352
342
|
|
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
358
|
name == o.name &&
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
359
|
+
pulp_labels == o.pulp_labels &&
|
360
|
+
hidden_fields == o.hidden_fields &&
|
361
|
+
pulp_created == o.pulp_created &&
|
362
|
+
proxy_url == o.proxy_url &&
|
363
363
|
client_cert == o.client_cert &&
|
364
364
|
pulp_href == o.pulp_href &&
|
365
365
|
sock_read_timeout == o.sock_read_timeout &&
|
366
|
-
|
367
|
-
pulp_last_updated == o.pulp_last_updated &&
|
366
|
+
total_timeout == o.total_timeout &&
|
368
367
|
tls_validation == o.tls_validation &&
|
368
|
+
rate_limit == o.rate_limit &&
|
369
|
+
max_retries == o.max_retries &&
|
370
|
+
download_concurrency == o.download_concurrency &&
|
369
371
|
url == o.url &&
|
372
|
+
ca_cert == o.ca_cert &&
|
373
|
+
pulp_last_updated == o.pulp_last_updated &&
|
370
374
|
headers == o.headers &&
|
371
|
-
max_retries == o.max_retries &&
|
372
|
-
pulp_created == o.pulp_created &&
|
373
375
|
connect_timeout == o.connect_timeout &&
|
374
|
-
|
375
|
-
hidden_fields == o.hidden_fields &&
|
376
|
-
proxy_url == o.proxy_url &&
|
376
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
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
|
-
[name,
|
390
|
+
[name, pulp_labels, hidden_fields, pulp_created, proxy_url, client_cert, pulp_href, sock_read_timeout, total_timeout, tls_validation, rate_limit, max_retries, download_concurrency, url, ca_cert, pulp_last_updated, headers, connect_timeout, sock_connect_timeout, 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
|