pulp_ansible_client 0.28.3 → 0.28.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: 3d51df4dfb5d983fbbf11223d9c46beef4dd60af556e7e9ef1f889365d66a3d7
4
- data.tar.gz: dde7bacaa5f9bd51551bfb502906a98a3d1899d06d5652e3c645488a0e3324e6
3
+ metadata.gz: 11b72b0b6757ec90aa098b2858fd4a6700edd66c0b5334bf26175cc0165161e8
4
+ data.tar.gz: b3485825ce9f51983dbf576fe7f2102f03dc7ac8c617c1cfb64316449d806d65
5
5
  SHA512:
6
- metadata.gz: cf8b690624e4426d8733411257618483c1457e2b2d5b4a577a54e642d976e495f483e542a5c2f510c67281c75f09d42635b0a77839efb18aefb1dcbe72bb8aa9
7
- data.tar.gz: bc8091b2a87a3944f378e3a0d19edb50635b853a3cf3c84111cf83b3d736b3266993ad61684e0b131485bf0b1eccf341c7c8df27b4d3201ee6938a873fad8d12
6
+ metadata.gz: 04d2d16d703b50e4538d5d3bfd19712191c228189b81b639d55db75b751696b20e5202b32b534098aff662c6bfa99645289d5803cf4de399c05c9c9590f2b051
7
+ data.tar.gz: bd97c38578681504025e0f13cec3e741238f60f3f1fc40697833c848528c75e0b33576ed4438a113661050c730f3ee041b1878c8d743f2adfa4e1f127fadecdb
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.3
10
+ - Package version: 0.28.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.28.3.gem
28
+ gem install ./pulp_ansible_client-0.28.4.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.28.3.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.28.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.28.3'
37
+ gem 'pulp_ansible_client', '~> 0.28.4'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **vuln_report** | **String** | | [optional][readonly] |
8
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
7
9
  | **pulp_href** | **String** | | [optional][readonly] |
8
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
- | **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] |
10
10
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
11
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
13
- | **vuln_report** | **String** | | [optional][readonly] |
12
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
+ | **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] |
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
+ vuln_report: null,
42
+ artifact: null,
41
43
  pulp_href: null,
42
- pulp_labels: null,
43
- pulp_last_updated: null,
44
44
  pulp_created: null,
45
45
  prn: null,
46
- artifact: null,
47
- vuln_report: null,
46
+ pulp_labels: null,
47
+ pulp_last_updated: 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
- | **name** | **String** | A unique name for this remote. | |
8
- | **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] |
9
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
7
+ | **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] |
8
+ | **url** | **String** | The URL of an external content source. | |
9
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
10
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
11
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
11
12
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
13
- | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
14
13
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
14
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
15
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
15
19
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
16
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
17
- | **url** | **String** | The URL of an external content source. | |
18
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
21
+ | **name** | **String** | A unique name for this remote. | |
19
22
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
20
23
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
21
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
22
24
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
23
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] |
24
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
25
- | **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] |
26
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
- total_timeout: null,
38
- headers: null,
36
+ connect_timeout: null,
37
+ url: null,
38
+ proxy_password: null,
39
39
  max_retries: null,
40
+ rate_limit: null,
40
41
  client_key: null,
41
- ca_cert: null,
42
- sock_connect_timeout: null,
43
42
  tls_validation: null,
43
+ sock_connect_timeout: null,
44
+ ca_cert: null,
45
+ proxy_url: null,
46
+ total_timeout: null,
47
+ headers: null,
44
48
  client_cert: null,
45
- rate_limit: null,
46
- url: null,
47
- download_concurrency: null,
49
+ password: null,
50
+ name: null,
48
51
  username: null,
49
52
  pulp_labels: null,
50
- password: null,
51
53
  proxy_username: null,
52
54
  sock_read_timeout: null,
53
- proxy_password: null,
54
- connect_timeout: null,
55
- proxy_url: null,
55
+ download_concurrency: 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
- | **name** | **String** | A unique name for this remote. | |
8
- | **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] |
9
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
7
+ | **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] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
9
+ | **url** | **String** | The URL of an external content source. | |
10
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
11
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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
- | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
12
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
13
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
13
14
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
14
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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] |
16
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
17
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
18
+ | **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
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
15
20
  | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
16
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
17
- | **url** | **String** | The URL of an external content source. | |
18
- | **pulp_href** | **String** | | [optional][readonly] |
19
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
21
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
22
+ | **name** | **String** | A unique name for this remote. | |
23
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
20
24
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
21
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
22
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
23
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] |
24
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
25
- | **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] |
26
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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::AnsibleGitRemoteResponse.new(
36
- name: null,
37
- total_timeout: null,
38
- headers: null,
36
+ connect_timeout: null,
37
+ pulp_href: null,
38
+ url: null,
39
+ pulp_created: null,
39
40
  max_retries: null,
40
- ca_cert: null,
41
- sock_connect_timeout: null,
41
+ rate_limit: null,
42
+ pulp_last_updated: null,
42
43
  tls_validation: null,
43
- client_cert: null,
44
+ sock_connect_timeout: null,
45
+ ca_cert: null,
46
+ proxy_url: null,
47
+ total_timeout: null,
48
+ headers: null,
44
49
  hidden_fields: null,
45
- rate_limit: null,
46
- url: null,
47
- pulp_href: null,
48
- download_concurrency: null,
50
+ client_cert: null,
51
+ name: null,
52
+ prn: null,
49
53
  pulp_labels: null,
50
- pulp_last_updated: null,
51
- pulp_created: null,
52
54
  sock_read_timeout: null,
53
- prn: null,
54
- connect_timeout: null,
55
- proxy_url: null,
55
+ download_concurrency: 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
+ | **artifact** | **String** | Artifact file representing the physical content | |
7
8
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
8
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
- | **artifact** | **String** | Artifact file representing the physical content | |
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
+ artifact: null,
20
21
  repository: null,
21
22
  pulp_labels: null,
22
- artifact: 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
+ | **vuln_report** | **String** | | [optional][readonly] |
8
+ | **artifact** | **String** | Artifact file representing the physical content | |
7
9
  | **pulp_href** | **String** | | [optional][readonly] |
8
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
- | **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] |
10
10
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
11
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
- | **artifact** | **String** | Artifact file representing the physical content | |
13
- | **vuln_report** | **String** | | [optional][readonly] |
12
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
+ | **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] |
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
+ vuln_report: null,
25
+ artifact: null,
24
26
  pulp_href: null,
25
- pulp_labels: null,
26
- pulp_last_updated: null,
27
27
  pulp_created: null,
28
28
  prn: null,
29
- artifact: null,
30
- vuln_report: null,
29
+ pulp_labels: null,
30
+ pulp_last_updated: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: null
@@ -35,11 +35,11 @@ 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
37
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
- file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
38
  artifact: 'artifact_example', # String | Artifact file representing the physical content
39
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
42
40
  upload: 'upload_example', # String | An uncommitted upload that may be turned 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
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
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.
@@ -78,11 +78,11 @@ end
78
78
  | ---- | ---- | ----------- | ----- |
79
79
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
80
80
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
81
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
82
- | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [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] |
84
81
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
82
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
85
83
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [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
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [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
- | **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] |
9
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
7
+ | **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] |
8
+ | **url** | **String** | The URL of an external content source. | [optional] |
9
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
10
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
11
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
11
12
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
13
- | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
14
13
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
14
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
15
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
15
19
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
16
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
17
- | **url** | **String** | The URL of an external content source. | [optional] |
18
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
21
+ | **name** | **String** | A unique name for this remote. | [optional] |
19
22
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
20
23
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
21
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
22
24
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
23
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] |
24
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
25
- | **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] |
26
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
- total_timeout: null,
38
- headers: null,
36
+ connect_timeout: null,
37
+ url: null,
38
+ proxy_password: null,
39
39
  max_retries: null,
40
+ rate_limit: null,
40
41
  client_key: null,
41
- ca_cert: null,
42
- sock_connect_timeout: null,
43
42
  tls_validation: null,
43
+ sock_connect_timeout: null,
44
+ ca_cert: null,
45
+ proxy_url: null,
46
+ total_timeout: null,
47
+ headers: null,
44
48
  client_cert: null,
45
- rate_limit: null,
46
- url: null,
47
- download_concurrency: null,
49
+ password: null,
50
+ name: null,
48
51
  username: null,
49
52
  pulp_labels: null,
50
- password: null,
51
53
  proxy_username: null,
52
54
  sock_read_timeout: null,
53
- proxy_password: null,
54
- connect_timeout: null,
55
- proxy_url: null,
55
+ download_concurrency: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -115,7 +115,7 @@ PulpAnsibleClient.configure do |config|
115
115
  end
116
116
 
117
117
  api_instance = PulpAnsibleClient::RemotesGitApi.new
118
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
118
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
119
119
  opts = {
120
120
  x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
121
121
  }
@@ -926,7 +926,7 @@ end
926
926
 
927
927
  api_instance = PulpAnsibleClient::RemotesGitApi.new
928
928
  ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
929
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
929
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
930
930
  opts = {
931
931
  x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
932
932
  }
@@ -24,11 +24,11 @@ module PulpAnsibleClient
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
26
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
27
  # @option opts [String] :artifact Artifact file representing the physical content
28
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
31
29
  # @option opts [String] :upload An uncommitted upload that may be turned 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
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
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.
@@ -43,11 +43,11 @@ module PulpAnsibleClient
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
45
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
46
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
47
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
48
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
49
46
  # @option opts [String] :artifact Artifact file representing the physical content
47
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
50
48
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
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] :file_url A url that Pulp can download and turn into the content unit.
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.
@@ -104,11 +104,11 @@ module PulpAnsibleClient
104
104
  # form parameters
105
105
  form_params = opts[:form_params] || {}
106
106
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
107
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
108
- form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
109
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
110
107
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
108
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
111
109
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
110
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
111
+ form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].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,13 +16,12 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
- attr_accessor :pulp_href
19
+ attr_accessor :vuln_report
20
20
 
21
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
22
- attr_accessor :pulp_labels
21
+ # Artifact file representing the physical content
22
+ attr_accessor :artifact
23
23
 
24
- # 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.
25
- attr_accessor :pulp_last_updated
24
+ attr_accessor :pulp_href
26
25
 
27
26
  # Timestamp of creation.
28
27
  attr_accessor :pulp_created
@@ -30,10 +29,11 @@ module PulpAnsibleClient
30
29
  # The Pulp Resource Name (PRN).
31
30
  attr_accessor :prn
32
31
 
33
- # Artifact file representing the physical content
34
- attr_accessor :artifact
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
+ # 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.
36
+ attr_accessor :pulp_last_updated
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
+ :'vuln_report' => :'vuln_report',
101
+ :'artifact' => :'artifact',
100
102
  :'pulp_href' => :'pulp_href',
101
- :'pulp_labels' => :'pulp_labels',
102
- :'pulp_last_updated' => :'pulp_last_updated',
103
103
  :'pulp_created' => :'pulp_created',
104
104
  :'prn' => :'prn',
105
- :'artifact' => :'artifact',
106
- :'vuln_report' => :'vuln_report',
105
+ :'pulp_labels' => :'pulp_labels',
106
+ :'pulp_last_updated' => :'pulp_last_updated',
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
+ :'vuln_report' => :'String',
139
+ :'artifact' => :'String',
138
140
  :'pulp_href' => :'String',
139
- :'pulp_labels' => :'Hash<String, String>',
140
- :'pulp_last_updated' => :'Time',
141
141
  :'pulp_created' => :'Time',
142
142
  :'prn' => :'String',
143
- :'artifact' => :'String',
144
- :'vuln_report' => :'String',
143
+ :'pulp_labels' => :'Hash<String, String>',
144
+ :'pulp_last_updated' => :'Time',
145
145
  :'sha256' => :'String',
146
146
  :'md5' => :'String',
147
147
  :'sha1' => :'String',
@@ -187,18 +187,16 @@ module PulpAnsibleClient
187
187
  h[k.to_sym] = v
188
188
  }
189
189
 
190
- if attributes.key?(:'pulp_href')
191
- self.pulp_href = attributes[:'pulp_href']
190
+ if attributes.key?(:'vuln_report')
191
+ self.vuln_report = attributes[:'vuln_report']
192
192
  end
193
193
 
194
- if attributes.key?(:'pulp_labels')
195
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
196
- self.pulp_labels = value
197
- end
194
+ if attributes.key?(:'artifact')
195
+ self.artifact = attributes[:'artifact']
198
196
  end
199
197
 
200
- if attributes.key?(:'pulp_last_updated')
201
- self.pulp_last_updated = attributes[:'pulp_last_updated']
198
+ if attributes.key?(:'pulp_href')
199
+ self.pulp_href = attributes[:'pulp_href']
202
200
  end
203
201
 
204
202
  if attributes.key?(:'pulp_created')
@@ -209,12 +207,14 @@ module PulpAnsibleClient
209
207
  self.prn = attributes[:'prn']
210
208
  end
211
209
 
212
- if attributes.key?(:'artifact')
213
- self.artifact = attributes[:'artifact']
210
+ if attributes.key?(:'pulp_labels')
211
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
212
+ self.pulp_labels = value
213
+ end
214
214
  end
215
215
 
216
- if attributes.key?(:'vuln_report')
217
- self.vuln_report = attributes[:'vuln_report']
216
+ if attributes.key?(:'pulp_last_updated')
217
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
218
218
  end
219
219
 
220
220
  if attributes.key?(:'sha256')
@@ -457,13 +457,13 @@ module PulpAnsibleClient
457
457
  def ==(o)
458
458
  return true if self.equal?(o)
459
459
  self.class == o.class &&
460
+ vuln_report == o.vuln_report &&
461
+ artifact == o.artifact &&
460
462
  pulp_href == o.pulp_href &&
461
- pulp_labels == o.pulp_labels &&
462
- pulp_last_updated == o.pulp_last_updated &&
463
463
  pulp_created == o.pulp_created &&
464
464
  prn == o.prn &&
465
- artifact == o.artifact &&
466
- vuln_report == o.vuln_report &&
465
+ pulp_labels == o.pulp_labels &&
466
+ pulp_last_updated == o.pulp_last_updated &&
467
467
  sha256 == o.sha256 &&
468
468
  md5 == o.md5 &&
469
469
  sha1 == o.sha1 &&
@@ -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_href, pulp_labels, pulp_last_updated, pulp_created, prn, artifact, vuln_report, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
498
+ [vuln_report, artifact, pulp_href, pulp_created, prn, pulp_labels, pulp_last_updated, 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