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