pulp_ansible_client 0.29.3 → 0.29.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ad92189a69f2b0692e9e7ebb61148b408d19002f6659a2e04f7cbbed90f1562
4
- data.tar.gz: 36a3d282629d37c13553dc33673b819742b8a363d46a1f43ab456e312ff9db4b
3
+ metadata.gz: 9dd050919eb1798d0f03903a9ae96abaf2c167656e1c777a133e4dd3ceedc3c8
4
+ data.tar.gz: 9218e5d039b2f3e7269308e9ba3a2e56965861da7e2cf422be227073cfd99478
5
5
  SHA512:
6
- metadata.gz: 270dc690219191f643c6660c73a4ab0bb34ac98a9bae650c15a911cf5f19bfdcf74aa2047dc95a981dcc680bdb25b1329311eb43844ca6e871937d3415c67000
7
- data.tar.gz: f13e1fcc1c8701fbed425fb2159f341d2842e4c9848b4951fefd5b6327d8eb04adcb207b655914b0f9723c2fdfabe1aa15f073c8385dc1ca5013b89ff9324b2b
6
+ metadata.gz: a4c198a24ea5caf9817873a28265679c631631a9c4d96942333e54dafc90c5fdcdb45060d357485c4b9faf1a9bc033f8a7d5dfae9c7f9250ce4c3d7d204e419d
7
+ data.tar.gz: db2330ad4c748df113499e5a4c75ac7f96f30187cf920244b503f8ee679f3c3854916df7c2cc8a5fcf0a272558a5bf7f9d3879005d4c3730dfb9982b04d7f425
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.29.3
10
+ - Package version: 0.29.4
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_ansible_client-0.29.3.gem
28
+ gem install ./pulp_ansible_client-0.29.4.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.29.3.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.29.4.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_ansible_client', '~> 0.29.3'
37
+ gem 'pulp_ansible_client', '~> 0.29.4'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
7
8
  | **pulp_last_updated** | **Time** | 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] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
+ | **vuln_report** | **String** | | [optional][readonly] |
9
10
  | **pulp_href** | **String** | | [optional][readonly] |
10
11
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
11
- | **vuln_report** | **String** | | [optional][readonly] |
12
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
13
13
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
14
14
  | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
15
15
  | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
@@ -38,12 +38,12 @@
38
38
  require 'pulp_ansible_client'
39
39
 
40
40
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
41
+ prn: null,
41
42
  pulp_last_updated: null,
42
- pulp_created: null,
43
+ vuln_report: null,
43
44
  pulp_href: null,
44
45
  artifact: null,
45
- vuln_report: null,
46
- prn: null,
46
+ pulp_created: null,
47
47
  pulp_labels: null,
48
48
  sha256: null,
49
49
  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
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
7
10
  | **url** | **String** | The URL of an external content source. | |
8
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
9
11
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
10
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
11
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
12
  | **name** | **String** | A unique name for this remote. | |
13
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
13
+ | **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] |
14
14
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
16
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
17
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
19
  | **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] |
16
20
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
19
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
20
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
21
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
21
  | **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] |
23
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
22
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
23
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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] |
24
25
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
25
26
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemote.new(
36
+ sock_read_timeout: null,
37
+ download_concurrency: null,
38
+ client_key: null,
36
39
  url: null,
37
- max_retries: null,
38
40
  proxy_url: null,
39
- headers: null,
40
- client_key: null,
41
41
  name: null,
42
- download_concurrency: null,
42
+ connect_timeout: null,
43
43
  client_cert: null,
44
+ username: null,
45
+ rate_limit: null,
46
+ password: null,
47
+ proxy_password: null,
44
48
  total_timeout: null,
45
49
  tls_validation: null,
46
- password: null,
47
- sock_read_timeout: null,
48
- rate_limit: null,
49
- proxy_username: null,
50
- username: null,
51
50
  sock_connect_timeout: null,
52
- proxy_password: null,
51
+ proxy_username: null,
52
+ headers: null,
53
+ max_retries: null,
53
54
  ca_cert: null,
54
55
  pulp_labels: null,
55
- connect_timeout: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
9
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
7
11
  | **url** | **String** | The URL of an external content source. | |
8
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
9
12
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
10
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
13
+ | **pulp_href** | **String** | | [optional][readonly] |
14
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
11
15
  | **name** | **String** | A unique name for this remote. | |
12
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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] |
13
17
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
18
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
14
19
  | **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
20
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
- | **pulp_href** | **String** | | [optional][readonly] |
17
- | **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
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
19
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
20
21
  | **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
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
22
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
22
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
23
+ | **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
24
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
24
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
25
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
25
26
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
36
+ prn: null,
37
+ sock_read_timeout: null,
38
+ download_concurrency: null,
39
+ pulp_last_updated: null,
36
40
  url: null,
37
- max_retries: null,
38
41
  proxy_url: null,
39
- headers: null,
42
+ pulp_href: null,
43
+ hidden_fields: null,
40
44
  name: null,
41
- download_concurrency: null,
45
+ connect_timeout: null,
42
46
  client_cert: null,
47
+ rate_limit: null,
43
48
  total_timeout: null,
44
49
  tls_validation: null,
45
- pulp_href: null,
46
- sock_read_timeout: null,
47
- rate_limit: null,
48
- pulp_last_updated: null,
49
50
  sock_connect_timeout: null,
50
- hidden_fields: null,
51
- pulp_created: null,
51
+ headers: null,
52
+ max_retries: null,
52
53
  ca_cert: null,
53
- prn: null,
54
+ pulp_created: null,
54
55
  pulp_labels: null,
55
- connect_timeout: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
data/docs/AnsibleRole.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
7
8
  | **artifact** | **String** | Artifact file representing the physical content | |
8
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
10
10
  | **version** | **String** | | |
11
11
  | **name** | **String** | | |
12
12
  | **namespace** | **String** | | |
@@ -17,9 +17,9 @@
17
17
  require 'pulp_ansible_client'
18
18
 
19
19
  instance = PulpAnsibleClient::AnsibleRole.new(
20
+ repository: null,
20
21
  artifact: null,
21
22
  pulp_labels: null,
22
- repository: null,
23
23
  version: null,
24
24
  name: null,
25
25
  namespace: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
7
8
  | **pulp_last_updated** | **Time** | 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] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
+ | **vuln_report** | **String** | | [optional][readonly] |
9
10
  | **pulp_href** | **String** | | [optional][readonly] |
10
11
  | **artifact** | **String** | Artifact file representing the physical content | |
11
- | **vuln_report** | **String** | | [optional][readonly] |
12
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
13
13
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
14
14
  | **version** | **String** | | |
15
15
  | **name** | **String** | | |
@@ -21,12 +21,12 @@
21
21
  require 'pulp_ansible_client'
22
22
 
23
23
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
24
+ prn: null,
24
25
  pulp_last_updated: null,
25
- pulp_created: null,
26
+ vuln_report: null,
26
27
  pulp_href: null,
27
28
  artifact: null,
28
- vuln_report: null,
29
- prn: null,
29
+ pulp_created: null,
30
30
  pulp_labels: null,
31
31
  version: null,
32
32
  name: null,
@@ -34,13 +34,13 @@ end
34
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
35
35
  opts = {
36
36
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
37
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
- downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
39
37
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
+ downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
39
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
41
40
  artifact: 'artifact_example', # String | Artifact file representing the physical content
41
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
42
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
42
43
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
44
44
  expected_name: 'expected_name_example', # String | The name of the collection.
45
45
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
46
46
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -78,13 +78,13 @@ end
78
78
  | Name | Type | Description | Notes |
79
79
  | ---- | ---- | ----------- | ----- |
80
80
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
81
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
82
- | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
83
81
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
84
- | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
82
+ | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
83
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
85
84
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
85
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
86
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
86
87
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
87
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
88
88
  | **expected_name** | **String** | The name of the collection. | [optional] |
89
89
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
90
90
  | **expected_version** | **String** | The version 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
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
7
10
  | **url** | **String** | The URL of an external content source. | [optional] |
8
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
9
11
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
10
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
11
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
12
  | **name** | **String** | A unique name for this remote. | [optional] |
13
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
13
+ | **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] |
14
14
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
16
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
17
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
19
  | **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] |
16
20
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
19
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
20
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
21
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
21
  | **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] |
23
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
22
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
23
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [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] |
24
25
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
25
26
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
36
+ sock_read_timeout: null,
37
+ download_concurrency: null,
38
+ client_key: null,
36
39
  url: null,
37
- max_retries: null,
38
40
  proxy_url: null,
39
- headers: null,
40
- client_key: null,
41
41
  name: null,
42
- download_concurrency: null,
42
+ connect_timeout: null,
43
43
  client_cert: null,
44
+ username: null,
45
+ rate_limit: null,
46
+ password: null,
47
+ proxy_password: null,
44
48
  total_timeout: null,
45
49
  tls_validation: null,
46
- password: null,
47
- sock_read_timeout: null,
48
- rate_limit: null,
49
- proxy_username: null,
50
- username: null,
51
50
  sock_connect_timeout: null,
52
- proxy_password: null,
51
+ proxy_username: null,
52
+ headers: null,
53
+ max_retries: null,
53
54
  ca_cert: null,
54
55
  pulp_labels: null,
55
- connect_timeout: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -23,13 +23,13 @@ module PulpAnsibleClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
- # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
28
26
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
27
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
28
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
30
29
  # @option opts [String] :artifact Artifact file representing the physical content
30
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
31
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
31
32
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
32
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
33
33
  # @option opts [String] :expected_name The name of the collection.
34
34
  # @option opts [String] :expected_namespace The namespace of the collection.
35
35
  # @option opts [String] :expected_version The version of the collection.
@@ -43,13 +43,13 @@ module PulpAnsibleClient
43
43
  # Trigger an asynchronous task to create content,optionally create new repository version.
44
44
  # @param [Hash] opts the optional parameters
45
45
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
46
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
47
- # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
48
46
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
49
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
47
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
48
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
50
49
  # @option opts [String] :artifact Artifact file representing the physical content
50
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
51
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
51
52
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
52
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
53
53
  # @option opts [String] :expected_name The name of the collection.
54
54
  # @option opts [String] :expected_namespace The namespace of the collection.
55
55
  # @option opts [String] :expected_version The version of the collection.
@@ -105,13 +105,13 @@ module PulpAnsibleClient
105
105
 
106
106
  # form parameters
107
107
  form_params = opts[:form_params] || {}
108
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
109
- form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
110
108
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
111
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
109
+ form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
110
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
112
111
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
112
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
113
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
113
114
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
114
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
115
115
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
116
116
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
117
117
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -16,21 +16,21 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
+ # The Pulp Resource Name (PRN).
20
+ attr_accessor :prn
21
+
19
22
  # 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.
20
23
  attr_accessor :pulp_last_updated
21
24
 
22
- # Timestamp of creation.
23
- attr_accessor :pulp_created
25
+ attr_accessor :vuln_report
24
26
 
25
27
  attr_accessor :pulp_href
26
28
 
27
29
  # Artifact file representing the physical content
28
30
  attr_accessor :artifact
29
31
 
30
- attr_accessor :vuln_report
31
-
32
- # The Pulp Resource Name (PRN).
33
- attr_accessor :prn
32
+ # Timestamp of creation.
33
+ attr_accessor :pulp_created
34
34
 
35
35
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
36
  attr_accessor :pulp_labels
@@ -97,12 +97,12 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
+ :'prn' => :'prn',
100
101
  :'pulp_last_updated' => :'pulp_last_updated',
101
- :'pulp_created' => :'pulp_created',
102
+ :'vuln_report' => :'vuln_report',
102
103
  :'pulp_href' => :'pulp_href',
103
104
  :'artifact' => :'artifact',
104
- :'vuln_report' => :'vuln_report',
105
- :'prn' => :'prn',
105
+ :'pulp_created' => :'pulp_created',
106
106
  :'pulp_labels' => :'pulp_labels',
107
107
  :'sha256' => :'sha256',
108
108
  :'md5' => :'md5',
@@ -135,12 +135,12 @@ module PulpAnsibleClient
135
135
  # Attribute type mapping.
136
136
  def self.openapi_types
137
137
  {
138
+ :'prn' => :'String',
138
139
  :'pulp_last_updated' => :'Time',
139
- :'pulp_created' => :'Time',
140
+ :'vuln_report' => :'String',
140
141
  :'pulp_href' => :'String',
141
142
  :'artifact' => :'String',
142
- :'vuln_report' => :'String',
143
- :'prn' => :'String',
143
+ :'pulp_created' => :'Time',
144
144
  :'pulp_labels' => :'Hash<String, String>',
145
145
  :'sha256' => :'String',
146
146
  :'md5' => :'String',
@@ -187,12 +187,16 @@ module PulpAnsibleClient
187
187
  h[k.to_sym] = v
188
188
  }
189
189
 
190
+ if attributes.key?(:'prn')
191
+ self.prn = attributes[:'prn']
192
+ end
193
+
190
194
  if attributes.key?(:'pulp_last_updated')
191
195
  self.pulp_last_updated = attributes[:'pulp_last_updated']
192
196
  end
193
197
 
194
- if attributes.key?(:'pulp_created')
195
- self.pulp_created = attributes[:'pulp_created']
198
+ if attributes.key?(:'vuln_report')
199
+ self.vuln_report = attributes[:'vuln_report']
196
200
  end
197
201
 
198
202
  if attributes.key?(:'pulp_href')
@@ -203,12 +207,8 @@ module PulpAnsibleClient
203
207
  self.artifact = attributes[:'artifact']
204
208
  end
205
209
 
206
- if attributes.key?(:'vuln_report')
207
- self.vuln_report = attributes[:'vuln_report']
208
- end
209
-
210
- if attributes.key?(:'prn')
211
- self.prn = attributes[:'prn']
210
+ if attributes.key?(:'pulp_created')
211
+ self.pulp_created = attributes[:'pulp_created']
212
212
  end
213
213
 
214
214
  if attributes.key?(:'pulp_labels')
@@ -457,12 +457,12 @@ module PulpAnsibleClient
457
457
  def ==(o)
458
458
  return true if self.equal?(o)
459
459
  self.class == o.class &&
460
+ prn == o.prn &&
460
461
  pulp_last_updated == o.pulp_last_updated &&
461
- pulp_created == o.pulp_created &&
462
+ vuln_report == o.vuln_report &&
462
463
  pulp_href == o.pulp_href &&
463
464
  artifact == o.artifact &&
464
- vuln_report == o.vuln_report &&
465
- prn == o.prn &&
465
+ pulp_created == o.pulp_created &&
466
466
  pulp_labels == o.pulp_labels &&
467
467
  sha256 == o.sha256 &&
468
468
  md5 == o.md5 &&
@@ -495,7 +495,7 @@ module PulpAnsibleClient
495
495
  # Calculates hash code according to all attributes.
496
496
  # @return [Integer] Hash code
497
497
  def hash
498
- [pulp_last_updated, pulp_created, pulp_href, artifact, vuln_report, prn, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
498
+ [prn, pulp_last_updated, vuln_report, pulp_href, artifact, pulp_created, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
499
499
  end
500
500
 
501
501
  # Builds the object from hash