pulp_ansible_client 0.22.3 → 0.23.0
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 +7 -7
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +27 -27
- data/docs/AnsibleRoleResponse.md +7 -7
- data/docs/ContentCollectionVersionsApi.md +6 -8
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +24 -24
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +159 -159
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -24
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_collection_version_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
@@ -15,51 +15,54 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# If True, TLS peer validation must be performed.
|
22
|
-
attr_accessor :tls_validation
|
23
|
-
|
24
|
-
attr_accessor :pulp_labels
|
18
|
+
# 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.
|
19
|
+
attr_accessor :sock_read_timeout
|
25
20
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
21
|
+
# The Pulp Resource Name (PRN).
|
22
|
+
attr_accessor :prn
|
28
23
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
24
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
25
|
+
attr_accessor :total_timeout
|
31
26
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
27
|
+
# The URL of an external content source.
|
28
|
+
attr_accessor :url
|
34
29
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
30
|
+
# 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.
|
31
|
+
attr_accessor :sock_connect_timeout
|
37
32
|
|
38
33
|
# A unique name for this remote.
|
39
34
|
attr_accessor :name
|
40
35
|
|
36
|
+
attr_accessor :pulp_labels
|
37
|
+
|
41
38
|
attr_accessor :pulp_href
|
42
39
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
40
|
+
# Limits requests per second for each concurrent downloader
|
41
|
+
attr_accessor :rate_limit
|
45
42
|
|
46
|
-
#
|
47
|
-
attr_accessor :
|
43
|
+
# Timestamp of creation.
|
44
|
+
attr_accessor :pulp_created
|
48
45
|
|
49
|
-
#
|
50
|
-
attr_accessor :
|
46
|
+
# Headers for aiohttp.Clientsession
|
47
|
+
attr_accessor :headers
|
51
48
|
|
52
|
-
#
|
53
|
-
attr_accessor :
|
49
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
50
|
+
attr_accessor :download_concurrency
|
54
51
|
|
55
|
-
#
|
56
|
-
attr_accessor :
|
52
|
+
# List of hidden (write only) fields
|
53
|
+
attr_accessor :hidden_fields
|
57
54
|
|
58
|
-
# aiohttp.ClientTimeout.
|
59
|
-
attr_accessor :
|
55
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
56
|
+
attr_accessor :connect_timeout
|
60
57
|
|
61
|
-
#
|
62
|
-
attr_accessor :
|
58
|
+
# The proxy URL. Format: scheme://host:port
|
59
|
+
attr_accessor :proxy_url
|
60
|
+
|
61
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
62
|
+
attr_accessor :ca_cert
|
63
|
+
|
64
|
+
# If True, TLS peer validation must be performed.
|
65
|
+
attr_accessor :tls_validation
|
63
66
|
|
64
67
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
65
68
|
attr_accessor :max_retries
|
@@ -67,11 +70,8 @@ module PulpAnsibleClient
|
|
67
70
|
# A PEM encoded client certificate used for authentication.
|
68
71
|
attr_accessor :client_cert
|
69
72
|
|
70
|
-
#
|
71
|
-
attr_accessor :
|
72
|
-
|
73
|
-
# Headers for aiohttp.Clientsession
|
74
|
-
attr_accessor :headers
|
73
|
+
# Timestamp of the most recent update of the remote.
|
74
|
+
attr_accessor :pulp_last_updated
|
75
75
|
|
76
76
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
77
77
|
attr_accessor :metadata_only
|
@@ -82,26 +82,26 @@ module PulpAnsibleClient
|
|
82
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
83
83
|
def self.attribute_map
|
84
84
|
{
|
85
|
-
:'download_concurrency' => :'download_concurrency',
|
86
|
-
:'tls_validation' => :'tls_validation',
|
87
|
-
:'pulp_labels' => :'pulp_labels',
|
88
|
-
:'ca_cert' => :'ca_cert',
|
89
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
90
85
|
:'sock_read_timeout' => :'sock_read_timeout',
|
91
|
-
:'
|
86
|
+
:'prn' => :'prn',
|
87
|
+
:'total_timeout' => :'total_timeout',
|
88
|
+
:'url' => :'url',
|
89
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
92
90
|
:'name' => :'name',
|
91
|
+
:'pulp_labels' => :'pulp_labels',
|
93
92
|
:'pulp_href' => :'pulp_href',
|
94
|
-
:'proxy_url' => :'proxy_url',
|
95
|
-
:'connect_timeout' => :'connect_timeout',
|
96
|
-
:'url' => :'url',
|
97
93
|
:'rate_limit' => :'rate_limit',
|
98
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
99
|
-
:'total_timeout' => :'total_timeout',
|
100
94
|
:'pulp_created' => :'pulp_created',
|
95
|
+
:'headers' => :'headers',
|
96
|
+
:'download_concurrency' => :'download_concurrency',
|
97
|
+
:'hidden_fields' => :'hidden_fields',
|
98
|
+
:'connect_timeout' => :'connect_timeout',
|
99
|
+
:'proxy_url' => :'proxy_url',
|
100
|
+
:'ca_cert' => :'ca_cert',
|
101
|
+
:'tls_validation' => :'tls_validation',
|
101
102
|
:'max_retries' => :'max_retries',
|
102
103
|
:'client_cert' => :'client_cert',
|
103
|
-
:'
|
104
|
-
:'headers' => :'headers',
|
104
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
105
105
|
:'metadata_only' => :'metadata_only',
|
106
106
|
:'git_ref' => :'git_ref'
|
107
107
|
}
|
@@ -110,26 +110,26 @@ module PulpAnsibleClient
|
|
110
110
|
# Attribute type mapping.
|
111
111
|
def self.openapi_types
|
112
112
|
{
|
113
|
-
:'download_concurrency' => :'Integer',
|
114
|
-
:'tls_validation' => :'Boolean',
|
115
|
-
:'pulp_labels' => :'Hash<String, String>',
|
116
|
-
:'ca_cert' => :'String',
|
117
|
-
:'pulp_last_updated' => :'DateTime',
|
118
113
|
:'sock_read_timeout' => :'Float',
|
119
|
-
:'
|
114
|
+
:'prn' => :'String',
|
115
|
+
:'total_timeout' => :'Float',
|
116
|
+
:'url' => :'String',
|
117
|
+
:'sock_connect_timeout' => :'Float',
|
120
118
|
:'name' => :'String',
|
119
|
+
:'pulp_labels' => :'Hash<String, String>',
|
121
120
|
:'pulp_href' => :'String',
|
122
|
-
:'proxy_url' => :'String',
|
123
|
-
:'connect_timeout' => :'Float',
|
124
|
-
:'url' => :'String',
|
125
121
|
:'rate_limit' => :'Integer',
|
126
|
-
:'sock_connect_timeout' => :'Float',
|
127
|
-
:'total_timeout' => :'Float',
|
128
122
|
:'pulp_created' => :'DateTime',
|
123
|
+
:'headers' => :'Array<Object>',
|
124
|
+
:'download_concurrency' => :'Integer',
|
125
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
126
|
+
:'connect_timeout' => :'Float',
|
127
|
+
:'proxy_url' => :'String',
|
128
|
+
:'ca_cert' => :'String',
|
129
|
+
:'tls_validation' => :'Boolean',
|
129
130
|
:'max_retries' => :'Integer',
|
130
131
|
:'client_cert' => :'String',
|
131
|
-
:'
|
132
|
-
:'headers' => :'Array<Object>',
|
132
|
+
:'pulp_last_updated' => :'DateTime',
|
133
133
|
:'metadata_only' => :'Boolean',
|
134
134
|
:'git_ref' => :'String'
|
135
135
|
}
|
@@ -138,14 +138,14 @@ module PulpAnsibleClient
|
|
138
138
|
# List of attributes with nullable: true
|
139
139
|
def self.openapi_nullable
|
140
140
|
Set.new([
|
141
|
-
:'download_concurrency',
|
142
|
-
:'ca_cert',
|
143
141
|
:'sock_read_timeout',
|
144
|
-
:'proxy_url',
|
145
|
-
:'connect_timeout',
|
146
|
-
:'rate_limit',
|
147
|
-
:'sock_connect_timeout',
|
148
142
|
:'total_timeout',
|
143
|
+
:'sock_connect_timeout',
|
144
|
+
:'rate_limit',
|
145
|
+
:'download_concurrency',
|
146
|
+
:'connect_timeout',
|
147
|
+
:'proxy_url',
|
148
|
+
:'ca_cert',
|
149
149
|
:'max_retries',
|
150
150
|
:'client_cert',
|
151
151
|
])
|
@@ -166,72 +166,78 @@ module PulpAnsibleClient
|
|
166
166
|
h[k.to_sym] = v
|
167
167
|
}
|
168
168
|
|
169
|
-
if attributes.key?(:'
|
170
|
-
self.
|
169
|
+
if attributes.key?(:'sock_read_timeout')
|
170
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
171
171
|
end
|
172
172
|
|
173
|
-
if attributes.key?(:'
|
174
|
-
self.
|
173
|
+
if attributes.key?(:'prn')
|
174
|
+
self.prn = attributes[:'prn']
|
175
175
|
end
|
176
176
|
|
177
|
-
if attributes.key?(:'
|
178
|
-
|
179
|
-
self.pulp_labels = value
|
180
|
-
end
|
177
|
+
if attributes.key?(:'total_timeout')
|
178
|
+
self.total_timeout = attributes[:'total_timeout']
|
181
179
|
end
|
182
180
|
|
183
|
-
if attributes.key?(:'
|
184
|
-
self.
|
181
|
+
if attributes.key?(:'url')
|
182
|
+
self.url = attributes[:'url']
|
185
183
|
end
|
186
184
|
|
187
|
-
if attributes.key?(:'
|
188
|
-
self.
|
185
|
+
if attributes.key?(:'sock_connect_timeout')
|
186
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
189
187
|
end
|
190
188
|
|
191
|
-
if attributes.key?(:'
|
192
|
-
self.
|
189
|
+
if attributes.key?(:'name')
|
190
|
+
self.name = attributes[:'name']
|
193
191
|
end
|
194
192
|
|
195
|
-
if attributes.key?(:'
|
196
|
-
if (value = attributes[:'
|
197
|
-
self.
|
193
|
+
if attributes.key?(:'pulp_labels')
|
194
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
195
|
+
self.pulp_labels = value
|
198
196
|
end
|
199
197
|
end
|
200
198
|
|
201
|
-
if attributes.key?(:'name')
|
202
|
-
self.name = attributes[:'name']
|
203
|
-
end
|
204
|
-
|
205
199
|
if attributes.key?(:'pulp_href')
|
206
200
|
self.pulp_href = attributes[:'pulp_href']
|
207
201
|
end
|
208
202
|
|
209
|
-
if attributes.key?(:'
|
210
|
-
self.
|
203
|
+
if attributes.key?(:'rate_limit')
|
204
|
+
self.rate_limit = attributes[:'rate_limit']
|
211
205
|
end
|
212
206
|
|
213
|
-
if attributes.key?(:'
|
214
|
-
self.
|
207
|
+
if attributes.key?(:'pulp_created')
|
208
|
+
self.pulp_created = attributes[:'pulp_created']
|
215
209
|
end
|
216
210
|
|
217
|
-
if attributes.key?(:'
|
218
|
-
|
211
|
+
if attributes.key?(:'headers')
|
212
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
213
|
+
self.headers = value
|
214
|
+
end
|
219
215
|
end
|
220
216
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
217
|
+
if attributes.key?(:'download_concurrency')
|
218
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
223
219
|
end
|
224
220
|
|
225
|
-
if attributes.key?(:'
|
226
|
-
|
221
|
+
if attributes.key?(:'hidden_fields')
|
222
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
223
|
+
self.hidden_fields = value
|
224
|
+
end
|
227
225
|
end
|
228
226
|
|
229
|
-
if attributes.key?(:'
|
230
|
-
self.
|
227
|
+
if attributes.key?(:'connect_timeout')
|
228
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
231
229
|
end
|
232
230
|
|
233
|
-
if attributes.key?(:'
|
234
|
-
self.
|
231
|
+
if attributes.key?(:'proxy_url')
|
232
|
+
self.proxy_url = attributes[:'proxy_url']
|
233
|
+
end
|
234
|
+
|
235
|
+
if attributes.key?(:'ca_cert')
|
236
|
+
self.ca_cert = attributes[:'ca_cert']
|
237
|
+
end
|
238
|
+
|
239
|
+
if attributes.key?(:'tls_validation')
|
240
|
+
self.tls_validation = attributes[:'tls_validation']
|
235
241
|
end
|
236
242
|
|
237
243
|
if attributes.key?(:'max_retries')
|
@@ -242,14 +248,8 @@ module PulpAnsibleClient
|
|
242
248
|
self.client_cert = attributes[:'client_cert']
|
243
249
|
end
|
244
250
|
|
245
|
-
if attributes.key?(:'
|
246
|
-
self.
|
247
|
-
end
|
248
|
-
|
249
|
-
if attributes.key?(:'headers')
|
250
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
251
|
-
self.headers = value
|
252
|
-
end
|
251
|
+
if attributes.key?(:'pulp_last_updated')
|
252
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
253
253
|
end
|
254
254
|
|
255
255
|
if attributes.key?(:'metadata_only')
|
@@ -265,20 +265,12 @@ module PulpAnsibleClient
|
|
265
265
|
# @return Array for valid properties with the reasons
|
266
266
|
def list_invalid_properties
|
267
267
|
invalid_properties = Array.new
|
268
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
269
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
270
|
-
end
|
271
|
-
|
272
268
|
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
273
269
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
274
270
|
end
|
275
271
|
|
276
|
-
if
|
277
|
-
invalid_properties.push('invalid value for "
|
278
|
-
end
|
279
|
-
|
280
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
281
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
272
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
273
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
282
274
|
end
|
283
275
|
|
284
276
|
if @url.nil?
|
@@ -289,8 +281,16 @@ module PulpAnsibleClient
|
|
289
281
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
290
282
|
end
|
291
283
|
|
292
|
-
if
|
293
|
-
invalid_properties.push('invalid value for "
|
284
|
+
if @name.nil?
|
285
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
286
|
+
end
|
287
|
+
|
288
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
289
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
290
|
+
end
|
291
|
+
|
292
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
293
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
294
294
|
end
|
295
295
|
|
296
296
|
invalid_properties
|
@@ -299,26 +299,16 @@ module PulpAnsibleClient
|
|
299
299
|
# Check to see if the all the properties in the model are valid
|
300
300
|
# @return true if the model is valid
|
301
301
|
def valid?
|
302
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
303
302
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
304
|
-
return false if
|
305
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
303
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
306
304
|
return false if @url.nil?
|
307
305
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
308
|
-
return false if
|
306
|
+
return false if @name.nil?
|
307
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
308
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
309
309
|
true
|
310
310
|
end
|
311
311
|
|
312
|
-
# Custom attribute writer method with validation
|
313
|
-
# @param [Object] download_concurrency Value to be assigned
|
314
|
-
def download_concurrency=(download_concurrency)
|
315
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
316
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
317
|
-
end
|
318
|
-
|
319
|
-
@download_concurrency = download_concurrency
|
320
|
-
end
|
321
|
-
|
322
312
|
# Custom attribute writer method with validation
|
323
313
|
# @param [Object] sock_read_timeout Value to be assigned
|
324
314
|
def sock_read_timeout=(sock_read_timeout)
|
@@ -330,13 +320,13 @@ module PulpAnsibleClient
|
|
330
320
|
end
|
331
321
|
|
332
322
|
# Custom attribute writer method with validation
|
333
|
-
# @param [Object]
|
334
|
-
def
|
335
|
-
if !
|
336
|
-
fail ArgumentError, 'invalid value for "
|
323
|
+
# @param [Object] total_timeout Value to be assigned
|
324
|
+
def total_timeout=(total_timeout)
|
325
|
+
if !total_timeout.nil? && total_timeout < 0
|
326
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
337
327
|
end
|
338
328
|
|
339
|
-
@
|
329
|
+
@total_timeout = total_timeout
|
340
330
|
end
|
341
331
|
|
342
332
|
# Custom attribute writer method with validation
|
@@ -350,13 +340,23 @@ module PulpAnsibleClient
|
|
350
340
|
end
|
351
341
|
|
352
342
|
# Custom attribute writer method with validation
|
353
|
-
# @param [Object]
|
354
|
-
def
|
355
|
-
if !
|
356
|
-
fail ArgumentError, 'invalid value for "
|
343
|
+
# @param [Object] download_concurrency Value to be assigned
|
344
|
+
def download_concurrency=(download_concurrency)
|
345
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
346
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
357
347
|
end
|
358
348
|
|
359
|
-
@
|
349
|
+
@download_concurrency = download_concurrency
|
350
|
+
end
|
351
|
+
|
352
|
+
# Custom attribute writer method with validation
|
353
|
+
# @param [Object] connect_timeout Value to be assigned
|
354
|
+
def connect_timeout=(connect_timeout)
|
355
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
356
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
357
|
+
end
|
358
|
+
|
359
|
+
@connect_timeout = connect_timeout
|
360
360
|
end
|
361
361
|
|
362
362
|
# Checks equality by comparing each attribute.
|
@@ -364,26 +364,26 @@ module PulpAnsibleClient
|
|
364
364
|
def ==(o)
|
365
365
|
return true if self.equal?(o)
|
366
366
|
self.class == o.class &&
|
367
|
-
download_concurrency == o.download_concurrency &&
|
368
|
-
tls_validation == o.tls_validation &&
|
369
|
-
pulp_labels == o.pulp_labels &&
|
370
|
-
ca_cert == o.ca_cert &&
|
371
|
-
pulp_last_updated == o.pulp_last_updated &&
|
372
367
|
sock_read_timeout == o.sock_read_timeout &&
|
373
|
-
|
368
|
+
prn == o.prn &&
|
369
|
+
total_timeout == o.total_timeout &&
|
370
|
+
url == o.url &&
|
371
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
374
372
|
name == o.name &&
|
373
|
+
pulp_labels == o.pulp_labels &&
|
375
374
|
pulp_href == o.pulp_href &&
|
376
|
-
proxy_url == o.proxy_url &&
|
377
|
-
connect_timeout == o.connect_timeout &&
|
378
|
-
url == o.url &&
|
379
375
|
rate_limit == o.rate_limit &&
|
380
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
381
|
-
total_timeout == o.total_timeout &&
|
382
376
|
pulp_created == o.pulp_created &&
|
377
|
+
headers == o.headers &&
|
378
|
+
download_concurrency == o.download_concurrency &&
|
379
|
+
hidden_fields == o.hidden_fields &&
|
380
|
+
connect_timeout == o.connect_timeout &&
|
381
|
+
proxy_url == o.proxy_url &&
|
382
|
+
ca_cert == o.ca_cert &&
|
383
|
+
tls_validation == o.tls_validation &&
|
383
384
|
max_retries == o.max_retries &&
|
384
385
|
client_cert == o.client_cert &&
|
385
|
-
|
386
|
-
headers == o.headers &&
|
386
|
+
pulp_last_updated == o.pulp_last_updated &&
|
387
387
|
metadata_only == o.metadata_only &&
|
388
388
|
git_ref == o.git_ref
|
389
389
|
end
|
@@ -397,7 +397,7 @@ module PulpAnsibleClient
|
|
397
397
|
# Calculates hash code according to all attributes.
|
398
398
|
# @return [Integer] Hash code
|
399
399
|
def hash
|
400
|
-
[
|
400
|
+
[sock_read_timeout, prn, total_timeout, url, sock_connect_timeout, name, pulp_labels, pulp_href, rate_limit, pulp_created, headers, download_concurrency, hidden_fields, connect_timeout, proxy_url, ca_cert, tls_validation, max_retries, client_cert, pulp_last_updated, metadata_only, git_ref].hash
|
401
401
|
end
|
402
402
|
|
403
403
|
# Builds the object from hash
|
@@ -15,19 +15,19 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
+
# The Pulp Resource Name (PRN).
|
19
|
+
attr_accessor :prn
|
20
|
+
|
18
21
|
# Artifact file representing the physical content
|
19
22
|
attr_accessor :artifact
|
20
23
|
|
21
|
-
|
22
|
-
attr_accessor :pulp_last_updated
|
24
|
+
attr_accessor :pulp_href
|
23
25
|
|
24
26
|
# Timestamp of creation.
|
25
27
|
attr_accessor :pulp_created
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
-
# The Pulp Resource Name (PRN).
|
30
|
-
attr_accessor :prn
|
29
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
30
|
+
attr_accessor :pulp_last_updated
|
31
31
|
|
32
32
|
attr_accessor :version
|
33
33
|
|
@@ -38,11 +38,11 @@ module PulpAnsibleClient
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
39
|
def self.attribute_map
|
40
40
|
{
|
41
|
+
:'prn' => :'prn',
|
41
42
|
:'artifact' => :'artifact',
|
42
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
43
|
-
:'pulp_created' => :'pulp_created',
|
44
43
|
:'pulp_href' => :'pulp_href',
|
45
|
-
:'
|
44
|
+
:'pulp_created' => :'pulp_created',
|
45
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
46
46
|
:'version' => :'version',
|
47
47
|
:'name' => :'name',
|
48
48
|
:'namespace' => :'namespace'
|
@@ -52,11 +52,11 @@ module PulpAnsibleClient
|
|
52
52
|
# Attribute type mapping.
|
53
53
|
def self.openapi_types
|
54
54
|
{
|
55
|
+
:'prn' => :'String',
|
55
56
|
:'artifact' => :'String',
|
56
|
-
:'pulp_last_updated' => :'DateTime',
|
57
|
-
:'pulp_created' => :'DateTime',
|
58
57
|
:'pulp_href' => :'String',
|
59
|
-
:'
|
58
|
+
:'pulp_created' => :'DateTime',
|
59
|
+
:'pulp_last_updated' => :'DateTime',
|
60
60
|
:'version' => :'String',
|
61
61
|
:'name' => :'String',
|
62
62
|
:'namespace' => :'String'
|
@@ -84,24 +84,24 @@ module PulpAnsibleClient
|
|
84
84
|
h[k.to_sym] = v
|
85
85
|
}
|
86
86
|
|
87
|
+
if attributes.key?(:'prn')
|
88
|
+
self.prn = attributes[:'prn']
|
89
|
+
end
|
90
|
+
|
87
91
|
if attributes.key?(:'artifact')
|
88
92
|
self.artifact = attributes[:'artifact']
|
89
93
|
end
|
90
94
|
|
91
|
-
if attributes.key?(:'
|
92
|
-
self.
|
95
|
+
if attributes.key?(:'pulp_href')
|
96
|
+
self.pulp_href = attributes[:'pulp_href']
|
93
97
|
end
|
94
98
|
|
95
99
|
if attributes.key?(:'pulp_created')
|
96
100
|
self.pulp_created = attributes[:'pulp_created']
|
97
101
|
end
|
98
102
|
|
99
|
-
if attributes.key?(:'
|
100
|
-
self.
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.key?(:'prn')
|
104
|
-
self.prn = attributes[:'prn']
|
103
|
+
if attributes.key?(:'pulp_last_updated')
|
104
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
105
105
|
end
|
106
106
|
|
107
107
|
if attributes.key?(:'version')
|
@@ -155,11 +155,11 @@ module PulpAnsibleClient
|
|
155
155
|
def ==(o)
|
156
156
|
return true if self.equal?(o)
|
157
157
|
self.class == o.class &&
|
158
|
+
prn == o.prn &&
|
158
159
|
artifact == o.artifact &&
|
159
|
-
pulp_last_updated == o.pulp_last_updated &&
|
160
|
-
pulp_created == o.pulp_created &&
|
161
160
|
pulp_href == o.pulp_href &&
|
162
|
-
|
161
|
+
pulp_created == o.pulp_created &&
|
162
|
+
pulp_last_updated == o.pulp_last_updated &&
|
163
163
|
version == o.version &&
|
164
164
|
name == o.name &&
|
165
165
|
namespace == o.namespace
|
@@ -174,7 +174,7 @@ module PulpAnsibleClient
|
|
174
174
|
# Calculates hash code according to all attributes.
|
175
175
|
# @return [Integer] Hash code
|
176
176
|
def hash
|
177
|
-
[artifact,
|
177
|
+
[prn, artifact, pulp_href, pulp_created, pulp_last_updated, version, name, namespace].hash
|
178
178
|
end
|
179
179
|
|
180
180
|
# Builds the object from hash
|