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