pulp_ansible_client 0.11.0.dev1636686953 → 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.

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