pulp_ansible_client 0.14.2 → 0.15.0.dev1656829800

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.

Potentially problematic release.


This version of pulp_ansible_client might be problematic. Click here for more details.

Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +3 -3
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +27 -27
  7. data/docs/AnsibleRoleResponse.md +3 -3
  8. data/docs/ContentCollectionVersionsApi.md +3 -3
  9. data/docs/DistributionsAnsibleApi.md +0 -2
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  11. data/docs/RepositoriesAnsibleApi.md +0 -2
  12. data/git_push.sh +58 -0
  13. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  14. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -3
  15. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -3
  16. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  17. data/lib/pulp_ansible_client/api_client.rb +1 -1
  18. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  19. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  20. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +233 -233
  21. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
  22. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  23. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
  24. data/lib/pulp_ansible_client/version.rb +1 -1
  25. data/pulp_ansible_client.gemspec +3 -3
  26. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  27. data/spec/api/distributions_ansible_api_spec.rb +0 -1
  28. data/spec/api/repositories_ansible_api_spec.rb +0 -1
  29. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  30. data/spec/models/ansible_collection_version_spec.rb +3 -3
  31. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  32. data/spec/models/ansible_git_remote_spec.rb +19 -19
  33. data/spec/models/ansible_role_response_spec.rb +3 -3
  34. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  35. metadata +108 -107
@@ -15,57 +15,57 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemoteResponse
18
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
19
- attr_accessor :connect_timeout
20
-
21
- # Total number of simultaneous connections. If not set then the default value will be used.
22
- attr_accessor :download_concurrency
23
-
24
- # The proxy URL. Format: scheme://host:port
25
- attr_accessor :proxy_url
26
-
27
- # A PEM encoded client certificate used for authentication.
28
- attr_accessor :client_cert
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
29
20
 
30
- # The URL of an external content source.
31
- attr_accessor :url
21
+ # 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.
22
+ attr_accessor :sock_read_timeout
32
23
 
33
- attr_accessor :pulp_labels
24
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
25
+ attr_accessor :total_timeout
34
26
 
35
27
  # Limits requests per second for each concurrent downloader
36
28
  attr_accessor :rate_limit
37
29
 
38
- # Timestamp of creation.
39
- attr_accessor :pulp_created
30
+ # A PEM encoded client certificate used for authentication.
31
+ attr_accessor :client_cert
40
32
 
41
- # Headers for aiohttp.Clientsession
42
- attr_accessor :headers
33
+ # Timestamp of the most recent update of the remote.
34
+ attr_accessor :pulp_last_updated
43
35
 
44
36
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
45
37
  attr_accessor :max_retries
46
38
 
47
- # If True, TLS peer validation must be performed.
48
- attr_accessor :tls_validation
39
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
40
+ attr_accessor :ca_cert
49
41
 
50
- # Timestamp of the most recent update of the remote.
51
- attr_accessor :pulp_last_updated
42
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
43
+ attr_accessor :connect_timeout
44
+
45
+ # Total number of simultaneous connections. If not set then the default value will be used.
46
+ attr_accessor :download_concurrency
52
47
 
53
48
  # 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.
54
49
  attr_accessor :sock_connect_timeout
55
50
 
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
51
+ # Headers for aiohttp.Clientsession
52
+ attr_accessor :headers
58
53
 
59
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
60
- attr_accessor :ca_cert
54
+ # If True, TLS peer validation must be performed.
55
+ attr_accessor :tls_validation
61
56
 
62
- attr_accessor :pulp_href
57
+ attr_accessor :pulp_labels
58
+
59
+ # The URL of an external content source.
60
+ attr_accessor :url
63
61
 
64
62
  # A unique name for this remote.
65
63
  attr_accessor :name
66
64
 
67
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
68
- attr_accessor :total_timeout
65
+ attr_accessor :pulp_href
66
+
67
+ # The proxy URL. Format: scheme://host:port
68
+ attr_accessor :proxy_url
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
@@ -76,24 +76,24 @@ module PulpAnsibleClient
76
76
  # Attribute mapping from ruby-style variable name to JSON key.
77
77
  def self.attribute_map
78
78
  {
79
+ :'pulp_created' => :'pulp_created',
80
+ :'sock_read_timeout' => :'sock_read_timeout',
81
+ :'total_timeout' => :'total_timeout',
82
+ :'rate_limit' => :'rate_limit',
83
+ :'client_cert' => :'client_cert',
84
+ :'pulp_last_updated' => :'pulp_last_updated',
85
+ :'max_retries' => :'max_retries',
86
+ :'ca_cert' => :'ca_cert',
79
87
  :'connect_timeout' => :'connect_timeout',
80
88
  :'download_concurrency' => :'download_concurrency',
81
- :'proxy_url' => :'proxy_url',
82
- :'client_cert' => :'client_cert',
83
- :'url' => :'url',
84
- :'pulp_labels' => :'pulp_labels',
85
- :'rate_limit' => :'rate_limit',
86
- :'pulp_created' => :'pulp_created',
89
+ :'sock_connect_timeout' => :'sock_connect_timeout',
87
90
  :'headers' => :'headers',
88
- :'max_retries' => :'max_retries',
89
91
  :'tls_validation' => :'tls_validation',
90
- :'pulp_last_updated' => :'pulp_last_updated',
91
- :'sock_connect_timeout' => :'sock_connect_timeout',
92
- :'sock_read_timeout' => :'sock_read_timeout',
93
- :'ca_cert' => :'ca_cert',
94
- :'pulp_href' => :'pulp_href',
92
+ :'pulp_labels' => :'pulp_labels',
93
+ :'url' => :'url',
95
94
  :'name' => :'name',
96
- :'total_timeout' => :'total_timeout',
95
+ :'pulp_href' => :'pulp_href',
96
+ :'proxy_url' => :'proxy_url',
97
97
  :'metadata_only' => :'metadata_only',
98
98
  :'git_ref' => :'git_ref'
99
99
  }
@@ -102,24 +102,24 @@ module PulpAnsibleClient
102
102
  # Attribute type mapping.
103
103
  def self.openapi_types
104
104
  {
105
+ :'pulp_created' => :'DateTime',
106
+ :'sock_read_timeout' => :'Float',
107
+ :'total_timeout' => :'Float',
108
+ :'rate_limit' => :'Integer',
109
+ :'client_cert' => :'String',
110
+ :'pulp_last_updated' => :'DateTime',
111
+ :'max_retries' => :'Integer',
112
+ :'ca_cert' => :'String',
105
113
  :'connect_timeout' => :'Float',
106
114
  :'download_concurrency' => :'Integer',
107
- :'proxy_url' => :'String',
108
- :'client_cert' => :'String',
109
- :'url' => :'String',
110
- :'pulp_labels' => :'Object',
111
- :'rate_limit' => :'Integer',
112
- :'pulp_created' => :'DateTime',
115
+ :'sock_connect_timeout' => :'Float',
113
116
  :'headers' => :'Array<Object>',
114
- :'max_retries' => :'Integer',
115
117
  :'tls_validation' => :'Boolean',
116
- :'pulp_last_updated' => :'DateTime',
117
- :'sock_connect_timeout' => :'Float',
118
- :'sock_read_timeout' => :'Float',
119
- :'ca_cert' => :'String',
120
- :'pulp_href' => :'String',
118
+ :'pulp_labels' => :'Object',
119
+ :'url' => :'String',
121
120
  :'name' => :'String',
122
- :'total_timeout' => :'Float',
121
+ :'pulp_href' => :'String',
122
+ :'proxy_url' => :'String',
123
123
  :'metadata_only' => :'Boolean',
124
124
  :'git_ref' => :'String'
125
125
  }
@@ -128,16 +128,16 @@ module PulpAnsibleClient
128
128
  # List of attributes with nullable: true
129
129
  def self.openapi_nullable
130
130
  Set.new([
131
- :'connect_timeout',
132
- :'download_concurrency',
133
- :'proxy_url',
134
- :'client_cert',
131
+ :'sock_read_timeout',
132
+ :'total_timeout',
135
133
  :'rate_limit',
134
+ :'client_cert',
136
135
  :'max_retries',
137
- :'sock_connect_timeout',
138
- :'sock_read_timeout',
139
136
  :'ca_cert',
140
- :'total_timeout',
137
+ :'connect_timeout',
138
+ :'download_concurrency',
139
+ :'sock_connect_timeout',
140
+ :'proxy_url',
141
141
  ])
142
142
  end
143
143
 
@@ -156,36 +156,48 @@ module PulpAnsibleClient
156
156
  h[k.to_sym] = v
157
157
  }
158
158
 
159
- if attributes.key?(:'connect_timeout')
160
- self.connect_timeout = attributes[:'connect_timeout']
159
+ if attributes.key?(:'pulp_created')
160
+ self.pulp_created = attributes[:'pulp_created']
161
161
  end
162
162
 
163
- if attributes.key?(:'download_concurrency')
164
- self.download_concurrency = attributes[:'download_concurrency']
163
+ if attributes.key?(:'sock_read_timeout')
164
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
165
165
  end
166
166
 
167
- if attributes.key?(:'proxy_url')
168
- self.proxy_url = attributes[:'proxy_url']
167
+ if attributes.key?(:'total_timeout')
168
+ self.total_timeout = attributes[:'total_timeout']
169
+ end
170
+
171
+ if attributes.key?(:'rate_limit')
172
+ self.rate_limit = attributes[:'rate_limit']
169
173
  end
170
174
 
171
175
  if attributes.key?(:'client_cert')
172
176
  self.client_cert = attributes[:'client_cert']
173
177
  end
174
178
 
175
- if attributes.key?(:'url')
176
- self.url = attributes[:'url']
179
+ if attributes.key?(:'pulp_last_updated')
180
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
177
181
  end
178
182
 
179
- if attributes.key?(:'pulp_labels')
180
- self.pulp_labels = attributes[:'pulp_labels']
183
+ if attributes.key?(:'max_retries')
184
+ self.max_retries = attributes[:'max_retries']
181
185
  end
182
186
 
183
- if attributes.key?(:'rate_limit')
184
- self.rate_limit = attributes[:'rate_limit']
187
+ if attributes.key?(:'ca_cert')
188
+ self.ca_cert = attributes[:'ca_cert']
185
189
  end
186
190
 
187
- if attributes.key?(:'pulp_created')
188
- self.pulp_created = attributes[:'pulp_created']
191
+ if attributes.key?(:'connect_timeout')
192
+ self.connect_timeout = attributes[:'connect_timeout']
193
+ end
194
+
195
+ if attributes.key?(:'download_concurrency')
196
+ self.download_concurrency = attributes[:'download_concurrency']
197
+ end
198
+
199
+ if attributes.key?(:'sock_connect_timeout')
200
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
189
201
  end
190
202
 
191
203
  if attributes.key?(:'headers')
@@ -194,40 +206,28 @@ module PulpAnsibleClient
194
206
  end
195
207
  end
196
208
 
197
- if attributes.key?(:'max_retries')
198
- self.max_retries = attributes[:'max_retries']
199
- end
200
-
201
209
  if attributes.key?(:'tls_validation')
202
210
  self.tls_validation = attributes[:'tls_validation']
203
211
  end
204
212
 
205
- if attributes.key?(:'pulp_last_updated')
206
- self.pulp_last_updated = attributes[:'pulp_last_updated']
207
- end
208
-
209
- if attributes.key?(:'sock_connect_timeout')
210
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
213
+ if attributes.key?(:'pulp_labels')
214
+ self.pulp_labels = attributes[:'pulp_labels']
211
215
  end
212
216
 
213
- if attributes.key?(:'sock_read_timeout')
214
- self.sock_read_timeout = attributes[:'sock_read_timeout']
217
+ if attributes.key?(:'url')
218
+ self.url = attributes[:'url']
215
219
  end
216
220
 
217
- if attributes.key?(:'ca_cert')
218
- self.ca_cert = attributes[:'ca_cert']
221
+ if attributes.key?(:'name')
222
+ self.name = attributes[:'name']
219
223
  end
220
224
 
221
225
  if attributes.key?(:'pulp_href')
222
226
  self.pulp_href = attributes[:'pulp_href']
223
227
  end
224
228
 
225
- if attributes.key?(:'name')
226
- self.name = attributes[:'name']
227
- end
228
-
229
- if attributes.key?(:'total_timeout')
230
- self.total_timeout = attributes[:'total_timeout']
229
+ if attributes.key?(:'proxy_url')
230
+ self.proxy_url = attributes[:'proxy_url']
231
231
  end
232
232
 
233
233
  if attributes.key?(:'metadata_only')
@@ -243,6 +243,14 @@ module PulpAnsibleClient
243
243
  # @return Array for valid properties with the reasons
244
244
  def list_invalid_properties
245
245
  invalid_properties = Array.new
246
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
247
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
248
+ end
249
+
250
+ if !@total_timeout.nil? && @total_timeout < 0.0
251
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
252
+ end
253
+
246
254
  if !@connect_timeout.nil? && @connect_timeout < 0.0
247
255
  invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
248
256
  end
@@ -251,42 +259,54 @@ module PulpAnsibleClient
251
259
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
252
260
  end
253
261
 
254
- if @url.nil?
255
- invalid_properties.push('invalid value for "url", url cannot be nil.')
256
- end
257
-
258
262
  if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
259
263
  invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
260
264
  end
261
265
 
262
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
263
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
266
+ if @url.nil?
267
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
264
268
  end
265
269
 
266
270
  if @name.nil?
267
271
  invalid_properties.push('invalid value for "name", name cannot be nil.')
268
272
  end
269
273
 
270
- if !@total_timeout.nil? && @total_timeout < 0.0
271
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
272
- end
273
-
274
274
  invalid_properties
275
275
  end
276
276
 
277
277
  # Check to see if the all the properties in the model are valid
278
278
  # @return true if the model is valid
279
279
  def valid?
280
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
281
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
280
282
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
281
283
  return false if !@download_concurrency.nil? && @download_concurrency < 1
282
- return false if @url.nil?
283
284
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
284
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
285
+ return false if @url.nil?
285
286
  return false if @name.nil?
286
- return false if !@total_timeout.nil? && @total_timeout < 0.0
287
287
  true
288
288
  end
289
289
 
290
+ # Custom attribute writer method with validation
291
+ # @param [Object] sock_read_timeout Value to be assigned
292
+ def sock_read_timeout=(sock_read_timeout)
293
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
294
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
295
+ end
296
+
297
+ @sock_read_timeout = sock_read_timeout
298
+ end
299
+
300
+ # Custom attribute writer method with validation
301
+ # @param [Object] total_timeout Value to be assigned
302
+ def total_timeout=(total_timeout)
303
+ if !total_timeout.nil? && total_timeout < 0.0
304
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
305
+ end
306
+
307
+ @total_timeout = total_timeout
308
+ end
309
+
290
310
  # Custom attribute writer method with validation
291
311
  # @param [Object] connect_timeout Value to be assigned
292
312
  def connect_timeout=(connect_timeout)
@@ -317,49 +337,29 @@ module PulpAnsibleClient
317
337
  @sock_connect_timeout = sock_connect_timeout
318
338
  end
319
339
 
320
- # Custom attribute writer method with validation
321
- # @param [Object] sock_read_timeout Value to be assigned
322
- def sock_read_timeout=(sock_read_timeout)
323
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
324
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
325
- end
326
-
327
- @sock_read_timeout = sock_read_timeout
328
- end
329
-
330
- # Custom attribute writer method with validation
331
- # @param [Object] total_timeout Value to be assigned
332
- def total_timeout=(total_timeout)
333
- if !total_timeout.nil? && total_timeout < 0.0
334
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
335
- end
336
-
337
- @total_timeout = total_timeout
338
- end
339
-
340
340
  # Checks equality by comparing each attribute.
341
341
  # @param [Object] Object to be compared
342
342
  def ==(o)
343
343
  return true if self.equal?(o)
344
344
  self.class == o.class &&
345
+ pulp_created == o.pulp_created &&
346
+ sock_read_timeout == o.sock_read_timeout &&
347
+ total_timeout == o.total_timeout &&
348
+ rate_limit == o.rate_limit &&
349
+ client_cert == o.client_cert &&
350
+ pulp_last_updated == o.pulp_last_updated &&
351
+ max_retries == o.max_retries &&
352
+ ca_cert == o.ca_cert &&
345
353
  connect_timeout == o.connect_timeout &&
346
354
  download_concurrency == o.download_concurrency &&
347
- proxy_url == o.proxy_url &&
348
- client_cert == o.client_cert &&
349
- url == o.url &&
350
- pulp_labels == o.pulp_labels &&
351
- rate_limit == o.rate_limit &&
352
- pulp_created == o.pulp_created &&
355
+ sock_connect_timeout == o.sock_connect_timeout &&
353
356
  headers == o.headers &&
354
- max_retries == o.max_retries &&
355
357
  tls_validation == o.tls_validation &&
356
- pulp_last_updated == o.pulp_last_updated &&
357
- sock_connect_timeout == o.sock_connect_timeout &&
358
- sock_read_timeout == o.sock_read_timeout &&
359
- ca_cert == o.ca_cert &&
360
- pulp_href == o.pulp_href &&
358
+ pulp_labels == o.pulp_labels &&
359
+ url == o.url &&
361
360
  name == o.name &&
362
- total_timeout == o.total_timeout &&
361
+ pulp_href == o.pulp_href &&
362
+ proxy_url == o.proxy_url &&
363
363
  metadata_only == o.metadata_only &&
364
364
  git_ref == o.git_ref
365
365
  end
@@ -373,7 +373,7 @@ module PulpAnsibleClient
373
373
  # Calculates hash code according to all attributes.
374
374
  # @return [Integer] Hash code
375
375
  def hash
376
- [connect_timeout, download_concurrency, proxy_url, client_cert, url, pulp_labels, rate_limit, pulp_created, headers, max_retries, tls_validation, pulp_last_updated, sock_connect_timeout, sock_read_timeout, ca_cert, pulp_href, name, total_timeout, metadata_only, git_ref].hash
376
+ [pulp_created, sock_read_timeout, total_timeout, rate_limit, client_cert, pulp_last_updated, max_retries, ca_cert, connect_timeout, download_concurrency, sock_connect_timeout, headers, tls_validation, pulp_labels, url, name, pulp_href, proxy_url, metadata_only, git_ref].hash
377
377
  end
378
378
 
379
379
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
+
18
21
  attr_accessor :pulp_href
19
22
 
20
23
  # Artifact file representing the physical content
21
24
  attr_accessor :artifact
22
25
 
23
- # Timestamp of creation.
24
- attr_accessor :pulp_created
25
-
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -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_created' => :'pulp_created',
35
36
  :'pulp_href' => :'pulp_href',
36
37
  :'artifact' => :'artifact',
37
- :'pulp_created' => :'pulp_created',
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_created' => :'DateTime',
47
48
  :'pulp_href' => :'String',
48
49
  :'artifact' => :'String',
49
- :'pulp_created' => :'DateTime',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -74,6 +74,10 @@ module PulpAnsibleClient
74
74
  h[k.to_sym] = v
75
75
  }
76
76
 
77
+ if attributes.key?(:'pulp_created')
78
+ self.pulp_created = attributes[:'pulp_created']
79
+ end
80
+
77
81
  if attributes.key?(:'pulp_href')
78
82
  self.pulp_href = attributes[:'pulp_href']
79
83
  end
@@ -82,10 +86,6 @@ module PulpAnsibleClient
82
86
  self.artifact = attributes[:'artifact']
83
87
  end
84
88
 
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
@@ -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_created == o.pulp_created &&
140
141
  pulp_href == o.pulp_href &&
141
142
  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, artifact, pulp_created, version, name, namespace].hash
157
+ [pulp_created, pulp_href, artifact, version, name, namespace].hash
158
158
  end
159
159
 
160
160
  # Builds the object from hash