pulp_ansible_client 0.15.4 → 0.15.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,60 +15,60 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemoteResponse
18
- # The proxy URL. Format: scheme://host:port
19
- attr_accessor :proxy_url
20
-
21
- # 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.
22
- attr_accessor :sock_read_timeout
18
+ # A unique name for this remote.
19
+ attr_accessor :name
23
20
 
24
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
25
- attr_accessor :ca_cert
21
+ # 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
+ attr_accessor :connect_timeout
26
23
 
27
24
  # A PEM encoded client certificate used for authentication.
28
25
  attr_accessor :client_cert
29
26
 
30
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
31
- attr_accessor :connect_timeout
32
-
33
27
  # Timestamp of creation.
34
28
  attr_accessor :pulp_created
35
29
 
36
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
37
- attr_accessor :max_retries
38
-
39
- # List of hidden (write only) fields
40
- attr_accessor :hidden_fields
30
+ # Total number of simultaneous connections. If not set then the default value will be used.
31
+ attr_accessor :download_concurrency
41
32
 
42
33
  # 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
34
  attr_accessor :total_timeout
44
35
 
45
- # Limits requests per second for each concurrent downloader
46
- attr_accessor :rate_limit
36
+ # If True, TLS peer validation must be performed.
37
+ attr_accessor :tls_validation
47
38
 
48
- # 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.
49
- attr_accessor :sock_connect_timeout
39
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
40
+ attr_accessor :ca_cert
50
41
 
51
- attr_accessor :pulp_href
42
+ # The proxy URL. Format: scheme://host:port
43
+ attr_accessor :proxy_url
52
44
 
53
- # Timestamp of the most recent update of the remote.
54
- attr_accessor :pulp_last_updated
45
+ # The URL of an external content source.
46
+ attr_accessor :url
47
+
48
+ # 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.
49
+ attr_accessor :sock_connect_timeout
55
50
 
56
51
  # Headers for aiohttp.Clientsession
57
52
  attr_accessor :headers
58
53
 
59
- # The URL of an external content source.
60
- attr_accessor :url
54
+ attr_accessor :pulp_labels
61
55
 
62
- # Total number of simultaneous connections. If not set then the default value will be used.
63
- attr_accessor :download_concurrency
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
64
58
 
65
- # If True, TLS peer validation must be performed.
66
- attr_accessor :tls_validation
59
+ attr_accessor :pulp_href
67
60
 
68
- # A unique name for this remote.
69
- attr_accessor :name
61
+ # List of hidden (write only) fields
62
+ attr_accessor :hidden_fields
70
63
 
71
- attr_accessor :pulp_labels
64
+ # Timestamp of the most recent update of the remote.
65
+ attr_accessor :pulp_last_updated
66
+
67
+ # Limits requests per second for each concurrent downloader
68
+ attr_accessor :rate_limit
69
+
70
+ # 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.
71
+ attr_accessor :sock_read_timeout
72
72
 
73
73
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
74
74
  attr_accessor :metadata_only
@@ -79,25 +79,25 @@ module PulpAnsibleClient
79
79
  # Attribute mapping from ruby-style variable name to JSON key.
80
80
  def self.attribute_map
81
81
  {
82
- :'proxy_url' => :'proxy_url',
83
- :'sock_read_timeout' => :'sock_read_timeout',
84
- :'ca_cert' => :'ca_cert',
85
- :'client_cert' => :'client_cert',
82
+ :'name' => :'name',
86
83
  :'connect_timeout' => :'connect_timeout',
84
+ :'client_cert' => :'client_cert',
87
85
  :'pulp_created' => :'pulp_created',
88
- :'max_retries' => :'max_retries',
89
- :'hidden_fields' => :'hidden_fields',
86
+ :'download_concurrency' => :'download_concurrency',
90
87
  :'total_timeout' => :'total_timeout',
91
- :'rate_limit' => :'rate_limit',
88
+ :'tls_validation' => :'tls_validation',
89
+ :'ca_cert' => :'ca_cert',
90
+ :'proxy_url' => :'proxy_url',
91
+ :'url' => :'url',
92
92
  :'sock_connect_timeout' => :'sock_connect_timeout',
93
- :'pulp_href' => :'pulp_href',
94
- :'pulp_last_updated' => :'pulp_last_updated',
95
93
  :'headers' => :'headers',
96
- :'url' => :'url',
97
- :'download_concurrency' => :'download_concurrency',
98
- :'tls_validation' => :'tls_validation',
99
- :'name' => :'name',
100
94
  :'pulp_labels' => :'pulp_labels',
95
+ :'max_retries' => :'max_retries',
96
+ :'pulp_href' => :'pulp_href',
97
+ :'hidden_fields' => :'hidden_fields',
98
+ :'pulp_last_updated' => :'pulp_last_updated',
99
+ :'rate_limit' => :'rate_limit',
100
+ :'sock_read_timeout' => :'sock_read_timeout',
101
101
  :'metadata_only' => :'metadata_only',
102
102
  :'git_ref' => :'git_ref'
103
103
  }
@@ -106,25 +106,25 @@ module PulpAnsibleClient
106
106
  # Attribute type mapping.
107
107
  def self.openapi_types
108
108
  {
109
- :'proxy_url' => :'String',
110
- :'sock_read_timeout' => :'Float',
111
- :'ca_cert' => :'String',
112
- :'client_cert' => :'String',
109
+ :'name' => :'String',
113
110
  :'connect_timeout' => :'Float',
111
+ :'client_cert' => :'String',
114
112
  :'pulp_created' => :'DateTime',
115
- :'max_retries' => :'Integer',
116
- :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
113
+ :'download_concurrency' => :'Integer',
117
114
  :'total_timeout' => :'Float',
118
- :'rate_limit' => :'Integer',
115
+ :'tls_validation' => :'Boolean',
116
+ :'ca_cert' => :'String',
117
+ :'proxy_url' => :'String',
118
+ :'url' => :'String',
119
119
  :'sock_connect_timeout' => :'Float',
120
- :'pulp_href' => :'String',
121
- :'pulp_last_updated' => :'DateTime',
122
120
  :'headers' => :'Array<Object>',
123
- :'url' => :'String',
124
- :'download_concurrency' => :'Integer',
125
- :'tls_validation' => :'Boolean',
126
- :'name' => :'String',
127
121
  :'pulp_labels' => :'Hash<String, String>',
122
+ :'max_retries' => :'Integer',
123
+ :'pulp_href' => :'String',
124
+ :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
125
+ :'pulp_last_updated' => :'DateTime',
126
+ :'rate_limit' => :'Integer',
127
+ :'sock_read_timeout' => :'Float',
128
128
  :'metadata_only' => :'Boolean',
129
129
  :'git_ref' => :'String'
130
130
  }
@@ -133,16 +133,16 @@ module PulpAnsibleClient
133
133
  # List of attributes with nullable: true
134
134
  def self.openapi_nullable
135
135
  Set.new([
136
- :'proxy_url',
137
- :'sock_read_timeout',
138
- :'ca_cert',
139
- :'client_cert',
140
136
  :'connect_timeout',
141
- :'max_retries',
137
+ :'client_cert',
138
+ :'download_concurrency',
142
139
  :'total_timeout',
143
- :'rate_limit',
140
+ :'ca_cert',
141
+ :'proxy_url',
144
142
  :'sock_connect_timeout',
145
- :'download_concurrency',
143
+ :'max_retries',
144
+ :'rate_limit',
145
+ :'sock_read_timeout',
146
146
  ])
147
147
  end
148
148
 
@@ -161,58 +161,48 @@ module PulpAnsibleClient
161
161
  h[k.to_sym] = v
162
162
  }
163
163
 
164
- if attributes.key?(:'proxy_url')
165
- self.proxy_url = attributes[:'proxy_url']
166
- end
167
-
168
- if attributes.key?(:'sock_read_timeout')
169
- self.sock_read_timeout = attributes[:'sock_read_timeout']
164
+ if attributes.key?(:'name')
165
+ self.name = attributes[:'name']
170
166
  end
171
167
 
172
- if attributes.key?(:'ca_cert')
173
- self.ca_cert = attributes[:'ca_cert']
168
+ if attributes.key?(:'connect_timeout')
169
+ self.connect_timeout = attributes[:'connect_timeout']
174
170
  end
175
171
 
176
172
  if attributes.key?(:'client_cert')
177
173
  self.client_cert = attributes[:'client_cert']
178
174
  end
179
175
 
180
- if attributes.key?(:'connect_timeout')
181
- self.connect_timeout = attributes[:'connect_timeout']
182
- end
183
-
184
176
  if attributes.key?(:'pulp_created')
185
177
  self.pulp_created = attributes[:'pulp_created']
186
178
  end
187
179
 
188
- if attributes.key?(:'max_retries')
189
- self.max_retries = attributes[:'max_retries']
190
- end
191
-
192
- if attributes.key?(:'hidden_fields')
193
- if (value = attributes[:'hidden_fields']).is_a?(Array)
194
- self.hidden_fields = value
195
- end
180
+ if attributes.key?(:'download_concurrency')
181
+ self.download_concurrency = attributes[:'download_concurrency']
196
182
  end
197
183
 
198
184
  if attributes.key?(:'total_timeout')
199
185
  self.total_timeout = attributes[:'total_timeout']
200
186
  end
201
187
 
202
- if attributes.key?(:'rate_limit')
203
- self.rate_limit = attributes[:'rate_limit']
188
+ if attributes.key?(:'tls_validation')
189
+ self.tls_validation = attributes[:'tls_validation']
204
190
  end
205
191
 
206
- if attributes.key?(:'sock_connect_timeout')
207
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
192
+ if attributes.key?(:'ca_cert')
193
+ self.ca_cert = attributes[:'ca_cert']
208
194
  end
209
195
 
210
- if attributes.key?(:'pulp_href')
211
- self.pulp_href = attributes[:'pulp_href']
196
+ if attributes.key?(:'proxy_url')
197
+ self.proxy_url = attributes[:'proxy_url']
212
198
  end
213
199
 
214
- if attributes.key?(:'pulp_last_updated')
215
- self.pulp_last_updated = attributes[:'pulp_last_updated']
200
+ if attributes.key?(:'url')
201
+ self.url = attributes[:'url']
202
+ end
203
+
204
+ if attributes.key?(:'sock_connect_timeout')
205
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
216
206
  end
217
207
 
218
208
  if attributes.key?(:'headers')
@@ -221,26 +211,36 @@ module PulpAnsibleClient
221
211
  end
222
212
  end
223
213
 
224
- if attributes.key?(:'url')
225
- self.url = attributes[:'url']
214
+ if attributes.key?(:'pulp_labels')
215
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
216
+ self.pulp_labels = value
217
+ end
226
218
  end
227
219
 
228
- if attributes.key?(:'download_concurrency')
229
- self.download_concurrency = attributes[:'download_concurrency']
220
+ if attributes.key?(:'max_retries')
221
+ self.max_retries = attributes[:'max_retries']
230
222
  end
231
223
 
232
- if attributes.key?(:'tls_validation')
233
- self.tls_validation = attributes[:'tls_validation']
224
+ if attributes.key?(:'pulp_href')
225
+ self.pulp_href = attributes[:'pulp_href']
234
226
  end
235
227
 
236
- if attributes.key?(:'name')
237
- self.name = attributes[:'name']
228
+ if attributes.key?(:'hidden_fields')
229
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
230
+ self.hidden_fields = value
231
+ end
238
232
  end
239
233
 
240
- if attributes.key?(:'pulp_labels')
241
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
242
- self.pulp_labels = value
243
- end
234
+ if attributes.key?(:'pulp_last_updated')
235
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
236
+ end
237
+
238
+ if attributes.key?(:'rate_limit')
239
+ self.rate_limit = attributes[:'rate_limit']
240
+ end
241
+
242
+ if attributes.key?(:'sock_read_timeout')
243
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
244
244
  end
245
245
 
246
246
  if attributes.key?(:'metadata_only')
@@ -256,32 +256,32 @@ module PulpAnsibleClient
256
256
  # @return Array for valid properties with the reasons
257
257
  def list_invalid_properties
258
258
  invalid_properties = Array.new
259
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
260
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
259
+ if @name.nil?
260
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
261
261
  end
262
262
 
263
263
  if !@connect_timeout.nil? && @connect_timeout < 0.0
264
264
  invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
265
265
  end
266
266
 
267
- if !@total_timeout.nil? && @total_timeout < 0.0
268
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
267
+ if !@download_concurrency.nil? && @download_concurrency < 1
268
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
269
269
  end
270
270
 
271
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
272
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
271
+ if !@total_timeout.nil? && @total_timeout < 0.0
272
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
273
273
  end
274
274
 
275
275
  if @url.nil?
276
276
  invalid_properties.push('invalid value for "url", url cannot be nil.')
277
277
  end
278
278
 
279
- if !@download_concurrency.nil? && @download_concurrency < 1
280
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
279
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
280
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
281
281
  end
282
282
 
283
- if @name.nil?
284
- invalid_properties.push('invalid value for "name", name cannot be nil.')
283
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
284
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
285
285
  end
286
286
 
287
287
  invalid_properties
@@ -290,26 +290,16 @@ module PulpAnsibleClient
290
290
  # Check to see if the all the properties in the model are valid
291
291
  # @return true if the model is valid
292
292
  def valid?
293
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
293
+ return false if @name.nil?
294
294
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
295
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
295
296
  return false if !@total_timeout.nil? && @total_timeout < 0.0
296
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
297
297
  return false if @url.nil?
298
- return false if !@download_concurrency.nil? && @download_concurrency < 1
299
- return false if @name.nil?
298
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
299
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
300
300
  true
301
301
  end
302
302
 
303
- # Custom attribute writer method with validation
304
- # @param [Object] sock_read_timeout Value to be assigned
305
- def sock_read_timeout=(sock_read_timeout)
306
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
307
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
308
- end
309
-
310
- @sock_read_timeout = sock_read_timeout
311
- end
312
-
313
303
  # Custom attribute writer method with validation
314
304
  # @param [Object] connect_timeout Value to be assigned
315
305
  def connect_timeout=(connect_timeout)
@@ -320,6 +310,16 @@ module PulpAnsibleClient
320
310
  @connect_timeout = connect_timeout
321
311
  end
322
312
 
313
+ # Custom attribute writer method with validation
314
+ # @param [Object] download_concurrency Value to be assigned
315
+ def download_concurrency=(download_concurrency)
316
+ if !download_concurrency.nil? && download_concurrency < 1
317
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
318
+ end
319
+
320
+ @download_concurrency = download_concurrency
321
+ end
322
+
323
323
  # Custom attribute writer method with validation
324
324
  # @param [Object] total_timeout Value to be assigned
325
325
  def total_timeout=(total_timeout)
@@ -341,13 +341,13 @@ module PulpAnsibleClient
341
341
  end
342
342
 
343
343
  # Custom attribute writer method with validation
344
- # @param [Object] download_concurrency Value to be assigned
345
- def download_concurrency=(download_concurrency)
346
- if !download_concurrency.nil? && download_concurrency < 1
347
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
344
+ # @param [Object] sock_read_timeout Value to be assigned
345
+ def sock_read_timeout=(sock_read_timeout)
346
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
347
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
348
348
  end
349
349
 
350
- @download_concurrency = download_concurrency
350
+ @sock_read_timeout = sock_read_timeout
351
351
  end
352
352
 
353
353
  # Checks equality by comparing each attribute.
@@ -355,25 +355,25 @@ module PulpAnsibleClient
355
355
  def ==(o)
356
356
  return true if self.equal?(o)
357
357
  self.class == o.class &&
358
- proxy_url == o.proxy_url &&
359
- sock_read_timeout == o.sock_read_timeout &&
360
- ca_cert == o.ca_cert &&
361
- client_cert == o.client_cert &&
358
+ name == o.name &&
362
359
  connect_timeout == o.connect_timeout &&
360
+ client_cert == o.client_cert &&
363
361
  pulp_created == o.pulp_created &&
364
- max_retries == o.max_retries &&
365
- hidden_fields == o.hidden_fields &&
362
+ download_concurrency == o.download_concurrency &&
366
363
  total_timeout == o.total_timeout &&
367
- rate_limit == o.rate_limit &&
364
+ tls_validation == o.tls_validation &&
365
+ ca_cert == o.ca_cert &&
366
+ proxy_url == o.proxy_url &&
367
+ url == o.url &&
368
368
  sock_connect_timeout == o.sock_connect_timeout &&
369
- pulp_href == o.pulp_href &&
370
- pulp_last_updated == o.pulp_last_updated &&
371
369
  headers == o.headers &&
372
- url == o.url &&
373
- download_concurrency == o.download_concurrency &&
374
- tls_validation == o.tls_validation &&
375
- name == o.name &&
376
370
  pulp_labels == o.pulp_labels &&
371
+ max_retries == o.max_retries &&
372
+ pulp_href == o.pulp_href &&
373
+ hidden_fields == o.hidden_fields &&
374
+ pulp_last_updated == o.pulp_last_updated &&
375
+ rate_limit == o.rate_limit &&
376
+ sock_read_timeout == o.sock_read_timeout &&
377
377
  metadata_only == o.metadata_only &&
378
378
  git_ref == o.git_ref
379
379
  end
@@ -387,7 +387,7 @@ module PulpAnsibleClient
387
387
  # Calculates hash code according to all attributes.
388
388
  # @return [Integer] Hash code
389
389
  def hash
390
- [proxy_url, sock_read_timeout, ca_cert, client_cert, connect_timeout, pulp_created, max_retries, hidden_fields, total_timeout, rate_limit, sock_connect_timeout, pulp_href, pulp_last_updated, headers, url, download_concurrency, tls_validation, name, pulp_labels, metadata_only, git_ref].hash
390
+ [name, connect_timeout, client_cert, pulp_created, download_concurrency, total_timeout, tls_validation, ca_cert, proxy_url, url, sock_connect_timeout, headers, pulp_labels, max_retries, pulp_href, hidden_fields, pulp_last_updated, rate_limit, sock_read_timeout, metadata_only, git_ref].hash
391
391
  end
392
392
 
393
393
  # Builds the object from hash
@@ -18,11 +18,11 @@ module PulpAnsibleClient
18
18
  # Artifact file representing the physical content
19
19
  attr_accessor :artifact
20
20
 
21
- attr_accessor :pulp_href
22
-
23
21
  # Timestamp of creation.
24
22
  attr_accessor :pulp_created
25
23
 
24
+ attr_accessor :pulp_href
25
+
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'artifact' => :'artifact',
36
- :'pulp_href' => :'pulp_href',
37
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_href' => :'pulp_href',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
40
40
  :'namespace' => :'namespace'
@@ -45,8 +45,8 @@ module PulpAnsibleClient
45
45
  def self.openapi_types
46
46
  {
47
47
  :'artifact' => :'String',
48
- :'pulp_href' => :'String',
49
48
  :'pulp_created' => :'DateTime',
49
+ :'pulp_href' => :'String',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -78,14 +78,14 @@ module PulpAnsibleClient
78
78
  self.artifact = attributes[:'artifact']
79
79
  end
80
80
 
81
- if attributes.key?(:'pulp_href')
82
- self.pulp_href = attributes[:'pulp_href']
83
- end
84
-
85
81
  if attributes.key?(:'pulp_created')
86
82
  self.pulp_created = attributes[:'pulp_created']
87
83
  end
88
84
 
85
+ if attributes.key?(:'pulp_href')
86
+ self.pulp_href = attributes[:'pulp_href']
87
+ end
88
+
89
89
  if attributes.key?(:'version')
90
90
  self.version = attributes[:'version']
91
91
  end
@@ -138,8 +138,8 @@ module PulpAnsibleClient
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
140
  artifact == o.artifact &&
141
- pulp_href == o.pulp_href &&
142
141
  pulp_created == o.pulp_created &&
142
+ pulp_href == o.pulp_href &&
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
- [artifact, pulp_href, pulp_created, version, name, namespace].hash
157
+ [artifact, pulp_created, pulp_href, version, name, namespace].hash
158
158
  end
159
159
 
160
160
  # Builds the object from hash