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