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