pulp_ansible_client 0.23.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) 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 +5 -5
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +30 -30
  7. data/docs/AnsibleRole.md +3 -3
  8. data/docs/AnsibleRoleResponse.md +5 -5
  9. data/docs/ContentCollectionVersionsApi.md +4 -4
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  11. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  12. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  13. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +20 -20
  14. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +240 -240
  15. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
  16. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
  18. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
  19. data/lib/pulp_ansible_client/version.rb +1 -1
  20. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  21. data/spec/models/ansible_collection_version_response_spec.rb +4 -4
  22. data/spec/models/ansible_collection_version_spec.rb +4 -4
  23. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  24. data/spec/models/ansible_git_remote_spec.rb +20 -20
  25. data/spec/models/ansible_role_response_spec.rb +4 -4
  26. data/spec/models/ansible_role_spec.rb +2 -2
  27. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  28. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a02b669361e657780aa6c4208cb2c4ee324b1111300c014c25a463510bb29d74
4
- data.tar.gz: 5d8657508c108eca29a727a48d74b629ba742d4fa59d6d6aeac65e87b1c6e405
3
+ metadata.gz: b1098015682792fbbdc3e80e51bd2512d3e0b6990deed99c06de0f2a52fed94c
4
+ data.tar.gz: b1d95993ca8462b711d59c1744e17a223580e96c0663baa0d06da14bfc15b9b4
5
5
  SHA512:
6
- metadata.gz: 921bc3b76e447ff9f073ca548fff85da60f61cafba76e188f442c4e4efac055b78d9a4b353a05365d5ebd730a7a8ff29b9fdfd4de1fd39d7810ff5288a949d1e
7
- data.tar.gz: 550f9cc910b716bbdd8979f0eb4167aefc0faa6c20814b83abad39d1c734ceb58aed67260a07d18027e850e01cb55666b34679c927b16916ed634f2d5ed75eef
6
+ metadata.gz: 92f88644bdfe0028bef150fb32d2fc5dd7f0026e79be17b266f4b4754692e40a924ca4327f2340eeafdbfbbe4da68fb83937cafef674135ed593c5f33f68b24a
7
+ data.tar.gz: d046e0f59fac4f6c757c5a2c9d07a3523a7599a621e5a4294dd90488bd6d91bac6a059bbb61ebf4e966843281a7d4f45403b8b471fc485b2e630c3cf8dbcb187
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.23.0
10
+ - Package version: 0.23.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.23.0.gem
27
+ gem install ./pulp_ansible_client-0.23.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.23.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.23.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.23.0'
36
+ gem 'pulp_ansible_client', '~> 0.23.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
8
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
9
- **artifact** | **String** | Artifact file representing the physical content | [optional]
8
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
10
9
  **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
10
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
11
11
  **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [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(file: null,
22
- repository: null,
23
- artifact: null,
21
+ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
22
+ file: null,
24
23
  file_url: null,
24
+ artifact: null,
25
25
  upload: null,
26
26
  expected_name: null,
27
27
  expected_namespace: null,
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
8
- **artifact** | **String** | Artifact file representing the physical content | [optional]
9
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
10
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
11
11
  **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]
12
12
  **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
13
13
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
@@ -39,10 +39,10 @@ Name | Type | Description | Notes
39
39
  ```ruby
40
40
  require 'PulpAnsibleClient'
41
41
 
42
- instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(prn: null,
43
- artifact: null,
44
- pulp_href: null,
42
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
43
+ prn: null,
45
44
  pulp_created: null,
45
+ artifact: null,
46
46
  pulp_last_updated: null,
47
47
  sha256: null,
48
48
  md5: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
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]
8
- **client_key** | **String** | A PEM encoded private key used for authentication. | [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
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
11
- **url** | **String** | The URL of an external content source. |
7
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
12
8
  **proxy_username** | **String** | The username to authenticte to the proxy. | [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]
9
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
14
10
  **name** | **String** | A unique name for this remote. |
15
- **pulp_labels** | **Hash<String, String>** | | [optional]
16
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
11
+ **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]
12
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
+ **url** | **String** | The URL of an external content source. |
17
14
  **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
16
+ **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]
17
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
19
18
  **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
19
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
+ **pulp_labels** | **Hash<String, String>** | | [optional]
21
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
22
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
23
+ **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]
20
24
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
25
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
21
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]
22
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
23
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
24
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
26
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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(sock_read_timeout: null,
36
- client_key: null,
37
- total_timeout: null,
38
- username: null,
39
- url: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(rate_limit: null,
40
36
  proxy_username: null,
41
- sock_connect_timeout: null,
37
+ client_cert: null,
42
38
  name: null,
43
- pulp_labels: null,
44
- rate_limit: null,
39
+ sock_connect_timeout: null,
40
+ tls_validation: null,
41
+ url: null,
45
42
  proxy_password: null,
46
- headers: null,
43
+ ca_cert: null,
44
+ total_timeout: null,
45
+ proxy_url: null,
47
46
  password: null,
47
+ max_retries: null,
48
+ pulp_labels: null,
49
+ headers: null,
50
+ username: null,
51
+ sock_read_timeout: null,
48
52
  download_concurrency: null,
53
+ client_key: null,
49
54
  connect_timeout: null,
50
- proxy_url: null,
51
- ca_cert: null,
52
- tls_validation: null,
53
- max_retries: null,
54
- client_cert: 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
- **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]
8
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
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
- **url** | **String** | The URL of an external content source. |
11
- **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]
12
- **name** | **String** | A unique name for this remote. |
13
- **pulp_labels** | **Hash<String, String>** | | [optional]
14
- **pulp_href** | **String** | | [optional] [readonly]
7
+ **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
15
8
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
9
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
16
10
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
+ **name** | **String** | A unique name for this remote. |
12
+ **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]
13
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
14
+ **url** | **String** | The URL of an external content source. |
15
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
16
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
17
+ **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]
18
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
19
+ **pulp_href** | **String** | | [optional] [readonly]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
+ **pulp_labels** | **Hash<String, String>** | | [optional]
17
22
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
23
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
24
+ **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]
18
25
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
19
- **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
20
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]
21
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
22
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
23
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
24
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
25
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
26
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
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(sock_read_timeout: null,
36
- prn: null,
37
- total_timeout: null,
38
- url: null,
39
- sock_connect_timeout: null,
40
- name: null,
41
- pulp_labels: null,
42
- pulp_href: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(hidden_fields: null,
43
36
  rate_limit: null,
37
+ client_cert: null,
44
38
  pulp_created: null,
39
+ name: null,
40
+ sock_connect_timeout: null,
41
+ tls_validation: null,
42
+ url: null,
43
+ pulp_last_updated: null,
44
+ ca_cert: null,
45
+ total_timeout: null,
46
+ proxy_url: null,
47
+ pulp_href: null,
48
+ max_retries: null,
49
+ pulp_labels: null,
45
50
  headers: null,
51
+ prn: null,
52
+ sock_read_timeout: null,
46
53
  download_concurrency: null,
47
- hidden_fields: null,
48
54
  connect_timeout: null,
49
- proxy_url: null,
50
- ca_cert: null,
51
- tls_validation: null,
52
- max_retries: null,
53
- client_cert: null,
54
- pulp_last_updated: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
data/docs/AnsibleRole.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content |
8
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **artifact** | **String** | Artifact file representing the physical content |
9
9
  **version** | **String** | |
10
10
  **name** | **String** | |
11
11
  **namespace** | **String** | |
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpAnsibleClient'
17
17
 
18
- instance = PulpAnsibleClient::AnsibleRole.new(artifact: null,
19
- repository: null,
18
+ instance = PulpAnsibleClient::AnsibleRole.new(repository: null,
19
+ artifact: null,
20
20
  version: null,
21
21
  name: null,
22
22
  namespace: null)
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
8
- **artifact** | **String** | Artifact file representing the physical content |
9
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
10
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
+ **artifact** | **String** | Artifact file representing the physical content |
11
11
  **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]
12
12
  **version** | **String** | |
13
13
  **name** | **String** | |
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpAnsibleClient'
20
20
 
21
- instance = PulpAnsibleClient::AnsibleRoleResponse.new(prn: null,
22
- artifact: null,
23
- pulp_href: null,
21
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
22
+ prn: null,
24
23
  pulp_created: null,
24
+ artifact: null,
25
25
  pulp_last_updated: null,
26
26
  version: null,
27
27
  name: null,
@@ -32,10 +32,10 @@ end
32
32
 
33
33
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
34
34
  opts = {
35
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
36
35
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
- artifact: 'artifact_example', # String | Artifact file representing the physical content
36
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
38
37
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
38
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
39
39
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
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
- **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
60
59
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
61
- **artifact** | **String**| Artifact file representing the physical content | [optional]
60
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
62
61
  **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
62
+ **artifact** | **String**| Artifact file representing the physical content | [optional]
63
63
  **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [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
- **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]
8
- **client_key** | **String** | A PEM encoded private key used for authentication. | [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
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
11
- **url** | **String** | The URL of an external content source. | [optional]
7
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
12
8
  **proxy_username** | **String** | The username to authenticte to the proxy. | [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]
9
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
14
10
  **name** | **String** | A unique name for this remote. | [optional]
15
- **pulp_labels** | **Hash<String, String>** | | [optional]
16
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
11
+ **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]
12
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
+ **url** | **String** | The URL of an external content source. | [optional]
17
14
  **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
16
+ **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]
17
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
19
18
  **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
19
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
+ **pulp_labels** | **Hash<String, String>** | | [optional]
21
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
22
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
23
+ **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]
20
24
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
25
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
21
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]
22
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
23
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
24
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
26
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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(sock_read_timeout: null,
36
- client_key: null,
37
- total_timeout: null,
38
- username: null,
39
- url: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(rate_limit: null,
40
36
  proxy_username: null,
41
- sock_connect_timeout: null,
37
+ client_cert: null,
42
38
  name: null,
43
- pulp_labels: null,
44
- rate_limit: null,
39
+ sock_connect_timeout: null,
40
+ tls_validation: null,
41
+ url: null,
45
42
  proxy_password: null,
46
- headers: null,
43
+ ca_cert: null,
44
+ total_timeout: null,
45
+ proxy_url: null,
47
46
  password: null,
47
+ max_retries: null,
48
+ pulp_labels: null,
49
+ headers: null,
50
+ username: null,
51
+ sock_read_timeout: null,
48
52
  download_concurrency: null,
53
+ client_key: null,
49
54
  connect_timeout: null,
50
- proxy_url: null,
51
- ca_cert: null,
52
- tls_validation: null,
53
- max_retries: null,
54
- client_cert: 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 [File] :file An uploaded file that may be turned into the content unit.
26
25
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
- # @option opts [String] :artifact Artifact file representing the physical content
26
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
28
27
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
28
+ # @option opts [String] :artifact Artifact file representing the physical content
29
29
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
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 [File] :file An uploaded file that may be turned into the content unit.
43
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
- # @option opts [String] :artifact Artifact file representing the physical content
43
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
45
44
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
45
+ # @option opts [String] :artifact Artifact file representing the physical content
46
46
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
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['file'] = opts[:'file'] if !opts[:'file'].nil?
99
98
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
100
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
99
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
101
100
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
101
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
102
102
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].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?
@@ -15,18 +15,18 @@ 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 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
 
24
- # Artifact file representing the physical content
25
- attr_accessor :artifact
21
+ # An uploaded file that may be turned into the content unit.
22
+ attr_accessor :file
26
23
 
27
24
  # A url that Pulp can download and turn into the content unit.
28
25
  attr_accessor :file_url
29
26
 
27
+ # Artifact file representing the physical content
28
+ attr_accessor :artifact
29
+
30
30
  # An uncommitted upload that may be turned into the content unit.
31
31
  attr_accessor :upload
32
32
 
@@ -42,10 +42,10 @@ module PulpAnsibleClient
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
43
43
  def self.attribute_map
44
44
  {
45
- :'file' => :'file',
46
45
  :'repository' => :'repository',
47
- :'artifact' => :'artifact',
46
+ :'file' => :'file',
48
47
  :'file_url' => :'file_url',
48
+ :'artifact' => :'artifact',
49
49
  :'upload' => :'upload',
50
50
  :'expected_name' => :'expected_name',
51
51
  :'expected_namespace' => :'expected_namespace',
@@ -56,10 +56,10 @@ module PulpAnsibleClient
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'file' => :'File',
60
59
  :'repository' => :'String',
61
- :'artifact' => :'String',
60
+ :'file' => :'File',
62
61
  :'file_url' => :'String',
62
+ :'artifact' => :'String',
63
63
  :'upload' => :'String',
64
64
  :'expected_name' => :'String',
65
65
  :'expected_namespace' => :'String',
@@ -88,22 +88,22 @@ module PulpAnsibleClient
88
88
  h[k.to_sym] = v
89
89
  }
90
90
 
91
- if attributes.key?(:'file')
92
- self.file = attributes[:'file']
93
- end
94
-
95
91
  if attributes.key?(:'repository')
96
92
  self.repository = attributes[:'repository']
97
93
  end
98
94
 
99
- if attributes.key?(:'artifact')
100
- self.artifact = attributes[:'artifact']
95
+ if attributes.key?(:'file')
96
+ self.file = attributes[:'file']
101
97
  end
102
98
 
103
99
  if attributes.key?(:'file_url')
104
100
  self.file_url = attributes[:'file_url']
105
101
  end
106
102
 
103
+ if attributes.key?(:'artifact')
104
+ self.artifact = attributes[:'artifact']
105
+ end
106
+
107
107
  if attributes.key?(:'upload')
108
108
  self.upload = attributes[:'upload']
109
109
  end
@@ -226,10 +226,10 @@ module PulpAnsibleClient
226
226
  def ==(o)
227
227
  return true if self.equal?(o)
228
228
  self.class == o.class &&
229
- file == o.file &&
230
229
  repository == o.repository &&
231
- artifact == o.artifact &&
230
+ file == o.file &&
232
231
  file_url == o.file_url &&
232
+ artifact == o.artifact &&
233
233
  upload == o.upload &&
234
234
  expected_name == o.expected_name &&
235
235
  expected_namespace == o.expected_namespace &&
@@ -245,7 +245,7 @@ module PulpAnsibleClient
245
245
  # Calculates hash code according to all attributes.
246
246
  # @return [Integer] Hash code
247
247
  def hash
248
- [file, repository, artifact, file_url, upload, expected_name, expected_namespace, expected_version].hash
248
+ [repository, file, file_url, artifact, upload, expected_name, expected_namespace, expected_version].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash