pulp_ansible_client 0.24.7 → 0.24.8

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: 9eae3adae8492680160f51725d3188c6af5dae81d30f50ff1e9a30424eff5e91
4
- data.tar.gz: fffca18aead51a37d044a8f9eed1237ffff97181da115d6ca8ed1157a1ed07ea
3
+ metadata.gz: ca9d65351c8a3db35a029405ae35d62a66461f94cb4d8cf1bf56fe138c905c57
4
+ data.tar.gz: 764b0e284ac1bae538a84c466569a4065570c716840a58b7438d8bf785c04c30
5
5
  SHA512:
6
- metadata.gz: 8c99bd07b8b5ea9e1934dee4f127ca1907548d72fb29835e3ad7aec438761b90edbdb1c5c1ff05d93506add90fd6e92250e77b6b1778f5281381c17a3df329b2
7
- data.tar.gz: a785948d0f09494eb2c2059cc5a59e5cca113fde221ff39b6bd7ece462132676e9bf862dfe8a7266510c127c57a9397040ff338b5268b5fcbbeed6a4fc92b893
6
+ metadata.gz: 8c025e6ed653ce62b88544107b07555848918fa4481a535227f53bd362a26b8b63c523df7fdc420aa5c0ce1fac1f880a2fa28f1b0445c09a88789f45d4eda5ab
7
+ data.tar.gz: 0cfdfe13e811a1fa81fe24e76fa729075d92d0fd24f3a540c59299c3e14e4f9a270c46064fc9109a895c6a0098ec4c243ad7529d7f750ad825f6223e10d48e1d
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.24.7
10
+ - Package version: 0.24.8
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.24.7.gem
28
+ gem install ./pulp_ansible_client-0.24.8.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.24.7.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.24.8.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.24.7'
37
+ gem 'pulp_ansible_client', '~> 0.24.8'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
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] |
8
7
  | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
9
9
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
10
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
11
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
@@ -18,12 +18,8 @@
18
18
  | **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
19
19
  | **id** | **String** | A collection identifier. | [optional][readonly] |
20
20
  | **authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional][readonly] |
21
- | **contents** | **Array<Object>** | A JSON field with data about the contents. | [optional][readonly] |
22
21
  | **dependencies** | **Object** | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional][readonly] |
23
22
  | **description** | **String** | A short summary description of the collection. | [optional][readonly] |
24
- | **docs_blob** | **Object** | A JSON field holding the various documentation blobs in the collection. | [optional][readonly] |
25
- | **manifest** | **Object** | A JSON field holding MANIFEST.json data. | [optional][readonly] |
26
- | **files** | **Object** | A JSON field holding FILES.json data. | [optional][readonly] |
27
23
  | **documentation** | **String** | The URL to any online docs. | [optional][readonly] |
28
24
  | **homepage** | **String** | The URL to the homepage of the collection/project. | [optional][readonly] |
29
25
  | **issues** | **String** | The URL to the collection issue tracker. | [optional][readonly] |
@@ -41,8 +37,8 @@
41
37
  require 'pulp_ansible_client'
42
38
 
43
39
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
44
- pulp_last_updated: null,
45
40
  pulp_href: null,
41
+ pulp_last_updated: null,
46
42
  prn: null,
47
43
  pulp_labels: null,
48
44
  artifact: null,
@@ -55,12 +51,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
55
51
  sha512: null,
56
52
  id: null,
57
53
  authors: null,
58
- contents: null,
59
54
  dependencies: null,
60
55
  description: null,
61
- docs_blob: null,
62
- manifest: null,
63
- files: null,
64
56
  documentation: null,
65
57
  homepage: null,
66
58
  issues: 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
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
10
- | **url** | **String** | The URL of an external content source. | |
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] |
7
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
12
9
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
13
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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] |
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
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
12
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **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] |
17
- | **name** | **String** | A unique name for this remote. | |
18
13
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
19
14
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
+ | **url** | **String** | The URL of an external content source. | |
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] |
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] |
21
18
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
19
+ | **name** | **String** | A unique name for this remote. | |
20
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
22
22
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
23
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
24
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
25
- | **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] |
26
23
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
24
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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
+ | **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
- max_retries: null,
37
- download_concurrency: null,
38
- proxy_username: null,
39
- url: null,
40
- sock_read_timeout: null,
36
+ rate_limit: null,
37
+ headers: null,
41
38
  proxy_url: null,
42
- password: null,
43
- connect_timeout: null,
39
+ sock_read_timeout: null,
40
+ client_cert: null,
44
41
  ca_cert: null,
45
- sock_connect_timeout: null,
46
- name: null,
47
42
  client_key: null,
48
43
  proxy_password: null,
49
- client_cert: null,
44
+ url: null,
45
+ connect_timeout: null,
46
+ total_timeout: null,
50
47
  username: null,
48
+ name: null,
49
+ max_retries: null,
50
+ proxy_username: null,
51
51
  pulp_labels: null,
52
- rate_limit: null,
53
- headers: null,
54
- total_timeout: null,
55
52
  tls_validation: null,
53
+ password: null,
54
+ sock_connect_timeout: 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
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
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
- | **pulp_href** | **String** | | [optional][readonly] |
10
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
11
- | **url** | **String** | The URL of an external content source. | |
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] |
7
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
13
9
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
14
12
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
15
- | **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] |
16
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
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] |
18
- | **name** | **String** | A unique name for this remote. | |
19
13
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
20
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
14
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
21
15
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
22
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
23
16
  | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
24
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
17
+ | **url** | **String** | The URL of an external content source. | |
18
+ | **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] |
25
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
+ | **name** | **String** | A unique name for this remote. | |
21
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
22
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
23
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
24
+ | **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] |
25
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
+ | **pulp_href** | **String** | | [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_last_updated: null,
37
- max_retries: null,
38
- pulp_href: null,
39
- download_concurrency: null,
40
- url: null,
41
- sock_read_timeout: null,
36
+ rate_limit: null,
37
+ headers: null,
42
38
  proxy_url: null,
39
+ sock_read_timeout: null,
40
+ pulp_last_updated: null,
43
41
  prn: null,
44
- connect_timeout: null,
45
- ca_cert: null,
46
- sock_connect_timeout: null,
47
- name: null,
48
42
  client_cert: null,
49
- pulp_labels: null,
43
+ ca_cert: null,
50
44
  pulp_created: null,
51
- rate_limit: null,
52
45
  hidden_fields: null,
53
- headers: null,
46
+ url: null,
47
+ connect_timeout: null,
54
48
  total_timeout: null,
49
+ name: null,
50
+ max_retries: null,
51
+ pulp_labels: null,
55
52
  tls_validation: null,
53
+ sock_connect_timeout: null,
54
+ download_concurrency: null,
55
+ pulp_href: 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
7
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
8
  | **artifact** | **String** | Artifact file representing the physical content | |
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
20
  pulp_labels: null,
22
21
  artifact: null,
22
+ repository: null,
23
23
  version: null,
24
24
  name: null,
25
25
  namespace: null
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
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] |
8
7
  | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
9
9
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
10
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
11
  | **artifact** | **String** | Artifact file representing the physical content | |
@@ -20,8 +20,8 @@
20
20
  require 'pulp_ansible_client'
21
21
 
22
22
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
23
- pulp_last_updated: null,
24
23
  pulp_href: null,
24
+ pulp_last_updated: null,
25
25
  prn: null,
26
26
  pulp_labels: null,
27
27
  artifact: 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
37
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
39
38
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
41
  artifact: 'artifact_example', # String | Artifact file representing the physical content
42
- file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
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
80
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
82
81
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
82
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
83
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
84
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
85
- | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [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
- | **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
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
10
- | **url** | **String** | The URL of an external content source. | [optional] |
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] |
7
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
12
9
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
13
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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] |
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
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
12
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **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] |
17
- | **name** | **String** | A unique name for this remote. | [optional] |
18
13
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
19
14
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
+ | **url** | **String** | The URL of an external content source. | [optional] |
16
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
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] |
21
18
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
19
+ | **name** | **String** | A unique name for this remote. | [optional] |
20
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
22
22
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
23
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
24
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
25
- | **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] |
26
23
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
24
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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
+ | **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
- max_retries: null,
37
- download_concurrency: null,
38
- proxy_username: null,
39
- url: null,
40
- sock_read_timeout: null,
36
+ rate_limit: null,
37
+ headers: null,
41
38
  proxy_url: null,
42
- password: null,
43
- connect_timeout: null,
39
+ sock_read_timeout: null,
40
+ client_cert: null,
44
41
  ca_cert: null,
45
- sock_connect_timeout: null,
46
- name: null,
47
42
  client_key: null,
48
43
  proxy_password: null,
49
- client_cert: null,
44
+ url: null,
45
+ connect_timeout: null,
46
+ total_timeout: null,
50
47
  username: null,
48
+ name: null,
49
+ max_retries: null,
50
+ proxy_username: null,
51
51
  pulp_labels: null,
52
- rate_limit: null,
53
- headers: null,
54
- total_timeout: null,
55
52
  tls_validation: null,
53
+ password: null,
54
+ sock_connect_timeout: null,
55
+ download_concurrency: 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
26
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
28
27
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
28
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
29
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
30
  # @option opts [String] :artifact Artifact file representing the physical content
31
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
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
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
47
46
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
47
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
48
48
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
49
49
  # @option opts [String] :artifact Artifact file representing the physical content
50
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
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
106
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
108
107
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
108
+ form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
109
109
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
110
110
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
111
- form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].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,11 +16,11 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
+ attr_accessor :pulp_href
20
+
19
21
  # 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
22
  attr_accessor :pulp_last_updated
21
23
 
22
- attr_accessor :pulp_href
23
-
24
24
  # The Pulp Resource Name (PRN).
25
25
  attr_accessor :prn
26
26
 
@@ -57,24 +57,12 @@ module PulpAnsibleClient
57
57
  # A list of the CollectionVersion content's authors.
58
58
  attr_accessor :authors
59
59
 
60
- # A JSON field with data about the contents.
61
- attr_accessor :contents
62
-
63
60
  # A dict declaring Collections that this collection requires to be installed for it to be usable.
64
61
  attr_accessor :dependencies
65
62
 
66
63
  # A short summary description of the collection.
67
64
  attr_accessor :description
68
65
 
69
- # A JSON field holding the various documentation blobs in the collection.
70
- attr_accessor :docs_blob
71
-
72
- # A JSON field holding MANIFEST.json data.
73
- attr_accessor :manifest
74
-
75
- # A JSON field holding FILES.json data.
76
- attr_accessor :files
77
-
78
66
  # The URL to any online docs.
79
67
  attr_accessor :documentation
80
68
 
@@ -107,8 +95,8 @@ module PulpAnsibleClient
107
95
  # Attribute mapping from ruby-style variable name to JSON key.
108
96
  def self.attribute_map
109
97
  {
110
- :'pulp_last_updated' => :'pulp_last_updated',
111
98
  :'pulp_href' => :'pulp_href',
99
+ :'pulp_last_updated' => :'pulp_last_updated',
112
100
  :'prn' => :'prn',
113
101
  :'pulp_labels' => :'pulp_labels',
114
102
  :'artifact' => :'artifact',
@@ -121,12 +109,8 @@ module PulpAnsibleClient
121
109
  :'sha512' => :'sha512',
122
110
  :'id' => :'id',
123
111
  :'authors' => :'authors',
124
- :'contents' => :'contents',
125
112
  :'dependencies' => :'dependencies',
126
113
  :'description' => :'description',
127
- :'docs_blob' => :'docs_blob',
128
- :'manifest' => :'manifest',
129
- :'files' => :'files',
130
114
  :'documentation' => :'documentation',
131
115
  :'homepage' => :'homepage',
132
116
  :'issues' => :'issues',
@@ -148,8 +132,8 @@ module PulpAnsibleClient
148
132
  # Attribute type mapping.
149
133
  def self.openapi_types
150
134
  {
151
- :'pulp_last_updated' => :'Time',
152
135
  :'pulp_href' => :'String',
136
+ :'pulp_last_updated' => :'Time',
153
137
  :'prn' => :'String',
154
138
  :'pulp_labels' => :'Hash<String, String>',
155
139
  :'artifact' => :'String',
@@ -162,12 +146,8 @@ module PulpAnsibleClient
162
146
  :'sha512' => :'String',
163
147
  :'id' => :'String',
164
148
  :'authors' => :'Array<String>',
165
- :'contents' => :'Array<Object>',
166
149
  :'dependencies' => :'Object',
167
150
  :'description' => :'String',
168
- :'docs_blob' => :'Object',
169
- :'manifest' => :'Object',
170
- :'files' => :'Object',
171
151
  :'documentation' => :'String',
172
152
  :'homepage' => :'String',
173
153
  :'issues' => :'String',
@@ -203,14 +183,14 @@ module PulpAnsibleClient
203
183
  h[k.to_sym] = v
204
184
  }
205
185
 
206
- if attributes.key?(:'pulp_last_updated')
207
- self.pulp_last_updated = attributes[:'pulp_last_updated']
208
- end
209
-
210
186
  if attributes.key?(:'pulp_href')
211
187
  self.pulp_href = attributes[:'pulp_href']
212
188
  end
213
189
 
190
+ if attributes.key?(:'pulp_last_updated')
191
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
192
+ end
193
+
214
194
  if attributes.key?(:'prn')
215
195
  self.prn = attributes[:'prn']
216
196
  end
@@ -263,12 +243,6 @@ module PulpAnsibleClient
263
243
  end
264
244
  end
265
245
 
266
- if attributes.key?(:'contents')
267
- if (value = attributes[:'contents']).is_a?(Array)
268
- self.contents = value
269
- end
270
- end
271
-
272
246
  if attributes.key?(:'dependencies')
273
247
  self.dependencies = attributes[:'dependencies']
274
248
  end
@@ -277,18 +251,6 @@ module PulpAnsibleClient
277
251
  self.description = attributes[:'description']
278
252
  end
279
253
 
280
- if attributes.key?(:'docs_blob')
281
- self.docs_blob = attributes[:'docs_blob']
282
- end
283
-
284
- if attributes.key?(:'manifest')
285
- self.manifest = attributes[:'manifest']
286
- end
287
-
288
- if attributes.key?(:'files')
289
- self.files = attributes[:'files']
290
- end
291
-
292
254
  if attributes.key?(:'documentation')
293
255
  self.documentation = attributes[:'documentation']
294
256
  end
@@ -502,8 +464,8 @@ module PulpAnsibleClient
502
464
  def ==(o)
503
465
  return true if self.equal?(o)
504
466
  self.class == o.class &&
505
- pulp_last_updated == o.pulp_last_updated &&
506
467
  pulp_href == o.pulp_href &&
468
+ pulp_last_updated == o.pulp_last_updated &&
507
469
  prn == o.prn &&
508
470
  pulp_labels == o.pulp_labels &&
509
471
  artifact == o.artifact &&
@@ -516,12 +478,8 @@ module PulpAnsibleClient
516
478
  sha512 == o.sha512 &&
517
479
  id == o.id &&
518
480
  authors == o.authors &&
519
- contents == o.contents &&
520
481
  dependencies == o.dependencies &&
521
482
  description == o.description &&
522
- docs_blob == o.docs_blob &&
523
- manifest == o.manifest &&
524
- files == o.files &&
525
483
  documentation == o.documentation &&
526
484
  homepage == o.homepage &&
527
485
  issues == o.issues &&
@@ -543,7 +501,7 @@ module PulpAnsibleClient
543
501
  # Calculates hash code according to all attributes.
544
502
  # @return [Integer] Hash code
545
503
  def hash
546
- [pulp_last_updated, pulp_href, prn, pulp_labels, artifact, pulp_created, 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
504
+ [pulp_href, pulp_last_updated, prn, pulp_labels, artifact, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
547
505
  end
548
506
 
549
507
  # Builds the object from hash