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