pulp_ansible_client 0.28.8 → 0.28.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,64 +16,64 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Git Collection Remotes.
18
18
  class AnsibleGitRemoteResponse
19
- attr_accessor :pulp_href
19
+ # 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.
20
+ attr_accessor :sock_connect_timeout
20
21
 
21
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
22
- attr_accessor :ca_cert
22
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
23
+ attr_accessor :total_timeout
23
24
 
24
- # If True, TLS peer validation must be performed.
25
- attr_accessor :tls_validation
25
+ # The proxy URL. Format: scheme://host:port
26
+ attr_accessor :proxy_url
26
27
 
27
- attr_accessor :pulp_labels
28
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
29
+ attr_accessor :ca_cert
28
30
 
29
- # The URL of an external content source.
30
- attr_accessor :url
31
+ # Timestamp of the most recent update of the remote.
32
+ attr_accessor :pulp_last_updated
31
33
 
32
34
  # List of hidden (write only) fields
33
35
  attr_accessor :hidden_fields
34
36
 
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
37
-
38
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
39
- attr_accessor :max_retries
37
+ # Limits requests per second for each concurrent downloader
38
+ attr_accessor :rate_limit
40
39
 
41
- # The proxy URL. Format: scheme://host:port
42
- attr_accessor :proxy_url
40
+ # Total number of simultaneous connections. If not set then the default value will be used.
41
+ attr_accessor :download_concurrency
43
42
 
44
- # Timestamp of the most recent update of the remote.
45
- attr_accessor :pulp_last_updated
43
+ attr_accessor :pulp_labels
46
44
 
47
45
  # Timestamp of creation.
48
46
  attr_accessor :pulp_created
49
47
 
50
- # Headers for aiohttp.Clientsession
51
- attr_accessor :headers
48
+ attr_accessor :pulp_href
52
49
 
53
50
  # A PEM encoded client certificate used for authentication.
54
51
  attr_accessor :client_cert
55
52
 
56
- # 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.
57
- attr_accessor :sock_read_timeout
53
+ # The Pulp Resource Name (PRN).
54
+ attr_accessor :prn
58
55
 
59
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
60
- attr_accessor :connect_timeout
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
61
58
 
62
- # Limits requests per second for each concurrent downloader
63
- attr_accessor :rate_limit
59
+ # 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.
60
+ attr_accessor :sock_read_timeout
64
61
 
65
- # The Pulp Resource Name (PRN).
66
- attr_accessor :prn
62
+ # Headers for aiohttp.Clientsession
63
+ attr_accessor :headers
67
64
 
68
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
69
- attr_accessor :total_timeout
65
+ # If True, TLS peer validation must be performed.
66
+ attr_accessor :tls_validation
70
67
 
71
- # Total number of simultaneous connections. If not set then the default value will be used.
72
- attr_accessor :download_concurrency
68
+ # The URL of an external content source.
69
+ attr_accessor :url
73
70
 
74
71
  # A unique name for this remote.
75
72
  attr_accessor :name
76
73
 
74
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
75
+ attr_accessor :connect_timeout
76
+
77
77
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
78
78
  attr_accessor :metadata_only
79
79
 
@@ -83,26 +83,26 @@ module PulpAnsibleClient
83
83
  # Attribute mapping from ruby-style variable name to JSON key.
84
84
  def self.attribute_map
85
85
  {
86
- :'pulp_href' => :'pulp_href',
87
- :'ca_cert' => :'ca_cert',
88
- :'tls_validation' => :'tls_validation',
89
- :'pulp_labels' => :'pulp_labels',
90
- :'url' => :'url',
91
- :'hidden_fields' => :'hidden_fields',
92
86
  :'sock_connect_timeout' => :'sock_connect_timeout',
93
- :'max_retries' => :'max_retries',
87
+ :'total_timeout' => :'total_timeout',
94
88
  :'proxy_url' => :'proxy_url',
89
+ :'ca_cert' => :'ca_cert',
95
90
  :'pulp_last_updated' => :'pulp_last_updated',
91
+ :'hidden_fields' => :'hidden_fields',
92
+ :'rate_limit' => :'rate_limit',
93
+ :'download_concurrency' => :'download_concurrency',
94
+ :'pulp_labels' => :'pulp_labels',
96
95
  :'pulp_created' => :'pulp_created',
97
- :'headers' => :'headers',
96
+ :'pulp_href' => :'pulp_href',
98
97
  :'client_cert' => :'client_cert',
99
- :'sock_read_timeout' => :'sock_read_timeout',
100
- :'connect_timeout' => :'connect_timeout',
101
- :'rate_limit' => :'rate_limit',
102
98
  :'prn' => :'prn',
103
- :'total_timeout' => :'total_timeout',
104
- :'download_concurrency' => :'download_concurrency',
99
+ :'max_retries' => :'max_retries',
100
+ :'sock_read_timeout' => :'sock_read_timeout',
101
+ :'headers' => :'headers',
102
+ :'tls_validation' => :'tls_validation',
103
+ :'url' => :'url',
105
104
  :'name' => :'name',
105
+ :'connect_timeout' => :'connect_timeout',
106
106
  :'metadata_only' => :'metadata_only',
107
107
  :'git_ref' => :'git_ref'
108
108
  }
@@ -116,26 +116,26 @@ module PulpAnsibleClient
116
116
  # Attribute type mapping.
117
117
  def self.openapi_types
118
118
  {
119
- :'pulp_href' => :'String',
120
- :'ca_cert' => :'String',
121
- :'tls_validation' => :'Boolean',
122
- :'pulp_labels' => :'Hash<String, String>',
123
- :'url' => :'String',
124
- :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
125
119
  :'sock_connect_timeout' => :'Float',
126
- :'max_retries' => :'Integer',
120
+ :'total_timeout' => :'Float',
127
121
  :'proxy_url' => :'String',
122
+ :'ca_cert' => :'String',
128
123
  :'pulp_last_updated' => :'Time',
124
+ :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
125
+ :'rate_limit' => :'Integer',
126
+ :'download_concurrency' => :'Integer',
127
+ :'pulp_labels' => :'Hash<String, String>',
129
128
  :'pulp_created' => :'Time',
130
- :'headers' => :'Array<Object>',
129
+ :'pulp_href' => :'String',
131
130
  :'client_cert' => :'String',
132
- :'sock_read_timeout' => :'Float',
133
- :'connect_timeout' => :'Float',
134
- :'rate_limit' => :'Integer',
135
131
  :'prn' => :'String',
136
- :'total_timeout' => :'Float',
137
- :'download_concurrency' => :'Integer',
132
+ :'max_retries' => :'Integer',
133
+ :'sock_read_timeout' => :'Float',
134
+ :'headers' => :'Array<Object>',
135
+ :'tls_validation' => :'Boolean',
136
+ :'url' => :'String',
138
137
  :'name' => :'String',
138
+ :'connect_timeout' => :'Float',
139
139
  :'metadata_only' => :'Boolean',
140
140
  :'git_ref' => :'String'
141
141
  }
@@ -144,16 +144,16 @@ module PulpAnsibleClient
144
144
  # List of attributes with nullable: true
145
145
  def self.openapi_nullable
146
146
  Set.new([
147
- :'ca_cert',
148
147
  :'sock_connect_timeout',
149
- :'max_retries',
148
+ :'total_timeout',
150
149
  :'proxy_url',
150
+ :'ca_cert',
151
+ :'rate_limit',
152
+ :'download_concurrency',
151
153
  :'client_cert',
154
+ :'max_retries',
152
155
  :'sock_read_timeout',
153
156
  :'connect_timeout',
154
- :'rate_limit',
155
- :'total_timeout',
156
- :'download_concurrency',
157
157
  ])
158
158
  end
159
159
 
@@ -172,28 +172,24 @@ module PulpAnsibleClient
172
172
  h[k.to_sym] = v
173
173
  }
174
174
 
175
- if attributes.key?(:'pulp_href')
176
- self.pulp_href = attributes[:'pulp_href']
175
+ if attributes.key?(:'sock_connect_timeout')
176
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
177
177
  end
178
178
 
179
- if attributes.key?(:'ca_cert')
180
- self.ca_cert = attributes[:'ca_cert']
179
+ if attributes.key?(:'total_timeout')
180
+ self.total_timeout = attributes[:'total_timeout']
181
181
  end
182
182
 
183
- if attributes.key?(:'tls_validation')
184
- self.tls_validation = attributes[:'tls_validation']
183
+ if attributes.key?(:'proxy_url')
184
+ self.proxy_url = attributes[:'proxy_url']
185
185
  end
186
186
 
187
- if attributes.key?(:'pulp_labels')
188
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
189
- self.pulp_labels = value
190
- end
187
+ if attributes.key?(:'ca_cert')
188
+ self.ca_cert = attributes[:'ca_cert']
191
189
  end
192
190
 
193
- if attributes.key?(:'url')
194
- self.url = attributes[:'url']
195
- else
196
- self.url = nil
191
+ if attributes.key?(:'pulp_last_updated')
192
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
197
193
  end
198
194
 
199
195
  if attributes.key?(:'hidden_fields')
@@ -202,58 +198,58 @@ module PulpAnsibleClient
202
198
  end
203
199
  end
204
200
 
205
- if attributes.key?(:'sock_connect_timeout')
206
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
207
- end
208
-
209
- if attributes.key?(:'max_retries')
210
- self.max_retries = attributes[:'max_retries']
201
+ if attributes.key?(:'rate_limit')
202
+ self.rate_limit = attributes[:'rate_limit']
211
203
  end
212
204
 
213
- if attributes.key?(:'proxy_url')
214
- self.proxy_url = attributes[:'proxy_url']
205
+ if attributes.key?(:'download_concurrency')
206
+ self.download_concurrency = attributes[:'download_concurrency']
215
207
  end
216
208
 
217
- if attributes.key?(:'pulp_last_updated')
218
- self.pulp_last_updated = attributes[:'pulp_last_updated']
209
+ if attributes.key?(:'pulp_labels')
210
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
211
+ self.pulp_labels = value
212
+ end
219
213
  end
220
214
 
221
215
  if attributes.key?(:'pulp_created')
222
216
  self.pulp_created = attributes[:'pulp_created']
223
217
  end
224
218
 
225
- if attributes.key?(:'headers')
226
- if (value = attributes[:'headers']).is_a?(Array)
227
- self.headers = value
228
- end
219
+ if attributes.key?(:'pulp_href')
220
+ self.pulp_href = attributes[:'pulp_href']
229
221
  end
230
222
 
231
223
  if attributes.key?(:'client_cert')
232
224
  self.client_cert = attributes[:'client_cert']
233
225
  end
234
226
 
235
- if attributes.key?(:'sock_read_timeout')
236
- self.sock_read_timeout = attributes[:'sock_read_timeout']
227
+ if attributes.key?(:'prn')
228
+ self.prn = attributes[:'prn']
237
229
  end
238
230
 
239
- if attributes.key?(:'connect_timeout')
240
- self.connect_timeout = attributes[:'connect_timeout']
231
+ if attributes.key?(:'max_retries')
232
+ self.max_retries = attributes[:'max_retries']
241
233
  end
242
234
 
243
- if attributes.key?(:'rate_limit')
244
- self.rate_limit = attributes[:'rate_limit']
235
+ if attributes.key?(:'sock_read_timeout')
236
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
245
237
  end
246
238
 
247
- if attributes.key?(:'prn')
248
- self.prn = attributes[:'prn']
239
+ if attributes.key?(:'headers')
240
+ if (value = attributes[:'headers']).is_a?(Array)
241
+ self.headers = value
242
+ end
249
243
  end
250
244
 
251
- if attributes.key?(:'total_timeout')
252
- self.total_timeout = attributes[:'total_timeout']
245
+ if attributes.key?(:'tls_validation')
246
+ self.tls_validation = attributes[:'tls_validation']
253
247
  end
254
248
 
255
- if attributes.key?(:'download_concurrency')
256
- self.download_concurrency = attributes[:'download_concurrency']
249
+ if attributes.key?(:'url')
250
+ self.url = attributes[:'url']
251
+ else
252
+ self.url = nil
257
253
  end
258
254
 
259
255
  if attributes.key?(:'name')
@@ -262,6 +258,10 @@ module PulpAnsibleClient
262
258
  self.name = nil
263
259
  end
264
260
 
261
+ if attributes.key?(:'connect_timeout')
262
+ self.connect_timeout = attributes[:'connect_timeout']
263
+ end
264
+
265
265
  if attributes.key?(:'metadata_only')
266
266
  self.metadata_only = attributes[:'metadata_only']
267
267
  end
@@ -276,30 +276,30 @@ module PulpAnsibleClient
276
276
  def list_invalid_properties
277
277
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
278
278
  invalid_properties = Array.new
279
- if @url.nil?
280
- invalid_properties.push('invalid value for "url", url cannot be nil.')
281
- end
282
-
283
279
  if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
284
280
  invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
285
281
  end
286
282
 
287
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
288
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
283
+ if !@total_timeout.nil? && @total_timeout < 0.0
284
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
289
285
  end
290
286
 
291
- if !@connect_timeout.nil? && @connect_timeout < 0.0
292
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
287
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
288
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
293
289
  end
294
290
 
295
- if !@total_timeout.nil? && @total_timeout < 0.0
296
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
291
+ if @url.nil?
292
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
297
293
  end
298
294
 
299
295
  if @name.nil?
300
296
  invalid_properties.push('invalid value for "name", name cannot be nil.')
301
297
  end
302
298
 
299
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
300
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
301
+ end
302
+
303
303
  invalid_properties
304
304
  end
305
305
 
@@ -307,12 +307,12 @@ module PulpAnsibleClient
307
307
  # @return true if the model is valid
308
308
  def valid?
309
309
  warn '[DEPRECATED] the `valid?` method is obsolete'
310
- return false if @url.nil?
311
310
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
312
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
313
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
314
311
  return false if !@total_timeout.nil? && @total_timeout < 0.0
312
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
313
+ return false if @url.nil?
315
314
  return false if @name.nil?
315
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
316
316
  true
317
317
  end
318
318
 
@@ -326,6 +326,16 @@ module PulpAnsibleClient
326
326
  @sock_connect_timeout = sock_connect_timeout
327
327
  end
328
328
 
329
+ # Custom attribute writer method with validation
330
+ # @param [Object] total_timeout Value to be assigned
331
+ def total_timeout=(total_timeout)
332
+ if !total_timeout.nil? && total_timeout < 0.0
333
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
334
+ end
335
+
336
+ @total_timeout = total_timeout
337
+ end
338
+
329
339
  # Custom attribute writer method with validation
330
340
  # @param [Object] sock_read_timeout Value to be assigned
331
341
  def sock_read_timeout=(sock_read_timeout)
@@ -346,41 +356,31 @@ module PulpAnsibleClient
346
356
  @connect_timeout = connect_timeout
347
357
  end
348
358
 
349
- # Custom attribute writer method with validation
350
- # @param [Object] total_timeout Value to be assigned
351
- def total_timeout=(total_timeout)
352
- if !total_timeout.nil? && total_timeout < 0.0
353
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
354
- end
355
-
356
- @total_timeout = total_timeout
357
- end
358
-
359
359
  # Checks equality by comparing each attribute.
360
360
  # @param [Object] Object to be compared
361
361
  def ==(o)
362
362
  return true if self.equal?(o)
363
363
  self.class == o.class &&
364
- pulp_href == o.pulp_href &&
365
- ca_cert == o.ca_cert &&
366
- tls_validation == o.tls_validation &&
367
- pulp_labels == o.pulp_labels &&
368
- url == o.url &&
369
- hidden_fields == o.hidden_fields &&
370
364
  sock_connect_timeout == o.sock_connect_timeout &&
371
- max_retries == o.max_retries &&
365
+ total_timeout == o.total_timeout &&
372
366
  proxy_url == o.proxy_url &&
367
+ ca_cert == o.ca_cert &&
373
368
  pulp_last_updated == o.pulp_last_updated &&
369
+ hidden_fields == o.hidden_fields &&
370
+ rate_limit == o.rate_limit &&
371
+ download_concurrency == o.download_concurrency &&
372
+ pulp_labels == o.pulp_labels &&
374
373
  pulp_created == o.pulp_created &&
375
- headers == o.headers &&
374
+ pulp_href == o.pulp_href &&
376
375
  client_cert == o.client_cert &&
377
- sock_read_timeout == o.sock_read_timeout &&
378
- connect_timeout == o.connect_timeout &&
379
- rate_limit == o.rate_limit &&
380
376
  prn == o.prn &&
381
- total_timeout == o.total_timeout &&
382
- download_concurrency == o.download_concurrency &&
377
+ max_retries == o.max_retries &&
378
+ sock_read_timeout == o.sock_read_timeout &&
379
+ headers == o.headers &&
380
+ tls_validation == o.tls_validation &&
381
+ url == o.url &&
383
382
  name == o.name &&
383
+ connect_timeout == o.connect_timeout &&
384
384
  metadata_only == o.metadata_only &&
385
385
  git_ref == o.git_ref
386
386
  end
@@ -394,7 +394,7 @@ module PulpAnsibleClient
394
394
  # Calculates hash code according to all attributes.
395
395
  # @return [Integer] Hash code
396
396
  def hash
397
- [pulp_href, ca_cert, tls_validation, pulp_labels, url, hidden_fields, sock_connect_timeout, max_retries, proxy_url, pulp_last_updated, pulp_created, headers, client_cert, sock_read_timeout, connect_timeout, rate_limit, prn, total_timeout, download_concurrency, name, metadata_only, git_ref].hash
397
+ [sock_connect_timeout, total_timeout, proxy_url, ca_cert, pulp_last_updated, hidden_fields, rate_limit, download_concurrency, pulp_labels, pulp_created, pulp_href, client_cert, prn, max_retries, sock_read_timeout, headers, tls_validation, url, name, connect_timeout, metadata_only, git_ref].hash
398
398
  end
399
399
 
400
400
  # Builds the object from hash
@@ -16,14 +16,14 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Role versions.
18
18
  class AnsibleRole
19
- # Artifact file representing the physical content
20
- attr_accessor :artifact
19
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
20
+ attr_accessor :pulp_labels
21
21
 
22
22
  # A URI of a repository the new content unit should be associated with.
23
23
  attr_accessor :repository
24
24
 
25
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
- attr_accessor :pulp_labels
25
+ # Artifact file representing the physical content
26
+ attr_accessor :artifact
27
27
 
28
28
  attr_accessor :version
29
29
 
@@ -34,9 +34,9 @@ module PulpAnsibleClient
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
37
- :'artifact' => :'artifact',
38
- :'repository' => :'repository',
39
37
  :'pulp_labels' => :'pulp_labels',
38
+ :'repository' => :'repository',
39
+ :'artifact' => :'artifact',
40
40
  :'version' => :'version',
41
41
  :'name' => :'name',
42
42
  :'namespace' => :'namespace'
@@ -51,9 +51,9 @@ module PulpAnsibleClient
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
- :'artifact' => :'String',
55
- :'repository' => :'String',
56
54
  :'pulp_labels' => :'Hash<String, String>',
55
+ :'repository' => :'String',
56
+ :'artifact' => :'String',
57
57
  :'version' => :'String',
58
58
  :'name' => :'String',
59
59
  :'namespace' => :'String'
@@ -81,20 +81,20 @@ module PulpAnsibleClient
81
81
  h[k.to_sym] = v
82
82
  }
83
83
 
84
- if attributes.key?(:'artifact')
85
- self.artifact = attributes[:'artifact']
86
- else
87
- self.artifact = nil
84
+ if attributes.key?(:'pulp_labels')
85
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
86
+ self.pulp_labels = value
87
+ end
88
88
  end
89
89
 
90
90
  if attributes.key?(:'repository')
91
91
  self.repository = attributes[:'repository']
92
92
  end
93
93
 
94
- if attributes.key?(:'pulp_labels')
95
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
- self.pulp_labels = value
97
- end
94
+ if attributes.key?(:'artifact')
95
+ self.artifact = attributes[:'artifact']
96
+ else
97
+ self.artifact = nil
98
98
  end
99
99
 
100
100
  if attributes.key?(:'version')
@@ -213,9 +213,9 @@ module PulpAnsibleClient
213
213
  def ==(o)
214
214
  return true if self.equal?(o)
215
215
  self.class == o.class &&
216
- artifact == o.artifact &&
217
- repository == o.repository &&
218
216
  pulp_labels == o.pulp_labels &&
217
+ repository == o.repository &&
218
+ artifact == o.artifact &&
219
219
  version == o.version &&
220
220
  name == o.name &&
221
221
  namespace == o.namespace
@@ -230,7 +230,7 @@ module PulpAnsibleClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [artifact, repository, pulp_labels, version, name, namespace].hash
233
+ [pulp_labels, repository, artifact, version, name, namespace].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash