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