pulp_ansible_client 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) 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/AnsibleCollectionVersion.md +3 -3
  6. data/docs/AnsibleGitRemote.md +26 -26
  7. data/docs/AnsibleGitRemoteResponse.md +24 -24
  8. data/docs/ContentCollectionVersionsApi.md +3 -3
  9. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  10. data/docs/PatchedansibleGitRemote.md +26 -26
  11. data/docs/Repair.md +17 -0
  12. data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
  13. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  14. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +9 -9
  15. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -1
  16. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -1
  17. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  18. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -220
  19. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
  20. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -1
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +215 -215
  22. data/lib/pulp_ansible_client/models/{repository_version.rb → repair.rb} +13 -12
  23. data/lib/pulp_ansible_client/version.rb +1 -1
  24. data/lib/pulp_ansible_client.rb +1 -3
  25. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  26. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
  27. data/spec/models/ansible_collection_version_spec.rb +2 -2
  28. data/spec/models/ansible_git_remote_response_spec.rb +17 -17
  29. data/spec/models/ansible_git_remote_spec.rb +19 -19
  30. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  31. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  32. metadata +102 -110
  33. data/docs/ContentSummary.md +0 -21
  34. data/docs/KeyringEnum.md +0 -16
  35. data/docs/RepositoryVersion.md +0 -17
  36. data/lib/pulp_ansible_client/models/content_summary.rb +0 -246
  37. data/lib/pulp_ansible_client/models/keyring_enum.rb +0 -40
  38. data/spec/models/content_summary_spec.rb +0 -53
  39. 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: 297351ea35d3c41b3c304786b711403d56353dadfb6cc2761209665aa3e67f21
4
+ data.tar.gz: b52bb4decc376309b13386eca1ee8fa1daf666551c0203b693ed23d3856ee1aa
5
5
  SHA512:
6
- metadata.gz: 041aab05c4b63a48772b192e2d44f7572005064e75f43315cb9066e839cf6d98b251a82fd14c7a56802b7838af53bf418b97e42feaaeb062406ddf67a0231bba
7
- data.tar.gz: df25394f417a60fc6aa57db1a69336cbd779b515a8284e4ab40bcad6353029dfd2f579d88d74260c221ecdf8c3dddceb22ce4d7cd71fc26ef800afb8c0e203d0
6
+ metadata.gz: d916cfc9fe53ece1017e9fb6ee2c9d88514bd6b141ec0a665e5848a6025c15c91df9944f4da5eb7e8700b68ad0c4e1ec11e1649c664b6cee90c12804a01f3af3
7
+ data.tar.gz: 1c02f1acb3b0c6d931ccd3e447df852d68956f1e0af8f95700e3a050f843cba82de271f04a261e070e5600c930be1440bcfc53fc3f85008ffc35aea0687b3247
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.1
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.1.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.1.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.1'
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,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
8
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
9
9
  **name** | **String** | The name of the collection. |
10
10
  **namespace** | **String** | The namespace of the collection. |
11
11
  **version** | **String** | The version of the collection. |
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpAnsibleClient'
17
17
 
18
- instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
19
- repository: null,
18
+ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
19
+ file: null,
20
20
  name: null,
21
21
  namespace: null,
22
22
  version: null)
@@ -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]
7
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
8
+ **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]
9
+ **name** | **String** | A unique name for this remote. |
10
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
9
11
  **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
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]
14
+ **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]
15
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
10
16
  **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]
12
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
13
17
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
18
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
14
19
  **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]
16
- **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]
19
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
- **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]
23
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
21
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
22
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
24
23
  **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]
24
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
25
25
  **url** | **String** | The URL of an external content source. |
26
- **name** | **String** | A unique name for this remote. |
26
+ **password** | **String** | The password to be used for authentication when syncing. | [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,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_url: null,
36
+ total_timeout: null,
37
+ name: null,
38
+ headers: null,
37
39
  pulp_labels: null,
40
+ client_cert: null,
41
+ sock_connect_timeout: null,
42
+ sock_read_timeout: null,
43
+ proxy_password: null,
38
44
  max_retries: null,
39
- total_timeout: null,
40
- proxy_url: null,
41
45
  ca_cert: null,
46
+ tls_validation: null,
42
47
  client_key: null,
43
- rate_limit: null,
44
- sock_connect_timeout: null,
45
- headers: null,
46
- username: null,
47
48
  download_concurrency: null,
48
- password: null,
49
- proxy_username: null,
50
- sock_read_timeout: null,
51
- client_cert: null,
49
+ username: null,
50
+ rate_limit: null,
52
51
  connect_timeout: null,
52
+ proxy_username: null,
53
53
  url: null,
54
- name: null,
54
+ password: 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]
7
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
8
+ **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]
9
+ **name** | **String** | A unique name for this remote. |
10
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
9
11
  **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
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]
14
+ **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]
15
+ **pulp_href** | **String** | | [optional] [readonly]
10
16
  **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]
12
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
13
17
  **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]
15
- **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]
18
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
17
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
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]
21
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
20
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
22
21
  **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]
22
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
23
23
  **url** | **String** | The URL of an external content source. |
24
- **name** | **String** | A unique name for this remote. |
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,
33
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(proxy_url: null,
34
+ total_timeout: null,
35
+ name: null,
36
+ headers: null,
35
37
  pulp_labels: null,
38
+ client_cert: null,
39
+ sock_connect_timeout: null,
40
+ sock_read_timeout: null,
41
+ pulp_href: null,
36
42
  max_retries: null,
37
- total_timeout: null,
38
- proxy_url: null,
39
43
  ca_cert: null,
40
- rate_limit: null,
41
- sock_connect_timeout: null,
42
- headers: null,
44
+ tls_validation: null,
43
45
  download_concurrency: null,
44
- pulp_href: null,
45
- pulp_last_updated: null,
46
- sock_read_timeout: null,
47
- client_cert: null,
46
+ rate_limit: null,
48
47
  connect_timeout: null,
48
+ pulp_created: null,
49
49
  url: null,
50
- name: null,
50
+ pulp_last_updated: null,
51
51
  metadata_only: null,
52
52
  git_ref: null)
53
53
  ```
@@ -35,8 +35,8 @@ name = 'name_example' # String | The name of the collection.
35
35
  namespace = 'namespace_example' # String | The namespace of the collection.
36
36
  version = 'version_example' # String | The version of the collection.
37
37
  opts = {
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
38
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ file: File.new('/path/to/file') # File | An uploaded file that may be turned into the artifact of the content unit.
40
40
  }
41
41
 
42
42
  begin
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
56
56
  **name** | **String**| The name of the collection. |
57
57
  **namespace** | **String**| The namespace of the collection. |
58
58
  **version** | **String**| The version of the collection. |
59
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
60
59
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
60
+ **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
61
61
 
62
62
  ### Return type
63
63
 
@@ -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]
7
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
8
+ **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]
9
+ **name** | **String** | A unique name for this remote. | [optional]
10
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
9
11
  **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
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]
14
+ **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]
15
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
10
16
  **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]
12
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
13
17
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
18
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
14
19
  **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]
16
- **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]
19
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
- **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]
23
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
21
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
22
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
24
23
  **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]
24
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
25
25
  **url** | **String** | The URL of an external content source. | [optional]
26
- **name** | **String** | A unique name for this remote. | [optional]
26
+ **password** | **String** | The password to be used for authentication when syncing. | [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,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_url: null,
36
+ total_timeout: null,
37
+ name: null,
38
+ headers: null,
37
39
  pulp_labels: null,
40
+ client_cert: null,
41
+ sock_connect_timeout: null,
42
+ sock_read_timeout: null,
43
+ proxy_password: null,
38
44
  max_retries: null,
39
- total_timeout: null,
40
- proxy_url: null,
41
45
  ca_cert: null,
46
+ tls_validation: null,
42
47
  client_key: null,
43
- rate_limit: null,
44
- sock_connect_timeout: null,
45
- headers: null,
46
- username: null,
47
48
  download_concurrency: null,
48
- password: null,
49
- proxy_username: null,
50
- sock_read_timeout: null,
51
- client_cert: null,
49
+ username: null,
50
+ rate_limit: null,
52
51
  connect_timeout: null,
52
+ proxy_username: null,
53
53
  url: null,
54
- name: null,
54
+ password: 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
 
@@ -25,8 +25,8 @@ module PulpAnsibleClient
25
25
  # @param namespace [String] The namespace of the collection.
26
26
  # @param version [String] The version of the collection.
27
27
  # @param [Hash] opts the optional parameters
28
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
29
28
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
30
30
  # @return [AsyncOperationResponse]
31
31
  def create(name, namespace, version, opts = {})
32
32
  data, _status_code, _headers = create_with_http_info(name, namespace, version, opts)
@@ -39,8 +39,8 @@ module PulpAnsibleClient
39
39
  # @param namespace [String] The namespace of the collection.
40
40
  # @param version [String] The version of the collection.
41
41
  # @param [Hash] opts the optional parameters
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
44
44
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
45
45
  def create_with_http_info(name, namespace, version, opts = {})
46
46
  if @api_client.config.debugging
@@ -100,8 +100,8 @@ module PulpAnsibleClient
100
100
  form_params['name'] = name
101
101
  form_params['namespace'] = namespace
102
102
  form_params['version'] = version
103
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
104
103
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
104
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
105
105
 
106
106
  # http body (model)
107
107
  post_body = opts[:body]
@@ -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'
@@ -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
 
@@ -15,12 +15,12 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uploaded file that may be turned into the artifact of the content unit.
19
- attr_accessor :file
20
-
21
18
  # A URI of a repository the new content unit should be associated with.
22
19
  attr_accessor :repository
23
20
 
21
+ # An uploaded file that may be turned into the artifact of the content unit.
22
+ attr_accessor :file
23
+
24
24
  # The name of the collection.
25
25
  attr_accessor :name
26
26
 
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'file' => :'file',
37
36
  :'repository' => :'repository',
37
+ :'file' => :'file',
38
38
  :'name' => :'name',
39
39
  :'namespace' => :'namespace',
40
40
  :'version' => :'version'
@@ -44,8 +44,8 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'file' => :'File',
48
47
  :'repository' => :'String',
48
+ :'file' => :'File',
49
49
  :'name' => :'String',
50
50
  :'namespace' => :'String',
51
51
  :'version' => :'String'
@@ -73,14 +73,14 @@ module PulpAnsibleClient
73
73
  h[k.to_sym] = v
74
74
  }
75
75
 
76
- if attributes.key?(:'file')
77
- self.file = attributes[:'file']
78
- end
79
-
80
76
  if attributes.key?(:'repository')
81
77
  self.repository = attributes[:'repository']
82
78
  end
83
79
 
80
+ if attributes.key?(:'file')
81
+ self.file = attributes[:'file']
82
+ end
83
+
84
84
  if attributes.key?(:'name')
85
85
  self.name = attributes[:'name']
86
86
  end
@@ -211,8 +211,8 @@ module PulpAnsibleClient
211
211
  def ==(o)
212
212
  return true if self.equal?(o)
213
213
  self.class == o.class &&
214
- file == o.file &&
215
214
  repository == o.repository &&
215
+ file == o.file &&
216
216
  name == o.name &&
217
217
  namespace == o.namespace &&
218
218
  version == o.version
@@ -227,7 +227,7 @@ module PulpAnsibleClient
227
227
  # Calculates hash code according to all attributes.
228
228
  # @return [Integer] Hash code
229
229
  def hash
230
- [file, repository, name, namespace, version].hash
230
+ [repository, file, name, namespace, version].hash
231
231
  end
232
232
 
233
233
  # Builds the object from hash