pulp_ansible_client 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionRemote.md +8 -0
  4. data/docs/AnsibleCollectionRemoteResponse.md +8 -0
  5. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  6. data/docs/AnsibleRoleRemote.md +9 -1
  7. data/docs/AnsibleRoleRemoteResponse.md +9 -1
  8. data/docs/AnsibleRoleResponse.md +3 -3
  9. data/docs/PatchedansibleCollectionRemote.md +8 -0
  10. data/docs/PatchedansibleRoleRemote.md +9 -1
  11. data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
  12. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +4 -4
  13. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +105 -1
  14. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +105 -1
  15. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  16. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +108 -4
  17. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +108 -4
  18. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  19. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +105 -1
  20. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +108 -4
  21. data/lib/pulp_ansible_client/version.rb +1 -1
  22. data/spec/api/repositories_ansible_versions_api_spec.rb +2 -2
  23. data/spec/models/ansible_collection_remote_response_spec.rb +24 -0
  24. data/spec/models/ansible_collection_remote_spec.rb +24 -0
  25. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  26. data/spec/models/ansible_role_remote_response_spec.rb +24 -0
  27. data/spec/models/ansible_role_remote_spec.rb +24 -0
  28. data/spec/models/ansible_role_response_spec.rb +2 -2
  29. data/spec/models/patchedansible_collection_remote_spec.rb +24 -0
  30. data/spec/models/patchedansible_role_remote_spec.rb +24 -0
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6e38137f87c49c538bb05fbab198ae9f94d95cde8c527b297f0b6af5a8db28e
4
- data.tar.gz: a0a76008f7facb95634b794e65bcb92cbe200867140be8916f5953a76a9244c0
3
+ metadata.gz: 353af4868feaf7e99a92a5797d66e4e8e3bb98ffd30e210fc2c047571448ece0
4
+ data.tar.gz: 804cc5ee7b339dcf0e7b5fe5ecfe724abe6a2d2c745a10de4f3a787759d97dd9
5
5
  SHA512:
6
- metadata.gz: f03725b3881b8289a4cef55286863f0e29000672527ad3b2c04b5e29172f305d15975d3f6223e845fc2eb7d22650fff3a7ce6a30a3a75fdc5f70ffdb8fe01283
7
- data.tar.gz: 4338b55a545ad26ed3d3d4ad95efeeb0514256ccabdd8d669b05dd5e64c692c2907710c0d70787568d484272deaf0a3ab8405162a813d5e758714b242ac152f3
6
+ metadata.gz: 8cb8e71ffbbd04e2564a920d99cb06be5747eb1ce220ea8515407daf69ca962b1df2e5246dc24c1f7a8d75121c3b9889fdc9faa9773a2a58a85159413ca459bb
7
+ data.tar.gz: 870855554ae76e9278b88c47338c30b5c026c6b873bed288011b1d0b28f14731463138e92dd1ebace128c2a0159afcdd907e12091b741f320ec454c061933121
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.5.4
10
+ - Package version: 0.5.5
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_ansible_client-0.5.4.gem
27
+ gem install ./pulp_ansible_client-0.5.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.5.4.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.5.5.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_ansible_client', '~> 0.5.4'
36
+ gem 'pulp_ansible_client', '~> 0.5.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
15
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
17
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
18
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
19
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
20
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
21
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
18
22
  **requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
19
23
  **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
20
24
  **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
@@ -35,6 +39,10 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(name: null,
35
39
  password: null,
36
40
  download_concurrency: null,
37
41
  policy: null,
42
+ total_timeout: null,
43
+ connect_timeout: null,
44
+ sock_connect_timeout: null,
45
+ sock_read_timeout: null,
38
46
  requirements_file: null,
39
47
  auth_url: null,
40
48
  token: null)
@@ -18,6 +18,10 @@ Name | Type | Description | Notes
18
18
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
20
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
21
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
21
25
  **requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
22
26
  **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
23
27
  **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
@@ -41,6 +45,10 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
41
45
  pulp_last_updated: null,
42
46
  download_concurrency: null,
43
47
  policy: null,
48
+ total_timeout: null,
49
+ connect_timeout: null,
50
+ sock_connect_timeout: null,
51
+ sock_read_timeout: null,
44
52
  requirements_file: null,
45
53
  auth_url: null,
46
54
  token: null)
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content |
8
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **artifact** | **String** | Artifact file representing the physical content |
9
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
11
11
  **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
@@ -34,8 +34,8 @@ Name | Type | Description | Notes
34
34
  ```ruby
35
35
  require 'PulpAnsibleClient'
36
36
 
37
- instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
38
- pulp_href: null,
37
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
38
+ artifact: null,
39
39
  pulp_created: null,
40
40
  md5: null,
41
41
  sha1: null,
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
15
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
17
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
18
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
19
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
20
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
21
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
18
22
 
19
23
  ## Code Sample
20
24
 
@@ -31,7 +35,11 @@ instance = PulpAnsibleClient::AnsibleRoleRemote.new(name: null,
31
35
  username: null,
32
36
  password: null,
33
37
  download_concurrency: null,
34
- policy: null)
38
+ policy: null,
39
+ total_timeout: null,
40
+ connect_timeout: null,
41
+ sock_connect_timeout: null,
42
+ sock_read_timeout: null)
35
43
  ```
36
44
 
37
45
 
@@ -18,6 +18,10 @@ Name | Type | Description | Notes
18
18
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
20
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
21
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
21
25
 
22
26
  ## Code Sample
23
27
 
@@ -37,7 +41,11 @@ instance = PulpAnsibleClient::AnsibleRoleRemoteResponse.new(pulp_href: null,
37
41
  password: null,
38
42
  pulp_last_updated: null,
39
43
  download_concurrency: null,
40
- policy: null)
44
+ policy: null,
45
+ total_timeout: null,
46
+ connect_timeout: null,
47
+ sock_connect_timeout: null,
48
+ sock_read_timeout: null)
41
49
  ```
42
50
 
43
51
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content |
8
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **artifact** | **String** | Artifact file representing the physical content |
9
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **version** | **String** | |
11
11
  **name** | **String** | |
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
16
16
  ```ruby
17
17
  require 'PulpAnsibleClient'
18
18
 
19
- instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
20
- pulp_href: null,
19
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
20
+ artifact: null,
21
21
  pulp_created: null,
22
22
  version: null,
23
23
  name: null,
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
15
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
17
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
18
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
19
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
20
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
21
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
18
22
  **requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
19
23
  **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
20
24
  **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
@@ -35,6 +39,10 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(name: null,
35
39
  password: null,
36
40
  download_concurrency: null,
37
41
  policy: null,
42
+ total_timeout: null,
43
+ connect_timeout: null,
44
+ sock_connect_timeout: null,
45
+ sock_read_timeout: null,
38
46
  requirements_file: null,
39
47
  auth_url: null,
40
48
  token: null)
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
15
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
17
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
18
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
19
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
20
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
21
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
18
22
 
19
23
  ## Code Sample
20
24
 
@@ -31,7 +35,11 @@ instance = PulpAnsibleClient::PatchedansibleRoleRemote.new(name: null,
31
35
  username: null,
32
36
  password: null,
33
37
  download_concurrency: null,
34
- policy: null)
38
+ policy: null,
39
+ total_timeout: null,
40
+ connect_timeout: null,
41
+ sock_connect_timeout: null,
42
+ sock_read_timeout: null)
35
43
  ```
36
44
 
37
45
 
@@ -17,7 +17,7 @@ Method | HTTP request | Description
17
17
 
18
18
  Delete a repository version
19
19
 
20
- Trigger an asynchronous task to delete a repositroy version.
20
+ Trigger an asynchronous task to delete a repository version.
21
21
 
22
22
  ### Example
23
23
 
@@ -222,7 +222,7 @@ Name | Type | Description | Notes
222
222
 
223
223
 
224
224
 
225
- Trigger an asynchronous task to repair a repositroy version.
225
+ Trigger an asynchronous task to repair a repository version.
226
226
 
227
227
  ### Example
228
228
 
@@ -20,7 +20,7 @@ module PulpAnsibleClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Delete a repository version
23
- # Trigger an asynchronous task to delete a repositroy version.
23
+ # Trigger an asynchronous task to delete a repository version.
24
24
  # @param ansible_ansible_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
@@ -30,7 +30,7 @@ module PulpAnsibleClient
30
30
  end
31
31
 
32
32
  # Delete a repository version
33
- # Trigger an asynchronous task to delete a repositroy version.
33
+ # Trigger an asynchronous task to delete a repository version.
34
34
  # @param ansible_ansible_repository_version_href [String]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
@@ -268,7 +268,7 @@ module PulpAnsibleClient
268
268
  return data, status_code, headers
269
269
  end
270
270
 
271
- # Trigger an asynchronous task to repair a repositroy version.
271
+ # Trigger an asynchronous task to repair a repository version.
272
272
  # @param ansible_ansible_repository_version_href [String]
273
273
  # @param repository_version [RepositoryVersion]
274
274
  # @param [Hash] opts the optional parameters
@@ -278,7 +278,7 @@ module PulpAnsibleClient
278
278
  data
279
279
  end
280
280
 
281
- # Trigger an asynchronous task to repair a repositroy version.
281
+ # Trigger an asynchronous task to repair a repository version.
282
282
  # @param ansible_ansible_repository_version_href [String]
283
283
  # @param repository_version [RepositoryVersion]
284
284
  # @param [Hash] opts the optional parameters
@@ -48,6 +48,18 @@ module PulpAnsibleClient
48
48
  # The policy to use when downloading content.
49
49
  attr_accessor :policy
50
50
 
51
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections.
52
+ attr_accessor :total_timeout
53
+
54
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
55
+ attr_accessor :connect_timeout
56
+
57
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
58
+ attr_accessor :sock_connect_timeout
59
+
60
+ # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
61
+ attr_accessor :sock_read_timeout
62
+
51
63
  # The string version of Collection requirements yaml.
52
64
  attr_accessor :requirements_file
53
65
 
@@ -71,6 +83,10 @@ module PulpAnsibleClient
71
83
  :'password' => :'password',
72
84
  :'download_concurrency' => :'download_concurrency',
73
85
  :'policy' => :'policy',
86
+ :'total_timeout' => :'total_timeout',
87
+ :'connect_timeout' => :'connect_timeout',
88
+ :'sock_connect_timeout' => :'sock_connect_timeout',
89
+ :'sock_read_timeout' => :'sock_read_timeout',
74
90
  :'requirements_file' => :'requirements_file',
75
91
  :'auth_url' => :'auth_url',
76
92
  :'token' => :'token'
@@ -91,6 +107,10 @@ module PulpAnsibleClient
91
107
  :'password' => :'String',
92
108
  :'download_concurrency' => :'Integer',
93
109
  :'policy' => :'PolicyEnum',
110
+ :'total_timeout' => :'Float',
111
+ :'connect_timeout' => :'Float',
112
+ :'sock_connect_timeout' => :'Float',
113
+ :'sock_read_timeout' => :'Float',
94
114
  :'requirements_file' => :'String',
95
115
  :'auth_url' => :'String',
96
116
  :'token' => :'String'
@@ -106,6 +126,10 @@ module PulpAnsibleClient
106
126
  :'proxy_url',
107
127
  :'username',
108
128
  :'password',
129
+ :'total_timeout',
130
+ :'connect_timeout',
131
+ :'sock_connect_timeout',
132
+ :'sock_read_timeout',
109
133
  :'requirements_file',
110
134
  :'auth_url',
111
135
  :'token'
@@ -171,6 +195,22 @@ module PulpAnsibleClient
171
195
  self.policy = attributes[:'policy']
172
196
  end
173
197
 
198
+ if attributes.key?(:'total_timeout')
199
+ self.total_timeout = attributes[:'total_timeout']
200
+ end
201
+
202
+ if attributes.key?(:'connect_timeout')
203
+ self.connect_timeout = attributes[:'connect_timeout']
204
+ end
205
+
206
+ if attributes.key?(:'sock_connect_timeout')
207
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
208
+ end
209
+
210
+ if attributes.key?(:'sock_read_timeout')
211
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
212
+ end
213
+
174
214
  if attributes.key?(:'requirements_file')
175
215
  self.requirements_file = attributes[:'requirements_file']
176
216
  end
@@ -200,6 +240,22 @@ module PulpAnsibleClient
200
240
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
201
241
  end
202
242
 
243
+ if !@total_timeout.nil? && @total_timeout < 0.0
244
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
245
+ end
246
+
247
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
248
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
249
+ end
250
+
251
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
252
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
253
+ end
254
+
255
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
256
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
257
+ end
258
+
203
259
  if !@auth_url.nil? && @auth_url.to_s.length > 255
204
260
  invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
205
261
  end
@@ -217,6 +273,10 @@ module PulpAnsibleClient
217
273
  return false if @name.nil?
218
274
  return false if @url.nil?
219
275
  return false if !@download_concurrency.nil? && @download_concurrency < 1
276
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
277
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
278
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
279
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
220
280
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
221
281
  return false if !@token.nil? && @token.to_s.length > 2000
222
282
  true
@@ -232,6 +292,46 @@ module PulpAnsibleClient
232
292
  @download_concurrency = download_concurrency
233
293
  end
234
294
 
295
+ # Custom attribute writer method with validation
296
+ # @param [Object] total_timeout Value to be assigned
297
+ def total_timeout=(total_timeout)
298
+ if !total_timeout.nil? && total_timeout < 0.0
299
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
300
+ end
301
+
302
+ @total_timeout = total_timeout
303
+ end
304
+
305
+ # Custom attribute writer method with validation
306
+ # @param [Object] connect_timeout Value to be assigned
307
+ def connect_timeout=(connect_timeout)
308
+ if !connect_timeout.nil? && connect_timeout < 0.0
309
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
310
+ end
311
+
312
+ @connect_timeout = connect_timeout
313
+ end
314
+
315
+ # Custom attribute writer method with validation
316
+ # @param [Object] sock_connect_timeout Value to be assigned
317
+ def sock_connect_timeout=(sock_connect_timeout)
318
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
319
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
320
+ end
321
+
322
+ @sock_connect_timeout = sock_connect_timeout
323
+ end
324
+
325
+ # Custom attribute writer method with validation
326
+ # @param [Object] sock_read_timeout Value to be assigned
327
+ def sock_read_timeout=(sock_read_timeout)
328
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
329
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
330
+ end
331
+
332
+ @sock_read_timeout = sock_read_timeout
333
+ end
334
+
235
335
  # Custom attribute writer method with validation
236
336
  # @param [Object] auth_url Value to be assigned
237
337
  def auth_url=(auth_url)
@@ -268,6 +368,10 @@ module PulpAnsibleClient
268
368
  password == o.password &&
269
369
  download_concurrency == o.download_concurrency &&
270
370
  policy == o.policy &&
371
+ total_timeout == o.total_timeout &&
372
+ connect_timeout == o.connect_timeout &&
373
+ sock_connect_timeout == o.sock_connect_timeout &&
374
+ sock_read_timeout == o.sock_read_timeout &&
271
375
  requirements_file == o.requirements_file &&
272
376
  auth_url == o.auth_url &&
273
377
  token == o.token
@@ -282,7 +386,7 @@ module PulpAnsibleClient
282
386
  # Calculates hash code according to all attributes.
283
387
  # @return [Integer] Hash code
284
388
  def hash
285
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, requirements_file, auth_url, token].hash
389
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, requirements_file, auth_url, token].hash
286
390
  end
287
391
 
288
392
  # Builds the object from hash