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