pulp_ansible_client 0.5.0 → 0.5.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/AnsibleCollectionRemote.md +8 -0
- data/docs/AnsibleCollectionRemoteResponse.md +8 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleRoleRemote.md +9 -1
- data/docs/AnsibleRoleRemoteResponse.md +9 -1
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +8 -0
- data/docs/PatchedansibleRoleRemote.md +9 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +105 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +105 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +108 -4
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +108 -4
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +105 -1
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +108 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_remote_response_spec.rb +24 -0
- data/spec/models/ansible_collection_remote_spec.rb +24 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_role_remote_response_spec.rb +24 -0
- data/spec/models/ansible_role_remote_spec.rb +24 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_collection_remote_spec.rb +24 -0
- data/spec/models/patchedansible_role_remote_spec.rb +24 -0
- metadata +63 -63
@@ -17,12 +17,12 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# Timestamp of creation.
|
21
|
-
attr_accessor :pulp_created
|
22
|
-
|
23
20
|
# Artifact file representing the physical content
|
24
21
|
attr_accessor :artifact
|
25
22
|
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
|
+
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
28
28
|
|
@@ -89,8 +89,8 @@ module PulpAnsibleClient
|
|
89
89
|
def self.attribute_map
|
90
90
|
{
|
91
91
|
:'pulp_href' => :'pulp_href',
|
92
|
-
:'pulp_created' => :'pulp_created',
|
93
92
|
:'artifact' => :'artifact',
|
93
|
+
:'pulp_created' => :'pulp_created',
|
94
94
|
:'md5' => :'md5',
|
95
95
|
:'sha1' => :'sha1',
|
96
96
|
:'sha224' => :'sha224',
|
@@ -119,8 +119,8 @@ module PulpAnsibleClient
|
|
119
119
|
def self.openapi_types
|
120
120
|
{
|
121
121
|
:'pulp_href' => :'String',
|
122
|
-
:'pulp_created' => :'DateTime',
|
123
122
|
:'artifact' => :'String',
|
123
|
+
:'pulp_created' => :'DateTime',
|
124
124
|
:'md5' => :'String',
|
125
125
|
:'sha1' => :'String',
|
126
126
|
:'sha224' => :'String',
|
@@ -170,14 +170,14 @@ module PulpAnsibleClient
|
|
170
170
|
self.pulp_href = attributes[:'pulp_href']
|
171
171
|
end
|
172
172
|
|
173
|
-
if attributes.key?(:'pulp_created')
|
174
|
-
self.pulp_created = attributes[:'pulp_created']
|
175
|
-
end
|
176
|
-
|
177
173
|
if attributes.key?(:'artifact')
|
178
174
|
self.artifact = attributes[:'artifact']
|
179
175
|
end
|
180
176
|
|
177
|
+
if attributes.key?(:'pulp_created')
|
178
|
+
self.pulp_created = attributes[:'pulp_created']
|
179
|
+
end
|
180
|
+
|
181
181
|
if attributes.key?(:'md5')
|
182
182
|
self.md5 = attributes[:'md5']
|
183
183
|
end
|
@@ -498,8 +498,8 @@ module PulpAnsibleClient
|
|
498
498
|
return true if self.equal?(o)
|
499
499
|
self.class == o.class &&
|
500
500
|
pulp_href == o.pulp_href &&
|
501
|
-
pulp_created == o.pulp_created &&
|
502
501
|
artifact == o.artifact &&
|
502
|
+
pulp_created == o.pulp_created &&
|
503
503
|
md5 == o.md5 &&
|
504
504
|
sha1 == o.sha1 &&
|
505
505
|
sha224 == o.sha224 &&
|
@@ -532,7 +532,7 @@ module PulpAnsibleClient
|
|
532
532
|
# Calculates hash code according to all attributes.
|
533
533
|
# @return [Integer] Hash code
|
534
534
|
def hash
|
535
|
-
[pulp_href,
|
535
|
+
[pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, license, name, namespace, repository, tags, version].hash
|
536
536
|
end
|
537
537
|
|
538
538
|
# Builds the object from hash
|
@@ -48,6 +48,18 @@ module PulpAnsibleClient
|
|
48
48
|
# The policy to use when downloading content.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
+
attr_accessor :total_timeout
|
53
|
+
|
54
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
+
attr_accessor :connect_timeout
|
56
|
+
|
57
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
+
attr_accessor :sock_connect_timeout
|
59
|
+
|
60
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
+
attr_accessor :sock_read_timeout
|
62
|
+
|
51
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
64
|
def self.attribute_map
|
53
65
|
{
|
@@ -61,7 +73,11 @@ module PulpAnsibleClient
|
|
61
73
|
:'username' => :'username',
|
62
74
|
:'password' => :'password',
|
63
75
|
:'download_concurrency' => :'download_concurrency',
|
64
|
-
:'policy' => :'policy'
|
76
|
+
:'policy' => :'policy',
|
77
|
+
:'total_timeout' => :'total_timeout',
|
78
|
+
:'connect_timeout' => :'connect_timeout',
|
79
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
80
|
+
:'sock_read_timeout' => :'sock_read_timeout'
|
65
81
|
}
|
66
82
|
end
|
67
83
|
|
@@ -78,7 +94,11 @@ module PulpAnsibleClient
|
|
78
94
|
:'username' => :'String',
|
79
95
|
:'password' => :'String',
|
80
96
|
:'download_concurrency' => :'Integer',
|
81
|
-
:'policy' => :'PolicyEnum'
|
97
|
+
:'policy' => :'PolicyEnum',
|
98
|
+
:'total_timeout' => :'Float',
|
99
|
+
:'connect_timeout' => :'Float',
|
100
|
+
:'sock_connect_timeout' => :'Float',
|
101
|
+
:'sock_read_timeout' => :'Float'
|
82
102
|
}
|
83
103
|
end
|
84
104
|
|
@@ -91,6 +111,10 @@ module PulpAnsibleClient
|
|
91
111
|
:'proxy_url',
|
92
112
|
:'username',
|
93
113
|
:'password',
|
114
|
+
:'total_timeout',
|
115
|
+
:'connect_timeout',
|
116
|
+
:'sock_connect_timeout',
|
117
|
+
:'sock_read_timeout'
|
94
118
|
])
|
95
119
|
end
|
96
120
|
|
@@ -152,6 +176,22 @@ module PulpAnsibleClient
|
|
152
176
|
if attributes.key?(:'policy')
|
153
177
|
self.policy = attributes[:'policy']
|
154
178
|
end
|
179
|
+
|
180
|
+
if attributes.key?(:'total_timeout')
|
181
|
+
self.total_timeout = attributes[:'total_timeout']
|
182
|
+
end
|
183
|
+
|
184
|
+
if attributes.key?(:'connect_timeout')
|
185
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes.key?(:'sock_connect_timeout')
|
189
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
190
|
+
end
|
191
|
+
|
192
|
+
if attributes.key?(:'sock_read_timeout')
|
193
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
|
+
end
|
155
195
|
end
|
156
196
|
|
157
197
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -170,6 +210,22 @@ module PulpAnsibleClient
|
|
170
210
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
171
211
|
end
|
172
212
|
|
213
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
214
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
215
|
+
end
|
216
|
+
|
217
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
218
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
219
|
+
end
|
220
|
+
|
221
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
222
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
223
|
+
end
|
224
|
+
|
225
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
226
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
227
|
+
end
|
228
|
+
|
173
229
|
invalid_properties
|
174
230
|
end
|
175
231
|
|
@@ -179,6 +235,10 @@ module PulpAnsibleClient
|
|
179
235
|
return false if @name.nil?
|
180
236
|
return false if @url.nil?
|
181
237
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
238
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
239
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
240
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
241
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
182
242
|
true
|
183
243
|
end
|
184
244
|
|
@@ -192,6 +252,46 @@ module PulpAnsibleClient
|
|
192
252
|
@download_concurrency = download_concurrency
|
193
253
|
end
|
194
254
|
|
255
|
+
# Custom attribute writer method with validation
|
256
|
+
# @param [Object] total_timeout Value to be assigned
|
257
|
+
def total_timeout=(total_timeout)
|
258
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
259
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
260
|
+
end
|
261
|
+
|
262
|
+
@total_timeout = total_timeout
|
263
|
+
end
|
264
|
+
|
265
|
+
# Custom attribute writer method with validation
|
266
|
+
# @param [Object] connect_timeout Value to be assigned
|
267
|
+
def connect_timeout=(connect_timeout)
|
268
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
269
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
270
|
+
end
|
271
|
+
|
272
|
+
@connect_timeout = connect_timeout
|
273
|
+
end
|
274
|
+
|
275
|
+
# Custom attribute writer method with validation
|
276
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
277
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
278
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
279
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
280
|
+
end
|
281
|
+
|
282
|
+
@sock_connect_timeout = sock_connect_timeout
|
283
|
+
end
|
284
|
+
|
285
|
+
# Custom attribute writer method with validation
|
286
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
287
|
+
def sock_read_timeout=(sock_read_timeout)
|
288
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
289
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
290
|
+
end
|
291
|
+
|
292
|
+
@sock_read_timeout = sock_read_timeout
|
293
|
+
end
|
294
|
+
|
195
295
|
# Checks equality by comparing each attribute.
|
196
296
|
# @param [Object] Object to be compared
|
197
297
|
def ==(o)
|
@@ -207,7 +307,11 @@ module PulpAnsibleClient
|
|
207
307
|
username == o.username &&
|
208
308
|
password == o.password &&
|
209
309
|
download_concurrency == o.download_concurrency &&
|
210
|
-
policy == o.policy
|
310
|
+
policy == o.policy &&
|
311
|
+
total_timeout == o.total_timeout &&
|
312
|
+
connect_timeout == o.connect_timeout &&
|
313
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
314
|
+
sock_read_timeout == o.sock_read_timeout
|
211
315
|
end
|
212
316
|
|
213
317
|
# @see the `==` method
|
@@ -219,7 +323,7 @@ module PulpAnsibleClient
|
|
219
323
|
# Calculates hash code according to all attributes.
|
220
324
|
# @return [Integer] Hash code
|
221
325
|
def hash
|
222
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy].hash
|
326
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout].hash
|
223
327
|
end
|
224
328
|
|
225
329
|
# Builds the object from hash
|
@@ -56,6 +56,18 @@ module PulpAnsibleClient
|
|
56
56
|
# The policy to use when downloading content.
|
57
57
|
attr_accessor :policy
|
58
58
|
|
59
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
60
|
+
attr_accessor :total_timeout
|
61
|
+
|
62
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
63
|
+
attr_accessor :connect_timeout
|
64
|
+
|
65
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
66
|
+
attr_accessor :sock_connect_timeout
|
67
|
+
|
68
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
|
+
attr_accessor :sock_read_timeout
|
70
|
+
|
59
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
60
72
|
def self.attribute_map
|
61
73
|
{
|
@@ -72,7 +84,11 @@ module PulpAnsibleClient
|
|
72
84
|
:'password' => :'password',
|
73
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
74
86
|
:'download_concurrency' => :'download_concurrency',
|
75
|
-
:'policy' => :'policy'
|
87
|
+
:'policy' => :'policy',
|
88
|
+
:'total_timeout' => :'total_timeout',
|
89
|
+
:'connect_timeout' => :'connect_timeout',
|
90
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
91
|
+
:'sock_read_timeout' => :'sock_read_timeout'
|
76
92
|
}
|
77
93
|
end
|
78
94
|
|
@@ -92,7 +108,11 @@ module PulpAnsibleClient
|
|
92
108
|
:'password' => :'String',
|
93
109
|
:'pulp_last_updated' => :'DateTime',
|
94
110
|
:'download_concurrency' => :'Integer',
|
95
|
-
:'policy' => :'PolicyEnum'
|
111
|
+
:'policy' => :'PolicyEnum',
|
112
|
+
:'total_timeout' => :'Float',
|
113
|
+
:'connect_timeout' => :'Float',
|
114
|
+
:'sock_connect_timeout' => :'Float',
|
115
|
+
:'sock_read_timeout' => :'Float'
|
96
116
|
}
|
97
117
|
end
|
98
118
|
|
@@ -105,6 +125,10 @@ module PulpAnsibleClient
|
|
105
125
|
:'proxy_url',
|
106
126
|
:'username',
|
107
127
|
:'password',
|
128
|
+
:'total_timeout',
|
129
|
+
:'connect_timeout',
|
130
|
+
:'sock_connect_timeout',
|
131
|
+
:'sock_read_timeout'
|
108
132
|
])
|
109
133
|
end
|
110
134
|
|
@@ -178,6 +202,22 @@ module PulpAnsibleClient
|
|
178
202
|
if attributes.key?(:'policy')
|
179
203
|
self.policy = attributes[:'policy']
|
180
204
|
end
|
205
|
+
|
206
|
+
if attributes.key?(:'total_timeout')
|
207
|
+
self.total_timeout = attributes[:'total_timeout']
|
208
|
+
end
|
209
|
+
|
210
|
+
if attributes.key?(:'connect_timeout')
|
211
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
212
|
+
end
|
213
|
+
|
214
|
+
if attributes.key?(:'sock_connect_timeout')
|
215
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
216
|
+
end
|
217
|
+
|
218
|
+
if attributes.key?(:'sock_read_timeout')
|
219
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
220
|
+
end
|
181
221
|
end
|
182
222
|
|
183
223
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -196,6 +236,22 @@ module PulpAnsibleClient
|
|
196
236
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
197
237
|
end
|
198
238
|
|
239
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
240
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
241
|
+
end
|
242
|
+
|
243
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
244
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
245
|
+
end
|
246
|
+
|
247
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
248
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
249
|
+
end
|
250
|
+
|
251
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
252
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
253
|
+
end
|
254
|
+
|
199
255
|
invalid_properties
|
200
256
|
end
|
201
257
|
|
@@ -205,6 +261,10 @@ module PulpAnsibleClient
|
|
205
261
|
return false if @name.nil?
|
206
262
|
return false if @url.nil?
|
207
263
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
264
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
265
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
266
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
267
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
208
268
|
true
|
209
269
|
end
|
210
270
|
|
@@ -218,6 +278,46 @@ module PulpAnsibleClient
|
|
218
278
|
@download_concurrency = download_concurrency
|
219
279
|
end
|
220
280
|
|
281
|
+
# Custom attribute writer method with validation
|
282
|
+
# @param [Object] total_timeout Value to be assigned
|
283
|
+
def total_timeout=(total_timeout)
|
284
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
285
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
286
|
+
end
|
287
|
+
|
288
|
+
@total_timeout = total_timeout
|
289
|
+
end
|
290
|
+
|
291
|
+
# Custom attribute writer method with validation
|
292
|
+
# @param [Object] connect_timeout Value to be assigned
|
293
|
+
def connect_timeout=(connect_timeout)
|
294
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
295
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
296
|
+
end
|
297
|
+
|
298
|
+
@connect_timeout = connect_timeout
|
299
|
+
end
|
300
|
+
|
301
|
+
# Custom attribute writer method with validation
|
302
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
303
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
304
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
305
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
306
|
+
end
|
307
|
+
|
308
|
+
@sock_connect_timeout = sock_connect_timeout
|
309
|
+
end
|
310
|
+
|
311
|
+
# Custom attribute writer method with validation
|
312
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
313
|
+
def sock_read_timeout=(sock_read_timeout)
|
314
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
315
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
316
|
+
end
|
317
|
+
|
318
|
+
@sock_read_timeout = sock_read_timeout
|
319
|
+
end
|
320
|
+
|
221
321
|
# Checks equality by comparing each attribute.
|
222
322
|
# @param [Object] Object to be compared
|
223
323
|
def ==(o)
|
@@ -236,7 +336,11 @@ module PulpAnsibleClient
|
|
236
336
|
password == o.password &&
|
237
337
|
pulp_last_updated == o.pulp_last_updated &&
|
238
338
|
download_concurrency == o.download_concurrency &&
|
239
|
-
policy == o.policy
|
339
|
+
policy == o.policy &&
|
340
|
+
total_timeout == o.total_timeout &&
|
341
|
+
connect_timeout == o.connect_timeout &&
|
342
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
343
|
+
sock_read_timeout == o.sock_read_timeout
|
240
344
|
end
|
241
345
|
|
242
346
|
# @see the `==` method
|
@@ -248,7 +352,7 @@ module PulpAnsibleClient
|
|
248
352
|
# Calculates hash code according to all attributes.
|
249
353
|
# @return [Integer] Hash code
|
250
354
|
def hash
|
251
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy].hash
|
355
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout].hash
|
252
356
|
end
|
253
357
|
|
254
358
|
# Builds the object from hash
|
@@ -17,12 +17,12 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleRoleResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# Timestamp of creation.
|
21
|
-
attr_accessor :pulp_created
|
22
|
-
|
23
20
|
# Artifact file representing the physical content
|
24
21
|
attr_accessor :artifact
|
25
22
|
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
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_href' => :'pulp_href',
|
36
|
-
:'pulp_created' => :'pulp_created',
|
37
36
|
:'artifact' => :'artifact',
|
37
|
+
:'pulp_created' => :'pulp_created',
|
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_href' => :'String',
|
48
|
-
:'pulp_created' => :'DateTime',
|
49
48
|
:'artifact' => :'String',
|
49
|
+
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -78,14 +78,14 @@ module PulpAnsibleClient
|
|
78
78
|
self.pulp_href = attributes[:'pulp_href']
|
79
79
|
end
|
80
80
|
|
81
|
-
if attributes.key?(:'pulp_created')
|
82
|
-
self.pulp_created = attributes[:'pulp_created']
|
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_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
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_href == o.pulp_href &&
|
141
|
-
pulp_created == o.pulp_created &&
|
142
141
|
artifact == o.artifact &&
|
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
|
-
[pulp_href,
|
157
|
+
[pulp_href, artifact, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|