pulp_ansible_client 0.29.10 → 0.29.12

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: 34e636247f1c6970ae495fc94d77e8d5d7ffe9005b89b6a510bf5ec030135442
4
- data.tar.gz: eb33301b3f0a0849c2f7b44564b1c8922c273692b56cc796b63bd9ecee3e86ab
3
+ metadata.gz: cc34098ee74f25d37a6509fa7449ec264034e256570aacde8470062c67b4be1b
4
+ data.tar.gz: 0de314bd5608cf89db69b3976e6d0b9c27ff92d0a4b5aa17ee280d4f1af61289
5
5
  SHA512:
6
- metadata.gz: 8baef4a9c47a9eea65347d5b1079a7b96a40db41398d5169ca71549709302a8e2ef01f376713dd56292601033dd0caed4042d80b293e9b0a34e7fd9cdbbd2720
7
- data.tar.gz: 294be247afd9195f53ea3edd500b2db074510cb0e808bc289c82133a4aaf1d79c61c42328c24bca87a0a629a73f0d51dfe3e0b964facfd5c6cdfb73e69166dab
6
+ metadata.gz: 3c795e61057e526023e33c638a085fefe27a1cc111d39c7b31c3b792f3ac7f2f7d4fd3d136289d8fffd8805536305920a5218a996b5075387df253a4761892bb
7
+ data.tar.gz: 41783986204badd769462a9a54420b7c7e42b3f7fa57ffa9e9d214f3e00c9f9d07fc2089a25206b9e67d4ca23d16378ea44383abdc114f94b5d7f40adfdcb306
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.10
10
+ - Package version: 0.29.12
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.10.gem
28
+ gem install ./pulp_ansible_client-0.29.12.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.29.10.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.29.12.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.10'
37
+ gem 'pulp_ansible_client', '~> 0.29.12'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
- | **vuln_report** | **String** | | [optional][readonly] |
7
+ | **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] |
9
8
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
9
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **vuln_report** | **String** | | [optional][readonly] |
11
13
  | **pulp_href** | **String** | | [optional][readonly] |
12
- | **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] |
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] |
16
16
  | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
@@ -38,13 +38,13 @@
38
38
  require 'pulp_ansible_client'
39
39
 
40
40
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
41
- pulp_created: null,
42
- vuln_report: null,
41
+ pulp_last_updated: null,
43
42
  artifact: null,
43
+ pulp_labels: null,
44
+ pulp_created: null,
44
45
  prn: null,
46
+ vuln_report: null,
45
47
  pulp_href: null,
46
- pulp_last_updated: null,
47
- pulp_labels: null,
48
48
  sha256: null,
49
49
  md5: null,
50
50
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
8
7
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
8
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
9
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
12
+ | **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
+ | **url** | **String** | The URL of an external content source. | |
9
14
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
- | **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] |
11
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
12
15
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
16
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
13
17
  | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
14
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
15
- | **url** | **String** | The URL of an external content source. | |
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] |
18
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
19
  | **name** | **String** | A unique name for this remote. | |
18
20
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
19
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
21
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
21
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
22
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
23
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
24
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
22
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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] |
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] |
25
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemote.new(
36
- max_retries: null,
37
36
  tls_validation: null,
37
+ proxy_username: null,
38
+ download_concurrency: null,
39
+ total_timeout: null,
40
+ ca_cert: null,
41
+ connect_timeout: null,
42
+ url: null,
38
43
  password: null,
39
- sock_read_timeout: null,
40
- proxy_url: null,
41
44
  pulp_labels: null,
45
+ headers: null,
42
46
  sock_connect_timeout: null,
43
- username: null,
44
- url: null,
45
- total_timeout: null,
47
+ proxy_url: null,
46
48
  name: null,
47
49
  client_cert: null,
48
- proxy_password: null,
49
50
  client_key: null,
50
- connect_timeout: null,
51
- headers: null,
52
- proxy_username: null,
53
- download_concurrency: null,
54
51
  rate_limit: null,
55
- ca_cert: null,
52
+ max_retries: null,
53
+ sock_read_timeout: null,
54
+ proxy_password: null,
55
+ username: 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
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [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
7
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
10
- | **pulp_href** | **String** | | [optional][readonly] |
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] |
12
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
13
8
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
9
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
10
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
11
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
12
+ | **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
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
15
+ | **url** | **String** | The URL of an external content source. | |
16
+ | **pulp_href** | **String** | | [optional][readonly] |
14
17
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
18
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
15
19
  | **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
- | **url** | **String** | The URL of an external content source. | |
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
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
20
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
19
21
  | **name** | **String** | A unique name for this remote. | |
20
22
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
22
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
24
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
23
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
+ | **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] |
26
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
36
- hidden_fields: null,
37
- max_retries: null,
38
36
  tls_validation: null,
39
- pulp_href: null,
40
- sock_read_timeout: null,
41
- proxy_url: null,
42
37
  pulp_last_updated: null,
38
+ hidden_fields: null,
39
+ download_concurrency: null,
40
+ pulp_created: null,
41
+ total_timeout: null,
42
+ ca_cert: null,
43
+ connect_timeout: null,
44
+ url: null,
45
+ pulp_href: null,
43
46
  pulp_labels: null,
47
+ headers: null,
44
48
  sock_connect_timeout: null,
45
- url: null,
46
- total_timeout: null,
47
- pulp_created: null,
49
+ proxy_url: null,
48
50
  name: null,
49
51
  client_cert: null,
50
- prn: null,
51
- connect_timeout: null,
52
- headers: null,
53
- download_concurrency: null,
54
52
  rate_limit: null,
55
- ca_cert: null,
53
+ max_retries: null,
54
+ sock_read_timeout: null,
55
+ prn: 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
- | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
8
7
  | **artifact** | **String** | Artifact file representing the physical content | |
9
8
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
10
10
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
11
11
  | **version** | **String** | | |
12
12
  | **name** | **String** | | |
@@ -18,9 +18,9 @@
18
18
  require 'pulp_ansible_client'
19
19
 
20
20
  instance = PulpAnsibleClient::AnsibleRole.new(
21
- overwrite: null,
22
21
  artifact: null,
23
22
  pulp_labels: null,
23
+ overwrite: null,
24
24
  repository: null,
25
25
  version: null,
26
26
  name: null,
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
- | **vuln_report** | **String** | | [optional][readonly] |
7
+ | **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] |
9
8
  | **artifact** | **String** | Artifact file representing the physical content | |
9
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **vuln_report** | **String** | | [optional][readonly] |
11
13
  | **pulp_href** | **String** | | [optional][readonly] |
12
- | **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] |
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** | | |
16
16
  | **namespace** | **String** | | |
@@ -21,13 +21,13 @@
21
21
  require 'pulp_ansible_client'
22
22
 
23
23
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
24
- pulp_created: null,
25
- vuln_report: null,
24
+ pulp_last_updated: null,
26
25
  artifact: null,
26
+ pulp_labels: null,
27
+ pulp_created: null,
27
28
  prn: null,
29
+ vuln_report: null,
28
30
  pulp_href: null,
29
- pulp_last_updated: null,
30
- pulp_labels: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: null
@@ -34,14 +34,14 @@ 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
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
38
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
37
39
  overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
38
40
  downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
39
- artifact: 'artifact_example', # String | Artifact file representing the physical content
40
41
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
41
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
42
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
43
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
44
43
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
44
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
45
45
  expected_name: 'expected_name_example', # String | The name of the collection.
46
46
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
47
47
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -79,14 +79,14 @@ end
79
79
  | Name | Type | Description | Notes |
80
80
  | ---- | ---- | ----------- | ----- |
81
81
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
82
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
83
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
82
84
  | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
83
85
  | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
84
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
85
86
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
86
- | **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
87
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
88
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
89
88
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
89
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
90
90
  | **expected_name** | **String** | The name of the collection. | [optional] |
91
91
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
92
92
  | **expected_version** | **String** | The version of the collection. | [optional] |
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
8
7
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
8
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
9
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
12
+ | **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
+ | **url** | **String** | The URL of an external content source. | [optional] |
9
14
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
- | **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] |
11
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
12
15
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
16
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
13
17
  | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
14
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
15
- | **url** | **String** | The URL of an external content source. | [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] |
18
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
19
  | **name** | **String** | A unique name for this remote. | [optional] |
18
20
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
19
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
21
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
21
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
22
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
23
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
24
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
22
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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] |
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] |
25
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
36
- max_retries: null,
37
36
  tls_validation: null,
37
+ proxy_username: null,
38
+ download_concurrency: null,
39
+ total_timeout: null,
40
+ ca_cert: null,
41
+ connect_timeout: null,
42
+ url: null,
38
43
  password: null,
39
- sock_read_timeout: null,
40
- proxy_url: null,
41
44
  pulp_labels: null,
45
+ headers: null,
42
46
  sock_connect_timeout: null,
43
- username: null,
44
- url: null,
45
- total_timeout: null,
47
+ proxy_url: null,
46
48
  name: null,
47
49
  client_cert: null,
48
- proxy_password: null,
49
50
  client_key: null,
50
- connect_timeout: null,
51
- headers: null,
52
- proxy_username: null,
53
- download_concurrency: null,
54
51
  rate_limit: null,
55
- ca_cert: null,
52
+ max_retries: null,
53
+ sock_read_timeout: null,
54
+ proxy_password: null,
55
+ username: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -23,14 +23,14 @@ 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 [String] :artifact Artifact file representing the physical content
27
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
28
  # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
27
29
  # @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] :artifact Artifact file representing the physical content
29
30
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
30
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
32
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
33
32
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
33
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
34
34
  # @option opts [String] :expected_name The name of the collection.
35
35
  # @option opts [String] :expected_namespace The namespace of the collection.
36
36
  # @option opts [String] :expected_version The version of the collection.
@@ -44,14 +44,14 @@ module PulpAnsibleClient
44
44
  # Trigger an asynchronous task to create content,optionally create new repository version.
45
45
  # @param [Hash] opts the optional parameters
46
46
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
47
+ # @option opts [String] :artifact Artifact file representing the physical content
48
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
47
49
  # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
48
50
  # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
49
- # @option opts [String] :artifact Artifact file representing the physical content
50
51
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
51
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
52
52
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
53
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
54
53
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
54
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
55
55
  # @option opts [String] :expected_name The name of the collection.
56
56
  # @option opts [String] :expected_namespace The namespace of the collection.
57
57
  # @option opts [String] :expected_version The version of the collection.
@@ -107,14 +107,14 @@ module PulpAnsibleClient
107
107
 
108
108
  # form parameters
109
109
  form_params = opts[:form_params] || {}
110
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
111
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
110
112
  form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
111
113
  form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
112
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
113
114
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
114
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
115
115
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
116
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
117
116
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
117
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
118
118
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
119
119
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
120
120
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -16,24 +16,24 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
- # Timestamp of creation.
20
- attr_accessor :pulp_created
21
-
22
- attr_accessor :vuln_report
19
+ # 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
+ attr_accessor :pulp_last_updated
23
21
 
24
22
  # Artifact file representing the physical content
25
23
  attr_accessor :artifact
26
24
 
25
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
+ attr_accessor :pulp_labels
27
+
28
+ # Timestamp of creation.
29
+ attr_accessor :pulp_created
30
+
27
31
  # The Pulp Resource Name (PRN).
28
32
  attr_accessor :prn
29
33
 
30
- attr_accessor :pulp_href
31
-
32
- # 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.
33
- attr_accessor :pulp_last_updated
34
+ attr_accessor :vuln_report
34
35
 
35
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
- attr_accessor :pulp_labels
36
+ attr_accessor :pulp_href
37
37
 
38
38
  # The SHA-256 checksum if available.
39
39
  attr_accessor :sha256
@@ -97,13 +97,13 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
- :'pulp_created' => :'pulp_created',
101
- :'vuln_report' => :'vuln_report',
100
+ :'pulp_last_updated' => :'pulp_last_updated',
102
101
  :'artifact' => :'artifact',
102
+ :'pulp_labels' => :'pulp_labels',
103
+ :'pulp_created' => :'pulp_created',
103
104
  :'prn' => :'prn',
105
+ :'vuln_report' => :'vuln_report',
104
106
  :'pulp_href' => :'pulp_href',
105
- :'pulp_last_updated' => :'pulp_last_updated',
106
- :'pulp_labels' => :'pulp_labels',
107
107
  :'sha256' => :'sha256',
108
108
  :'md5' => :'md5',
109
109
  :'sha1' => :'sha1',
@@ -135,13 +135,13 @@ module PulpAnsibleClient
135
135
  # Attribute type mapping.
136
136
  def self.openapi_types
137
137
  {
138
- :'pulp_created' => :'Time',
139
- :'vuln_report' => :'String',
138
+ :'pulp_last_updated' => :'Time',
140
139
  :'artifact' => :'String',
140
+ :'pulp_labels' => :'Hash<String, String>',
141
+ :'pulp_created' => :'Time',
141
142
  :'prn' => :'String',
143
+ :'vuln_report' => :'String',
142
144
  :'pulp_href' => :'String',
143
- :'pulp_last_updated' => :'Time',
144
- :'pulp_labels' => :'Hash<String, String>',
145
145
  :'sha256' => :'String',
146
146
  :'md5' => :'String',
147
147
  :'sha1' => :'String',
@@ -187,34 +187,34 @@ module PulpAnsibleClient
187
187
  h[k.to_sym] = v
188
188
  }
189
189
 
190
- if attributes.key?(:'pulp_created')
191
- self.pulp_created = attributes[:'pulp_created']
192
- end
193
-
194
- if attributes.key?(:'vuln_report')
195
- self.vuln_report = attributes[:'vuln_report']
190
+ if attributes.key?(:'pulp_last_updated')
191
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
196
192
  end
197
193
 
198
194
  if attributes.key?(:'artifact')
199
195
  self.artifact = attributes[:'artifact']
200
196
  end
201
197
 
202
- if attributes.key?(:'prn')
203
- self.prn = attributes[:'prn']
198
+ if attributes.key?(:'pulp_labels')
199
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
200
+ self.pulp_labels = value
201
+ end
204
202
  end
205
203
 
206
- if attributes.key?(:'pulp_href')
207
- self.pulp_href = attributes[:'pulp_href']
204
+ if attributes.key?(:'pulp_created')
205
+ self.pulp_created = attributes[:'pulp_created']
208
206
  end
209
207
 
210
- if attributes.key?(:'pulp_last_updated')
211
- self.pulp_last_updated = attributes[:'pulp_last_updated']
208
+ if attributes.key?(:'prn')
209
+ self.prn = attributes[:'prn']
212
210
  end
213
211
 
214
- if attributes.key?(:'pulp_labels')
215
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
216
- self.pulp_labels = value
217
- end
212
+ if attributes.key?(:'vuln_report')
213
+ self.vuln_report = attributes[:'vuln_report']
214
+ end
215
+
216
+ if attributes.key?(:'pulp_href')
217
+ self.pulp_href = attributes[:'pulp_href']
218
218
  end
219
219
 
220
220
  if attributes.key?(:'sha256')
@@ -472,13 +472,13 @@ module PulpAnsibleClient
472
472
  def ==(o)
473
473
  return true if self.equal?(o)
474
474
  self.class == o.class &&
475
- pulp_created == o.pulp_created &&
476
- vuln_report == o.vuln_report &&
475
+ pulp_last_updated == o.pulp_last_updated &&
477
476
  artifact == o.artifact &&
477
+ pulp_labels == o.pulp_labels &&
478
+ pulp_created == o.pulp_created &&
478
479
  prn == o.prn &&
480
+ vuln_report == o.vuln_report &&
479
481
  pulp_href == o.pulp_href &&
480
- pulp_last_updated == o.pulp_last_updated &&
481
- pulp_labels == o.pulp_labels &&
482
482
  sha256 == o.sha256 &&
483
483
  md5 == o.md5 &&
484
484
  sha1 == o.sha1 &&
@@ -510,7 +510,7 @@ module PulpAnsibleClient
510
510
  # Calculates hash code according to all attributes.
511
511
  # @return [Integer] Hash code
512
512
  def hash
513
- [pulp_created, vuln_report, artifact, prn, pulp_href, pulp_last_updated, 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
513
+ [pulp_last_updated, artifact, pulp_labels, pulp_created, prn, vuln_report, pulp_href, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
514
514
  end
515
515
 
516
516
  # Builds the object from hash