pulp_ansible_client 0.24.10 → 0.24.11

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 (31) 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 +4 -4
  6. data/docs/AnsibleGitRemote.md +24 -24
  7. data/docs/AnsibleGitRemoteResponse.md +26 -26
  8. data/docs/AnsibleRoleResponse.md +4 -4
  9. data/docs/ContentCollectionVersionsApi.md +6 -6
  10. data/docs/PatchedansibleAnsibleDistribution.md +5 -3
  11. data/docs/PatchedansibleGitRemote.md +24 -24
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  13. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +28 -16
  14. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
  15. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
  16. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +198 -198
  17. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
  18. data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
  19. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
  20. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +198 -198
  21. data/lib/pulp_ansible_client/version.rb +1 -1
  22. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  23. data/spec/models/ansible_ansible_distribution_response_spec.rb +28 -4
  24. data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
  25. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  26. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  27. data/spec/models/ansible_git_remote_spec.rb +18 -18
  28. data/spec/models/ansible_role_response_spec.rb +6 -6
  29. data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
  30. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61c386743f4eeba6ec9501ed3b2966031ec89c3fd19d024fbaff0b35fc8072f0
4
- data.tar.gz: 985bd8ad115f5f01caaa27898b201da2de185d4b5ea1c05673d2f1b6fcaf7977
3
+ metadata.gz: 26b0a812e191adc704a07bbe7b6f1329d9bd18ccff55f102bbcc1bab78da9fa3
4
+ data.tar.gz: a7bed3a16e027390df49643c5dd3fbabcdd852eae31ee3b9c587c97a60f3bfcf
5
5
  SHA512:
6
- metadata.gz: 3dc4d3d4865bc9ac82b648bc928673f850b41042a8db542c03b5020db6dc8de8215dd7f5e04e354cd97ee3eea2f26d2669cf1c29691019e58d248773c5f0cfc6
7
- data.tar.gz: b67e6c8610fc7c1c68f2e331339d7ec50c2d2da430243e709692ec9d9e0501f21a06a6d5fe667c2b31a3f13c47bacec76f3e9a9a2952d1088c8079293a62c71f
6
+ metadata.gz: ae413cd02ed848dda88a814ca53c2e2cbda9251fcd2b25c7af35098cc839e0c1a0f5dd4e6d26bbf8d84b937c16e38b0253b8191d1eefd5db76bdf440ed40d5bd
7
+ data.tar.gz: f99bf1bf26954305b665fb83728188eb7020c39abbedb933b818600c0c0fe2b21124c33ba8b80a2d1c7e71120272f6a3661b3da1022b77ac58d43044fcc3769f
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.10
10
+ - Package version: 0.24.11
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.10.gem
28
+ gem install ./pulp_ansible_client-0.24.11.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.24.10.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.24.11.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.10'
37
+ gem 'pulp_ansible_client', '~> 0.24.11'
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_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] |
7
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
8
10
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
11
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
10
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
12
  | **pulp_href** | **String** | | [optional][readonly] |
12
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
13
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_last_updated: null,
40
42
  pulp_labels: null,
41
43
  pulp_created: null,
42
44
  artifact: null,
43
- prn: null,
44
45
  pulp_href: null,
45
- pulp_last_updated: 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
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
8
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
9
- | **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] |
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
7
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
8
+ | **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] |
9
+ | **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_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
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
12
+ | **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] |
13
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
12
14
  | **url** | **String** | The URL of an external content source. | |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **name** | **String** | A unique name for this remote. | |
15
15
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
16
+ | **name** | **String** | A unique name for this remote. | |
16
17
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [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
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
19
18
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
20
- | **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
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
21
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
22
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
21
23
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
23
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
24
24
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
25
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **username** | **String** | The username to be used for authentication when syncing. | [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
- pulp_labels: null,
37
- proxy_password: null,
38
- total_timeout: null,
39
- sock_read_timeout: null,
40
36
  headers: null,
37
+ sock_read_timeout: null,
38
+ connect_timeout: null,
39
+ sock_connect_timeout: null,
40
+ max_retries: null,
41
+ total_timeout: null,
42
+ rate_limit: null,
41
43
  url: null,
42
- ca_cert: null,
43
- name: null,
44
44
  download_concurrency: null,
45
+ name: null,
45
46
  proxy_username: null,
46
- sock_connect_timeout: null,
47
- tls_validation: null,
48
47
  client_key: null,
49
- connect_timeout: null,
48
+ proxy_password: null,
49
+ ca_cert: null,
50
+ pulp_labels: null,
51
+ tls_validation: null,
50
52
  proxy_url: null,
51
- username: null,
52
- max_retries: null,
53
53
  client_cert: null,
54
- rate_limit: null,
55
54
  password: null,
55
+ username: 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_labels** | **Hash<String, String>** | | [optional] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **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] |
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_href** | **String** | | [optional][readonly] |
12
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
7
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
8
+ | **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] |
9
+ | **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_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
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
12
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
13
+ | **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] |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
14
15
  | **url** | **String** | The URL of an external content source. | |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
16
17
  | **name** | **String** | A unique name for this remote. | |
17
- | **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] |
18
19
  | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
19
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
- | **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] |
20
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
21
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
22
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
21
23
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
22
- | **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] |
23
24
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
24
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
25
+ | **pulp_href** | **String** | | [optional][readonly] |
25
26
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
26
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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_labels: null,
37
- pulp_created: null,
38
- total_timeout: null,
39
- sock_read_timeout: null,
40
- pulp_href: null,
41
- prn: null,
42
36
  headers: null,
37
+ sock_read_timeout: null,
38
+ connect_timeout: null,
39
+ sock_connect_timeout: null,
40
+ pulp_last_updated: null,
41
+ max_retries: null,
42
+ total_timeout: null,
43
+ rate_limit: null,
43
44
  url: null,
44
- ca_cert: null,
45
+ download_concurrency: null,
45
46
  name: null,
46
- pulp_last_updated: null,
47
+ prn: null,
47
48
  hidden_fields: null,
48
- download_concurrency: null,
49
- sock_connect_timeout: null,
49
+ ca_cert: null,
50
+ pulp_labels: null,
51
+ pulp_created: null,
50
52
  tls_validation: null,
51
- connect_timeout: null,
52
53
  proxy_url: null,
53
- max_retries: null,
54
+ pulp_href: null,
54
55
  client_cert: null,
55
- rate_limit: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -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_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] |
7
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
8
10
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
11
  | **artifact** | **String** | Artifact file representing the physical content | |
10
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
12
  | **pulp_href** | **String** | | [optional][readonly] |
12
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
13
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_last_updated: null,
23
25
  pulp_labels: null,
24
26
  pulp_created: null,
25
27
  artifact: null,
26
- prn: null,
27
28
  pulp_href: null,
28
- pulp_last_updated: null,
29
29
  version: null,
30
30
  name: null,
31
31
  namespace: null
@@ -34,11 +34,11 @@ 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
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
38
- artifact: 'artifact_example', # String | Artifact file representing the physical content
39
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
40
37
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
39
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
41
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
42
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.
@@ -77,11 +77,11 @@ 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
- | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
81
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
82
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
83
80
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
81
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
84
82
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
83
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
84
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
85
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] |
@@ -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
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
9
- | **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] |
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
7
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
8
+ | **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] |
9
+ | **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_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
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
12
+ | **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] |
13
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
12
14
  | **url** | **String** | The URL of an external content source. | [optional] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **name** | **String** | A unique name for this remote. | [optional] |
15
15
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
16
+ | **name** | **String** | A unique name for this remote. | [optional] |
16
17
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [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
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
19
18
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
20
- | **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
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
21
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
22
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
21
23
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
23
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
24
24
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
25
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **username** | **String** | The username to be used for authentication when syncing. | [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
- pulp_labels: null,
37
- proxy_password: null,
38
- total_timeout: null,
39
- sock_read_timeout: null,
40
36
  headers: null,
37
+ sock_read_timeout: null,
38
+ connect_timeout: null,
39
+ sock_connect_timeout: null,
40
+ max_retries: null,
41
+ total_timeout: null,
42
+ rate_limit: null,
41
43
  url: null,
42
- ca_cert: null,
43
- name: null,
44
44
  download_concurrency: null,
45
+ name: null,
45
46
  proxy_username: null,
46
- sock_connect_timeout: null,
47
- tls_validation: null,
48
47
  client_key: null,
49
- connect_timeout: null,
48
+ proxy_password: null,
49
+ ca_cert: null,
50
+ pulp_labels: null,
51
+ tls_validation: null,
50
52
  proxy_url: null,
51
- username: null,
52
- max_retries: null,
53
53
  client_cert: null,
54
- rate_limit: null,
55
54
  password: null,
55
+ username: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -23,11 +23,11 @@ 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 [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
27
- # @option opts [String] :artifact Artifact file representing the physical content
28
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
29
26
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
27
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
28
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
30
+ # @option opts [String] :artifact Artifact file representing the physical content
31
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.
@@ -42,11 +42,11 @@ 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 [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
46
- # @option opts [String] :artifact Artifact file representing the physical content
47
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
48
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
46
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
49
47
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
48
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
49
+ # @option opts [String] :artifact Artifact file representing the physical content
50
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.
@@ -103,11 +103,11 @@ module PulpAnsibleClient
103
103
 
104
104
  # form parameters
105
105
  form_params = opts[:form_params] || {}
106
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
107
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
108
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
109
106
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
107
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
110
108
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
109
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
110
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
111
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?
@@ -22,6 +22,11 @@ module PulpAnsibleClient
22
22
  # An optional content-guard.
23
23
  attr_accessor :content_guard
24
24
 
25
+ # Whether this distribution should be shown in the content app.
26
+ attr_accessor :hidden
27
+
28
+ attr_accessor :pulp_labels
29
+
25
30
  # A unique name. Ex, `rawhide` and `stable`.
26
31
  attr_accessor :name
27
32
 
@@ -31,17 +36,16 @@ module PulpAnsibleClient
31
36
  # RepositoryVersion to be served
32
37
  attr_accessor :repository_version
33
38
 
34
- attr_accessor :pulp_labels
35
-
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  def self.attribute_map
38
41
  {
39
42
  :'base_path' => :'base_path',
40
43
  :'content_guard' => :'content_guard',
44
+ :'hidden' => :'hidden',
45
+ :'pulp_labels' => :'pulp_labels',
41
46
  :'name' => :'name',
42
47
  :'repository' => :'repository',
43
- :'repository_version' => :'repository_version',
44
- :'pulp_labels' => :'pulp_labels'
48
+ :'repository_version' => :'repository_version'
45
49
  }
46
50
  end
47
51
 
@@ -55,10 +59,11 @@ module PulpAnsibleClient
55
59
  {
56
60
  :'base_path' => :'String',
57
61
  :'content_guard' => :'String',
62
+ :'hidden' => :'Boolean',
63
+ :'pulp_labels' => :'Hash<String, String>',
58
64
  :'name' => :'String',
59
65
  :'repository' => :'String',
60
- :'repository_version' => :'String',
61
- :'pulp_labels' => :'Hash<String, String>'
66
+ :'repository_version' => :'String'
62
67
  }
63
68
  end
64
69
 
@@ -67,7 +72,7 @@ module PulpAnsibleClient
67
72
  Set.new([
68
73
  :'content_guard',
69
74
  :'repository',
70
- :'repository_version',
75
+ :'repository_version'
71
76
  ])
72
77
  end
73
78
 
@@ -96,6 +101,18 @@ module PulpAnsibleClient
96
101
  self.content_guard = attributes[:'content_guard']
97
102
  end
98
103
 
104
+ if attributes.key?(:'hidden')
105
+ self.hidden = attributes[:'hidden']
106
+ else
107
+ self.hidden = false
108
+ end
109
+
110
+ if attributes.key?(:'pulp_labels')
111
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
112
+ self.pulp_labels = value
113
+ end
114
+ end
115
+
99
116
  if attributes.key?(:'name')
100
117
  self.name = attributes[:'name']
101
118
  else
@@ -109,12 +126,6 @@ module PulpAnsibleClient
109
126
  if attributes.key?(:'repository_version')
110
127
  self.repository_version = attributes[:'repository_version']
111
128
  end
112
-
113
- if attributes.key?(:'pulp_labels')
114
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
- self.pulp_labels = value
116
- end
117
- end
118
129
  end
119
130
 
120
131
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -187,10 +198,11 @@ module PulpAnsibleClient
187
198
  self.class == o.class &&
188
199
  base_path == o.base_path &&
189
200
  content_guard == o.content_guard &&
201
+ hidden == o.hidden &&
202
+ pulp_labels == o.pulp_labels &&
190
203
  name == o.name &&
191
204
  repository == o.repository &&
192
- repository_version == o.repository_version &&
193
- pulp_labels == o.pulp_labels
205
+ repository_version == o.repository_version
194
206
  end
195
207
 
196
208
  # @see the `==` method
@@ -202,7 +214,7 @@ module PulpAnsibleClient
202
214
  # Calculates hash code according to all attributes.
203
215
  # @return [Integer] Hash code
204
216
  def hash
205
- [base_path, content_guard, name, repository, repository_version, pulp_labels].hash
217
+ [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
206
218
  end
207
219
 
208
220
  # Builds the object from hash