pulp_ansible_client 0.25.5 → 0.25.7

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleDistribution.md +5 -3
  4. data/docs/AnsibleAnsibleDistributionResponse.md +12 -4
  5. data/docs/AnsibleCollectionVersionResponse.md +8 -8
  6. data/docs/AnsibleGitRemote.md +30 -30
  7. data/docs/AnsibleGitRemoteResponse.md +28 -28
  8. data/docs/AnsibleRole.md +2 -2
  9. data/docs/AnsibleRoleResponse.md +8 -8
  10. data/docs/ContentCollectionVersionsApi.md +6 -6
  11. data/docs/PatchedansibleAnsibleDistribution.md +5 -3
  12. data/docs/PatchedansibleGitRemote.md +30 -30
  13. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  14. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  15. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  16. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +28 -16
  17. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
  18. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  19. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  20. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -33
  21. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
  22. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +155 -155
  23. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
  24. data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
  25. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
  26. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +238 -238
  27. data/lib/pulp_ansible_client/version.rb +1 -1
  28. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  29. data/spec/models/ansible_ansible_distribution_response_spec.rb +28 -4
  30. data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
  31. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  32. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  33. data/spec/models/ansible_git_remote_spec.rb +20 -20
  34. data/spec/models/ansible_role_response_spec.rb +5 -5
  35. data/spec/models/ansible_role_spec.rb +3 -3
  36. data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
  37. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  38. metadata +123 -123
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e59ee7eefd5cfbbc084496ac9341e5d57b4375ccd9f163215300d7e5222cafaf
4
- data.tar.gz: 6a6e8b30261de8f4e9c99fd79bba3b2fd999f5781de7d676a39f0cd12495dd93
3
+ metadata.gz: 6750c6d21360b1c211957f3ad09afbb9e3f3763f288bc87ef3b5023530a5d5b3
4
+ data.tar.gz: 4d87d07a01a67c2b9e36ddaaaf0f9430a89c55ae18508548c9bf37010b3e3d50
5
5
  SHA512:
6
- metadata.gz: c533bbb34e88384aaaa0741d028e924c1fa00bffd318ec33ed503124a30555c0c33d0a078200b098bcf785f4ece9ba3ee0c32c13b99d9b5162267c9ed0ca2de1
7
- data.tar.gz: 7d4f9ddd83967bea71c35b88921bcd7268fcc1e601aa66d84183e73a03c80df801e012bb31211028356ee984d42ae6a433a4aa3383f228fde18c0bd6b20282f3
6
+ metadata.gz: c8eb9301a718b79067b7c56a0bd9098f0d0f5f2149978b2f29e6ff7cecfa782769f7f964da64dac665e6f54731521a0839fd1ee3b1e4dbad2b4899d9a7480a3a
7
+ data.tar.gz: 264ceac589a925b8e74d88a110d05082a8026e9de4b60b2d509e4ade55aa700e31a0fb8235f6dc589f5136697a6ee497f5d2eaa260e534cdfaf7b51b62323a93
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.25.5
10
+ - Package version: 0.25.7
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.25.5.gem
28
+ gem install ./pulp_ansible_client-0.25.7.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.25.5.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.25.7.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.25.5'
37
+ gem 'pulp_ansible_client', '~> 0.25.7'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -6,10 +6,11 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
8
8
  | **content_guard** | **String** | An optional content-guard. | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
11
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
10
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -19,10 +20,11 @@ require 'pulp_ansible_client'
19
20
  instance = PulpAnsibleClient::AnsibleAnsibleDistribution.new(
20
21
  base_path: null,
21
22
  content_guard: null,
23
+ hidden: null,
24
+ pulp_labels: null,
22
25
  name: null,
23
26
  repository: null,
24
- repository_version: null,
25
- pulp_labels: null
27
+ repository_version: null
26
28
  )
27
29
  ```
28
30
 
@@ -5,14 +5,18 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
9
11
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
10
12
  | **content_guard** | **String** | An optional content-guard. | [optional] |
13
+ | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
14
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
15
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
16
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
12
17
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
14
18
  | **client_url** | **String** | The URL of a Collection content source. | [optional][readonly] |
15
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
19
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
16
20
 
17
21
  ## Example
18
22
 
@@ -21,14 +25,18 @@ require 'pulp_ansible_client'
21
25
 
22
26
  instance = PulpAnsibleClient::AnsibleAnsibleDistributionResponse.new(
23
27
  pulp_href: null,
28
+ prn: null,
24
29
  pulp_created: null,
30
+ pulp_last_updated: null,
25
31
  base_path: null,
26
32
  content_guard: null,
33
+ no_content_change_since: null,
34
+ hidden: null,
35
+ pulp_labels: null,
27
36
  name: null,
28
37
  repository: null,
29
- repository_version: null,
30
38
  client_url: null,
31
- pulp_labels: null
39
+ repository_version: null
32
40
  )
33
41
  ```
34
42
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
7
  | **pulp_href** | **String** | | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
- | **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
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
12
9
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
13
  | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
14
14
  | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
15
15
  | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
@@ -37,12 +37,12 @@
37
37
  require 'pulp_ansible_client'
38
38
 
39
39
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
40
- prn: null,
41
- pulp_created: null,
42
40
  pulp_href: null,
43
- pulp_labels: null,
44
- pulp_last_updated: null,
41
+ pulp_created: null,
45
42
  artifact: null,
43
+ pulp_last_updated: null,
44
+ prn: null,
45
+ pulp_labels: null,
46
46
  sha256: null,
47
47
  md5: null,
48
48
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
8
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
9
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
10
7
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
11
- | **url** | **String** | The URL of an external content source. | |
12
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
13
10
  | **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
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [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
- | **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] |
18
- | **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
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
12
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | |
14
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
19
15
  | **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
16
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
17
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
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] |
19
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
20
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
23
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
24
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
25
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
- | **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. | |
22
+ | **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] |
23
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
24
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
25
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemote.new(
36
- download_concurrency: null,
37
- tls_validation: null,
38
- max_retries: null,
39
36
  proxy_password: null,
40
- url: null,
41
- username: null,
37
+ client_cert: null,
38
+ rate_limit: null,
42
39
  sock_connect_timeout: null,
43
- client_key: null,
44
- ca_cert: null,
45
- proxy_url: null,
46
- connect_timeout: null,
47
- sock_read_timeout: null,
40
+ password: null,
41
+ download_concurrency: null,
42
+ url: null,
43
+ pulp_labels: null,
48
44
  total_timeout: null,
49
- name: null,
50
45
  headers: null,
46
+ tls_validation: null,
47
+ connect_timeout: null,
48
+ username: null,
51
49
  proxy_username: null,
52
- client_cert: null,
53
- rate_limit: null,
54
- pulp_labels: null,
55
- password: null,
50
+ name: null,
51
+ sock_read_timeout: null,
52
+ ca_cert: null,
53
+ client_key: null,
54
+ proxy_url: null,
55
+ max_retries: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
10
+ | **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] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
7
12
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
8
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
9
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
10
13
  | **url** | **String** | The URL of an external content source. | |
11
- | **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
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
+ | **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] |
12
16
  | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
15
- | **pulp_href** | **String** | | [optional][readonly] |
17
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
18
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
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] |
20
+ | **pulp_href** | **String** | | [optional][readonly] |
17
21
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
18
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
19
- | **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] |
20
- | **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
22
  | **name** | **String** | A unique name for this remote. | |
22
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
23
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
24
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
25
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
23
+ | **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
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
25
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
36
+ pulp_created: null,
37
+ client_cert: null,
38
+ rate_limit: null,
39
+ sock_connect_timeout: null,
40
+ prn: null,
36
41
  download_concurrency: null,
37
- tls_validation: null,
38
- max_retries: null,
39
42
  url: null,
40
- sock_connect_timeout: null,
43
+ pulp_labels: null,
44
+ total_timeout: null,
41
45
  hidden_fields: null,
42
- ca_cert: null,
43
- proxy_url: null,
44
- pulp_href: null,
46
+ headers: null,
47
+ tls_validation: null,
45
48
  connect_timeout: null,
49
+ pulp_href: null,
46
50
  pulp_last_updated: null,
47
- prn: null,
48
- sock_read_timeout: null,
49
- total_timeout: null,
50
51
  name: null,
51
- headers: null,
52
- client_cert: null,
53
- pulp_created: null,
54
- rate_limit: null,
55
- pulp_labels: null,
52
+ sock_read_timeout: null,
53
+ ca_cert: null,
54
+ proxy_url: null,
55
+ max_retries: 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,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
7
  | **pulp_href** | **String** | | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
- | **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
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
12
9
  | **artifact** | **String** | Artifact file representing the physical content | |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
13
  | **version** | **String** | | |
14
14
  | **name** | **String** | | |
15
15
  | **namespace** | **String** | | |
@@ -20,12 +20,12 @@
20
20
  require 'pulp_ansible_client'
21
21
 
22
22
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
23
- prn: null,
24
- pulp_created: null,
25
23
  pulp_href: null,
26
- pulp_labels: null,
27
- pulp_last_updated: null,
24
+ pulp_created: null,
28
25
  artifact: null,
26
+ pulp_last_updated: null,
27
+ prn: null,
28
+ pulp_labels: null,
29
29
  version: null,
30
30
  name: null,
31
31
  namespace: null
@@ -34,12 +34,12 @@ end
34
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
35
35
  opts = {
36
36
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
37
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
37
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
39
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
41
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
- 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
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned 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.
@@ -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
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
80
81
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
81
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
82
- | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
83
82
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
84
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] |
85
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
84
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
85
+ | **file** | **File** | An uploaded file that may be turned 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] |
@@ -6,10 +6,11 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional] |
8
8
  | **content_guard** | **String** | An optional content-guard. | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
9
11
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional] |
10
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -19,10 +20,11 @@ require 'pulp_ansible_client'
19
20
  instance = PulpAnsibleClient::PatchedansibleAnsibleDistribution.new(
20
21
  base_path: null,
21
22
  content_guard: null,
23
+ hidden: null,
24
+ pulp_labels: null,
22
25
  name: null,
23
26
  repository: null,
24
- repository_version: null,
25
- pulp_labels: null
27
+ repository_version: null
26
28
  )
27
29
  ```
28
30
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
8
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
9
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
10
7
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
11
- | **url** | **String** | The URL of an external content source. | [optional] |
12
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
13
10
  | **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
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [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
- | **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] |
18
- | **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
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
12
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | [optional] |
14
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
19
15
  | **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. | [optional] |
21
16
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
17
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
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] |
19
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
20
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
23
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
24
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
25
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
26
- | **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] |
22
+ | **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] |
23
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
24
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
25
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
36
- download_concurrency: null,
37
- tls_validation: null,
38
- max_retries: null,
39
36
  proxy_password: null,
40
- url: null,
41
- username: null,
37
+ client_cert: null,
38
+ rate_limit: null,
42
39
  sock_connect_timeout: null,
43
- client_key: null,
44
- ca_cert: null,
45
- proxy_url: null,
46
- connect_timeout: null,
47
- sock_read_timeout: null,
40
+ password: null,
41
+ download_concurrency: null,
42
+ url: null,
43
+ pulp_labels: null,
48
44
  total_timeout: null,
49
- name: null,
50
45
  headers: null,
46
+ tls_validation: null,
47
+ connect_timeout: null,
48
+ username: null,
51
49
  proxy_username: null,
52
- client_cert: null,
53
- rate_limit: null,
54
- pulp_labels: null,
55
- password: null,
50
+ name: null,
51
+ sock_read_timeout: null,
52
+ ca_cert: null,
53
+ client_key: null,
54
+ proxy_url: null,
55
+ max_retries: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -23,12 +23,12 @@ module PulpAnsibleClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
+ # @option opts [String] :artifact Artifact file representing the physical content
26
27
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
28
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
29
28
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
30
29
  # @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] :artifact Artifact file representing the physical content
30
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
31
+ # @option opts [File] :file An uploaded file that may be turned 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.
@@ -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] :artifact Artifact file representing the physical content
45
46
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
47
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
48
47
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
49
48
  # @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] :artifact Artifact file representing the physical content
49
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
50
+ # @option opts [File] :file An uploaded file that may be turned 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.
@@ -103,12 +103,12 @@ module PulpAnsibleClient
103
103
 
104
104
  # form parameters
105
105
  form_params = opts[:form_params] || {}
106
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
106
107
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
107
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
108
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
109
108
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
110
109
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
111
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
110
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
111
+ form_params['file'] = opts[:'file'] if !opts[:'file'].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?
@@ -74,7 +74,7 @@ module PulpAnsibleClient
74
74
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
75
75
  end
76
76
 
77
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
77
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
78
78
  if @api_client.config.client_side_validation && name !~ pattern
79
79
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
80
80
  end
@@ -438,7 +438,7 @@ module PulpAnsibleClient
438
438
  fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
439
439
  end
440
440
 
441
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
441
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
442
442
  if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
443
443
  fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
444
444
  end
@@ -68,7 +68,7 @@ module PulpAnsibleClient
68
68
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
69
69
  end
70
70
 
71
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
71
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
72
72
  if @api_client.config.client_side_validation && name !~ pattern
73
73
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
74
74
  end
@@ -414,7 +414,7 @@ module PulpAnsibleClient
414
414
  fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
415
415
  end
416
416
 
417
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
417
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
418
418
  if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
419
419
  fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
420
420
  end