pulp_ansible_client 0.5.1 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -4
  3. data/docs/AnsibleCollectionRemote.md +8 -0
  4. data/docs/AnsibleCollectionRemoteResponse.md +8 -0
  5. data/docs/AnsibleRoleRemote.md +9 -1
  6. data/docs/AnsibleRoleRemoteResponse.md +9 -1
  7. data/docs/ArtifactRefResponse.md +21 -0
  8. data/docs/CollectionResponse.md +2 -2
  9. data/docs/CollectionVersionResponse.md +1 -1
  10. data/docs/PaginatedCollectionResponseList.md +2 -2
  11. data/docs/PaginatedCollectionResponseListLinks.md +23 -0
  12. data/docs/PaginatedCollectionResponseListMeta.md +17 -0
  13. data/docs/PaginatedCollectionVersionResponseList.md +2 -2
  14. data/docs/PatchedansibleCollectionRemote.md +8 -0
  15. data/docs/PatchedansibleRoleRemote.md +9 -1
  16. data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
  17. data/lib/pulp_ansible_client.rb +3 -0
  18. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +4 -4
  19. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +105 -1
  20. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +105 -1
  21. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +108 -4
  22. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +108 -4
  23. data/lib/pulp_ansible_client/models/artifact_ref_response.rb +240 -0
  24. data/lib/pulp_ansible_client/models/collection_response.rb +2 -2
  25. data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
  26. data/lib/pulp_ansible_client/models/paginated_collection_response_list.rb +2 -2
  27. data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +237 -0
  28. data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +206 -0
  29. data/lib/pulp_ansible_client/models/paginated_collection_version_response_list.rb +2 -2
  30. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +105 -1
  31. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +108 -4
  32. data/lib/pulp_ansible_client/version.rb +1 -1
  33. data/spec/api/repositories_ansible_versions_api_spec.rb +2 -2
  34. data/spec/models/ansible_collection_remote_response_spec.rb +24 -0
  35. data/spec/models/ansible_collection_remote_spec.rb +24 -0
  36. data/spec/models/ansible_role_remote_response_spec.rb +24 -0
  37. data/spec/models/ansible_role_remote_spec.rb +24 -0
  38. data/spec/models/artifact_ref_response_spec.rb +53 -0
  39. data/spec/models/paginated_collection_response_list_links_spec.rb +59 -0
  40. data/spec/models/paginated_collection_response_list_meta_spec.rb +41 -0
  41. data/spec/models/patchedansible_collection_remote_spec.rb +24 -0
  42. data/spec/models/patchedansible_role_remote_spec.rb +24 -0
  43. metadata +71 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c9ecad3890355df2314fd034c6b488f77ea270e87274068b75f5b7149d97014
4
- data.tar.gz: 583714ab74959cba81c5a1564e6f4bf9ce0555d91fdfb4e1c7ecebe47fbc16f5
3
+ metadata.gz: f08a9d8fe3dc65d374a5885c209e57000f003caaf8b7df8efec8956eb67f814b
4
+ data.tar.gz: 1dd344d67707ee9011d4a1fa468cb88b5855f83f13e688e568054909167b93d0
5
5
  SHA512:
6
- metadata.gz: c38b40ba63072f49afad57fe5d80dea20b77423137c99d68f42ccd155279753b08d7517a30bef224c9cf98909574e253b0e95d49aa4507738dc6e4d7ff87aaa7
7
- data.tar.gz: cdf4a5a71d9b75a8b17ccefbffcb1137b4aa37ad963ca3de237a4359d1c339afbf8155c6da887edbf9d73600c785b4c7775bd80787818fcee29b19d1e3608907
6
+ metadata.gz: 6eec4cb6c79e7910bca65db1aa83bf0289f9ee8acfc30c3386b756f5d7a04527b9580bec303df7f77170f5e9b080f5eacd350a5aabc6185e9236ea839e9d89ba
7
+ data.tar.gz: 22c3d31a6efcf1e23d9845fa32018c94e5e9c40401a4363bbe38a32faa9b15d7f3acde47e10baee08f5cd450a33df98fcf3f2282a7e2237c69e9c0b64343ce34
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.1
10
+ - Package version: 0.5.6
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.1.gem
27
+ gem install ./pulp_ansible_client-0.5.6.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.5.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.5.6.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.1'
36
+ gem 'pulp_ansible_client', '~> 0.5.6'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -165,6 +165,7 @@ Class | Method | HTTP request | Description
165
165
  - [PulpAnsibleClient::AnsibleRoleRemoteResponse](docs/AnsibleRoleRemoteResponse.md)
166
166
  - [PulpAnsibleClient::AnsibleRoleResponse](docs/AnsibleRoleResponse.md)
167
167
  - [PulpAnsibleClient::AnsibleTagResponse](docs/AnsibleTagResponse.md)
168
+ - [PulpAnsibleClient::ArtifactRefResponse](docs/ArtifactRefResponse.md)
168
169
  - [PulpAnsibleClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
169
170
  - [PulpAnsibleClient::CollectionImportDetailResponse](docs/CollectionImportDetailResponse.md)
170
171
  - [PulpAnsibleClient::CollectionMetadataResponse](docs/CollectionMetadataResponse.md)
@@ -183,6 +184,8 @@ Class | Method | HTTP request | Description
183
184
  - [PulpAnsibleClient::GalaxyRoleResponse](docs/GalaxyRoleResponse.md)
184
185
  - [PulpAnsibleClient::GalaxyRoleVersionResponse](docs/GalaxyRoleVersionResponse.md)
185
186
  - [PulpAnsibleClient::PaginatedCollectionResponseList](docs/PaginatedCollectionResponseList.md)
187
+ - [PulpAnsibleClient::PaginatedCollectionResponseListLinks](docs/PaginatedCollectionResponseListLinks.md)
188
+ - [PulpAnsibleClient::PaginatedCollectionResponseListMeta](docs/PaginatedCollectionResponseListMeta.md)
186
189
  - [PulpAnsibleClient::PaginatedCollectionVersionResponseList](docs/PaginatedCollectionVersionResponseList.md)
187
190
  - [PulpAnsibleClient::PaginatedGalaxyCollectionResponseList](docs/PaginatedGalaxyCollectionResponseList.md)
188
191
  - [PulpAnsibleClient::PaginatedGalaxyCollectionVersionResponseList](docs/PaginatedGalaxyCollectionVersionResponseList.md)
@@ -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)
@@ -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
 
@@ -0,0 +1,21 @@
1
+ # PulpAnsibleClient::ArtifactRefResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **filename** | **String** | |
8
+ **sha256** | **String** | |
9
+ **size** | **Integer** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpAnsibleClient'
15
+
16
+ instance = PulpAnsibleClient::ArtifactRefResponse.new(filename: null,
17
+ sha256: null,
18
+ size: null)
19
+ ```
20
+
21
+
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
10
10
  **deprecated** | **Boolean** | |
11
11
  **versions_url** | **String** | | [optional] [readonly]
12
12
  **highest_version** | [**Object**](.md) | | [optional] [readonly]
13
- **created_at** | **String** | | [optional] [readonly]
14
- **updated_at** | **String** | | [optional] [readonly]
13
+ **created_at** | **DateTime** | | [optional] [readonly]
14
+ **updated_at** | **DateTime** | | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
17
17
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **href** | **String** | | [optional] [readonly]
9
9
  **created_at** | **DateTime** | |
10
10
  **updated_at** | **DateTime** | |
11
- **artifact** | **String** | | [optional] [readonly]
11
+ **artifact** | [**ArtifactRefResponse**](ArtifactRefResponse.md) | | [optional] [readonly]
12
12
  **collection** | [**CollectionRefResponse**](CollectionRefResponse.md) | | [optional] [readonly]
13
13
  **download_url** | **String** | | [optional] [readonly]
14
14
  **name** | **String** | | [optional] [readonly]
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **meta** | **Object** | | [optional]
8
- **links** | **Object** | | [optional]
7
+ **meta** | [**PaginatedCollectionResponseListMeta**](PaginatedCollectionResponseListMeta.md) | | [optional]
8
+ **links** | [**PaginatedCollectionResponseListLinks**](PaginatedCollectionResponseListLinks.md) | | [optional]
9
9
  **data** | [**Array<CollectionResponse>**](CollectionResponse.md) | | [optional]
10
10
 
11
11
  ## Code Sample
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::PaginatedCollectionResponseListLinks
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **first** | **String** | | [optional]
8
+ **previous** | **String** | | [optional]
9
+ **_next** | **String** | | [optional]
10
+ **last** | **String** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::PaginatedCollectionResponseListLinks.new(first: null,
18
+ previous: null,
19
+ _next: null,
20
+ last: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,17 @@
1
+ # PulpAnsibleClient::PaginatedCollectionResponseListMeta
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpAnsibleClient'
13
+
14
+ instance = PulpAnsibleClient::PaginatedCollectionResponseListMeta.new(count: 123)
15
+ ```
16
+
17
+
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **meta** | **Object** | | [optional]
8
- **links** | **Object** | | [optional]
7
+ **meta** | [**PaginatedCollectionResponseListMeta**](PaginatedCollectionResponseListMeta.md) | | [optional]
8
+ **links** | [**PaginatedCollectionResponseListLinks**](PaginatedCollectionResponseListLinks.md) | | [optional]
9
9
  **data** | [**Array<CollectionVersionResponse>**](CollectionVersionResponse.md) | | [optional]
10
10
 
11
11
  ## Code Sample
@@ -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
 
@@ -31,6 +31,7 @@ require 'pulp_ansible_client/models/ansible_role_remote'
31
31
  require 'pulp_ansible_client/models/ansible_role_remote_response'
32
32
  require 'pulp_ansible_client/models/ansible_role_response'
33
33
  require 'pulp_ansible_client/models/ansible_tag_response'
34
+ require 'pulp_ansible_client/models/artifact_ref_response'
34
35
  require 'pulp_ansible_client/models/async_operation_response'
35
36
  require 'pulp_ansible_client/models/collection_import_detail_response'
36
37
  require 'pulp_ansible_client/models/collection_metadata_response'
@@ -49,6 +50,8 @@ require 'pulp_ansible_client/models/galaxy_collection_version_response'
49
50
  require 'pulp_ansible_client/models/galaxy_role_response'
50
51
  require 'pulp_ansible_client/models/galaxy_role_version_response'
51
52
  require 'pulp_ansible_client/models/paginated_collection_response_list'
53
+ require 'pulp_ansible_client/models/paginated_collection_response_list_links'
54
+ require 'pulp_ansible_client/models/paginated_collection_response_list_meta'
52
55
  require 'pulp_ansible_client/models/paginated_collection_version_response_list'
53
56
  require 'pulp_ansible_client/models/paginated_galaxy_collection_response_list'
54
57
  require 'pulp_ansible_client/models/paginated_galaxy_collection_version_response_list'
@@ -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