pulp_ansible_client 0.11.0.dev1637032524 → 0.11.0.dev1637118956
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 +3 -3
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleGitRemote.md +24 -24
- 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 +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +127 -127
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +127 -127
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +119 -119
- 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 +3 -3
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +16 -16
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +16 -16
- metadata +2 -2
@@ -15,54 +15,54 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A PEM encoded client certificate used for authentication.
|
19
|
+
attr_accessor :client_cert
|
20
20
|
|
21
21
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
22
22
|
attr_accessor :ca_cert
|
23
23
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
26
|
-
|
27
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
28
|
-
attr_accessor :max_retries
|
24
|
+
# Timestamp of the most recent update of the remote.
|
25
|
+
attr_accessor :pulp_last_updated
|
29
26
|
|
30
27
|
attr_accessor :pulp_href
|
31
28
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
29
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
30
|
+
attr_accessor :connect_timeout
|
34
31
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
32
|
+
# Headers for aiohttp.Clientsession
|
33
|
+
attr_accessor :headers
|
37
34
|
|
38
|
-
|
35
|
+
# A unique name for this remote.
|
36
|
+
attr_accessor :name
|
39
37
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
38
|
+
# If True, TLS peer validation must be performed.
|
39
|
+
attr_accessor :tls_validation
|
42
40
|
|
43
41
|
# The proxy URL. Format: scheme://host:port
|
44
42
|
attr_accessor :proxy_url
|
45
43
|
|
46
|
-
#
|
47
|
-
attr_accessor :
|
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.
|
45
|
+
attr_accessor :sock_read_timeout
|
46
|
+
|
47
|
+
attr_accessor :pulp_labels
|
48
|
+
|
49
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
50
|
+
attr_accessor :download_concurrency
|
48
51
|
|
49
52
|
# The URL of an external content source.
|
50
53
|
attr_accessor :url
|
51
54
|
|
52
|
-
#
|
53
|
-
attr_accessor :
|
54
|
-
|
55
|
-
# A unique name for this remote.
|
56
|
-
attr_accessor :name
|
55
|
+
# Limits total download rate in requests per second
|
56
|
+
attr_accessor :rate_limit
|
57
57
|
|
58
|
-
#
|
59
|
-
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
|
60
60
|
|
61
|
-
#
|
62
|
-
attr_accessor :
|
61
|
+
# Timestamp of creation.
|
62
|
+
attr_accessor :pulp_created
|
63
63
|
|
64
|
-
#
|
65
|
-
attr_accessor :
|
64
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
65
|
+
attr_accessor :total_timeout
|
66
66
|
|
67
67
|
# 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.
|
68
68
|
attr_accessor :sock_connect_timeout
|
@@ -73,23 +73,23 @@ module PulpAnsibleClient
|
|
73
73
|
# Attribute mapping from ruby-style variable name to JSON key.
|
74
74
|
def self.attribute_map
|
75
75
|
{
|
76
|
-
:'
|
76
|
+
:'client_cert' => :'client_cert',
|
77
77
|
:'ca_cert' => :'ca_cert',
|
78
|
-
:'
|
79
|
-
:'max_retries' => :'max_retries',
|
78
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
80
79
|
:'pulp_href' => :'pulp_href',
|
81
|
-
:'
|
82
|
-
:'
|
83
|
-
:'pulp_labels' => :'pulp_labels',
|
84
|
-
:'total_timeout' => :'total_timeout',
|
85
|
-
:'proxy_url' => :'proxy_url',
|
86
|
-
:'pulp_created' => :'pulp_created',
|
87
|
-
:'url' => :'url',
|
88
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
80
|
+
:'connect_timeout' => :'connect_timeout',
|
81
|
+
:'headers' => :'headers',
|
89
82
|
:'name' => :'name',
|
90
|
-
:'client_cert' => :'client_cert',
|
91
83
|
:'tls_validation' => :'tls_validation',
|
92
|
-
:'
|
84
|
+
:'proxy_url' => :'proxy_url',
|
85
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
86
|
+
:'pulp_labels' => :'pulp_labels',
|
87
|
+
:'download_concurrency' => :'download_concurrency',
|
88
|
+
:'url' => :'url',
|
89
|
+
:'rate_limit' => :'rate_limit',
|
90
|
+
:'max_retries' => :'max_retries',
|
91
|
+
:'pulp_created' => :'pulp_created',
|
92
|
+
:'total_timeout' => :'total_timeout',
|
93
93
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
94
94
|
:'metadata_only' => :'metadata_only'
|
95
95
|
}
|
@@ -98,23 +98,23 @@ module PulpAnsibleClient
|
|
98
98
|
# Attribute type mapping.
|
99
99
|
def self.openapi_types
|
100
100
|
{
|
101
|
-
:'
|
101
|
+
:'client_cert' => :'String',
|
102
102
|
:'ca_cert' => :'String',
|
103
|
-
:'
|
104
|
-
:'max_retries' => :'Integer',
|
103
|
+
:'pulp_last_updated' => :'DateTime',
|
105
104
|
:'pulp_href' => :'String',
|
106
|
-
:'
|
107
|
-
:'
|
108
|
-
:'pulp_labels' => :'Object',
|
109
|
-
:'total_timeout' => :'Float',
|
110
|
-
:'proxy_url' => :'String',
|
111
|
-
:'pulp_created' => :'DateTime',
|
112
|
-
:'url' => :'String',
|
113
|
-
:'sock_read_timeout' => :'Float',
|
105
|
+
:'connect_timeout' => :'Float',
|
106
|
+
:'headers' => :'Array<Object>',
|
114
107
|
:'name' => :'String',
|
115
|
-
:'client_cert' => :'String',
|
116
108
|
:'tls_validation' => :'Boolean',
|
117
|
-
:'
|
109
|
+
:'proxy_url' => :'String',
|
110
|
+
:'sock_read_timeout' => :'Float',
|
111
|
+
:'pulp_labels' => :'Object',
|
112
|
+
:'download_concurrency' => :'Integer',
|
113
|
+
:'url' => :'String',
|
114
|
+
:'rate_limit' => :'Integer',
|
115
|
+
:'max_retries' => :'Integer',
|
116
|
+
:'pulp_created' => :'DateTime',
|
117
|
+
:'total_timeout' => :'Float',
|
118
118
|
:'sock_connect_timeout' => :'Float',
|
119
119
|
:'metadata_only' => :'Boolean'
|
120
120
|
}
|
@@ -123,15 +123,15 @@ module PulpAnsibleClient
|
|
123
123
|
# List of attributes with nullable: true
|
124
124
|
def self.openapi_nullable
|
125
125
|
Set.new([
|
126
|
+
:'client_cert',
|
126
127
|
:'ca_cert',
|
127
128
|
:'connect_timeout',
|
128
|
-
:'max_retries',
|
129
|
-
:'rate_limit',
|
130
|
-
:'download_concurrency',
|
131
|
-
:'total_timeout',
|
132
129
|
:'proxy_url',
|
133
130
|
:'sock_read_timeout',
|
134
|
-
:'
|
131
|
+
:'download_concurrency',
|
132
|
+
:'rate_limit',
|
133
|
+
:'max_retries',
|
134
|
+
:'total_timeout',
|
135
135
|
:'sock_connect_timeout',
|
136
136
|
])
|
137
137
|
end
|
@@ -151,74 +151,74 @@ module PulpAnsibleClient
|
|
151
151
|
h[k.to_sym] = v
|
152
152
|
}
|
153
153
|
|
154
|
-
if attributes.key?(:'
|
155
|
-
|
156
|
-
self.headers = value
|
157
|
-
end
|
154
|
+
if attributes.key?(:'client_cert')
|
155
|
+
self.client_cert = attributes[:'client_cert']
|
158
156
|
end
|
159
157
|
|
160
158
|
if attributes.key?(:'ca_cert')
|
161
159
|
self.ca_cert = attributes[:'ca_cert']
|
162
160
|
end
|
163
161
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
self.
|
166
|
-
end
|
167
|
-
|
168
|
-
if attributes.key?(:'max_retries')
|
169
|
-
self.max_retries = attributes[:'max_retries']
|
162
|
+
if attributes.key?(:'pulp_last_updated')
|
163
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
170
164
|
end
|
171
165
|
|
172
166
|
if attributes.key?(:'pulp_href')
|
173
167
|
self.pulp_href = attributes[:'pulp_href']
|
174
168
|
end
|
175
169
|
|
176
|
-
if attributes.key?(:'
|
177
|
-
self.
|
170
|
+
if attributes.key?(:'connect_timeout')
|
171
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
178
172
|
end
|
179
173
|
|
180
|
-
if attributes.key?(:'
|
181
|
-
|
174
|
+
if attributes.key?(:'headers')
|
175
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
176
|
+
self.headers = value
|
177
|
+
end
|
182
178
|
end
|
183
179
|
|
184
|
-
if attributes.key?(:'
|
185
|
-
self.
|
180
|
+
if attributes.key?(:'name')
|
181
|
+
self.name = attributes[:'name']
|
186
182
|
end
|
187
183
|
|
188
|
-
if attributes.key?(:'
|
189
|
-
self.
|
184
|
+
if attributes.key?(:'tls_validation')
|
185
|
+
self.tls_validation = attributes[:'tls_validation']
|
190
186
|
end
|
191
187
|
|
192
188
|
if attributes.key?(:'proxy_url')
|
193
189
|
self.proxy_url = attributes[:'proxy_url']
|
194
190
|
end
|
195
191
|
|
196
|
-
if attributes.key?(:'
|
197
|
-
self.
|
192
|
+
if attributes.key?(:'sock_read_timeout')
|
193
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
198
194
|
end
|
199
195
|
|
200
|
-
if attributes.key?(:'
|
201
|
-
self.
|
196
|
+
if attributes.key?(:'pulp_labels')
|
197
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
202
198
|
end
|
203
199
|
|
204
|
-
if attributes.key?(:'
|
205
|
-
self.
|
200
|
+
if attributes.key?(:'download_concurrency')
|
201
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
206
202
|
end
|
207
203
|
|
208
|
-
if attributes.key?(:'
|
209
|
-
self.
|
204
|
+
if attributes.key?(:'url')
|
205
|
+
self.url = attributes[:'url']
|
210
206
|
end
|
211
207
|
|
212
|
-
if attributes.key?(:'
|
213
|
-
self.
|
208
|
+
if attributes.key?(:'rate_limit')
|
209
|
+
self.rate_limit = attributes[:'rate_limit']
|
214
210
|
end
|
215
211
|
|
216
|
-
if attributes.key?(:'
|
217
|
-
self.
|
212
|
+
if attributes.key?(:'max_retries')
|
213
|
+
self.max_retries = attributes[:'max_retries']
|
218
214
|
end
|
219
215
|
|
220
|
-
if attributes.key?(:'
|
221
|
-
self.
|
216
|
+
if attributes.key?(:'pulp_created')
|
217
|
+
self.pulp_created = attributes[:'pulp_created']
|
218
|
+
end
|
219
|
+
|
220
|
+
if attributes.key?(:'total_timeout')
|
221
|
+
self.total_timeout = attributes[:'total_timeout']
|
222
222
|
end
|
223
223
|
|
224
224
|
if attributes.key?(:'sock_connect_timeout')
|
@@ -238,24 +238,24 @@ module PulpAnsibleClient
|
|
238
238
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
239
239
|
end
|
240
240
|
|
241
|
-
if
|
242
|
-
invalid_properties.push('invalid value for "
|
241
|
+
if @name.nil?
|
242
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
243
243
|
end
|
244
244
|
|
245
|
-
if !@
|
246
|
-
invalid_properties.push('invalid value for "
|
245
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
246
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
247
247
|
end
|
248
248
|
|
249
|
-
if
|
250
|
-
invalid_properties.push('invalid value for "
|
249
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
250
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
251
251
|
end
|
252
252
|
|
253
|
-
if
|
254
|
-
invalid_properties.push('invalid value for "
|
253
|
+
if @url.nil?
|
254
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
255
255
|
end
|
256
256
|
|
257
|
-
if
|
258
|
-
invalid_properties.push('invalid value for "
|
257
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
258
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
259
259
|
end
|
260
260
|
|
261
261
|
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -269,11 +269,11 @@ module PulpAnsibleClient
|
|
269
269
|
# @return true if the model is valid
|
270
270
|
def valid?
|
271
271
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
272
|
+
return false if @name.nil?
|
273
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
272
274
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
273
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
274
275
|
return false if @url.nil?
|
275
|
-
return false if !@
|
276
|
-
return false if @name.nil?
|
276
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
277
277
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
278
278
|
true
|
279
279
|
end
|
@@ -288,6 +288,16 @@ module PulpAnsibleClient
|
|
288
288
|
@connect_timeout = connect_timeout
|
289
289
|
end
|
290
290
|
|
291
|
+
# Custom attribute writer method with validation
|
292
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
293
|
+
def sock_read_timeout=(sock_read_timeout)
|
294
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
295
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
296
|
+
end
|
297
|
+
|
298
|
+
@sock_read_timeout = sock_read_timeout
|
299
|
+
end
|
300
|
+
|
291
301
|
# Custom attribute writer method with validation
|
292
302
|
# @param [Object] download_concurrency Value to be assigned
|
293
303
|
def download_concurrency=(download_concurrency)
|
@@ -308,16 +318,6 @@ module PulpAnsibleClient
|
|
308
318
|
@total_timeout = total_timeout
|
309
319
|
end
|
310
320
|
|
311
|
-
# Custom attribute writer method with validation
|
312
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
313
|
-
def sock_read_timeout=(sock_read_timeout)
|
314
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
315
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
316
|
-
end
|
317
|
-
|
318
|
-
@sock_read_timeout = sock_read_timeout
|
319
|
-
end
|
320
|
-
|
321
321
|
# Custom attribute writer method with validation
|
322
322
|
# @param [Object] sock_connect_timeout Value to be assigned
|
323
323
|
def sock_connect_timeout=(sock_connect_timeout)
|
@@ -333,23 +333,23 @@ module PulpAnsibleClient
|
|
333
333
|
def ==(o)
|
334
334
|
return true if self.equal?(o)
|
335
335
|
self.class == o.class &&
|
336
|
-
|
336
|
+
client_cert == o.client_cert &&
|
337
337
|
ca_cert == o.ca_cert &&
|
338
|
-
|
339
|
-
max_retries == o.max_retries &&
|
338
|
+
pulp_last_updated == o.pulp_last_updated &&
|
340
339
|
pulp_href == o.pulp_href &&
|
341
|
-
|
342
|
-
|
343
|
-
pulp_labels == o.pulp_labels &&
|
344
|
-
total_timeout == o.total_timeout &&
|
345
|
-
proxy_url == o.proxy_url &&
|
346
|
-
pulp_created == o.pulp_created &&
|
347
|
-
url == o.url &&
|
348
|
-
sock_read_timeout == o.sock_read_timeout &&
|
340
|
+
connect_timeout == o.connect_timeout &&
|
341
|
+
headers == o.headers &&
|
349
342
|
name == o.name &&
|
350
|
-
client_cert == o.client_cert &&
|
351
343
|
tls_validation == o.tls_validation &&
|
352
|
-
|
344
|
+
proxy_url == o.proxy_url &&
|
345
|
+
sock_read_timeout == o.sock_read_timeout &&
|
346
|
+
pulp_labels == o.pulp_labels &&
|
347
|
+
download_concurrency == o.download_concurrency &&
|
348
|
+
url == o.url &&
|
349
|
+
rate_limit == o.rate_limit &&
|
350
|
+
max_retries == o.max_retries &&
|
351
|
+
pulp_created == o.pulp_created &&
|
352
|
+
total_timeout == o.total_timeout &&
|
353
353
|
sock_connect_timeout == o.sock_connect_timeout &&
|
354
354
|
metadata_only == o.metadata_only
|
355
355
|
end
|
@@ -363,7 +363,7 @@ module PulpAnsibleClient
|
|
363
363
|
# Calculates hash code according to all attributes.
|
364
364
|
# @return [Integer] Hash code
|
365
365
|
def hash
|
366
|
-
[
|
366
|
+
[client_cert, ca_cert, pulp_last_updated, pulp_href, connect_timeout, headers, name, tls_validation, proxy_url, sock_read_timeout, pulp_labels, download_concurrency, url, rate_limit, max_retries, pulp_created, total_timeout, sock_connect_timeout, metadata_only].hash
|
367
367
|
end
|
368
368
|
|
369
369
|
# Builds the object from hash
|
@@ -15,14 +15,14 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
# Artifact file representing the physical content
|
19
|
-
attr_accessor :artifact
|
20
|
-
|
21
18
|
attr_accessor :pulp_href
|
22
19
|
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
23
|
+
# Artifact file representing the physical content
|
24
|
+
attr_accessor :artifact
|
25
|
+
|
26
26
|
attr_accessor :version
|
27
27
|
|
28
28
|
attr_accessor :name
|
@@ -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
|
-
:'artifact' => :'artifact',
|
36
35
|
:'pulp_href' => :'pulp_href',
|
37
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'artifact' => :'artifact',
|
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
|
-
:'artifact' => :'String',
|
48
47
|
:'pulp_href' => :'String',
|
49
48
|
:'pulp_created' => :'DateTime',
|
49
|
+
:'artifact' => :'String',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -74,10 +74,6 @@ 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
|
@@ -86,6 +82,10 @@ module PulpAnsibleClient
|
|
86
82
|
self.pulp_created = attributes[:'pulp_created']
|
87
83
|
end
|
88
84
|
|
85
|
+
if attributes.key?(:'artifact')
|
86
|
+
self.artifact = attributes[:'artifact']
|
87
|
+
end
|
88
|
+
|
89
89
|
if attributes.key?(:'version')
|
90
90
|
self.version = attributes[:'version']
|
91
91
|
end
|
@@ -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
|
-
artifact == o.artifact &&
|
141
140
|
pulp_href == o.pulp_href &&
|
142
141
|
pulp_created == o.pulp_created &&
|
142
|
+
artifact == o.artifact &&
|
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, pulp_created, artifact, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|