pulp_ansible_client 0.22.3 → 0.22.5

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +5 -5
  4. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  5. data/docs/AnsibleGitRemote.md +26 -26
  6. data/docs/AnsibleGitRemoteResponse.md +24 -24
  7. data/docs/AnsibleRoleResponse.md +4 -4
  8. data/docs/ContentCollectionVersionsApi.md +4 -4
  9. data/docs/PatchedansibleGitRemote.md +26 -26
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  11. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  12. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  13. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  14. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +234 -234
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +150 -150
  17. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  18. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  19. data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
  20. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +230 -230
  22. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  23. data/lib/pulp_ansible_client/version.rb +1 -1
  24. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  25. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  26. data/spec/models/ansible_collection_version_spec.rb +4 -4
  27. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  28. data/spec/models/ansible_git_remote_spec.rb +20 -20
  29. data/spec/models/ansible_role_response_spec.rb +3 -3
  30. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  31. metadata +133 -133
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3eac8d2c03ba9d7af283eb866538d211eb2b3ebe9a0b08718bec855f3edbe0b
4
- data.tar.gz: f0bb818049719921355e018bfd9bbab01dbfab074dbfcc942023002192e08896
3
+ metadata.gz: 4b58e26ad2798f3bec4fddf1bb799ba46bcc103ee14a641f2557b3d92dc46cb5
4
+ data.tar.gz: 8db91d024cfd95ee7daf713eedec4e649876d58b85aa86dc670c60da8d4d413b
5
5
  SHA512:
6
- metadata.gz: 0b831838105e8424505aaf0c13f6765136896344258870aae24e8b1830baf72c360a6be04bf8a5192ee9ddd3f80e83c3c094249c8814c3642ea2435195dd88ce
7
- data.tar.gz: e568d0f7df364e806bc2b0d4129750868d68c8146d8ffa364e7d91eb6ea51d61cd671965c8a11c980e86a4323a2c2b4a49cfeaf28e21e043d1354ba130d03f98
6
+ metadata.gz: 24c7a61c4be67f962a768fe1968395abd5729ab12f44aaea4354f15e2d39ff4c395ad68c38d17ca68c2beb940c6413601ae1274bf286de6ebfedabb82e91b3b4
7
+ data.tar.gz: 2356f0915f11e90946aa73401eed3320b9885500a1708f4a0da60fa0bb4a3c48f069c714d108056ac78f215992ceb7e2f9892eaed0df090324e11fb59599d362
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.22.3
10
+ - Package version: 0.22.5
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_ansible_client-0.22.3.gem
27
+ gem install ./pulp_ansible_client-0.22.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.22.3.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.22.5.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_ansible_client', '~> 0.22.3'
36
+ gem 'pulp_ansible_client', '~> 0.22.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content | [optional]
8
7
  **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
9
- **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
8
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
10
9
  **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
10
+ **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
11
11
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
12
12
  **expected_name** | **String** | The name of the collection. | [optional]
13
13
  **expected_namespace** | **String** | The namespace of the collection. | [optional]
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpAnsibleClient'
20
20
 
21
- instance = PulpAnsibleClient::AnsibleCollectionVersion.new(artifact: null,
22
- file: null,
23
- file_url: null,
21
+ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
22
+ artifact: null,
24
23
  upload: null,
24
+ file_url: null,
25
25
  repository: null,
26
26
  expected_name: null,
27
27
  expected_namespace: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content | [optional]
7
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
8
8
  **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
10
11
  **pulp_href** | **String** | | [optional] [readonly]
11
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
12
12
  **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
13
13
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
14
14
  **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
@@ -39,11 +39,11 @@ Name | Type | Description | Notes
39
39
  ```ruby
40
40
  require 'PulpAnsibleClient'
41
41
 
42
- instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
42
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(prn: null,
43
43
  pulp_last_updated: null,
44
44
  pulp_created: null,
45
+ artifact: null,
45
46
  pulp_href: null,
46
- prn: null,
47
47
  sha256: null,
48
48
  md5: null,
49
49
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
8
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
9
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
7
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
10
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **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
11
  **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]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
- **name** | **String** | A unique name for this remote. |
15
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
- **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]
17
- **url** | **String** | The URL of an external content source. |
18
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
12
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
13
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
19
14
  **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]
20
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
21
- **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]
15
+ **name** | **String** | A unique name for this remote. |
22
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]
23
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
24
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
17
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
19
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
20
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
21
  **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
22
+ **url** | **String** | The URL of an external content source. |
26
23
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
26
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [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(download_concurrency: null,
36
- username: null,
37
- tls_validation: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_url: null,
38
36
  pulp_labels: null,
39
37
  ca_cert: null,
38
+ total_timeout: null,
40
39
  sock_read_timeout: null,
41
- client_key: null,
42
- name: null,
43
- proxy_url: null,
44
- connect_timeout: null,
45
- url: null,
46
- rate_limit: null,
40
+ username: null,
41
+ client_cert: null,
47
42
  sock_connect_timeout: null,
48
- proxy_password: null,
49
- total_timeout: null,
43
+ name: null,
50
44
  max_retries: null,
51
- proxy_username: null,
52
- client_cert: null,
45
+ download_concurrency: null,
46
+ proxy_password: null,
47
+ rate_limit: null,
48
+ tls_validation: null,
53
49
  password: null,
50
+ url: null,
54
51
  headers: null,
52
+ connect_timeout: null,
53
+ client_key: null,
54
+ proxy_username: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
8
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
7
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
9
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
9
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **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]
11
11
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
12
12
  **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]
13
- **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
14
- **name** | **String** | A unique name for this remote. |
15
- **pulp_href** | **String** | | [optional] [readonly]
16
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
17
- **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]
18
- **url** | **String** | The URL of an external content source. |
19
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
20
- **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]
21
- **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]
13
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
22
14
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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
+ **name** | **String** | A unique name for this remote. |
17
+ **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
23
18
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
24
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
25
19
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
20
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
21
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
22
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
23
+ **url** | **String** | The URL of an external content source. |
26
24
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
25
+ **pulp_href** | **String** | | [optional] [readonly]
26
+ **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]
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::AnsibleGitRemoteResponse.new(download_concurrency: null,
36
- tls_validation: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(proxy_url: null,
37
36
  pulp_labels: null,
38
37
  ca_cert: null,
38
+ total_timeout: null,
39
39
  pulp_last_updated: null,
40
40
  sock_read_timeout: null,
41
- hidden_fields: null,
42
- name: null,
43
- pulp_href: null,
44
- proxy_url: null,
45
- connect_timeout: null,
46
- url: null,
47
- rate_limit: null,
48
- sock_connect_timeout: null,
49
- total_timeout: null,
41
+ client_cert: null,
50
42
  pulp_created: null,
43
+ sock_connect_timeout: null,
44
+ name: null,
45
+ hidden_fields: null,
51
46
  max_retries: null,
52
- client_cert: null,
53
47
  prn: null,
48
+ download_concurrency: null,
49
+ rate_limit: null,
50
+ tls_validation: null,
51
+ url: null,
54
52
  headers: null,
53
+ pulp_href: null,
54
+ connect_timeout: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content |
7
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
8
8
  **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
+ **artifact** | **String** | Artifact file representing the physical content |
10
11
  **pulp_href** | **String** | | [optional] [readonly]
11
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
12
12
  **version** | **String** | |
13
13
  **name** | **String** | |
14
14
  **namespace** | **String** | |
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpAnsibleClient'
20
20
 
21
- instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
21
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(prn: null,
22
22
  pulp_last_updated: null,
23
23
  pulp_created: null,
24
+ artifact: null,
24
25
  pulp_href: null,
25
- prn: null,
26
26
  version: null,
27
27
  name: null,
28
28
  namespace: null)
@@ -32,10 +32,10 @@ end
32
32
 
33
33
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
34
34
  opts = {
35
- artifact: 'artifact_example', # String | Artifact file representing the physical content
36
35
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
37
- file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
36
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
38
37
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
39
39
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
40
40
  expected_name: 'expected_name_example', # String | The name of the collection.
41
41
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
@@ -56,10 +56,10 @@ end
56
56
 
57
57
  Name | Type | Description | Notes
58
58
  ------------- | ------------- | ------------- | -------------
59
- **artifact** | **String**| Artifact file representing the physical content | [optional]
60
59
  **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
61
- **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
60
+ **artifact** | **String**| Artifact file representing the physical content | [optional]
62
61
  **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
62
+ **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
63
63
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
64
64
  **expected_name** | **String**| The name of the collection. | [optional]
65
65
  **expected_namespace** | **String**| The namespace of the collection. | [optional]
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
8
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
9
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
7
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
10
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **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
11
  **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]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
- **name** | **String** | A unique name for this remote. | [optional]
15
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
- **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]
17
- **url** | **String** | The URL of an external content source. | [optional]
18
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
12
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
13
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
19
14
  **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]
20
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
21
- **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]
15
+ **name** | **String** | A unique name for this remote. | [optional]
22
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]
23
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
24
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
17
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
19
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
20
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
21
  **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
22
+ **url** | **String** | The URL of an external content source. | [optional]
26
23
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
26
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [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(download_concurrency: null,
36
- username: null,
37
- tls_validation: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_url: null,
38
36
  pulp_labels: null,
39
37
  ca_cert: null,
38
+ total_timeout: null,
40
39
  sock_read_timeout: null,
41
- client_key: null,
42
- name: null,
43
- proxy_url: null,
44
- connect_timeout: null,
45
- url: null,
46
- rate_limit: null,
40
+ username: null,
41
+ client_cert: null,
47
42
  sock_connect_timeout: null,
48
- proxy_password: null,
49
- total_timeout: null,
43
+ name: null,
50
44
  max_retries: null,
51
- proxy_username: null,
52
- client_cert: null,
45
+ download_concurrency: null,
46
+ proxy_password: null,
47
+ rate_limit: null,
48
+ tls_validation: null,
53
49
  password: null,
50
+ url: null,
54
51
  headers: null,
52
+ connect_timeout: null,
53
+ client_key: null,
54
+ proxy_username: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -22,10 +22,10 @@ module PulpAnsibleClient
22
22
  # Create a collection version
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :artifact Artifact file representing the physical content
26
25
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
26
+ # @option opts [String] :artifact Artifact file representing the physical content
28
27
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
28
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
29
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
30
30
  # @option opts [String] :expected_name The name of the collection.
31
31
  # @option opts [String] :expected_namespace The namespace of the collection.
@@ -39,10 +39,10 @@ module PulpAnsibleClient
39
39
  # Create a collection version
40
40
  # Trigger an asynchronous task to create content,optionally create new repository version.
41
41
  # @param [Hash] opts the optional parameters
42
- # @option opts [String] :artifact Artifact file representing the physical content
43
42
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
44
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
43
+ # @option opts [String] :artifact Artifact file representing the physical content
45
44
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
46
46
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
47
47
  # @option opts [String] :expected_name The name of the collection.
48
48
  # @option opts [String] :expected_namespace The namespace of the collection.
@@ -95,10 +95,10 @@ module PulpAnsibleClient
95
95
 
96
96
  # form parameters
97
97
  form_params = opts[:form_params] || {}
98
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
99
98
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
100
- form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
99
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
101
100
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
101
+ form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
102
102
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
103
103
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
104
104
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
@@ -364,20 +364,20 @@ module PulpAnsibleClient
364
364
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
365
365
  end
366
366
 
367
- if !@total_timeout.nil? && @total_timeout < 0
368
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
367
+ if !@total_timeout.nil? && @total_timeout < 0.0
368
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
369
369
  end
370
370
 
371
- if !@connect_timeout.nil? && @connect_timeout < 0
372
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
371
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
372
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
373
373
  end
374
374
 
375
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
376
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
375
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
376
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
377
377
  end
378
378
 
379
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
380
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
379
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
380
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
381
381
  end
382
382
 
383
383
  if !@requirements_file.nil? && @requirements_file.to_s.length < 1
@@ -419,10 +419,10 @@ module PulpAnsibleClient
419
419
  return false if !@username.nil? && @username.to_s.length < 1
420
420
  return false if !@password.nil? && @password.to_s.length < 1
421
421
  return false if !@download_concurrency.nil? && @download_concurrency < 1
422
- return false if !@total_timeout.nil? && @total_timeout < 0
423
- return false if !@connect_timeout.nil? && @connect_timeout < 0
424
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
425
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
422
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
423
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
424
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
425
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
426
426
  return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
427
427
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
428
428
  return false if !@auth_url.nil? && @auth_url.to_s.length < 1
@@ -552,8 +552,8 @@ module PulpAnsibleClient
552
552
  # Custom attribute writer method with validation
553
553
  # @param [Object] total_timeout Value to be assigned
554
554
  def total_timeout=(total_timeout)
555
- if !total_timeout.nil? && total_timeout < 0
556
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
555
+ if !total_timeout.nil? && total_timeout < 0.0
556
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
557
557
  end
558
558
 
559
559
  @total_timeout = total_timeout
@@ -562,8 +562,8 @@ module PulpAnsibleClient
562
562
  # Custom attribute writer method with validation
563
563
  # @param [Object] connect_timeout Value to be assigned
564
564
  def connect_timeout=(connect_timeout)
565
- if !connect_timeout.nil? && connect_timeout < 0
566
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
565
+ if !connect_timeout.nil? && connect_timeout < 0.0
566
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
567
567
  end
568
568
 
569
569
  @connect_timeout = connect_timeout
@@ -572,8 +572,8 @@ module PulpAnsibleClient
572
572
  # Custom attribute writer method with validation
573
573
  # @param [Object] sock_connect_timeout Value to be assigned
574
574
  def sock_connect_timeout=(sock_connect_timeout)
575
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
576
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
575
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
576
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
577
577
  end
578
578
 
579
579
  @sock_connect_timeout = sock_connect_timeout
@@ -582,8 +582,8 @@ module PulpAnsibleClient
582
582
  # Custom attribute writer method with validation
583
583
  # @param [Object] sock_read_timeout Value to be assigned
584
584
  def sock_read_timeout=(sock_read_timeout)
585
- if !sock_read_timeout.nil? && sock_read_timeout < 0
586
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
585
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
586
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
587
587
  end
588
588
 
589
589
  @sock_read_timeout = sock_read_timeout
@@ -318,20 +318,20 @@ module PulpAnsibleClient
318
318
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
319
319
  end
320
320
 
321
- if !@total_timeout.nil? && @total_timeout < 0
322
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
321
+ if !@total_timeout.nil? && @total_timeout < 0.0
322
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
323
323
  end
324
324
 
325
- if !@connect_timeout.nil? && @connect_timeout < 0
326
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
325
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
326
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
327
327
  end
328
328
 
329
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
330
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
329
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
330
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
331
331
  end
332
332
 
333
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
334
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
333
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
334
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
335
335
  end
336
336
 
337
337
  if !@auth_url.nil? && @auth_url.to_s.length > 255
@@ -347,10 +347,10 @@ module PulpAnsibleClient
347
347
  return false if @name.nil?
348
348
  return false if @url.nil?
349
349
  return false if !@download_concurrency.nil? && @download_concurrency < 1
350
- return false if !@total_timeout.nil? && @total_timeout < 0
351
- return false if !@connect_timeout.nil? && @connect_timeout < 0
352
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
353
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
350
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
351
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
352
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
353
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
354
354
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
355
355
  true
356
356
  end
@@ -368,8 +368,8 @@ module PulpAnsibleClient
368
368
  # Custom attribute writer method with validation
369
369
  # @param [Object] total_timeout Value to be assigned
370
370
  def total_timeout=(total_timeout)
371
- if !total_timeout.nil? && total_timeout < 0
372
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
371
+ if !total_timeout.nil? && total_timeout < 0.0
372
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
373
373
  end
374
374
 
375
375
  @total_timeout = total_timeout
@@ -378,8 +378,8 @@ module PulpAnsibleClient
378
378
  # Custom attribute writer method with validation
379
379
  # @param [Object] connect_timeout Value to be assigned
380
380
  def connect_timeout=(connect_timeout)
381
- if !connect_timeout.nil? && connect_timeout < 0
382
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
381
+ if !connect_timeout.nil? && connect_timeout < 0.0
382
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
383
383
  end
384
384
 
385
385
  @connect_timeout = connect_timeout
@@ -388,8 +388,8 @@ module PulpAnsibleClient
388
388
  # Custom attribute writer method with validation
389
389
  # @param [Object] sock_connect_timeout Value to be assigned
390
390
  def sock_connect_timeout=(sock_connect_timeout)
391
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
392
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
391
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
392
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
393
393
  end
394
394
 
395
395
  @sock_connect_timeout = sock_connect_timeout
@@ -398,8 +398,8 @@ module PulpAnsibleClient
398
398
  # Custom attribute writer method with validation
399
399
  # @param [Object] sock_read_timeout Value to be assigned
400
400
  def sock_read_timeout=(sock_read_timeout)
401
- if !sock_read_timeout.nil? && sock_read_timeout < 0
402
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
401
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
402
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
403
403
  end
404
404
 
405
405
  @sock_read_timeout = sock_read_timeout