pulp_ansible_client 0.13.0 → 0.13.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/AnsibleAnsibleRepository.md +1 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +24 -24
  7. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  8. data/docs/PatchedansibleGitRemote.md +28 -28
  9. data/docs/Repair.md +17 -0
  10. data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
  11. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +9 -9
  12. data/lib/pulp_ansible_client/api_client.rb +1 -1
  13. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -1
  14. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -1
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +221 -221
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +133 -133
  17. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -1
  18. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +219 -219
  19. data/lib/pulp_ansible_client/models/{repository_version.rb → repair.rb} +13 -12
  20. data/lib/pulp_ansible_client/version.rb +1 -1
  21. data/lib/pulp_ansible_client.rb +1 -3
  22. data/pulp_ansible_client.gemspec +3 -3
  23. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
  24. data/spec/models/ansible_git_remote_response_spec.rb +17 -17
  25. data/spec/models/ansible_git_remote_spec.rb +17 -17
  26. data/spec/models/patchedansible_git_remote_spec.rb +17 -17
  27. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  28. metadata +110 -119
  29. data/docs/ContentSummary.md +0 -21
  30. data/docs/KeyringEnum.md +0 -16
  31. data/docs/RepositoryVersion.md +0 -17
  32. data/git_push.sh +0 -58
  33. data/lib/pulp_ansible_client/models/content_summary.rb +0 -246
  34. data/lib/pulp_ansible_client/models/keyring_enum.rb +0 -40
  35. data/spec/models/content_summary_spec.rb +0 -53
  36. data/spec/models/keyring_enum_spec.rb +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8475f3f1cf01bd4f2ed8edde01cff3856d03729c5f36111d57c9375f46b2e145
4
- data.tar.gz: 5b22e4bc103bb48557348716ff2ac35167edb15696f44d4cad081a3cf7090ee8
3
+ metadata.gz: b86311928c728078bd3045b406bcc49aae962666b9d5a12aeaa03f5292fb4cdf
4
+ data.tar.gz: 9ebdb477a25a2bef0aa00e2d104712b1bb0ae33ff009b4deae5a49d7c4a6e3ed
5
5
  SHA512:
6
- metadata.gz: 041aab05c4b63a48772b192e2d44f7572005064e75f43315cb9066e839cf6d98b251a82fd14c7a56802b7838af53bf418b97e42feaaeb062406ddf67a0231bba
7
- data.tar.gz: df25394f417a60fc6aa57db1a69336cbd779b515a8284e4ab40bcad6353029dfd2f579d88d74260c221ecdf8c3dddceb22ce4d7cd71fc26ef800afb8c0e203d0
6
+ metadata.gz: 7493760801e319eeb4ac94aacdd9d3313c54022935d6b1b3843a7f05b7cb1d301c6811619155666a9a3e211a62366e71c6dfb246a3703aa28ad17975f46847df
7
+ data.tar.gz: b3f1ad84ba4760003e511f54f45c050e150a150685c28a34543f2dbd4782d31785946ade5f3289d0dae35e279a91e2e3daa0fb750cf2b2229159d49d638d5714
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.13.0
10
+ - Package version: 0.13.4
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.13.0.gem
27
+ gem install ./pulp_ansible_client-0.13.4.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.13.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.13.4.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.13.0'
36
+ gem 'pulp_ansible_client', '~> 0.13.4'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -242,7 +242,6 @@ Class | Method | HTTP request | Description
242
242
  - [PulpAnsibleClient::CollectionVersionDocsResponse](docs/CollectionVersionDocsResponse.md)
243
243
  - [PulpAnsibleClient::CollectionVersionListResponse](docs/CollectionVersionListResponse.md)
244
244
  - [PulpAnsibleClient::CollectionVersionResponse](docs/CollectionVersionResponse.md)
245
- - [PulpAnsibleClient::ContentSummary](docs/ContentSummary.md)
246
245
  - [PulpAnsibleClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
247
246
  - [PulpAnsibleClient::Copy](docs/Copy.md)
248
247
  - [PulpAnsibleClient::GalaxyCollection](docs/GalaxyCollection.md)
@@ -250,7 +249,6 @@ Class | Method | HTTP request | Description
250
249
  - [PulpAnsibleClient::GalaxyCollectionVersionResponse](docs/GalaxyCollectionVersionResponse.md)
251
250
  - [PulpAnsibleClient::GalaxyRoleResponse](docs/GalaxyRoleResponse.md)
252
251
  - [PulpAnsibleClient::GalaxyRoleVersionResponse](docs/GalaxyRoleVersionResponse.md)
253
- - [PulpAnsibleClient::KeyringEnum](docs/KeyringEnum.md)
254
252
  - [PulpAnsibleClient::PaginatedCollectionResponseList](docs/PaginatedCollectionResponseList.md)
255
253
  - [PulpAnsibleClient::PaginatedCollectionResponseListLinks](docs/PaginatedCollectionResponseListLinks.md)
256
254
  - [PulpAnsibleClient::PaginatedCollectionResponseListMeta](docs/PaginatedCollectionResponseListMeta.md)
@@ -276,9 +274,9 @@ Class | Method | HTTP request | Description
276
274
  - [PulpAnsibleClient::PatchedansibleGitRemote](docs/PatchedansibleGitRemote.md)
277
275
  - [PulpAnsibleClient::PatchedansibleRoleRemote](docs/PatchedansibleRoleRemote.md)
278
276
  - [PulpAnsibleClient::PolicyEnum](docs/PolicyEnum.md)
277
+ - [PulpAnsibleClient::Repair](docs/Repair.md)
279
278
  - [PulpAnsibleClient::RepoMetadataResponse](docs/RepoMetadataResponse.md)
280
279
  - [PulpAnsibleClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
281
- - [PulpAnsibleClient::RepositoryVersion](docs/RepositoryVersion.md)
282
280
  - [PulpAnsibleClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
283
281
  - [PulpAnsibleClient::TagResponse](docs/TagResponse.md)
284
282
  - [PulpAnsibleClient::UnpaginatedCollectionVersionResponse](docs/UnpaginatedCollectionVersionResponse.md)
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
13
- **keyring** | [**KeyringEnum**](KeyringEnum.md) | Location of keyring used to verify signatures uploaded to this repository | [optional]
13
+ **keyring** | **String** | Location of keyring used to verify signatures uploaded to this repository | [optional] [default to '']
14
14
 
15
15
  ## Code Sample
16
16
 
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
15
15
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
16
16
  **last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
17
- **keyring** | [**KeyringEnum**](KeyringEnum.md) | Location of keyring used to verify signatures uploaded to this repository | [optional]
17
+ **keyring** | **String** | Location of keyring used to verify signatures uploaded to this repository | [optional] [default to '']
18
18
 
19
19
  ## Code Sample
20
20
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
8
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
9
- **pulp_labels** | [**Object**](.md) | | [optional]
10
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
11
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
7
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
8
+ **sock_read_timeout** | **Float** | 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. | [optional]
9
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
12
10
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
12
+ **name** | **String** | A unique name for this remote. |
13
13
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
15
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
14
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
16
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
16
17
  **sock_connect_timeout** | **Float** | 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. | [optional]
17
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
18
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
19
+ **url** | **String** | The URL of an external content source. |
19
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
21
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
21
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
22
- **sock_read_timeout** | **Float** | 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. | [optional]
22
+ **pulp_labels** | [**Object**](.md) | | [optional]
23
23
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
- **url** | **String** | The URL of an external content source. |
26
- **name** | **String** | A unique name for this remote. |
24
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
27
27
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
28
28
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
29
29
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::AnsibleGitRemote.new(tls_validation: null,
36
- proxy_password: null,
37
- pulp_labels: null,
38
- max_retries: null,
39
- total_timeout: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(client_key: null,
36
+ sock_read_timeout: null,
37
+ username: null,
40
38
  proxy_url: null,
39
+ total_timeout: null,
40
+ name: null,
41
41
  ca_cert: null,
42
- client_key: null,
43
- rate_limit: null,
42
+ proxy_username: null,
43
+ max_retries: null,
44
+ proxy_password: null,
44
45
  sock_connect_timeout: null,
45
- headers: null,
46
- username: null,
46
+ connect_timeout: null,
47
+ url: null,
47
48
  download_concurrency: null,
48
49
  password: null,
49
- proxy_username: null,
50
- sock_read_timeout: null,
50
+ pulp_labels: null,
51
51
  client_cert: null,
52
- connect_timeout: null,
53
- url: null,
54
- name: null,
52
+ rate_limit: null,
53
+ headers: null,
54
+ tls_validation: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,24 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **pulp_labels** | [**Object**](.md) | | [optional]
10
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
11
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
7
+ **sock_read_timeout** | **Float** | 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. | [optional]
12
8
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
9
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
10
+ **name** | **String** | A unique name for this remote. |
13
11
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
12
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
15
13
  **sock_connect_timeout** | **Float** | 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. | [optional]
16
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
14
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
15
+ **url** | **String** | The URL of an external content source. |
17
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
17
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
18
18
  **pulp_href** | **String** | | [optional] [readonly]
19
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
20
- **sock_read_timeout** | **Float** | 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. | [optional]
19
+ **pulp_labels** | [**Object**](.md) | | [optional]
21
20
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
- **url** | **String** | The URL of an external content source. |
24
- **name** | **String** | A unique name for this remote. |
21
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
22
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
23
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
24
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
25
25
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
26
26
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
27
27
 
@@ -30,24 +30,24 @@ Name | Type | Description | Notes
30
30
  ```ruby
31
31
  require 'PulpAnsibleClient'
32
32
 
33
- instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(tls_validation: null,
34
- pulp_created: null,
35
- pulp_labels: null,
36
- max_retries: null,
37
- total_timeout: null,
33
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(sock_read_timeout: null,
38
34
  proxy_url: null,
35
+ total_timeout: null,
36
+ name: null,
39
37
  ca_cert: null,
40
- rate_limit: null,
38
+ max_retries: null,
41
39
  sock_connect_timeout: null,
42
- headers: null,
40
+ connect_timeout: null,
41
+ url: null,
43
42
  download_concurrency: null,
43
+ pulp_created: null,
44
44
  pulp_href: null,
45
- pulp_last_updated: null,
46
- sock_read_timeout: null,
45
+ pulp_labels: null,
47
46
  client_cert: null,
48
- connect_timeout: null,
49
- url: null,
50
- name: null,
47
+ rate_limit: null,
48
+ headers: null,
49
+ tls_validation: null,
50
+ pulp_last_updated: null,
51
51
  metadata_only: null,
52
52
  git_ref: null)
53
53
  ```
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
13
- **keyring** | [**KeyringEnum**](KeyringEnum.md) | Location of keyring used to verify signatures uploaded to this repository | [optional]
13
+ **keyring** | **String** | Location of keyring used to verify signatures uploaded to this repository | [optional] [default to '']
14
14
 
15
15
  ## Code Sample
16
16
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
8
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
9
- **pulp_labels** | [**Object**](.md) | | [optional]
10
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
11
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
7
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
8
+ **sock_read_timeout** | **Float** | 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. | [optional]
9
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
12
10
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
12
+ **name** | **String** | A unique name for this remote. | [optional]
13
13
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
15
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
14
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
16
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
16
17
  **sock_connect_timeout** | **Float** | 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. | [optional]
17
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
18
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
19
+ **url** | **String** | The URL of an external content source. | [optional]
19
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
21
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
21
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
22
- **sock_read_timeout** | **Float** | 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. | [optional]
22
+ **pulp_labels** | [**Object**](.md) | | [optional]
23
23
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
- **url** | **String** | The URL of an external content source. | [optional]
26
- **name** | **String** | A unique name for this remote. | [optional]
24
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
27
27
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
28
28
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
29
29
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(tls_validation: null,
36
- proxy_password: null,
37
- pulp_labels: null,
38
- max_retries: null,
39
- total_timeout: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(client_key: null,
36
+ sock_read_timeout: null,
37
+ username: null,
40
38
  proxy_url: null,
39
+ total_timeout: null,
40
+ name: null,
41
41
  ca_cert: null,
42
- client_key: null,
43
- rate_limit: null,
42
+ proxy_username: null,
43
+ max_retries: null,
44
+ proxy_password: null,
44
45
  sock_connect_timeout: null,
45
- headers: null,
46
- username: null,
46
+ connect_timeout: null,
47
+ url: null,
47
48
  download_concurrency: null,
48
49
  password: null,
49
- proxy_username: null,
50
- sock_read_timeout: null,
50
+ pulp_labels: null,
51
51
  client_cert: null,
52
- connect_timeout: null,
53
- url: null,
54
- name: null,
52
+ rate_limit: null,
53
+ headers: null,
54
+ tls_validation: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
data/docs/Repair.md ADDED
@@ -0,0 +1,17 @@
1
+ # PulpAnsibleClient::Repair
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpAnsibleClient'
13
+
14
+ instance = PulpAnsibleClient::Repair.new(verify_checksums: null)
15
+ ```
16
+
17
+
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
218
218
 
219
219
  ## repair
220
220
 
221
- > AsyncOperationResponse repair(ansible_ansible_repository_version_href, repository_version)
221
+ > AsyncOperationResponse repair(ansible_ansible_repository_version_href, repair)
222
222
 
223
223
 
224
224
 
@@ -238,10 +238,10 @@ end
238
238
 
239
239
  api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
240
240
  ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
241
- repository_version = PulpAnsibleClient::RepositoryVersion.new # RepositoryVersion |
241
+ repair = PulpAnsibleClient::Repair.new # Repair |
242
242
 
243
243
  begin
244
- result = api_instance.repair(ansible_ansible_repository_version_href, repository_version)
244
+ result = api_instance.repair(ansible_ansible_repository_version_href, repair)
245
245
  p result
246
246
  rescue PulpAnsibleClient::ApiError => e
247
247
  puts "Exception when calling RepositoriesAnsibleVersionsApi->repair: #{e}"
@@ -254,7 +254,7 @@ end
254
254
  Name | Type | Description | Notes
255
255
  ------------- | ------------- | ------------- | -------------
256
256
  **ansible_ansible_repository_version_href** | **String**| |
257
- **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
257
+ **repair** | [**Repair**](Repair.md)| |
258
258
 
259
259
  ### Return type
260
260
 
@@ -270,20 +270,20 @@ module PulpAnsibleClient
270
270
 
271
271
  # Trigger an asynchronous task to repair a repository version.
272
272
  # @param ansible_ansible_repository_version_href [String]
273
- # @param repository_version [RepositoryVersion]
273
+ # @param repair [Repair]
274
274
  # @param [Hash] opts the optional parameters
275
275
  # @return [AsyncOperationResponse]
276
- def repair(ansible_ansible_repository_version_href, repository_version, opts = {})
277
- data, _status_code, _headers = repair_with_http_info(ansible_ansible_repository_version_href, repository_version, opts)
276
+ def repair(ansible_ansible_repository_version_href, repair, opts = {})
277
+ data, _status_code, _headers = repair_with_http_info(ansible_ansible_repository_version_href, repair, opts)
278
278
  data
279
279
  end
280
280
 
281
281
  # Trigger an asynchronous task to repair a repository version.
282
282
  # @param ansible_ansible_repository_version_href [String]
283
- # @param repository_version [RepositoryVersion]
283
+ # @param repair [Repair]
284
284
  # @param [Hash] opts the optional parameters
285
285
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
286
- def repair_with_http_info(ansible_ansible_repository_version_href, repository_version, opts = {})
286
+ def repair_with_http_info(ansible_ansible_repository_version_href, repair, opts = {})
287
287
  if @api_client.config.debugging
288
288
  @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleVersionsApi.repair ...'
289
289
  end
@@ -291,9 +291,9 @@ module PulpAnsibleClient
291
291
  if @api_client.config.client_side_validation && ansible_ansible_repository_version_href.nil?
292
292
  fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_version_href' when calling RepositoriesAnsibleVersionsApi.repair"
293
293
  end
294
- # verify the required parameter 'repository_version' is set
295
- if @api_client.config.client_side_validation && repository_version.nil?
296
- fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesAnsibleVersionsApi.repair"
294
+ # verify the required parameter 'repair' is set
295
+ if @api_client.config.client_side_validation && repair.nil?
296
+ fail ArgumentError, "Missing the required parameter 'repair' when calling RepositoriesAnsibleVersionsApi.repair"
297
297
  end
298
298
  # resource path
299
299
  local_var_path = '{ansible_ansible_repository_version_href}repair/'.sub('{' + 'ansible_ansible_repository_version_href' + '}', CGI.escape(ansible_ansible_repository_version_href.to_s).gsub('%2F', '/'))
@@ -312,7 +312,7 @@ module PulpAnsibleClient
312
312
  form_params = opts[:form_params] || {}
313
313
 
314
314
  # http body (model)
315
- post_body = opts[:body] || @api_client.object_to_http_body(repository_version)
315
+ post_body = opts[:body] || @api_client.object_to_http_body(repair)
316
316
 
317
317
  # return_type
318
318
  return_type = opts[:return_type] || 'AsyncOperationResponse'
@@ -154,7 +154,7 @@ module PulpAnsibleClient
154
154
  case value
155
155
  when ::File, ::Tempfile
156
156
  # TODO hardcode to application/octet-stream, need better way to detect content type
157
- data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
157
+ data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
158
158
  when ::Array, nil
159
159
  # let Faraday handle Array and nil parameters
160
160
  data[key] = value
@@ -57,7 +57,7 @@ module PulpAnsibleClient
57
57
  :'retain_repo_versions' => :'Integer',
58
58
  :'remote' => :'String',
59
59
  :'last_synced_metadata_time' => :'DateTime',
60
- :'keyring' => :'KeyringEnum'
60
+ :'keyring' => :'String'
61
61
  }
62
62
  end
63
63
 
@@ -112,6 +112,8 @@ module PulpAnsibleClient
112
112
 
113
113
  if attributes.key?(:'keyring')
114
114
  self.keyring = attributes[:'keyring']
115
+ else
116
+ self.keyring = ''
115
117
  end
116
118
  end
117
119
 
@@ -74,7 +74,7 @@ module PulpAnsibleClient
74
74
  :'retain_repo_versions' => :'Integer',
75
75
  :'remote' => :'String',
76
76
  :'last_synced_metadata_time' => :'DateTime',
77
- :'keyring' => :'KeyringEnum'
77
+ :'keyring' => :'String'
78
78
  }
79
79
  end
80
80
 
@@ -145,6 +145,8 @@ module PulpAnsibleClient
145
145
 
146
146
  if attributes.key?(:'keyring')
147
147
  self.keyring = attributes[:'keyring']
148
+ else
149
+ self.keyring = ''
148
150
  end
149
151
  end
150
152