pulp_ansible_client 0.20.10 → 0.20.11

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