pulp_ansible_client 0.11.0.dev1636341492 → 0.11.0.dev1636427751
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_ansible_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +29 -29
- data/docs/AnsibleGitRemoteResponse.md +25 -25
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleGitRemote.md +29 -29
- 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 +163 -163
- 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 +158 -158
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +2 -2
@@ -15,91 +15,91 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class PatchedansibleGitRemote
|
18
|
-
|
19
|
-
|
20
|
-
# The password to be used for authentication when syncing.
|
21
|
-
attr_accessor :password
|
22
|
-
|
23
|
-
# The URL of an external content source.
|
24
|
-
attr_accessor :url
|
18
|
+
# A PEM encoded private key used for authentication.
|
19
|
+
attr_accessor :client_key
|
25
20
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
21
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
22
|
+
attr_accessor :total_timeout
|
28
23
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
24
|
+
# A PEM encoded client certificate used for authentication.
|
25
|
+
attr_accessor :client_cert
|
31
26
|
|
32
27
|
# Headers for aiohttp.Clientsession
|
33
28
|
attr_accessor :headers
|
34
29
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
30
|
+
# Limits total download rate in requests per second
|
31
|
+
attr_accessor :rate_limit
|
37
32
|
|
38
|
-
#
|
39
|
-
attr_accessor :
|
33
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
34
|
+
attr_accessor :connect_timeout
|
40
35
|
|
41
|
-
#
|
42
|
-
attr_accessor :
|
36
|
+
# The username to be used for authentication when syncing.
|
37
|
+
attr_accessor :username
|
43
38
|
|
44
|
-
|
45
|
-
attr_accessor :tls_validation
|
39
|
+
attr_accessor :pulp_labels
|
46
40
|
|
47
|
-
#
|
48
|
-
attr_accessor :
|
41
|
+
# The URL of an external content source.
|
42
|
+
attr_accessor :url
|
49
43
|
|
50
44
|
# 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
45
|
attr_accessor :sock_read_timeout
|
52
46
|
|
53
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
54
|
-
attr_accessor :connect_timeout
|
55
|
-
|
56
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
57
|
-
attr_accessor :total_timeout
|
58
|
-
|
59
47
|
# The password to authenticte to the proxy.
|
60
48
|
attr_accessor :proxy_password
|
61
49
|
|
62
|
-
# The username to authenticte to the proxy.
|
63
|
-
attr_accessor :proxy_username
|
64
|
-
|
65
|
-
# The username to be used for authentication when syncing.
|
66
|
-
attr_accessor :username
|
67
|
-
|
68
50
|
# 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.
|
69
51
|
attr_accessor :sock_connect_timeout
|
70
52
|
|
71
|
-
#
|
72
|
-
attr_accessor :
|
53
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
54
|
+
attr_accessor :ca_cert
|
73
55
|
|
74
56
|
# The proxy URL. Format: scheme://host:port
|
75
57
|
attr_accessor :proxy_url
|
76
58
|
|
59
|
+
# A unique name for this remote.
|
60
|
+
attr_accessor :name
|
61
|
+
|
62
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
63
|
+
attr_accessor :max_retries
|
64
|
+
|
65
|
+
# The password to be used for authentication when syncing.
|
66
|
+
attr_accessor :password
|
67
|
+
|
68
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
69
|
+
attr_accessor :download_concurrency
|
70
|
+
|
71
|
+
# The username to authenticte to the proxy.
|
72
|
+
attr_accessor :proxy_username
|
73
|
+
|
74
|
+
# If True, TLS peer validation must be performed.
|
75
|
+
attr_accessor :tls_validation
|
76
|
+
|
77
77
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
78
78
|
attr_accessor :metadata_only
|
79
79
|
|
80
80
|
# Attribute mapping from ruby-style variable name to JSON key.
|
81
81
|
def self.attribute_map
|
82
82
|
{
|
83
|
-
:'pulp_labels' => :'pulp_labels',
|
84
|
-
:'password' => :'password',
|
85
|
-
:'url' => :'url',
|
86
|
-
:'ca_cert' => :'ca_cert',
|
87
|
-
:'download_concurrency' => :'download_concurrency',
|
88
|
-
:'headers' => :'headers',
|
89
83
|
:'client_key' => :'client_key',
|
90
|
-
:'
|
84
|
+
:'total_timeout' => :'total_timeout',
|
91
85
|
:'client_cert' => :'client_cert',
|
92
|
-
:'
|
93
|
-
:'
|
94
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
86
|
+
:'headers' => :'headers',
|
87
|
+
:'rate_limit' => :'rate_limit',
|
95
88
|
:'connect_timeout' => :'connect_timeout',
|
96
|
-
:'total_timeout' => :'total_timeout',
|
97
|
-
:'proxy_password' => :'proxy_password',
|
98
|
-
:'proxy_username' => :'proxy_username',
|
99
89
|
:'username' => :'username',
|
90
|
+
:'pulp_labels' => :'pulp_labels',
|
91
|
+
:'url' => :'url',
|
92
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
93
|
+
:'proxy_password' => :'proxy_password',
|
100
94
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
101
|
-
:'
|
95
|
+
:'ca_cert' => :'ca_cert',
|
102
96
|
:'proxy_url' => :'proxy_url',
|
97
|
+
:'name' => :'name',
|
98
|
+
:'max_retries' => :'max_retries',
|
99
|
+
:'password' => :'password',
|
100
|
+
:'download_concurrency' => :'download_concurrency',
|
101
|
+
:'proxy_username' => :'proxy_username',
|
102
|
+
:'tls_validation' => :'tls_validation',
|
103
103
|
:'metadata_only' => :'metadata_only'
|
104
104
|
}
|
105
105
|
end
|
@@ -107,26 +107,26 @@ module PulpAnsibleClient
|
|
107
107
|
# Attribute type mapping.
|
108
108
|
def self.openapi_types
|
109
109
|
{
|
110
|
-
:'pulp_labels' => :'Object',
|
111
|
-
:'password' => :'String',
|
112
|
-
:'url' => :'String',
|
113
|
-
:'ca_cert' => :'String',
|
114
|
-
:'download_concurrency' => :'Integer',
|
115
|
-
:'headers' => :'Array<Object>',
|
116
110
|
:'client_key' => :'String',
|
117
|
-
:'
|
111
|
+
:'total_timeout' => :'Float',
|
118
112
|
:'client_cert' => :'String',
|
119
|
-
:'
|
120
|
-
:'
|
121
|
-
:'sock_read_timeout' => :'Float',
|
113
|
+
:'headers' => :'Array<Object>',
|
114
|
+
:'rate_limit' => :'Integer',
|
122
115
|
:'connect_timeout' => :'Float',
|
123
|
-
:'total_timeout' => :'Float',
|
124
|
-
:'proxy_password' => :'String',
|
125
|
-
:'proxy_username' => :'String',
|
126
116
|
:'username' => :'String',
|
117
|
+
:'pulp_labels' => :'Object',
|
118
|
+
:'url' => :'String',
|
119
|
+
:'sock_read_timeout' => :'Float',
|
120
|
+
:'proxy_password' => :'String',
|
127
121
|
:'sock_connect_timeout' => :'Float',
|
128
|
-
:'
|
122
|
+
:'ca_cert' => :'String',
|
129
123
|
:'proxy_url' => :'String',
|
124
|
+
:'name' => :'String',
|
125
|
+
:'max_retries' => :'Integer',
|
126
|
+
:'password' => :'String',
|
127
|
+
:'download_concurrency' => :'Integer',
|
128
|
+
:'proxy_username' => :'String',
|
129
|
+
:'tls_validation' => :'Boolean',
|
130
130
|
:'metadata_only' => :'Boolean'
|
131
131
|
}
|
132
132
|
end
|
@@ -134,21 +134,21 @@ module PulpAnsibleClient
|
|
134
134
|
# List of attributes with nullable: true
|
135
135
|
def self.openapi_nullable
|
136
136
|
Set.new([
|
137
|
-
:'password',
|
138
|
-
:'ca_cert',
|
139
|
-
:'download_concurrency',
|
140
137
|
:'client_key',
|
138
|
+
:'total_timeout',
|
141
139
|
:'client_cert',
|
142
|
-
:'
|
143
|
-
:'sock_read_timeout',
|
140
|
+
:'rate_limit',
|
144
141
|
:'connect_timeout',
|
145
|
-
:'total_timeout',
|
146
|
-
:'proxy_password',
|
147
|
-
:'proxy_username',
|
148
142
|
:'username',
|
143
|
+
:'sock_read_timeout',
|
144
|
+
:'proxy_password',
|
149
145
|
:'sock_connect_timeout',
|
150
|
-
:'
|
146
|
+
:'ca_cert',
|
151
147
|
:'proxy_url',
|
148
|
+
:'max_retries',
|
149
|
+
:'password',
|
150
|
+
:'download_concurrency',
|
151
|
+
:'proxy_username',
|
152
152
|
])
|
153
153
|
end
|
154
154
|
|
@@ -167,24 +167,16 @@ module PulpAnsibleClient
|
|
167
167
|
h[k.to_sym] = v
|
168
168
|
}
|
169
169
|
|
170
|
-
if attributes.key?(:'
|
171
|
-
self.
|
172
|
-
end
|
173
|
-
|
174
|
-
if attributes.key?(:'password')
|
175
|
-
self.password = attributes[:'password']
|
176
|
-
end
|
177
|
-
|
178
|
-
if attributes.key?(:'url')
|
179
|
-
self.url = attributes[:'url']
|
170
|
+
if attributes.key?(:'client_key')
|
171
|
+
self.client_key = attributes[:'client_key']
|
180
172
|
end
|
181
173
|
|
182
|
-
if attributes.key?(:'
|
183
|
-
self.
|
174
|
+
if attributes.key?(:'total_timeout')
|
175
|
+
self.total_timeout = attributes[:'total_timeout']
|
184
176
|
end
|
185
177
|
|
186
|
-
if attributes.key?(:'
|
187
|
-
self.
|
178
|
+
if attributes.key?(:'client_cert')
|
179
|
+
self.client_cert = attributes[:'client_cert']
|
188
180
|
end
|
189
181
|
|
190
182
|
if attributes.key?(:'headers')
|
@@ -193,60 +185,68 @@ module PulpAnsibleClient
|
|
193
185
|
end
|
194
186
|
end
|
195
187
|
|
196
|
-
if attributes.key?(:'
|
197
|
-
self.
|
188
|
+
if attributes.key?(:'rate_limit')
|
189
|
+
self.rate_limit = attributes[:'rate_limit']
|
198
190
|
end
|
199
191
|
|
200
|
-
if attributes.key?(:'
|
201
|
-
self.
|
192
|
+
if attributes.key?(:'connect_timeout')
|
193
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
202
194
|
end
|
203
195
|
|
204
|
-
if attributes.key?(:'
|
205
|
-
self.
|
196
|
+
if attributes.key?(:'username')
|
197
|
+
self.username = attributes[:'username']
|
206
198
|
end
|
207
199
|
|
208
|
-
if attributes.key?(:'
|
209
|
-
self.
|
200
|
+
if attributes.key?(:'pulp_labels')
|
201
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
210
202
|
end
|
211
203
|
|
212
|
-
if attributes.key?(:'
|
213
|
-
self.
|
204
|
+
if attributes.key?(:'url')
|
205
|
+
self.url = attributes[:'url']
|
214
206
|
end
|
215
207
|
|
216
208
|
if attributes.key?(:'sock_read_timeout')
|
217
209
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
218
210
|
end
|
219
211
|
|
220
|
-
if attributes.key?(:'
|
221
|
-
self.
|
212
|
+
if attributes.key?(:'proxy_password')
|
213
|
+
self.proxy_password = attributes[:'proxy_password']
|
222
214
|
end
|
223
215
|
|
224
|
-
if attributes.key?(:'
|
225
|
-
self.
|
216
|
+
if attributes.key?(:'sock_connect_timeout')
|
217
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
226
218
|
end
|
227
219
|
|
228
|
-
if attributes.key?(:'
|
229
|
-
self.
|
220
|
+
if attributes.key?(:'ca_cert')
|
221
|
+
self.ca_cert = attributes[:'ca_cert']
|
230
222
|
end
|
231
223
|
|
232
|
-
if attributes.key?(:'
|
233
|
-
self.
|
224
|
+
if attributes.key?(:'proxy_url')
|
225
|
+
self.proxy_url = attributes[:'proxy_url']
|
234
226
|
end
|
235
227
|
|
236
|
-
if attributes.key?(:'
|
237
|
-
self.
|
228
|
+
if attributes.key?(:'name')
|
229
|
+
self.name = attributes[:'name']
|
238
230
|
end
|
239
231
|
|
240
|
-
if attributes.key?(:'
|
241
|
-
self.
|
232
|
+
if attributes.key?(:'max_retries')
|
233
|
+
self.max_retries = attributes[:'max_retries']
|
242
234
|
end
|
243
235
|
|
244
|
-
if attributes.key?(:'
|
245
|
-
self.
|
236
|
+
if attributes.key?(:'password')
|
237
|
+
self.password = attributes[:'password']
|
246
238
|
end
|
247
239
|
|
248
|
-
if attributes.key?(:'
|
249
|
-
self.
|
240
|
+
if attributes.key?(:'download_concurrency')
|
241
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
242
|
+
end
|
243
|
+
|
244
|
+
if attributes.key?(:'proxy_username')
|
245
|
+
self.proxy_username = attributes[:'proxy_username']
|
246
|
+
end
|
247
|
+
|
248
|
+
if attributes.key?(:'tls_validation')
|
249
|
+
self.tls_validation = attributes[:'tls_validation']
|
250
250
|
end
|
251
251
|
|
252
252
|
if attributes.key?(:'metadata_only')
|
@@ -258,58 +258,48 @@ module PulpAnsibleClient
|
|
258
258
|
# @return Array for valid properties with the reasons
|
259
259
|
def list_invalid_properties
|
260
260
|
invalid_properties = Array.new
|
261
|
-
if !@
|
262
|
-
invalid_properties.push('invalid value for "
|
263
|
-
end
|
264
|
-
|
265
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
266
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
261
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
262
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
267
263
|
end
|
268
264
|
|
269
265
|
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
270
266
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
271
267
|
end
|
272
268
|
|
273
|
-
if !@
|
274
|
-
invalid_properties.push('invalid value for "
|
269
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
270
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
275
271
|
end
|
276
272
|
|
277
273
|
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
278
274
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
279
275
|
end
|
280
276
|
|
277
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
278
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
279
|
+
end
|
280
|
+
|
281
281
|
invalid_properties
|
282
282
|
end
|
283
283
|
|
284
284
|
# Check to see if the all the properties in the model are valid
|
285
285
|
# @return true if the model is valid
|
286
286
|
def valid?
|
287
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
288
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
289
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
290
287
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
288
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
289
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
291
290
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
291
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
292
292
|
true
|
293
293
|
end
|
294
294
|
|
295
295
|
# Custom attribute writer method with validation
|
296
|
-
# @param [Object]
|
297
|
-
def
|
298
|
-
if !
|
299
|
-
fail ArgumentError, 'invalid value for "
|
300
|
-
end
|
301
|
-
|
302
|
-
@download_concurrency = download_concurrency
|
303
|
-
end
|
304
|
-
|
305
|
-
# Custom attribute writer method with validation
|
306
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
307
|
-
def sock_read_timeout=(sock_read_timeout)
|
308
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
309
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
296
|
+
# @param [Object] total_timeout Value to be assigned
|
297
|
+
def total_timeout=(total_timeout)
|
298
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
299
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
310
300
|
end
|
311
301
|
|
312
|
-
@
|
302
|
+
@total_timeout = total_timeout
|
313
303
|
end
|
314
304
|
|
315
305
|
# Custom attribute writer method with validation
|
@@ -323,13 +313,13 @@ module PulpAnsibleClient
|
|
323
313
|
end
|
324
314
|
|
325
315
|
# Custom attribute writer method with validation
|
326
|
-
# @param [Object]
|
327
|
-
def
|
328
|
-
if !
|
329
|
-
fail ArgumentError, 'invalid value for "
|
316
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
317
|
+
def sock_read_timeout=(sock_read_timeout)
|
318
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
319
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
330
320
|
end
|
331
321
|
|
332
|
-
@
|
322
|
+
@sock_read_timeout = sock_read_timeout
|
333
323
|
end
|
334
324
|
|
335
325
|
# Custom attribute writer method with validation
|
@@ -342,31 +332,41 @@ module PulpAnsibleClient
|
|
342
332
|
@sock_connect_timeout = sock_connect_timeout
|
343
333
|
end
|
344
334
|
|
335
|
+
# Custom attribute writer method with validation
|
336
|
+
# @param [Object] download_concurrency Value to be assigned
|
337
|
+
def download_concurrency=(download_concurrency)
|
338
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
339
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
340
|
+
end
|
341
|
+
|
342
|
+
@download_concurrency = download_concurrency
|
343
|
+
end
|
344
|
+
|
345
345
|
# Checks equality by comparing each attribute.
|
346
346
|
# @param [Object] Object to be compared
|
347
347
|
def ==(o)
|
348
348
|
return true if self.equal?(o)
|
349
349
|
self.class == o.class &&
|
350
|
-
pulp_labels == o.pulp_labels &&
|
351
|
-
password == o.password &&
|
352
|
-
url == o.url &&
|
353
|
-
ca_cert == o.ca_cert &&
|
354
|
-
download_concurrency == o.download_concurrency &&
|
355
|
-
headers == o.headers &&
|
356
350
|
client_key == o.client_key &&
|
357
|
-
|
351
|
+
total_timeout == o.total_timeout &&
|
358
352
|
client_cert == o.client_cert &&
|
359
|
-
|
360
|
-
|
361
|
-
sock_read_timeout == o.sock_read_timeout &&
|
353
|
+
headers == o.headers &&
|
354
|
+
rate_limit == o.rate_limit &&
|
362
355
|
connect_timeout == o.connect_timeout &&
|
363
|
-
total_timeout == o.total_timeout &&
|
364
|
-
proxy_password == o.proxy_password &&
|
365
|
-
proxy_username == o.proxy_username &&
|
366
356
|
username == o.username &&
|
357
|
+
pulp_labels == o.pulp_labels &&
|
358
|
+
url == o.url &&
|
359
|
+
sock_read_timeout == o.sock_read_timeout &&
|
360
|
+
proxy_password == o.proxy_password &&
|
367
361
|
sock_connect_timeout == o.sock_connect_timeout &&
|
368
|
-
|
362
|
+
ca_cert == o.ca_cert &&
|
369
363
|
proxy_url == o.proxy_url &&
|
364
|
+
name == o.name &&
|
365
|
+
max_retries == o.max_retries &&
|
366
|
+
password == o.password &&
|
367
|
+
download_concurrency == o.download_concurrency &&
|
368
|
+
proxy_username == o.proxy_username &&
|
369
|
+
tls_validation == o.tls_validation &&
|
370
370
|
metadata_only == o.metadata_only
|
371
371
|
end
|
372
372
|
|
@@ -379,7 +379,7 @@ module PulpAnsibleClient
|
|
379
379
|
# Calculates hash code according to all attributes.
|
380
380
|
# @return [Integer] Hash code
|
381
381
|
def hash
|
382
|
-
[
|
382
|
+
[client_key, total_timeout, client_cert, headers, rate_limit, connect_timeout, username, pulp_labels, url, sock_read_timeout, proxy_password, sock_connect_timeout, ca_cert, proxy_url, name, max_retries, password, download_concurrency, proxy_username, tls_validation, metadata_only].hash
|
383
383
|
end
|
384
384
|
|
385
385
|
# Builds the object from hash
|
@@ -39,8 +39,8 @@ describe 'ContentCollectionVersionsApi' do
|
|
39
39
|
# @param namespace The namespace of the collection.
|
40
40
|
# @param version The version of the collection.
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
43
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
44
|
# @return [AsyncOperationResponse]
|
45
45
|
describe 'create test' do
|
46
46
|
it 'should work' do
|
@@ -32,7 +32,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_created"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,7 +44,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_href"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -32,13 +32,13 @@ describe 'AnsibleCollectionVersion' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersion)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "repository"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "file"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|