pulp_ansible_client 0.14.2 → 0.15.0
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 +10 -4
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +0 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRepositoryRebuild.md +21 -0
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ClientConfigurationResponse.md +17 -0
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +67 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +57 -0
- data/docs/RepositoriesAnsibleApi.md +55 -0
- data/docs/RepositoriesAnsibleVersionsApi.md +55 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +88 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +76 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +69 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +69 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +24 -10
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +9 -10
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +0 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -29
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/ansible_repository_rebuild.rb +273 -0
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/client_configuration_response.rb +208 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +24 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +0 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +213 -213
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -0
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +48 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +45 -0
- data/spec/api/repositories_ansible_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_repository_rebuild_spec.rb +53 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/client_configuration_response_spec.rb +41 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +18 -2
@@ -15,8 +15,7 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
|
19
|
-
attr_accessor :connect_timeout
|
18
|
+
attr_accessor :pulp_href
|
20
19
|
|
21
20
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
22
21
|
attr_accessor :download_concurrency
|
@@ -24,28 +23,22 @@ module PulpAnsibleClient
|
|
24
23
|
# The proxy URL. Format: scheme://host:port
|
25
24
|
attr_accessor :proxy_url
|
26
25
|
|
27
|
-
# A PEM encoded
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
# The URL of an external content source.
|
31
|
-
attr_accessor :url
|
32
|
-
|
33
|
-
attr_accessor :pulp_labels
|
26
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
27
|
+
attr_accessor :ca_cert
|
34
28
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
29
|
+
# A unique name for this remote.
|
30
|
+
attr_accessor :name
|
37
31
|
|
38
|
-
#
|
39
|
-
attr_accessor :
|
32
|
+
# A PEM encoded client certificate used for authentication.
|
33
|
+
attr_accessor :client_cert
|
40
34
|
|
41
|
-
#
|
42
|
-
attr_accessor :
|
35
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
36
|
+
attr_accessor :connect_timeout
|
43
37
|
|
44
|
-
#
|
45
|
-
attr_accessor :
|
38
|
+
# 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.
|
39
|
+
attr_accessor :sock_read_timeout
|
46
40
|
|
47
|
-
|
48
|
-
attr_accessor :tls_validation
|
41
|
+
attr_accessor :pulp_labels
|
49
42
|
|
50
43
|
# Timestamp of the most recent update of the remote.
|
51
44
|
attr_accessor :pulp_last_updated
|
@@ -53,19 +46,26 @@ module PulpAnsibleClient
|
|
53
46
|
# 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.
|
54
47
|
attr_accessor :sock_connect_timeout
|
55
48
|
|
56
|
-
# aiohttp.ClientTimeout.
|
57
|
-
attr_accessor :
|
49
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
50
|
+
attr_accessor :total_timeout
|
58
51
|
|
59
|
-
#
|
60
|
-
attr_accessor :
|
52
|
+
# The URL of an external content source.
|
53
|
+
attr_accessor :url
|
61
54
|
|
62
|
-
|
55
|
+
# Timestamp of creation.
|
56
|
+
attr_accessor :pulp_created
|
63
57
|
|
64
|
-
#
|
65
|
-
attr_accessor :
|
58
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
59
|
+
attr_accessor :max_retries
|
66
60
|
|
67
|
-
#
|
68
|
-
attr_accessor :
|
61
|
+
# Headers for aiohttp.Clientsession
|
62
|
+
attr_accessor :headers
|
63
|
+
|
64
|
+
# If True, TLS peer validation must be performed.
|
65
|
+
attr_accessor :tls_validation
|
66
|
+
|
67
|
+
# Limits requests per second for each concurrent downloader
|
68
|
+
attr_accessor :rate_limit
|
69
69
|
|
70
70
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
71
71
|
attr_accessor :metadata_only
|
@@ -76,24 +76,24 @@ module PulpAnsibleClient
|
|
76
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
77
77
|
def self.attribute_map
|
78
78
|
{
|
79
|
-
:'
|
79
|
+
:'pulp_href' => :'pulp_href',
|
80
80
|
:'download_concurrency' => :'download_concurrency',
|
81
81
|
:'proxy_url' => :'proxy_url',
|
82
|
+
:'ca_cert' => :'ca_cert',
|
83
|
+
:'name' => :'name',
|
82
84
|
:'client_cert' => :'client_cert',
|
83
|
-
:'
|
85
|
+
:'connect_timeout' => :'connect_timeout',
|
86
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
84
87
|
:'pulp_labels' => :'pulp_labels',
|
85
|
-
:'rate_limit' => :'rate_limit',
|
86
|
-
:'pulp_created' => :'pulp_created',
|
87
|
-
:'headers' => :'headers',
|
88
|
-
:'max_retries' => :'max_retries',
|
89
|
-
:'tls_validation' => :'tls_validation',
|
90
88
|
:'pulp_last_updated' => :'pulp_last_updated',
|
91
89
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
92
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
93
|
-
:'ca_cert' => :'ca_cert',
|
94
|
-
:'pulp_href' => :'pulp_href',
|
95
|
-
:'name' => :'name',
|
96
90
|
:'total_timeout' => :'total_timeout',
|
91
|
+
:'url' => :'url',
|
92
|
+
:'pulp_created' => :'pulp_created',
|
93
|
+
:'max_retries' => :'max_retries',
|
94
|
+
:'headers' => :'headers',
|
95
|
+
:'tls_validation' => :'tls_validation',
|
96
|
+
:'rate_limit' => :'rate_limit',
|
97
97
|
:'metadata_only' => :'metadata_only',
|
98
98
|
:'git_ref' => :'git_ref'
|
99
99
|
}
|
@@ -102,24 +102,24 @@ module PulpAnsibleClient
|
|
102
102
|
# Attribute type mapping.
|
103
103
|
def self.openapi_types
|
104
104
|
{
|
105
|
-
:'
|
105
|
+
:'pulp_href' => :'String',
|
106
106
|
:'download_concurrency' => :'Integer',
|
107
107
|
:'proxy_url' => :'String',
|
108
|
+
:'ca_cert' => :'String',
|
109
|
+
:'name' => :'String',
|
108
110
|
:'client_cert' => :'String',
|
109
|
-
:'
|
111
|
+
:'connect_timeout' => :'Float',
|
112
|
+
:'sock_read_timeout' => :'Float',
|
110
113
|
:'pulp_labels' => :'Object',
|
111
|
-
:'rate_limit' => :'Integer',
|
112
|
-
:'pulp_created' => :'DateTime',
|
113
|
-
:'headers' => :'Array<Object>',
|
114
|
-
:'max_retries' => :'Integer',
|
115
|
-
:'tls_validation' => :'Boolean',
|
116
114
|
:'pulp_last_updated' => :'DateTime',
|
117
115
|
:'sock_connect_timeout' => :'Float',
|
118
|
-
:'sock_read_timeout' => :'Float',
|
119
|
-
:'ca_cert' => :'String',
|
120
|
-
:'pulp_href' => :'String',
|
121
|
-
:'name' => :'String',
|
122
116
|
:'total_timeout' => :'Float',
|
117
|
+
:'url' => :'String',
|
118
|
+
:'pulp_created' => :'DateTime',
|
119
|
+
:'max_retries' => :'Integer',
|
120
|
+
:'headers' => :'Array<Object>',
|
121
|
+
:'tls_validation' => :'Boolean',
|
122
|
+
:'rate_limit' => :'Integer',
|
123
123
|
:'metadata_only' => :'Boolean',
|
124
124
|
:'git_ref' => :'String'
|
125
125
|
}
|
@@ -128,16 +128,16 @@ module PulpAnsibleClient
|
|
128
128
|
# List of attributes with nullable: true
|
129
129
|
def self.openapi_nullable
|
130
130
|
Set.new([
|
131
|
-
:'connect_timeout',
|
132
131
|
:'download_concurrency',
|
133
132
|
:'proxy_url',
|
133
|
+
:'ca_cert',
|
134
134
|
:'client_cert',
|
135
|
-
:'
|
136
|
-
:'max_retries',
|
137
|
-
:'sock_connect_timeout',
|
135
|
+
:'connect_timeout',
|
138
136
|
:'sock_read_timeout',
|
139
|
-
:'
|
137
|
+
:'sock_connect_timeout',
|
140
138
|
:'total_timeout',
|
139
|
+
:'max_retries',
|
140
|
+
:'rate_limit',
|
141
141
|
])
|
142
142
|
end
|
143
143
|
|
@@ -156,8 +156,8 @@ module PulpAnsibleClient
|
|
156
156
|
h[k.to_sym] = v
|
157
157
|
}
|
158
158
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
159
|
+
if attributes.key?(:'pulp_href')
|
160
|
+
self.pulp_href = attributes[:'pulp_href']
|
161
161
|
end
|
162
162
|
|
163
163
|
if attributes.key?(:'download_concurrency')
|
@@ -168,38 +168,28 @@ module PulpAnsibleClient
|
|
168
168
|
self.proxy_url = attributes[:'proxy_url']
|
169
169
|
end
|
170
170
|
|
171
|
-
if attributes.key?(:'
|
172
|
-
self.
|
173
|
-
end
|
174
|
-
|
175
|
-
if attributes.key?(:'url')
|
176
|
-
self.url = attributes[:'url']
|
177
|
-
end
|
178
|
-
|
179
|
-
if attributes.key?(:'pulp_labels')
|
180
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
171
|
+
if attributes.key?(:'ca_cert')
|
172
|
+
self.ca_cert = attributes[:'ca_cert']
|
181
173
|
end
|
182
174
|
|
183
|
-
if attributes.key?(:'
|
184
|
-
self.
|
175
|
+
if attributes.key?(:'name')
|
176
|
+
self.name = attributes[:'name']
|
185
177
|
end
|
186
178
|
|
187
|
-
if attributes.key?(:'
|
188
|
-
self.
|
179
|
+
if attributes.key?(:'client_cert')
|
180
|
+
self.client_cert = attributes[:'client_cert']
|
189
181
|
end
|
190
182
|
|
191
|
-
if attributes.key?(:'
|
192
|
-
|
193
|
-
self.headers = value
|
194
|
-
end
|
183
|
+
if attributes.key?(:'connect_timeout')
|
184
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
195
185
|
end
|
196
186
|
|
197
|
-
if attributes.key?(:'
|
198
|
-
self.
|
187
|
+
if attributes.key?(:'sock_read_timeout')
|
188
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
199
189
|
end
|
200
190
|
|
201
|
-
if attributes.key?(:'
|
202
|
-
self.
|
191
|
+
if attributes.key?(:'pulp_labels')
|
192
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
203
193
|
end
|
204
194
|
|
205
195
|
if attributes.key?(:'pulp_last_updated')
|
@@ -210,24 +200,34 @@ module PulpAnsibleClient
|
|
210
200
|
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
211
201
|
end
|
212
202
|
|
213
|
-
if attributes.key?(:'
|
214
|
-
self.
|
203
|
+
if attributes.key?(:'total_timeout')
|
204
|
+
self.total_timeout = attributes[:'total_timeout']
|
215
205
|
end
|
216
206
|
|
217
|
-
if attributes.key?(:'
|
218
|
-
self.
|
207
|
+
if attributes.key?(:'url')
|
208
|
+
self.url = attributes[:'url']
|
219
209
|
end
|
220
210
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
211
|
+
if attributes.key?(:'pulp_created')
|
212
|
+
self.pulp_created = attributes[:'pulp_created']
|
223
213
|
end
|
224
214
|
|
225
|
-
if attributes.key?(:'
|
226
|
-
self.
|
215
|
+
if attributes.key?(:'max_retries')
|
216
|
+
self.max_retries = attributes[:'max_retries']
|
227
217
|
end
|
228
218
|
|
229
|
-
if attributes.key?(:'
|
230
|
-
|
219
|
+
if attributes.key?(:'headers')
|
220
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
221
|
+
self.headers = value
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
if attributes.key?(:'tls_validation')
|
226
|
+
self.tls_validation = attributes[:'tls_validation']
|
227
|
+
end
|
228
|
+
|
229
|
+
if attributes.key?(:'rate_limit')
|
230
|
+
self.rate_limit = attributes[:'rate_limit']
|
231
231
|
end
|
232
232
|
|
233
233
|
if attributes.key?(:'metadata_only')
|
@@ -243,60 +243,50 @@ module PulpAnsibleClient
|
|
243
243
|
# @return Array for valid properties with the reasons
|
244
244
|
def list_invalid_properties
|
245
245
|
invalid_properties = Array.new
|
246
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
247
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
248
|
-
end
|
249
|
-
|
250
246
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
251
247
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
252
248
|
end
|
253
249
|
|
254
|
-
if @
|
255
|
-
invalid_properties.push('invalid value for "
|
250
|
+
if @name.nil?
|
251
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
256
252
|
end
|
257
253
|
|
258
|
-
if !@
|
259
|
-
invalid_properties.push('invalid value for "
|
254
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
255
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
260
256
|
end
|
261
257
|
|
262
258
|
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
263
259
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
264
260
|
end
|
265
261
|
|
266
|
-
if
|
267
|
-
invalid_properties.push('invalid value for "
|
262
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
263
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
268
264
|
end
|
269
265
|
|
270
266
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
271
267
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
272
268
|
end
|
273
269
|
|
270
|
+
if @url.nil?
|
271
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
272
|
+
end
|
273
|
+
|
274
274
|
invalid_properties
|
275
275
|
end
|
276
276
|
|
277
277
|
# Check to see if the all the properties in the model are valid
|
278
278
|
# @return true if the model is valid
|
279
279
|
def valid?
|
280
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
281
280
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
282
|
-
return false if @url.nil?
|
283
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
284
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
285
281
|
return false if @name.nil?
|
282
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
283
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
284
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
286
285
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
286
|
+
return false if @url.nil?
|
287
287
|
true
|
288
288
|
end
|
289
289
|
|
290
|
-
# Custom attribute writer method with validation
|
291
|
-
# @param [Object] connect_timeout Value to be assigned
|
292
|
-
def connect_timeout=(connect_timeout)
|
293
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
294
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
295
|
-
end
|
296
|
-
|
297
|
-
@connect_timeout = connect_timeout
|
298
|
-
end
|
299
|
-
|
300
290
|
# Custom attribute writer method with validation
|
301
291
|
# @param [Object] download_concurrency Value to be assigned
|
302
292
|
def download_concurrency=(download_concurrency)
|
@@ -308,13 +298,13 @@ module PulpAnsibleClient
|
|
308
298
|
end
|
309
299
|
|
310
300
|
# Custom attribute writer method with validation
|
311
|
-
# @param [Object]
|
312
|
-
def
|
313
|
-
if !
|
314
|
-
fail ArgumentError, 'invalid value for "
|
301
|
+
# @param [Object] connect_timeout Value to be assigned
|
302
|
+
def connect_timeout=(connect_timeout)
|
303
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
304
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
315
305
|
end
|
316
306
|
|
317
|
-
@
|
307
|
+
@connect_timeout = connect_timeout
|
318
308
|
end
|
319
309
|
|
320
310
|
# Custom attribute writer method with validation
|
@@ -327,6 +317,16 @@ module PulpAnsibleClient
|
|
327
317
|
@sock_read_timeout = sock_read_timeout
|
328
318
|
end
|
329
319
|
|
320
|
+
# Custom attribute writer method with validation
|
321
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
322
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
323
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
324
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
325
|
+
end
|
326
|
+
|
327
|
+
@sock_connect_timeout = sock_connect_timeout
|
328
|
+
end
|
329
|
+
|
330
330
|
# Custom attribute writer method with validation
|
331
331
|
# @param [Object] total_timeout Value to be assigned
|
332
332
|
def total_timeout=(total_timeout)
|
@@ -342,24 +342,24 @@ module PulpAnsibleClient
|
|
342
342
|
def ==(o)
|
343
343
|
return true if self.equal?(o)
|
344
344
|
self.class == o.class &&
|
345
|
-
|
345
|
+
pulp_href == o.pulp_href &&
|
346
346
|
download_concurrency == o.download_concurrency &&
|
347
347
|
proxy_url == o.proxy_url &&
|
348
|
+
ca_cert == o.ca_cert &&
|
349
|
+
name == o.name &&
|
348
350
|
client_cert == o.client_cert &&
|
349
|
-
|
351
|
+
connect_timeout == o.connect_timeout &&
|
352
|
+
sock_read_timeout == o.sock_read_timeout &&
|
350
353
|
pulp_labels == o.pulp_labels &&
|
351
|
-
rate_limit == o.rate_limit &&
|
352
|
-
pulp_created == o.pulp_created &&
|
353
|
-
headers == o.headers &&
|
354
|
-
max_retries == o.max_retries &&
|
355
|
-
tls_validation == o.tls_validation &&
|
356
354
|
pulp_last_updated == o.pulp_last_updated &&
|
357
355
|
sock_connect_timeout == o.sock_connect_timeout &&
|
358
|
-
sock_read_timeout == o.sock_read_timeout &&
|
359
|
-
ca_cert == o.ca_cert &&
|
360
|
-
pulp_href == o.pulp_href &&
|
361
|
-
name == o.name &&
|
362
356
|
total_timeout == o.total_timeout &&
|
357
|
+
url == o.url &&
|
358
|
+
pulp_created == o.pulp_created &&
|
359
|
+
max_retries == o.max_retries &&
|
360
|
+
headers == o.headers &&
|
361
|
+
tls_validation == o.tls_validation &&
|
362
|
+
rate_limit == o.rate_limit &&
|
363
363
|
metadata_only == o.metadata_only &&
|
364
364
|
git_ref == o.git_ref
|
365
365
|
end
|
@@ -373,7 +373,7 @@ module PulpAnsibleClient
|
|
373
373
|
# Calculates hash code according to all attributes.
|
374
374
|
# @return [Integer] Hash code
|
375
375
|
def hash
|
376
|
-
[
|
376
|
+
[pulp_href, download_concurrency, proxy_url, ca_cert, name, client_cert, connect_timeout, sock_read_timeout, pulp_labels, pulp_last_updated, sock_connect_timeout, total_timeout, url, pulp_created, max_retries, headers, tls_validation, rate_limit, metadata_only, git_ref].hash
|
377
377
|
end
|
378
378
|
|
379
379
|
# Builds the object from hash
|