pulp_ansible_client 0.11.0.dev1636946173 → 0.11.0.dev1637032524

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.

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