pulp_ansible_client 0.28.1 → 0.29.0

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: 81a4c7d2249b1bbd8f31c5d9e8d8b853bb0e12149943ba2e108b2d412c46643e
4
- data.tar.gz: 3402c793cc4232e0505c670128fd37072afea6b66aebf1951c82c6e8eaedea91
3
+ metadata.gz: '08e47cc08b6d2dff5e7b644d3abd1e3db44feb2a0bcc552274a2cfbe7f3df72f'
4
+ data.tar.gz: eebe73d7286a1cfbe5aeb5a0235064a42e094a7982c67bf8c31f5a46d7b3571c
5
5
  SHA512:
6
- metadata.gz: f1b93adccadbf798696b757f3cb422fdf49b63d3a7f550c7e3c5870990c35f0052b0b1e316fdcb85e84fe71c35c1933e42e7d825fb6fe6f8d76112a46281dde2
7
- data.tar.gz: be7954d1a73e7deb1c9161505212d6f268c546d39850532a9a61c4ad13ca90f754d2b774867cbee8cc705e98fed3b07f27a6558f5a176edb1a675b564da7fd74
6
+ metadata.gz: '0933d8edf00a195c8eebfea53f8d55b82ffc7e2e59ea250d3236f850768b847041127681a79a4d6db184e6d3bb2cfc7dcf6f23cc455f798dd29f48d95ec8aaaa'
7
+ data.tar.gz: 8a8bd7d5065b0eb205a71b9abdfc04fe447e9bc7e08286c7e7a3e88d1daf7620e7318581bc960aa6d7936a270b07527c0f6f4130eb2387498d62b92a32134c87
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.28.1
10
+ - Package version: 0.29.0
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.28.1.gem
28
+ gem install ./pulp_ansible_client-0.29.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.28.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.29.0.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.28.1'
37
+ gem 'pulp_ansible_client', '~> 0.29.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
7
  | **pulp_href** | **String** | | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
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
8
  | **vuln_report** | **String** | | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **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] |
11
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
12
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
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] |
@@ -42,13 +42,13 @@
42
42
  require 'pulp_ansible_client'
43
43
 
44
44
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
45
- prn: null,
46
- pulp_created: null,
47
45
  pulp_href: null,
48
- pulp_labels: null,
49
- artifact: null,
50
- pulp_last_updated: null,
51
46
  vuln_report: null,
47
+ pulp_created: null,
48
+ pulp_last_updated: null,
49
+ artifact: null,
50
+ pulp_labels: null,
51
+ prn: null,
52
52
  sha256: null,
53
53
  md5: null,
54
54
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | A unique name for this remote. | |
8
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
7
9
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
11
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
12
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
15
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
8
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] |
9
- | **name** | **String** | A unique name for this remote. | |
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] |
10
18
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
19
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
20
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
12
21
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
13
- | **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] |
14
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
17
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
18
22
  | **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] |
19
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
21
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
23
23
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
24
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
25
- | **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] |
26
- | **url** | **String** | The URL of an external content source. | |
24
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
25
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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
+ name: null,
37
+ proxy_password: null,
36
38
  password: null,
39
+ proxy_username: null,
40
+ username: null,
41
+ ca_cert: null,
42
+ url: null,
43
+ rate_limit: null,
44
+ sock_connect_timeout: null,
37
45
  connect_timeout: null,
38
- name: null,
46
+ sock_read_timeout: null,
39
47
  pulp_labels: null,
40
- download_concurrency: null,
48
+ proxy_url: null,
49
+ headers: null,
41
50
  client_key: null,
42
- sock_read_timeout: null,
43
- max_retries: null,
44
- ca_cert: null,
45
- username: null,
46
- rate_limit: null,
47
51
  total_timeout: null,
48
- proxy_password: null,
49
- proxy_username: null,
50
- proxy_url: null,
51
- tls_validation: null,
52
52
  client_cert: null,
53
- headers: null,
54
- sock_connect_timeout: null,
55
- url: null,
53
+ tls_validation: null,
54
+ download_concurrency: null,
55
+ max_retries: 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
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
- | **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] |
9
7
  | **name** | **String** | A unique name for this remote. | |
10
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
12
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
13
- | **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
+ | **pulp_href** | **String** | | [optional][readonly] |
14
9
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
15
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
10
+ | **url** | **String** | The URL of an external content source. | |
16
11
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
19
- | **pulp_href** | **String** | | [optional][readonly] |
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
+ | **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
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
15
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
16
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
20
17
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
21
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
22
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
23
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
24
18
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
25
- | **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] |
26
- | **url** | **String** | The URL of an external content source. | |
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] |
20
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
22
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
23
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
24
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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
+ | **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
- pulp_created: null,
37
- connect_timeout: null,
38
36
  name: null,
39
- pulp_labels: null,
40
- download_concurrency: null,
41
- sock_read_timeout: null,
42
- max_retries: null,
37
+ pulp_href: null,
43
38
  ca_cert: null,
44
- hidden_fields: null,
39
+ url: null,
45
40
  rate_limit: null,
46
- total_timeout: null,
47
- prn: null,
48
- pulp_href: null,
41
+ sock_connect_timeout: null,
42
+ connect_timeout: null,
43
+ sock_read_timeout: null,
44
+ pulp_labels: null,
45
+ hidden_fields: null,
49
46
  proxy_url: null,
50
- tls_validation: null,
51
- pulp_last_updated: null,
52
- client_cert: null,
53
47
  headers: null,
54
- sock_connect_timeout: null,
55
- url: null,
48
+ total_timeout: null,
49
+ client_cert: null,
50
+ pulp_created: null,
51
+ pulp_last_updated: null,
52
+ tls_validation: null,
53
+ download_concurrency: null,
54
+ max_retries: 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
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
8
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
7
  | **artifact** | **String** | Artifact file representing the physical content | |
8
+ | **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,
21
- pulp_labels: null,
22
20
  artifact: null,
21
+ pulp_labels: null,
22
+ repository: null,
23
23
  version: null,
24
24
  name: null,
25
25
  namespace: null
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
7
  | **pulp_href** | **String** | | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
- | **artifact** | **String** | Artifact file representing the physical content | |
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
8
  | **vuln_report** | **String** | | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **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] |
11
+ | **artifact** | **String** | Artifact file representing the physical content | |
12
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
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
- prn: null,
25
- pulp_created: null,
26
24
  pulp_href: null,
27
- pulp_labels: null,
28
- artifact: null,
29
- pulp_last_updated: null,
30
25
  vuln_report: null,
26
+ pulp_created: null,
27
+ pulp_last_updated: null,
28
+ artifact: null,
29
+ pulp_labels: null,
30
+ prn: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: null
@@ -34,12 +34,12 @@ 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
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
39
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
37
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
41
- artifact: 'artifact_example', # String | Artifact file representing the physical content
38
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
42
39
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
40
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
41
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
43
43
  expected_name: 'expected_name_example', # String | The name of the collection.
44
44
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
45
45
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -77,12 +77,12 @@ end
77
77
  | Name | Type | Description | Notes |
78
78
  | ---- | ---- | ----------- | ----- |
79
79
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
80
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
81
- | **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
- | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
83
80
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
84
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
81
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
85
82
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
83
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
84
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
85
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
86
86
  | **expected_name** | **String** | The name of the collection. | [optional] |
87
87
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
88
88
  | **expected_version** | **String** | The version of the collection. | [optional] |
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | A unique name for this remote. | [optional] |
8
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
7
9
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
11
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
12
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | [optional] |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
15
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
8
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] |
9
- | **name** | **String** | A unique name for this remote. | [optional] |
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] |
10
18
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
11
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
19
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
20
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
12
21
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
13
- | **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] |
14
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
17
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
18
22
  | **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] |
19
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
21
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
23
23
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
24
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
25
- | **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] |
26
- | **url** | **String** | The URL of an external content source. | [optional] |
24
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
25
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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
+ name: null,
37
+ proxy_password: null,
36
38
  password: null,
39
+ proxy_username: null,
40
+ username: null,
41
+ ca_cert: null,
42
+ url: null,
43
+ rate_limit: null,
44
+ sock_connect_timeout: null,
37
45
  connect_timeout: null,
38
- name: null,
46
+ sock_read_timeout: null,
39
47
  pulp_labels: null,
40
- download_concurrency: null,
48
+ proxy_url: null,
49
+ headers: null,
41
50
  client_key: null,
42
- sock_read_timeout: null,
43
- max_retries: null,
44
- ca_cert: null,
45
- username: null,
46
- rate_limit: null,
47
51
  total_timeout: null,
48
- proxy_password: null,
49
- proxy_username: null,
50
- proxy_url: null,
51
- tls_validation: null,
52
52
  client_cert: null,
53
- headers: null,
54
- sock_connect_timeout: null,
55
- url: null,
53
+ tls_validation: null,
54
+ download_concurrency: null,
55
+ max_retries: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -23,12 +23,12 @@ 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] :repository A URI of a repository the new content unit should be associated with.
27
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
29
26
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
30
- # @option opts [String] :artifact Artifact file representing the physical content
27
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
31
28
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
29
+ # @option opts [String] :artifact Artifact file representing the physical content
30
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
32
32
  # @option opts [String] :expected_name The name of the collection.
33
33
  # @option opts [String] :expected_namespace The namespace of the collection.
34
34
  # @option opts [String] :expected_version The version of the collection.
@@ -42,12 +42,12 @@ module PulpAnsibleClient
42
42
  # Trigger an asynchronous task to create content,optionally create new repository version.
43
43
  # @param [Hash] opts the optional parameters
44
44
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
45
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
47
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
48
45
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
49
- # @option opts [String] :artifact Artifact file representing the physical content
46
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
50
47
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
48
+ # @option opts [String] :artifact Artifact file representing the physical content
49
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
50
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
51
51
  # @option opts [String] :expected_name The name of the collection.
52
52
  # @option opts [String] :expected_namespace The namespace of the collection.
53
53
  # @option opts [String] :expected_version The version of the collection.
@@ -103,12 +103,12 @@ module PulpAnsibleClient
103
103
 
104
104
  # form parameters
105
105
  form_params = opts[:form_params] || {}
106
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
107
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
108
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
109
106
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
110
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
107
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
111
108
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
109
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
110
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
111
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
112
112
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
113
113
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
114
114
  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
- # The Pulp Resource Name (PRN).
20
- attr_accessor :prn
19
+ attr_accessor :pulp_href
20
+
21
+ attr_accessor :vuln_report
21
22
 
22
23
  # Timestamp of creation.
23
24
  attr_accessor :pulp_created
24
25
 
25
- attr_accessor :pulp_href
26
-
27
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
- attr_accessor :pulp_labels
26
+ # 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.
27
+ attr_accessor :pulp_last_updated
29
28
 
30
29
  # Artifact file representing the physical content
31
30
  attr_accessor :artifact
32
31
 
33
- # 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.
34
- attr_accessor :pulp_last_updated
32
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
33
+ attr_accessor :pulp_labels
35
34
 
36
- attr_accessor :vuln_report
35
+ # The Pulp Resource Name (PRN).
36
+ attr_accessor :prn
37
37
 
38
38
  # The SHA-256 checksum if available.
39
39
  attr_accessor :sha256
@@ -109,13 +109,13 @@ module PulpAnsibleClient
109
109
  # Attribute mapping from ruby-style variable name to JSON key.
110
110
  def self.attribute_map
111
111
  {
112
- :'prn' => :'prn',
113
- :'pulp_created' => :'pulp_created',
114
112
  :'pulp_href' => :'pulp_href',
115
- :'pulp_labels' => :'pulp_labels',
116
- :'artifact' => :'artifact',
117
- :'pulp_last_updated' => :'pulp_last_updated',
118
113
  :'vuln_report' => :'vuln_report',
114
+ :'pulp_created' => :'pulp_created',
115
+ :'pulp_last_updated' => :'pulp_last_updated',
116
+ :'artifact' => :'artifact',
117
+ :'pulp_labels' => :'pulp_labels',
118
+ :'prn' => :'prn',
119
119
  :'sha256' => :'sha256',
120
120
  :'md5' => :'md5',
121
121
  :'sha1' => :'sha1',
@@ -151,13 +151,13 @@ module PulpAnsibleClient
151
151
  # Attribute type mapping.
152
152
  def self.openapi_types
153
153
  {
154
- :'prn' => :'String',
155
- :'pulp_created' => :'Time',
156
154
  :'pulp_href' => :'String',
157
- :'pulp_labels' => :'Hash<String, String>',
158
- :'artifact' => :'String',
159
- :'pulp_last_updated' => :'Time',
160
155
  :'vuln_report' => :'String',
156
+ :'pulp_created' => :'Time',
157
+ :'pulp_last_updated' => :'Time',
158
+ :'artifact' => :'String',
159
+ :'pulp_labels' => :'Hash<String, String>',
160
+ :'prn' => :'String',
161
161
  :'sha256' => :'String',
162
162
  :'md5' => :'String',
163
163
  :'sha1' => :'String',
@@ -207,34 +207,34 @@ module PulpAnsibleClient
207
207
  h[k.to_sym] = v
208
208
  }
209
209
 
210
- if attributes.key?(:'prn')
211
- self.prn = attributes[:'prn']
210
+ if attributes.key?(:'pulp_href')
211
+ self.pulp_href = attributes[:'pulp_href']
212
212
  end
213
213
 
214
- if attributes.key?(:'pulp_created')
215
- self.pulp_created = attributes[:'pulp_created']
214
+ if attributes.key?(:'vuln_report')
215
+ self.vuln_report = attributes[:'vuln_report']
216
216
  end
217
217
 
218
- if attributes.key?(:'pulp_href')
219
- self.pulp_href = attributes[:'pulp_href']
218
+ if attributes.key?(:'pulp_created')
219
+ self.pulp_created = attributes[:'pulp_created']
220
220
  end
221
221
 
222
- if attributes.key?(:'pulp_labels')
223
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
224
- self.pulp_labels = value
225
- end
222
+ if attributes.key?(:'pulp_last_updated')
223
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
226
224
  end
227
225
 
228
226
  if attributes.key?(:'artifact')
229
227
  self.artifact = attributes[:'artifact']
230
228
  end
231
229
 
232
- if attributes.key?(:'pulp_last_updated')
233
- self.pulp_last_updated = attributes[:'pulp_last_updated']
230
+ if attributes.key?(:'pulp_labels')
231
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
232
+ self.pulp_labels = value
233
+ end
234
234
  end
235
235
 
236
- if attributes.key?(:'vuln_report')
237
- self.vuln_report = attributes[:'vuln_report']
236
+ if attributes.key?(:'prn')
237
+ self.prn = attributes[:'prn']
238
238
  end
239
239
 
240
240
  if attributes.key?(:'sha256')
@@ -495,13 +495,13 @@ module PulpAnsibleClient
495
495
  def ==(o)
496
496
  return true if self.equal?(o)
497
497
  self.class == o.class &&
498
- prn == o.prn &&
499
- pulp_created == o.pulp_created &&
500
498
  pulp_href == o.pulp_href &&
501
- pulp_labels == o.pulp_labels &&
502
- artifact == o.artifact &&
503
- pulp_last_updated == o.pulp_last_updated &&
504
499
  vuln_report == o.vuln_report &&
500
+ pulp_created == o.pulp_created &&
501
+ pulp_last_updated == o.pulp_last_updated &&
502
+ artifact == o.artifact &&
503
+ pulp_labels == o.pulp_labels &&
504
+ prn == o.prn &&
505
505
  sha256 == o.sha256 &&
506
506
  md5 == o.md5 &&
507
507
  sha1 == o.sha1 &&
@@ -537,7 +537,7 @@ module PulpAnsibleClient
537
537
  # Calculates hash code according to all attributes.
538
538
  # @return [Integer] Hash code
539
539
  def hash
540
- [prn, pulp_created, pulp_href, pulp_labels, artifact, pulp_last_updated, vuln_report, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
540
+ [pulp_href, vuln_report, pulp_created, pulp_last_updated, artifact, pulp_labels, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
541
541
  end
542
542
 
543
543
  # Builds the object from hash