pulp_ansible_client 0.11.0.dev1636341492 → 0.11.0.dev1636427751

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.

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