pulp_ansible_client 0.14.0 → 0.14.2
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 +3 -3
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/DistributionsAnsibleApi.md +2 -0
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/RepositoriesAnsibleApi.md +2 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +133 -133
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +205 -205
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -0
- data/spec/api/repositories_ansible_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- 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 +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +105 -106
- data/git_push.sh +0 -58
@@ -15,57 +15,57 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
# A PEM encoded client certificate used for authentication.
|
19
|
-
attr_accessor :client_cert
|
20
|
-
|
21
18
|
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
22
19
|
attr_accessor :connect_timeout
|
23
20
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
21
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
22
|
+
attr_accessor :download_concurrency
|
26
23
|
|
27
24
|
# The proxy URL. Format: scheme://host:port
|
28
25
|
attr_accessor :proxy_url
|
29
26
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
# 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.
|
34
|
-
attr_accessor :sock_read_timeout
|
35
|
-
|
36
|
-
# Headers for aiohttp.Clientsession
|
37
|
-
attr_accessor :headers
|
38
|
-
|
39
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
40
|
-
attr_accessor :download_concurrency
|
41
|
-
|
42
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
43
|
-
attr_accessor :total_timeout
|
27
|
+
# A PEM encoded client certificate used for authentication.
|
28
|
+
attr_accessor :client_cert
|
44
29
|
|
45
30
|
# The URL of an external content source.
|
46
31
|
attr_accessor :url
|
47
32
|
|
33
|
+
attr_accessor :pulp_labels
|
34
|
+
|
35
|
+
# Limits requests per second for each concurrent downloader
|
36
|
+
attr_accessor :rate_limit
|
37
|
+
|
48
38
|
# Timestamp of creation.
|
49
39
|
attr_accessor :pulp_created
|
50
40
|
|
51
|
-
|
41
|
+
# Headers for aiohttp.Clientsession
|
42
|
+
attr_accessor :headers
|
43
|
+
|
44
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
45
|
+
attr_accessor :max_retries
|
46
|
+
|
47
|
+
# If True, TLS peer validation must be performed.
|
48
|
+
attr_accessor :tls_validation
|
49
|
+
|
50
|
+
# Timestamp of the most recent update of the remote.
|
51
|
+
attr_accessor :pulp_last_updated
|
52
52
|
|
53
53
|
# 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
54
|
attr_accessor :sock_connect_timeout
|
55
55
|
|
56
|
+
# 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.
|
57
|
+
attr_accessor :sock_read_timeout
|
58
|
+
|
56
59
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
57
60
|
attr_accessor :ca_cert
|
58
61
|
|
59
|
-
# If True, TLS peer validation must be performed.
|
60
|
-
attr_accessor :tls_validation
|
61
|
-
|
62
62
|
attr_accessor :pulp_href
|
63
63
|
|
64
|
-
#
|
65
|
-
attr_accessor :
|
64
|
+
# A unique name for this remote.
|
65
|
+
attr_accessor :name
|
66
66
|
|
67
|
-
#
|
68
|
-
attr_accessor :
|
67
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
68
|
+
attr_accessor :total_timeout
|
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
|
-
:'client_cert' => :'client_cert',
|
80
79
|
:'connect_timeout' => :'connect_timeout',
|
81
|
-
:'name' => :'name',
|
82
|
-
:'proxy_url' => :'proxy_url',
|
83
|
-
:'max_retries' => :'max_retries',
|
84
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
85
|
-
:'headers' => :'headers',
|
86
80
|
:'download_concurrency' => :'download_concurrency',
|
87
|
-
:'
|
81
|
+
:'proxy_url' => :'proxy_url',
|
82
|
+
:'client_cert' => :'client_cert',
|
88
83
|
:'url' => :'url',
|
89
|
-
:'pulp_created' => :'pulp_created',
|
90
84
|
:'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
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
91
91
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
92
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
92
93
|
:'ca_cert' => :'ca_cert',
|
93
|
-
:'tls_validation' => :'tls_validation',
|
94
94
|
:'pulp_href' => :'pulp_href',
|
95
|
-
:'
|
96
|
-
:'
|
95
|
+
:'name' => :'name',
|
96
|
+
:'total_timeout' => :'total_timeout',
|
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
|
-
:'client_cert' => :'String',
|
106
105
|
:'connect_timeout' => :'Float',
|
107
|
-
:'name' => :'String',
|
108
|
-
:'proxy_url' => :'String',
|
109
|
-
:'max_retries' => :'Integer',
|
110
|
-
:'sock_read_timeout' => :'Float',
|
111
|
-
:'headers' => :'Array<Object>',
|
112
106
|
:'download_concurrency' => :'Integer',
|
113
|
-
:'
|
107
|
+
:'proxy_url' => :'String',
|
108
|
+
:'client_cert' => :'String',
|
114
109
|
:'url' => :'String',
|
115
|
-
:'pulp_created' => :'DateTime',
|
116
110
|
:'pulp_labels' => :'Object',
|
111
|
+
:'rate_limit' => :'Integer',
|
112
|
+
:'pulp_created' => :'DateTime',
|
113
|
+
:'headers' => :'Array<Object>',
|
114
|
+
:'max_retries' => :'Integer',
|
115
|
+
:'tls_validation' => :'Boolean',
|
116
|
+
:'pulp_last_updated' => :'DateTime',
|
117
117
|
:'sock_connect_timeout' => :'Float',
|
118
|
+
:'sock_read_timeout' => :'Float',
|
118
119
|
:'ca_cert' => :'String',
|
119
|
-
:'tls_validation' => :'Boolean',
|
120
120
|
:'pulp_href' => :'String',
|
121
|
-
:'
|
122
|
-
:'
|
121
|
+
:'name' => :'String',
|
122
|
+
:'total_timeout' => :'Float',
|
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
|
-
:'client_cert',
|
132
131
|
:'connect_timeout',
|
132
|
+
:'download_concurrency',
|
133
133
|
:'proxy_url',
|
134
|
+
:'client_cert',
|
135
|
+
:'rate_limit',
|
134
136
|
:'max_retries',
|
135
|
-
:'sock_read_timeout',
|
136
|
-
:'download_concurrency',
|
137
|
-
:'total_timeout',
|
138
137
|
:'sock_connect_timeout',
|
138
|
+
:'sock_read_timeout',
|
139
139
|
:'ca_cert',
|
140
|
-
:'
|
140
|
+
:'total_timeout',
|
141
141
|
])
|
142
142
|
end
|
143
143
|
|
@@ -156,78 +156,78 @@ module PulpAnsibleClient
|
|
156
156
|
h[k.to_sym] = v
|
157
157
|
}
|
158
158
|
|
159
|
-
if attributes.key?(:'client_cert')
|
160
|
-
self.client_cert = attributes[:'client_cert']
|
161
|
-
end
|
162
|
-
|
163
159
|
if attributes.key?(:'connect_timeout')
|
164
160
|
self.connect_timeout = attributes[:'connect_timeout']
|
165
161
|
end
|
166
162
|
|
167
|
-
if attributes.key?(:'
|
168
|
-
self.
|
163
|
+
if attributes.key?(:'download_concurrency')
|
164
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
169
165
|
end
|
170
166
|
|
171
167
|
if attributes.key?(:'proxy_url')
|
172
168
|
self.proxy_url = attributes[:'proxy_url']
|
173
169
|
end
|
174
170
|
|
175
|
-
if attributes.key?(:'
|
176
|
-
self.
|
171
|
+
if attributes.key?(:'client_cert')
|
172
|
+
self.client_cert = attributes[:'client_cert']
|
177
173
|
end
|
178
174
|
|
179
|
-
if attributes.key?(:'
|
180
|
-
self.
|
175
|
+
if attributes.key?(:'url')
|
176
|
+
self.url = attributes[:'url']
|
181
177
|
end
|
182
178
|
|
183
|
-
if attributes.key?(:'
|
184
|
-
|
185
|
-
self.headers = value
|
186
|
-
end
|
179
|
+
if attributes.key?(:'pulp_labels')
|
180
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
187
181
|
end
|
188
182
|
|
189
|
-
if attributes.key?(:'
|
190
|
-
self.
|
183
|
+
if attributes.key?(:'rate_limit')
|
184
|
+
self.rate_limit = attributes[:'rate_limit']
|
191
185
|
end
|
192
186
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
self.
|
187
|
+
if attributes.key?(:'pulp_created')
|
188
|
+
self.pulp_created = attributes[:'pulp_created']
|
195
189
|
end
|
196
190
|
|
197
|
-
if attributes.key?(:'
|
198
|
-
|
191
|
+
if attributes.key?(:'headers')
|
192
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
193
|
+
self.headers = value
|
194
|
+
end
|
199
195
|
end
|
200
196
|
|
201
|
-
if attributes.key?(:'
|
202
|
-
self.
|
197
|
+
if attributes.key?(:'max_retries')
|
198
|
+
self.max_retries = attributes[:'max_retries']
|
203
199
|
end
|
204
200
|
|
205
|
-
if attributes.key?(:'
|
206
|
-
self.
|
201
|
+
if attributes.key?(:'tls_validation')
|
202
|
+
self.tls_validation = attributes[:'tls_validation']
|
203
|
+
end
|
204
|
+
|
205
|
+
if attributes.key?(:'pulp_last_updated')
|
206
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
207
207
|
end
|
208
208
|
|
209
209
|
if attributes.key?(:'sock_connect_timeout')
|
210
210
|
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
211
211
|
end
|
212
212
|
|
213
|
-
if attributes.key?(:'
|
214
|
-
self.
|
213
|
+
if attributes.key?(:'sock_read_timeout')
|
214
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
215
215
|
end
|
216
216
|
|
217
|
-
if attributes.key?(:'
|
218
|
-
self.
|
217
|
+
if attributes.key?(:'ca_cert')
|
218
|
+
self.ca_cert = attributes[:'ca_cert']
|
219
219
|
end
|
220
220
|
|
221
221
|
if attributes.key?(:'pulp_href')
|
222
222
|
self.pulp_href = attributes[:'pulp_href']
|
223
223
|
end
|
224
224
|
|
225
|
-
if attributes.key?(:'
|
226
|
-
self.
|
225
|
+
if attributes.key?(:'name')
|
226
|
+
self.name = attributes[:'name']
|
227
227
|
end
|
228
228
|
|
229
|
-
if attributes.key?(:'
|
230
|
-
self.
|
229
|
+
if attributes.key?(:'total_timeout')
|
230
|
+
self.total_timeout = attributes[:'total_timeout']
|
231
231
|
end
|
232
232
|
|
233
233
|
if attributes.key?(:'metadata_only')
|
@@ -247,22 +247,10 @@ module PulpAnsibleClient
|
|
247
247
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
248
248
|
end
|
249
249
|
|
250
|
-
if @name.nil?
|
251
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
252
|
-
end
|
253
|
-
|
254
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
255
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
256
|
-
end
|
257
|
-
|
258
250
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
259
251
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
260
252
|
end
|
261
253
|
|
262
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
263
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
264
|
-
end
|
265
|
-
|
266
254
|
if @url.nil?
|
267
255
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
268
256
|
end
|
@@ -271,6 +259,18 @@ module PulpAnsibleClient
|
|
271
259
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
272
260
|
end
|
273
261
|
|
262
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
263
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
264
|
+
end
|
265
|
+
|
266
|
+
if @name.nil?
|
267
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
268
|
+
end
|
269
|
+
|
270
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
271
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
272
|
+
end
|
273
|
+
|
274
274
|
invalid_properties
|
275
275
|
end
|
276
276
|
|
@@ -278,12 +278,12 @@ module PulpAnsibleClient
|
|
278
278
|
# @return true if the model is valid
|
279
279
|
def valid?
|
280
280
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
281
|
-
return false if @name.nil?
|
282
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
283
281
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
284
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
285
282
|
return false if @url.nil?
|
286
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
|
+
return false if @name.nil?
|
286
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
287
287
|
true
|
288
288
|
end
|
289
289
|
|
@@ -297,16 +297,6 @@ module PulpAnsibleClient
|
|
297
297
|
@connect_timeout = connect_timeout
|
298
298
|
end
|
299
299
|
|
300
|
-
# Custom attribute writer method with validation
|
301
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
302
|
-
def sock_read_timeout=(sock_read_timeout)
|
303
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
304
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
305
|
-
end
|
306
|
-
|
307
|
-
@sock_read_timeout = sock_read_timeout
|
308
|
-
end
|
309
|
-
|
310
300
|
# Custom attribute writer method with validation
|
311
301
|
# @param [Object] download_concurrency Value to be assigned
|
312
302
|
def download_concurrency=(download_concurrency)
|
@@ -317,16 +307,6 @@ module PulpAnsibleClient
|
|
317
307
|
@download_concurrency = download_concurrency
|
318
308
|
end
|
319
309
|
|
320
|
-
# Custom attribute writer method with validation
|
321
|
-
# @param [Object] total_timeout Value to be assigned
|
322
|
-
def total_timeout=(total_timeout)
|
323
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
324
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
325
|
-
end
|
326
|
-
|
327
|
-
@total_timeout = total_timeout
|
328
|
-
end
|
329
|
-
|
330
310
|
# Custom attribute writer method with validation
|
331
311
|
# @param [Object] sock_connect_timeout Value to be assigned
|
332
312
|
def sock_connect_timeout=(sock_connect_timeout)
|
@@ -337,29 +317,49 @@ module PulpAnsibleClient
|
|
337
317
|
@sock_connect_timeout = sock_connect_timeout
|
338
318
|
end
|
339
319
|
|
320
|
+
# Custom attribute writer method with validation
|
321
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
322
|
+
def sock_read_timeout=(sock_read_timeout)
|
323
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
324
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
325
|
+
end
|
326
|
+
|
327
|
+
@sock_read_timeout = sock_read_timeout
|
328
|
+
end
|
329
|
+
|
330
|
+
# Custom attribute writer method with validation
|
331
|
+
# @param [Object] total_timeout Value to be assigned
|
332
|
+
def total_timeout=(total_timeout)
|
333
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
334
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
335
|
+
end
|
336
|
+
|
337
|
+
@total_timeout = total_timeout
|
338
|
+
end
|
339
|
+
|
340
340
|
# Checks equality by comparing each attribute.
|
341
341
|
# @param [Object] Object to be compared
|
342
342
|
def ==(o)
|
343
343
|
return true if self.equal?(o)
|
344
344
|
self.class == o.class &&
|
345
|
-
client_cert == o.client_cert &&
|
346
345
|
connect_timeout == o.connect_timeout &&
|
347
|
-
name == o.name &&
|
348
|
-
proxy_url == o.proxy_url &&
|
349
|
-
max_retries == o.max_retries &&
|
350
|
-
sock_read_timeout == o.sock_read_timeout &&
|
351
|
-
headers == o.headers &&
|
352
346
|
download_concurrency == o.download_concurrency &&
|
353
|
-
|
347
|
+
proxy_url == o.proxy_url &&
|
348
|
+
client_cert == o.client_cert &&
|
354
349
|
url == o.url &&
|
355
|
-
pulp_created == o.pulp_created &&
|
356
350
|
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
|
+
pulp_last_updated == o.pulp_last_updated &&
|
357
357
|
sock_connect_timeout == o.sock_connect_timeout &&
|
358
|
+
sock_read_timeout == o.sock_read_timeout &&
|
358
359
|
ca_cert == o.ca_cert &&
|
359
|
-
tls_validation == o.tls_validation &&
|
360
360
|
pulp_href == o.pulp_href &&
|
361
|
-
|
362
|
-
|
361
|
+
name == o.name &&
|
362
|
+
total_timeout == o.total_timeout &&
|
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
|
+
[connect_timeout, download_concurrency, proxy_url, client_cert, url, pulp_labels, rate_limit, pulp_created, headers, max_retries, tls_validation, pulp_last_updated, sock_connect_timeout, sock_read_timeout, ca_cert, pulp_href, name, total_timeout, metadata_only, git_ref].hash
|
377
377
|
end
|
378
378
|
|
379
379
|
# Builds the object from hash
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
18
20
|
# Artifact file representing the physical content
|
19
21
|
attr_accessor :artifact
|
20
22
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
23
|
# Timestamp of creation.
|
24
24
|
attr_accessor :pulp_created
|
25
25
|
|
@@ -32,8 +32,8 @@ module PulpAnsibleClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'artifact' => :'artifact',
|
36
35
|
:'pulp_href' => :'pulp_href',
|
36
|
+
:'artifact' => :'artifact',
|
37
37
|
:'pulp_created' => :'pulp_created',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
@@ -44,8 +44,8 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'artifact' => :'String',
|
48
47
|
:'pulp_href' => :'String',
|
48
|
+
:'artifact' => :'String',
|
49
49
|
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
@@ -74,14 +74,14 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'artifact')
|
78
|
-
self.artifact = attributes[:'artifact']
|
79
|
-
end
|
80
|
-
|
81
77
|
if attributes.key?(:'pulp_href')
|
82
78
|
self.pulp_href = attributes[:'pulp_href']
|
83
79
|
end
|
84
80
|
|
81
|
+
if attributes.key?(:'artifact')
|
82
|
+
self.artifact = attributes[:'artifact']
|
83
|
+
end
|
84
|
+
|
85
85
|
if attributes.key?(:'pulp_created')
|
86
86
|
self.pulp_created = attributes[:'pulp_created']
|
87
87
|
end
|
@@ -137,8 +137,8 @@ module PulpAnsibleClient
|
|
137
137
|
def ==(o)
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
|
-
artifact == o.artifact &&
|
141
140
|
pulp_href == o.pulp_href &&
|
141
|
+
artifact == o.artifact &&
|
142
142
|
pulp_created == o.pulp_created &&
|
143
143
|
version == o.version &&
|
144
144
|
name == o.name &&
|
@@ -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
|