pulp_ansible_client 0.21.7 → 0.21.8

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