pulp_ansible_client 0.24.2 → 0.24.3

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