pulp_ansible_client 0.11.0.dev1636773338 → 0.11.0.dev1637118956
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.
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/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +167 -167
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +162 -162
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +2 -2
@@ -15,64 +15,64 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class PatchedansibleGitRemote
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# 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.
|
22
|
-
attr_accessor :sock_connect_timeout
|
23
|
-
|
24
|
-
# A unique name for this remote.
|
25
|
-
attr_accessor :name
|
18
|
+
# A PEM encoded client certificate used for authentication.
|
19
|
+
attr_accessor :client_cert
|
26
20
|
|
27
|
-
# A PEM encoded
|
28
|
-
attr_accessor :
|
21
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
22
|
+
attr_accessor :ca_cert
|
29
23
|
|
30
|
-
# aiohttp.ClientTimeout.
|
31
|
-
attr_accessor :
|
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
|
32
26
|
|
33
|
-
#
|
34
|
-
attr_accessor :
|
27
|
+
# Headers for aiohttp.Clientsession
|
28
|
+
attr_accessor :headers
|
35
29
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
30
|
+
# A unique name for this remote.
|
31
|
+
attr_accessor :name
|
38
32
|
|
39
|
-
#
|
40
|
-
attr_accessor :
|
33
|
+
# The username to authenticte to the proxy.
|
34
|
+
attr_accessor :proxy_username
|
41
35
|
|
42
|
-
#
|
43
|
-
attr_accessor :
|
36
|
+
# If True, TLS peer validation must be performed.
|
37
|
+
attr_accessor :tls_validation
|
44
38
|
|
45
39
|
# The proxy URL. Format: scheme://host:port
|
46
40
|
attr_accessor :proxy_url
|
47
41
|
|
48
|
-
#
|
49
|
-
attr_accessor :
|
42
|
+
# A PEM encoded private key used for authentication.
|
43
|
+
attr_accessor :client_key
|
44
|
+
|
45
|
+
# The password to authenticte to the proxy.
|
46
|
+
attr_accessor :proxy_password
|
47
|
+
|
48
|
+
# 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.
|
49
|
+
attr_accessor :sock_read_timeout
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|
52
52
|
|
53
|
-
#
|
54
|
-
attr_accessor :
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
54
|
+
attr_accessor :download_concurrency
|
55
55
|
|
56
|
-
#
|
57
|
-
attr_accessor :
|
56
|
+
# The URL of an external content source.
|
57
|
+
attr_accessor :url
|
58
58
|
|
59
59
|
# The password to be used for authentication when syncing.
|
60
60
|
attr_accessor :password
|
61
61
|
|
62
|
-
#
|
63
|
-
attr_accessor :
|
62
|
+
# Limits total download rate in requests per second
|
63
|
+
attr_accessor :rate_limit
|
64
64
|
|
65
|
-
#
|
66
|
-
attr_accessor :
|
65
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
66
|
+
attr_accessor :max_retries
|
67
67
|
|
68
|
-
# The
|
69
|
-
attr_accessor :
|
68
|
+
# The username to be used for authentication when syncing.
|
69
|
+
attr_accessor :username
|
70
70
|
|
71
|
-
#
|
72
|
-
attr_accessor :
|
71
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
72
|
+
attr_accessor :total_timeout
|
73
73
|
|
74
|
-
#
|
75
|
-
attr_accessor :
|
74
|
+
# 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.
|
75
|
+
attr_accessor :sock_connect_timeout
|
76
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
|
@@ -80,26 +80,26 @@ module PulpAnsibleClient
|
|
80
80
|
# Attribute mapping from ruby-style variable name to JSON key.
|
81
81
|
def self.attribute_map
|
82
82
|
{
|
83
|
-
:'
|
84
|
-
:'
|
83
|
+
:'client_cert' => :'client_cert',
|
84
|
+
:'ca_cert' => :'ca_cert',
|
85
|
+
:'connect_timeout' => :'connect_timeout',
|
86
|
+
:'headers' => :'headers',
|
85
87
|
:'name' => :'name',
|
88
|
+
:'proxy_username' => :'proxy_username',
|
89
|
+
:'tls_validation' => :'tls_validation',
|
90
|
+
:'proxy_url' => :'proxy_url',
|
86
91
|
:'client_key' => :'client_key',
|
92
|
+
:'proxy_password' => :'proxy_password',
|
87
93
|
:'sock_read_timeout' => :'sock_read_timeout',
|
88
|
-
:'username' => :'username',
|
89
|
-
:'max_retries' => :'max_retries',
|
90
|
-
:'rate_limit' => :'rate_limit',
|
91
|
-
:'total_timeout' => :'total_timeout',
|
92
|
-
:'proxy_url' => :'proxy_url',
|
93
|
-
:'connect_timeout' => :'connect_timeout',
|
94
94
|
:'pulp_labels' => :'pulp_labels',
|
95
|
-
:'proxy_username' => :'proxy_username',
|
96
|
-
:'headers' => :'headers',
|
97
|
-
:'password' => :'password',
|
98
|
-
:'ca_cert' => :'ca_cert',
|
99
|
-
:'client_cert' => :'client_cert',
|
100
|
-
:'proxy_password' => :'proxy_password',
|
101
|
-
:'tls_validation' => :'tls_validation',
|
102
95
|
:'download_concurrency' => :'download_concurrency',
|
96
|
+
:'url' => :'url',
|
97
|
+
:'password' => :'password',
|
98
|
+
:'rate_limit' => :'rate_limit',
|
99
|
+
:'max_retries' => :'max_retries',
|
100
|
+
:'username' => :'username',
|
101
|
+
:'total_timeout' => :'total_timeout',
|
102
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
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
|
-
:'
|
111
|
-
:'
|
110
|
+
:'client_cert' => :'String',
|
111
|
+
:'ca_cert' => :'String',
|
112
|
+
:'connect_timeout' => :'Float',
|
113
|
+
:'headers' => :'Array<Object>',
|
112
114
|
:'name' => :'String',
|
115
|
+
:'proxy_username' => :'String',
|
116
|
+
:'tls_validation' => :'Boolean',
|
117
|
+
:'proxy_url' => :'String',
|
113
118
|
:'client_key' => :'String',
|
119
|
+
:'proxy_password' => :'String',
|
114
120
|
:'sock_read_timeout' => :'Float',
|
115
|
-
:'username' => :'String',
|
116
|
-
:'max_retries' => :'Integer',
|
117
|
-
:'rate_limit' => :'Integer',
|
118
|
-
:'total_timeout' => :'Float',
|
119
|
-
:'proxy_url' => :'String',
|
120
|
-
:'connect_timeout' => :'Float',
|
121
121
|
:'pulp_labels' => :'Object',
|
122
|
-
:'proxy_username' => :'String',
|
123
|
-
:'headers' => :'Array<Object>',
|
124
|
-
:'password' => :'String',
|
125
|
-
:'ca_cert' => :'String',
|
126
|
-
:'client_cert' => :'String',
|
127
|
-
:'proxy_password' => :'String',
|
128
|
-
:'tls_validation' => :'Boolean',
|
129
122
|
:'download_concurrency' => :'Integer',
|
123
|
+
:'url' => :'String',
|
124
|
+
:'password' => :'String',
|
125
|
+
:'rate_limit' => :'Integer',
|
126
|
+
:'max_retries' => :'Integer',
|
127
|
+
:'username' => :'String',
|
128
|
+
:'total_timeout' => :'Float',
|
129
|
+
:'sock_connect_timeout' => :'Float',
|
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
|
-
:'
|
138
|
-
:'
|
139
|
-
:'sock_read_timeout',
|
140
|
-
:'username',
|
141
|
-
:'max_retries',
|
142
|
-
:'rate_limit',
|
143
|
-
:'total_timeout',
|
144
|
-
:'proxy_url',
|
137
|
+
:'client_cert',
|
138
|
+
:'ca_cert',
|
145
139
|
:'connect_timeout',
|
146
140
|
:'proxy_username',
|
147
|
-
:'
|
148
|
-
:'
|
149
|
-
:'client_cert',
|
141
|
+
:'proxy_url',
|
142
|
+
:'client_key',
|
150
143
|
:'proxy_password',
|
144
|
+
:'sock_read_timeout',
|
151
145
|
:'download_concurrency',
|
146
|
+
:'password',
|
147
|
+
:'rate_limit',
|
148
|
+
:'max_retries',
|
149
|
+
:'username',
|
150
|
+
:'total_timeout',
|
151
|
+
:'sock_connect_timeout',
|
152
152
|
])
|
153
153
|
end
|
154
154
|
|
@@ -167,86 +167,86 @@ module PulpAnsibleClient
|
|
167
167
|
h[k.to_sym] = v
|
168
168
|
}
|
169
169
|
|
170
|
-
if attributes.key?(:'
|
171
|
-
self.
|
170
|
+
if attributes.key?(:'client_cert')
|
171
|
+
self.client_cert = attributes[:'client_cert']
|
172
172
|
end
|
173
173
|
|
174
|
-
if attributes.key?(:'
|
175
|
-
self.
|
174
|
+
if attributes.key?(:'ca_cert')
|
175
|
+
self.ca_cert = attributes[:'ca_cert']
|
176
176
|
end
|
177
177
|
|
178
|
-
if attributes.key?(:'
|
179
|
-
self.
|
178
|
+
if attributes.key?(:'connect_timeout')
|
179
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
180
180
|
end
|
181
181
|
|
182
|
-
if attributes.key?(:'
|
183
|
-
|
182
|
+
if attributes.key?(:'headers')
|
183
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
184
|
+
self.headers = value
|
185
|
+
end
|
184
186
|
end
|
185
187
|
|
186
|
-
if attributes.key?(:'
|
187
|
-
self.
|
188
|
+
if attributes.key?(:'name')
|
189
|
+
self.name = attributes[:'name']
|
188
190
|
end
|
189
191
|
|
190
|
-
if attributes.key?(:'
|
191
|
-
self.
|
192
|
+
if attributes.key?(:'proxy_username')
|
193
|
+
self.proxy_username = attributes[:'proxy_username']
|
192
194
|
end
|
193
195
|
|
194
|
-
if attributes.key?(:'
|
195
|
-
self.
|
196
|
+
if attributes.key?(:'tls_validation')
|
197
|
+
self.tls_validation = attributes[:'tls_validation']
|
196
198
|
end
|
197
199
|
|
198
|
-
if attributes.key?(:'
|
199
|
-
self.
|
200
|
+
if attributes.key?(:'proxy_url')
|
201
|
+
self.proxy_url = attributes[:'proxy_url']
|
200
202
|
end
|
201
203
|
|
202
|
-
if attributes.key?(:'
|
203
|
-
self.
|
204
|
+
if attributes.key?(:'client_key')
|
205
|
+
self.client_key = attributes[:'client_key']
|
204
206
|
end
|
205
207
|
|
206
|
-
if attributes.key?(:'
|
207
|
-
self.
|
208
|
+
if attributes.key?(:'proxy_password')
|
209
|
+
self.proxy_password = attributes[:'proxy_password']
|
208
210
|
end
|
209
211
|
|
210
|
-
if attributes.key?(:'
|
211
|
-
self.
|
212
|
+
if attributes.key?(:'sock_read_timeout')
|
213
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
212
214
|
end
|
213
215
|
|
214
216
|
if attributes.key?(:'pulp_labels')
|
215
217
|
self.pulp_labels = attributes[:'pulp_labels']
|
216
218
|
end
|
217
219
|
|
218
|
-
if attributes.key?(:'
|
219
|
-
self.
|
220
|
+
if attributes.key?(:'download_concurrency')
|
221
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
220
222
|
end
|
221
223
|
|
222
|
-
if attributes.key?(:'
|
223
|
-
|
224
|
-
self.headers = value
|
225
|
-
end
|
224
|
+
if attributes.key?(:'url')
|
225
|
+
self.url = attributes[:'url']
|
226
226
|
end
|
227
227
|
|
228
228
|
if attributes.key?(:'password')
|
229
229
|
self.password = attributes[:'password']
|
230
230
|
end
|
231
231
|
|
232
|
-
if attributes.key?(:'
|
233
|
-
self.
|
232
|
+
if attributes.key?(:'rate_limit')
|
233
|
+
self.rate_limit = attributes[:'rate_limit']
|
234
234
|
end
|
235
235
|
|
236
|
-
if attributes.key?(:'
|
237
|
-
self.
|
236
|
+
if attributes.key?(:'max_retries')
|
237
|
+
self.max_retries = attributes[:'max_retries']
|
238
238
|
end
|
239
239
|
|
240
|
-
if attributes.key?(:'
|
241
|
-
self.
|
240
|
+
if attributes.key?(:'username')
|
241
|
+
self.username = attributes[:'username']
|
242
242
|
end
|
243
243
|
|
244
|
-
if attributes.key?(:'
|
245
|
-
self.
|
244
|
+
if attributes.key?(:'total_timeout')
|
245
|
+
self.total_timeout = attributes[:'total_timeout']
|
246
246
|
end
|
247
247
|
|
248
|
-
if attributes.key?(:'
|
249
|
-
self.
|
248
|
+
if attributes.key?(:'sock_connect_timeout')
|
249
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
250
250
|
end
|
251
251
|
|
252
252
|
if attributes.key?(:'metadata_only')
|
@@ -258,24 +258,24 @@ 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 "
|
261
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
262
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
263
263
|
end
|
264
264
|
|
265
265
|
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
266
266
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
267
267
|
end
|
268
268
|
|
269
|
-
if !@
|
270
|
-
invalid_properties.push('invalid value for "
|
269
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
270
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
271
271
|
end
|
272
272
|
|
273
|
-
if !@
|
274
|
-
invalid_properties.push('invalid value for "
|
273
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
274
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
275
275
|
end
|
276
276
|
|
277
|
-
if !@
|
278
|
-
invalid_properties.push('invalid value for "
|
277
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
278
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
279
279
|
end
|
280
280
|
|
281
281
|
invalid_properties
|
@@ -284,22 +284,22 @@ module PulpAnsibleClient
|
|
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 !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
288
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
289
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
290
287
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
288
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
291
289
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
290
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
291
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
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 "
|
296
|
+
# @param [Object] connect_timeout Value to be assigned
|
297
|
+
def connect_timeout=(connect_timeout)
|
298
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
299
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
300
300
|
end
|
301
301
|
|
302
|
-
@
|
302
|
+
@connect_timeout = connect_timeout
|
303
303
|
end
|
304
304
|
|
305
305
|
# Custom attribute writer method with validation
|
@@ -313,33 +313,33 @@ module PulpAnsibleClient
|
|
313
313
|
end
|
314
314
|
|
315
315
|
# Custom attribute writer method with validation
|
316
|
-
# @param [Object]
|
317
|
-
def
|
318
|
-
if !
|
319
|
-
fail ArgumentError, 'invalid value for "
|
316
|
+
# @param [Object] download_concurrency Value to be assigned
|
317
|
+
def download_concurrency=(download_concurrency)
|
318
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
319
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
320
320
|
end
|
321
321
|
|
322
|
-
@
|
322
|
+
@download_concurrency = download_concurrency
|
323
323
|
end
|
324
324
|
|
325
325
|
# Custom attribute writer method with validation
|
326
|
-
# @param [Object]
|
327
|
-
def
|
328
|
-
if !
|
329
|
-
fail ArgumentError, 'invalid value for "
|
326
|
+
# @param [Object] total_timeout Value to be assigned
|
327
|
+
def total_timeout=(total_timeout)
|
328
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
329
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
330
330
|
end
|
331
331
|
|
332
|
-
@
|
332
|
+
@total_timeout = total_timeout
|
333
333
|
end
|
334
334
|
|
335
335
|
# Custom attribute writer method with validation
|
336
|
-
# @param [Object]
|
337
|
-
def
|
338
|
-
if !
|
339
|
-
fail ArgumentError, 'invalid value for "
|
336
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
337
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
338
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
339
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
340
340
|
end
|
341
341
|
|
342
|
-
@
|
342
|
+
@sock_connect_timeout = sock_connect_timeout
|
343
343
|
end
|
344
344
|
|
345
345
|
# Checks equality by comparing each attribute.
|
@@ -347,26 +347,26 @@ module PulpAnsibleClient
|
|
347
347
|
def ==(o)
|
348
348
|
return true if self.equal?(o)
|
349
349
|
self.class == o.class &&
|
350
|
-
|
351
|
-
|
350
|
+
client_cert == o.client_cert &&
|
351
|
+
ca_cert == o.ca_cert &&
|
352
|
+
connect_timeout == o.connect_timeout &&
|
353
|
+
headers == o.headers &&
|
352
354
|
name == o.name &&
|
355
|
+
proxy_username == o.proxy_username &&
|
356
|
+
tls_validation == o.tls_validation &&
|
357
|
+
proxy_url == o.proxy_url &&
|
353
358
|
client_key == o.client_key &&
|
359
|
+
proxy_password == o.proxy_password &&
|
354
360
|
sock_read_timeout == o.sock_read_timeout &&
|
355
|
-
username == o.username &&
|
356
|
-
max_retries == o.max_retries &&
|
357
|
-
rate_limit == o.rate_limit &&
|
358
|
-
total_timeout == o.total_timeout &&
|
359
|
-
proxy_url == o.proxy_url &&
|
360
|
-
connect_timeout == o.connect_timeout &&
|
361
361
|
pulp_labels == o.pulp_labels &&
|
362
|
-
proxy_username == o.proxy_username &&
|
363
|
-
headers == o.headers &&
|
364
|
-
password == o.password &&
|
365
|
-
ca_cert == o.ca_cert &&
|
366
|
-
client_cert == o.client_cert &&
|
367
|
-
proxy_password == o.proxy_password &&
|
368
|
-
tls_validation == o.tls_validation &&
|
369
362
|
download_concurrency == o.download_concurrency &&
|
363
|
+
url == o.url &&
|
364
|
+
password == o.password &&
|
365
|
+
rate_limit == o.rate_limit &&
|
366
|
+
max_retries == o.max_retries &&
|
367
|
+
username == o.username &&
|
368
|
+
total_timeout == o.total_timeout &&
|
369
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
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_cert, ca_cert, connect_timeout, headers, name, proxy_username, tls_validation, proxy_url, client_key, proxy_password, sock_read_timeout, pulp_labels, download_concurrency, url, password, rate_limit, max_retries, username, total_timeout, sock_connect_timeout, metadata_only].hash
|
383
383
|
end
|
384
384
|
|
385
385
|
# Builds the object from hash
|
@@ -32,19 +32,19 @@ 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_href"' 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 "pulp_created"' 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
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "artifact"' 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
|