pulp_ansible_client 0.12.0.dev1641093484 → 0.12.0.dev1641179827
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.
Potentially problematic release.
This version of pulp_ansible_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleGitRemote.md +28 -28
- 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 +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -248
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +124 -124
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +238 -238
- 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 +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- 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 +2 -2
@@ -15,58 +15,58 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
22
|
-
attr_accessor :download_concurrency
|
23
|
-
|
24
|
-
# 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.
|
25
|
-
attr_accessor :sock_connect_timeout
|
26
|
-
|
27
|
-
# 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.
|
28
|
-
attr_accessor :sock_read_timeout
|
29
|
-
|
30
|
-
# The proxy URL. Format: scheme://host:port
|
31
|
-
attr_accessor :proxy_url
|
18
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
19
|
+
attr_accessor :total_timeout
|
32
20
|
|
33
21
|
# Timestamp of creation.
|
34
22
|
attr_accessor :pulp_created
|
35
23
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
38
|
-
|
39
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
40
|
-
attr_accessor :connect_timeout
|
24
|
+
# The URL of an external content source.
|
25
|
+
attr_accessor :url
|
41
26
|
|
42
27
|
# If True, TLS peer validation must be performed.
|
43
28
|
attr_accessor :tls_validation
|
44
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
|
+
|
45
33
|
# Timestamp of the most recent update of the remote.
|
46
34
|
attr_accessor :pulp_last_updated
|
47
35
|
|
48
36
|
# Headers for aiohttp.Clientsession
|
49
37
|
attr_accessor :headers
|
50
38
|
|
51
|
-
|
52
|
-
|
53
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
54
|
-
attr_accessor :total_timeout
|
39
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
40
|
+
attr_accessor :download_concurrency
|
55
41
|
|
56
42
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
57
43
|
attr_accessor :ca_cert
|
58
44
|
|
59
|
-
|
60
|
-
attr_accessor :max_retries
|
45
|
+
attr_accessor :pulp_labels
|
61
46
|
|
62
|
-
#
|
63
|
-
attr_accessor :
|
47
|
+
# A unique name for this remote.
|
48
|
+
attr_accessor :name
|
49
|
+
|
50
|
+
# The proxy URL. Format: scheme://host:port
|
51
|
+
attr_accessor :proxy_url
|
52
|
+
|
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 client certificate used for authentication.
|
57
|
+
attr_accessor :client_cert
|
64
58
|
|
65
59
|
attr_accessor :pulp_href
|
66
60
|
|
61
|
+
# 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.
|
62
|
+
attr_accessor :sock_read_timeout
|
63
|
+
|
67
64
|
# Limits requests per second for each concurrent downloader
|
68
65
|
attr_accessor :rate_limit
|
69
66
|
|
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.
|
68
|
+
attr_accessor :connect_timeout
|
69
|
+
|
70
70
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
71
71
|
attr_accessor :metadata_only
|
72
72
|
|
@@ -76,24 +76,24 @@ module PulpAnsibleClient
|
|
76
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
77
77
|
def self.attribute_map
|
78
78
|
{
|
79
|
-
:'
|
80
|
-
:'download_concurrency' => :'download_concurrency',
|
81
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
82
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
83
|
-
:'proxy_url' => :'proxy_url',
|
79
|
+
:'total_timeout' => :'total_timeout',
|
84
80
|
:'pulp_created' => :'pulp_created',
|
85
|
-
:'
|
86
|
-
:'connect_timeout' => :'connect_timeout',
|
81
|
+
:'url' => :'url',
|
87
82
|
:'tls_validation' => :'tls_validation',
|
83
|
+
:'max_retries' => :'max_retries',
|
88
84
|
:'pulp_last_updated' => :'pulp_last_updated',
|
89
85
|
:'headers' => :'headers',
|
90
|
-
:'
|
91
|
-
:'total_timeout' => :'total_timeout',
|
86
|
+
:'download_concurrency' => :'download_concurrency',
|
92
87
|
:'ca_cert' => :'ca_cert',
|
93
|
-
:'
|
94
|
-
:'
|
88
|
+
:'pulp_labels' => :'pulp_labels',
|
89
|
+
:'name' => :'name',
|
90
|
+
:'proxy_url' => :'proxy_url',
|
91
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
92
|
+
:'client_cert' => :'client_cert',
|
95
93
|
:'pulp_href' => :'pulp_href',
|
94
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
96
95
|
:'rate_limit' => :'rate_limit',
|
96
|
+
:'connect_timeout' => :'connect_timeout',
|
97
97
|
:'metadata_only' => :'metadata_only',
|
98
98
|
:'git_ref' => :'git_ref'
|
99
99
|
}
|
@@ -102,24 +102,24 @@ module PulpAnsibleClient
|
|
102
102
|
# Attribute type mapping.
|
103
103
|
def self.openapi_types
|
104
104
|
{
|
105
|
-
:'
|
106
|
-
:'download_concurrency' => :'Integer',
|
107
|
-
:'sock_connect_timeout' => :'Float',
|
108
|
-
:'sock_read_timeout' => :'Float',
|
109
|
-
:'proxy_url' => :'String',
|
105
|
+
:'total_timeout' => :'Float',
|
110
106
|
:'pulp_created' => :'DateTime',
|
111
|
-
:'
|
112
|
-
:'connect_timeout' => :'Float',
|
107
|
+
:'url' => :'String',
|
113
108
|
:'tls_validation' => :'Boolean',
|
109
|
+
:'max_retries' => :'Integer',
|
114
110
|
:'pulp_last_updated' => :'DateTime',
|
115
111
|
:'headers' => :'Array<Object>',
|
116
|
-
:'
|
117
|
-
:'total_timeout' => :'Float',
|
112
|
+
:'download_concurrency' => :'Integer',
|
118
113
|
:'ca_cert' => :'String',
|
119
|
-
:'
|
120
|
-
:'
|
114
|
+
:'pulp_labels' => :'Object',
|
115
|
+
:'name' => :'String',
|
116
|
+
:'proxy_url' => :'String',
|
117
|
+
:'sock_connect_timeout' => :'Float',
|
118
|
+
:'client_cert' => :'String',
|
121
119
|
:'pulp_href' => :'String',
|
120
|
+
:'sock_read_timeout' => :'Float',
|
122
121
|
:'rate_limit' => :'Integer',
|
122
|
+
:'connect_timeout' => :'Float',
|
123
123
|
:'metadata_only' => :'Boolean',
|
124
124
|
:'git_ref' => :'String'
|
125
125
|
}
|
@@ -128,16 +128,16 @@ module PulpAnsibleClient
|
|
128
128
|
# List of attributes with nullable: true
|
129
129
|
def self.openapi_nullable
|
130
130
|
Set.new([
|
131
|
-
:'
|
131
|
+
:'total_timeout',
|
132
|
+
:'max_retries',
|
132
133
|
:'download_concurrency',
|
134
|
+
:'ca_cert',
|
135
|
+
:'proxy_url',
|
133
136
|
:'sock_connect_timeout',
|
137
|
+
:'client_cert',
|
134
138
|
:'sock_read_timeout',
|
135
|
-
:'proxy_url',
|
136
|
-
:'connect_timeout',
|
137
|
-
:'total_timeout',
|
138
|
-
:'ca_cert',
|
139
|
-
:'max_retries',
|
140
139
|
:'rate_limit',
|
140
|
+
:'connect_timeout',
|
141
141
|
])
|
142
142
|
end
|
143
143
|
|
@@ -156,42 +156,26 @@ module PulpAnsibleClient
|
|
156
156
|
h[k.to_sym] = v
|
157
157
|
}
|
158
158
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
161
|
-
end
|
162
|
-
|
163
|
-
if attributes.key?(:'download_concurrency')
|
164
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
165
|
-
end
|
166
|
-
|
167
|
-
if attributes.key?(:'sock_connect_timeout')
|
168
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
169
|
-
end
|
170
|
-
|
171
|
-
if attributes.key?(:'sock_read_timeout')
|
172
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
173
|
-
end
|
174
|
-
|
175
|
-
if attributes.key?(:'proxy_url')
|
176
|
-
self.proxy_url = attributes[:'proxy_url']
|
159
|
+
if attributes.key?(:'total_timeout')
|
160
|
+
self.total_timeout = attributes[:'total_timeout']
|
177
161
|
end
|
178
162
|
|
179
163
|
if attributes.key?(:'pulp_created')
|
180
164
|
self.pulp_created = attributes[:'pulp_created']
|
181
165
|
end
|
182
166
|
|
183
|
-
if attributes.key?(:'
|
184
|
-
self.
|
185
|
-
end
|
186
|
-
|
187
|
-
if attributes.key?(:'connect_timeout')
|
188
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
167
|
+
if attributes.key?(:'url')
|
168
|
+
self.url = attributes[:'url']
|
189
169
|
end
|
190
170
|
|
191
171
|
if attributes.key?(:'tls_validation')
|
192
172
|
self.tls_validation = attributes[:'tls_validation']
|
193
173
|
end
|
194
174
|
|
175
|
+
if attributes.key?(:'max_retries')
|
176
|
+
self.max_retries = attributes[:'max_retries']
|
177
|
+
end
|
178
|
+
|
195
179
|
if attributes.key?(:'pulp_last_updated')
|
196
180
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
197
181
|
end
|
@@ -202,34 +186,50 @@ module PulpAnsibleClient
|
|
202
186
|
end
|
203
187
|
end
|
204
188
|
|
189
|
+
if attributes.key?(:'download_concurrency')
|
190
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
191
|
+
end
|
192
|
+
|
193
|
+
if attributes.key?(:'ca_cert')
|
194
|
+
self.ca_cert = attributes[:'ca_cert']
|
195
|
+
end
|
196
|
+
|
205
197
|
if attributes.key?(:'pulp_labels')
|
206
198
|
self.pulp_labels = attributes[:'pulp_labels']
|
207
199
|
end
|
208
200
|
|
209
|
-
if attributes.key?(:'
|
210
|
-
self.
|
201
|
+
if attributes.key?(:'name')
|
202
|
+
self.name = attributes[:'name']
|
211
203
|
end
|
212
204
|
|
213
|
-
if attributes.key?(:'
|
214
|
-
self.
|
205
|
+
if attributes.key?(:'proxy_url')
|
206
|
+
self.proxy_url = attributes[:'proxy_url']
|
215
207
|
end
|
216
208
|
|
217
|
-
if attributes.key?(:'
|
218
|
-
self.
|
209
|
+
if attributes.key?(:'sock_connect_timeout')
|
210
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
219
211
|
end
|
220
212
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
213
|
+
if attributes.key?(:'client_cert')
|
214
|
+
self.client_cert = attributes[:'client_cert']
|
223
215
|
end
|
224
216
|
|
225
217
|
if attributes.key?(:'pulp_href')
|
226
218
|
self.pulp_href = attributes[:'pulp_href']
|
227
219
|
end
|
228
220
|
|
221
|
+
if attributes.key?(:'sock_read_timeout')
|
222
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
223
|
+
end
|
224
|
+
|
229
225
|
if attributes.key?(:'rate_limit')
|
230
226
|
self.rate_limit = attributes[:'rate_limit']
|
231
227
|
end
|
232
228
|
|
229
|
+
if attributes.key?(:'connect_timeout')
|
230
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
231
|
+
end
|
232
|
+
|
233
233
|
if attributes.key?(:'metadata_only')
|
234
234
|
self.metadata_only = attributes[:'metadata_only']
|
235
235
|
end
|
@@ -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 !@
|
247
|
-
invalid_properties.push('invalid value for "
|
246
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
247
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
248
248
|
end
|
249
249
|
|
250
|
-
if
|
251
|
-
invalid_properties.push('invalid value for "
|
250
|
+
if @url.nil?
|
251
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
252
252
|
end
|
253
253
|
|
254
|
-
if !@
|
255
|
-
invalid_properties.push('invalid value for "
|
254
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
255
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
256
256
|
end
|
257
257
|
|
258
258
|
if @name.nil?
|
259
259
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
260
260
|
end
|
261
261
|
|
262
|
-
if !@
|
263
|
-
invalid_properties.push('invalid value for "
|
262
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
263
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
264
264
|
end
|
265
265
|
|
266
|
-
if !@
|
267
|
-
invalid_properties.push('invalid value for "
|
266
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
267
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
268
268
|
end
|
269
269
|
|
270
|
-
if
|
271
|
-
invalid_properties.push('invalid value for "
|
270
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
271
|
+
invalid_properties.push('invalid value for "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 !@total_timeout.nil? && @total_timeout < 0.0
|
281
|
+
return false if @url.nil?
|
280
282
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
283
|
+
return false if @name.nil?
|
281
284
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
282
285
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
283
|
-
return false if @name.nil?
|
284
286
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
285
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
286
|
-
return false if @url.nil?
|
287
287
|
true
|
288
288
|
end
|
289
289
|
|
290
|
+
# Custom attribute writer method with validation
|
291
|
+
# @param [Object] total_timeout Value to be assigned
|
292
|
+
def total_timeout=(total_timeout)
|
293
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
294
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
295
|
+
end
|
296
|
+
|
297
|
+
@total_timeout = total_timeout
|
298
|
+
end
|
299
|
+
|
290
300
|
# Custom attribute writer method with validation
|
291
301
|
# @param [Object] download_concurrency Value to be assigned
|
292
302
|
def download_concurrency=(download_concurrency)
|
@@ -327,39 +337,29 @@ module PulpAnsibleClient
|
|
327
337
|
@connect_timeout = connect_timeout
|
328
338
|
end
|
329
339
|
|
330
|
-
# Custom attribute writer method with validation
|
331
|
-
# @param [Object] total_timeout Value to be assigned
|
332
|
-
def total_timeout=(total_timeout)
|
333
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
334
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
335
|
-
end
|
336
|
-
|
337
|
-
@total_timeout = total_timeout
|
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
|
-
|
346
|
-
download_concurrency == o.download_concurrency &&
|
347
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
348
|
-
sock_read_timeout == o.sock_read_timeout &&
|
349
|
-
proxy_url == o.proxy_url &&
|
345
|
+
total_timeout == o.total_timeout &&
|
350
346
|
pulp_created == o.pulp_created &&
|
351
|
-
|
352
|
-
connect_timeout == o.connect_timeout &&
|
347
|
+
url == o.url &&
|
353
348
|
tls_validation == o.tls_validation &&
|
349
|
+
max_retries == o.max_retries &&
|
354
350
|
pulp_last_updated == o.pulp_last_updated &&
|
355
351
|
headers == o.headers &&
|
356
|
-
|
357
|
-
total_timeout == o.total_timeout &&
|
352
|
+
download_concurrency == o.download_concurrency &&
|
358
353
|
ca_cert == o.ca_cert &&
|
359
|
-
|
360
|
-
|
354
|
+
pulp_labels == o.pulp_labels &&
|
355
|
+
name == o.name &&
|
356
|
+
proxy_url == o.proxy_url &&
|
357
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
358
|
+
client_cert == o.client_cert &&
|
361
359
|
pulp_href == o.pulp_href &&
|
360
|
+
sock_read_timeout == o.sock_read_timeout &&
|
362
361
|
rate_limit == o.rate_limit &&
|
362
|
+
connect_timeout == o.connect_timeout &&
|
363
363
|
metadata_only == o.metadata_only &&
|
364
364
|
git_ref == o.git_ref
|
365
365
|
end
|
@@ -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
|
+
[total_timeout, pulp_created, url, tls_validation, max_retries, pulp_last_updated, headers, download_concurrency, ca_cert, pulp_labels, name, proxy_url, sock_connect_timeout, client_cert, pulp_href, sock_read_timeout, rate_limit, connect_timeout, metadata_only, git_ref].hash
|
377
377
|
end
|
378
378
|
|
379
379
|
# 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 AnsibleRoleResponse
|
18
|
-
# Artifact file representing the physical content
|
19
|
-
attr_accessor :artifact
|
20
|
-
|
21
18
|
# Timestamp of creation.
|
22
19
|
attr_accessor :pulp_created
|
23
20
|
|
21
|
+
# Artifact file representing the physical content
|
22
|
+
attr_accessor :artifact
|
23
|
+
|
24
24
|
attr_accessor :pulp_href
|
25
25
|
|
26
26
|
attr_accessor :version
|
@@ -32,8 +32,8 @@ module PulpAnsibleClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'artifact' => :'artifact',
|
36
35
|
:'pulp_created' => :'pulp_created',
|
36
|
+
:'artifact' => :'artifact',
|
37
37
|
:'pulp_href' => :'pulp_href',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
@@ -44,8 +44,8 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'artifact' => :'String',
|
48
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'artifact' => :'String',
|
49
49
|
:'pulp_href' => :'String',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
@@ -74,14 +74,14 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'artifact')
|
78
|
-
self.artifact = attributes[:'artifact']
|
79
|
-
end
|
80
|
-
|
81
77
|
if attributes.key?(:'pulp_created')
|
82
78
|
self.pulp_created = attributes[:'pulp_created']
|
83
79
|
end
|
84
80
|
|
81
|
+
if attributes.key?(:'artifact')
|
82
|
+
self.artifact = attributes[:'artifact']
|
83
|
+
end
|
84
|
+
|
85
85
|
if attributes.key?(:'pulp_href')
|
86
86
|
self.pulp_href = attributes[:'pulp_href']
|
87
87
|
end
|
@@ -137,8 +137,8 @@ module PulpAnsibleClient
|
|
137
137
|
def ==(o)
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
|
-
artifact == o.artifact &&
|
141
140
|
pulp_created == o.pulp_created &&
|
141
|
+
artifact == o.artifact &&
|
142
142
|
pulp_href == o.pulp_href &&
|
143
143
|
version == o.version &&
|
144
144
|
name == o.name &&
|
@@ -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
|
+
[pulp_created, artifact, pulp_href, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|