pulp_ansible_client 0.13.6 → 0.14.0.dev1655611247

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

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