pulp_ansible_client 0.11.0.dev1637205359 → 0.11.0.dev1638328524
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.
Potentially problematic release.
This version of pulp_ansible_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +23 -23
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/PatchedansibleGitRemote.md +23 -23
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +16 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +16 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +38 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +34 -0
- data/lib/pulp_ansible_client/models/ansible_collection.rb +38 -0
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +191 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +27 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +291 -118
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +122 -122
- data/lib/pulp_ansible_client/models/ansible_role.rb +57 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +158 -0
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +60 -0
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +38 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +30 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +30 -0
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +183 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +277 -112
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +150 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +70 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6789dd66d5ca3d66f49241ec6f60550c43146a9f6704fb82efb620c715150263
|
4
|
+
data.tar.gz: 2a38c11f9e028f63d408c6271a0390b2a5c73679af33d8cba8d1443e30f1057a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a44456e998ed9bace1124fcec2c41a60e6ee9a6ecdafbf5eb62e78b072adfe2afd07d6c5a9e478d213902a5b2a3880a1f956544e54155b39c1a348e31e5f7c4
|
7
|
+
data.tar.gz: 2265a47e98565ef2a9123799dc6c163aa6e236032157cc3a8bb335cba4fd24ee184f677910dd6bd218e7ae739fa5625449a19cde866c745bbd21b7760e784684
|
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.11.0.
|
10
|
+
- Package version: 0.11.0.dev1638328524
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ansible_client-0.11.0.
|
27
|
+
gem install ./pulp_ansible_client-0.11.0.dev1638328524.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.11.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.11.0.dev1638328524.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.11.0.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.11.0.dev1638328524'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
@@ -38,8 +38,8 @@ Name | Type | Description | Notes
|
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
41
|
-
artifact: null,
|
42
41
|
pulp_created: null,
|
42
|
+
artifact: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
45
45
|
sha224: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
8
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
9
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
10
7
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
11
|
-
**
|
12
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
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]
|
8
|
+
**name** | **String** | A unique name for this remote. |
|
15
9
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
16
11
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
17
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
18
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
19
13
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
16
|
+
**password** | **String** | The password to be used for authentication when syncing. | [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
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [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]
|
20
21
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
21
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]
|
22
|
-
**name** | **String** | A unique name for this remote. |
|
23
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
24
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
25
23
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
24
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
26
25
|
**url** | **String** | The URL of an external content source. |
|
26
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
36
|
-
|
37
|
-
client_key: null,
|
38
|
-
proxy_password: null,
|
39
|
-
max_retries: null,
|
40
|
-
sock_connect_timeout: null,
|
41
|
-
ca_cert: null,
|
42
|
-
proxy_url: null,
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_password: null,
|
36
|
+
name: null,
|
43
37
|
username: null,
|
38
|
+
client_key: null,
|
44
39
|
sock_read_timeout: null,
|
45
40
|
client_cert: null,
|
46
|
-
total_timeout: null,
|
47
41
|
headers: null,
|
42
|
+
proxy_url: null,
|
43
|
+
ca_cert: null,
|
44
|
+
password: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
max_retries: null,
|
47
|
+
rate_limit: null,
|
48
|
+
total_timeout: null,
|
48
49
|
proxy_username: null,
|
49
50
|
connect_timeout: null,
|
50
|
-
name: null,
|
51
|
-
download_concurrency: null,
|
52
|
-
pulp_labels: null,
|
53
51
|
tls_validation: null,
|
52
|
+
pulp_labels: null,
|
54
53
|
url: null,
|
54
|
+
download_concurrency: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this remote. |
|
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
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
10
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
7
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**
|
9
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
12
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
10
13
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
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
|
-
**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]
|
13
14
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
14
|
-
**
|
15
|
-
**
|
16
|
-
**
|
15
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
16
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
17
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
17
18
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
18
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
19
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
|
-
**name** | **String** | A unique name for this remote. |
|
21
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
22
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
23
20
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
21
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
24
22
|
**url** | **String** | The URL of an external content source. |
|
23
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
24
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
25
25
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
26
26
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
27
27
|
|
@@ -30,24 +30,24 @@ Name | Type | Description | Notes
|
|
30
30
|
```ruby
|
31
31
|
require 'PulpAnsibleClient'
|
32
32
|
|
33
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
34
|
-
pulp_created: null,
|
35
|
-
rate_limit: null,
|
36
|
-
pulp_last_updated: null,
|
37
|
-
max_retries: null,
|
38
|
-
sock_connect_timeout: null,
|
39
|
-
ca_cert: null,
|
40
|
-
proxy_url: null,
|
33
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(name: null,
|
41
34
|
sock_read_timeout: null,
|
42
35
|
client_cert: null,
|
43
|
-
total_timeout: null,
|
44
36
|
headers: null,
|
37
|
+
pulp_href: null,
|
38
|
+
proxy_url: null,
|
39
|
+
pulp_last_updated: null,
|
40
|
+
ca_cert: null,
|
41
|
+
sock_connect_timeout: null,
|
42
|
+
max_retries: null,
|
43
|
+
rate_limit: null,
|
44
|
+
total_timeout: null,
|
45
45
|
connect_timeout: null,
|
46
|
-
name: null,
|
47
|
-
download_concurrency: null,
|
48
|
-
pulp_labels: null,
|
49
46
|
tls_validation: null,
|
47
|
+
pulp_labels: null,
|
50
48
|
url: null,
|
49
|
+
pulp_created: null,
|
50
|
+
download_concurrency: null,
|
51
51
|
metadata_only: null,
|
52
52
|
git_ref: null)
|
53
53
|
```
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
20
|
-
artifact: null,
|
21
20
|
pulp_created: null,
|
21
|
+
artifact: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
8
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
9
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
10
7
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
11
|
-
**
|
12
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
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]
|
8
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
15
9
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
16
11
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
17
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
18
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
19
13
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
16
|
+
**password** | **String** | The password to be used for authentication when syncing. | [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
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [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]
|
20
21
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
21
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]
|
22
|
-
**name** | **String** | A unique name for this remote. | [optional]
|
23
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
24
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
25
23
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
24
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
26
25
|
**url** | **String** | The URL of an external content source. | [optional]
|
26
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
36
|
-
|
37
|
-
client_key: null,
|
38
|
-
proxy_password: null,
|
39
|
-
max_retries: null,
|
40
|
-
sock_connect_timeout: null,
|
41
|
-
ca_cert: null,
|
42
|
-
proxy_url: null,
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_password: null,
|
36
|
+
name: null,
|
43
37
|
username: null,
|
38
|
+
client_key: null,
|
44
39
|
sock_read_timeout: null,
|
45
40
|
client_cert: null,
|
46
|
-
total_timeout: null,
|
47
41
|
headers: null,
|
42
|
+
proxy_url: null,
|
43
|
+
ca_cert: null,
|
44
|
+
password: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
max_retries: null,
|
47
|
+
rate_limit: null,
|
48
|
+
total_timeout: null,
|
48
49
|
proxy_username: null,
|
49
50
|
connect_timeout: null,
|
50
|
-
name: null,
|
51
|
-
download_concurrency: null,
|
52
|
-
pulp_labels: null,
|
53
51
|
tls_validation: null,
|
52
|
+
pulp_labels: null,
|
54
53
|
url: null,
|
54
|
+
download_concurrency: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -127,6 +127,22 @@ module PulpAnsibleClient
|
|
127
127
|
if @api_client.config.client_side_validation && file.nil?
|
128
128
|
fail ArgumentError, "Missing the required parameter 'file' when calling AnsibleCollectionsApi.upload_collection"
|
129
129
|
end
|
130
|
+
if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
|
131
|
+
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling AnsibleCollectionsApi.upload_collection, the character length must be great than or equal to 1.'
|
132
|
+
end
|
133
|
+
|
134
|
+
if @api_client.config.client_side_validation && !opts[:'expected_namespace'].nil? && opts[:'expected_namespace'].to_s.length < 1
|
135
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_namespace"]" when calling AnsibleCollectionsApi.upload_collection, the character length must be great than or equal to 1.'
|
136
|
+
end
|
137
|
+
|
138
|
+
if @api_client.config.client_side_validation && !opts[:'expected_name'].nil? && opts[:'expected_name'].to_s.length < 1
|
139
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_name"]" when calling AnsibleCollectionsApi.upload_collection, the character length must be great than or equal to 1.'
|
140
|
+
end
|
141
|
+
|
142
|
+
if @api_client.config.client_side_validation && !opts[:'expected_version'].nil? && opts[:'expected_version'].to_s.length < 1
|
143
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_version"]" when calling AnsibleCollectionsApi.upload_collection, the character length must be great than or equal to 1.'
|
144
|
+
end
|
145
|
+
|
130
146
|
# resource path
|
131
147
|
local_var_path = '/ansible/collections/'
|
132
148
|
|
@@ -54,6 +54,10 @@ module PulpAnsibleClient
|
|
54
54
|
fail ArgumentError, 'invalid value for "name" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 64.'
|
55
55
|
end
|
56
56
|
|
57
|
+
if @api_client.config.client_side_validation && name.to_s.length < 1
|
58
|
+
fail ArgumentError, 'invalid value for "name" when calling ContentCollectionVersionsApi.create, the character length must be great than or equal to 1.'
|
59
|
+
end
|
60
|
+
|
57
61
|
# verify the required parameter 'namespace' is set
|
58
62
|
if @api_client.config.client_side_validation && namespace.nil?
|
59
63
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling ContentCollectionVersionsApi.create"
|
@@ -62,6 +66,10 @@ module PulpAnsibleClient
|
|
62
66
|
fail ArgumentError, 'invalid value for "namespace" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 64.'
|
63
67
|
end
|
64
68
|
|
69
|
+
if @api_client.config.client_side_validation && namespace.to_s.length < 1
|
70
|
+
fail ArgumentError, 'invalid value for "namespace" when calling ContentCollectionVersionsApi.create, the character length must be great than or equal to 1.'
|
71
|
+
end
|
72
|
+
|
65
73
|
# verify the required parameter 'version' is set
|
66
74
|
if @api_client.config.client_side_validation && version.nil?
|
67
75
|
fail ArgumentError, "Missing the required parameter 'version' when calling ContentCollectionVersionsApi.create"
|
@@ -70,6 +78,10 @@ module PulpAnsibleClient
|
|
70
78
|
fail ArgumentError, 'invalid value for "version" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 128.'
|
71
79
|
end
|
72
80
|
|
81
|
+
if @api_client.config.client_side_validation && version.to_s.length < 1
|
82
|
+
fail ArgumentError, 'invalid value for "version" when calling ContentCollectionVersionsApi.create, the character length must be great than or equal to 1.'
|
83
|
+
end
|
84
|
+
|
73
85
|
# resource path
|
74
86
|
local_var_path = '/pulp/api/v3/content/ansible/collection_versions/'
|
75
87
|
|
@@ -56,6 +56,22 @@ module PulpAnsibleClient
|
|
56
56
|
if @api_client.config.client_side_validation && file.nil?
|
57
57
|
fail ArgumentError, "Missing the required parameter 'file' when calling PulpAnsibleArtifactsCollectionsV3Api.create"
|
58
58
|
end
|
59
|
+
if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling PulpAnsibleArtifactsCollectionsV3Api.create, the character length must be great than or equal to 1.'
|
61
|
+
end
|
62
|
+
|
63
|
+
if @api_client.config.client_side_validation && !opts[:'expected_namespace'].nil? && opts[:'expected_namespace'].to_s.length < 1
|
64
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_namespace"]" when calling PulpAnsibleArtifactsCollectionsV3Api.create, the character length must be great than or equal to 1.'
|
65
|
+
end
|
66
|
+
|
67
|
+
if @api_client.config.client_side_validation && !opts[:'expected_name'].nil? && opts[:'expected_name'].to_s.length < 1
|
68
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_name"]" when calling PulpAnsibleArtifactsCollectionsV3Api.create, the character length must be great than or equal to 1.'
|
69
|
+
end
|
70
|
+
|
71
|
+
if @api_client.config.client_side_validation && !opts[:'expected_version'].nil? && opts[:'expected_version'].to_s.length < 1
|
72
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_version"]" when calling PulpAnsibleArtifactsCollectionsV3Api.create, the character length must be great than or equal to 1.'
|
73
|
+
end
|
74
|
+
|
59
75
|
# resource path
|
60
76
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
61
77
|
|
@@ -113,10 +113,18 @@ module PulpAnsibleClient
|
|
113
113
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
114
114
|
end
|
115
115
|
|
116
|
+
if @base_path.to_s.length < 1
|
117
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
118
|
+
end
|
119
|
+
|
116
120
|
if @name.nil?
|
117
121
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
118
122
|
end
|
119
123
|
|
124
|
+
if @name.to_s.length < 1
|
125
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
126
|
+
end
|
127
|
+
|
120
128
|
invalid_properties
|
121
129
|
end
|
122
130
|
|
@@ -124,10 +132,40 @@ module PulpAnsibleClient
|
|
124
132
|
# @return true if the model is valid
|
125
133
|
def valid?
|
126
134
|
return false if @base_path.nil?
|
135
|
+
return false if @base_path.to_s.length < 1
|
127
136
|
return false if @name.nil?
|
137
|
+
return false if @name.to_s.length < 1
|
128
138
|
true
|
129
139
|
end
|
130
140
|
|
141
|
+
# Custom attribute writer method with validation
|
142
|
+
# @param [Object] base_path Value to be assigned
|
143
|
+
def base_path=(base_path)
|
144
|
+
if base_path.nil?
|
145
|
+
fail ArgumentError, 'base_path cannot be nil'
|
146
|
+
end
|
147
|
+
|
148
|
+
if base_path.to_s.length < 1
|
149
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
150
|
+
end
|
151
|
+
|
152
|
+
@base_path = base_path
|
153
|
+
end
|
154
|
+
|
155
|
+
# Custom attribute writer method with validation
|
156
|
+
# @param [Object] name Value to be assigned
|
157
|
+
def name=(name)
|
158
|
+
if name.nil?
|
159
|
+
fail ArgumentError, 'name cannot be nil'
|
160
|
+
end
|
161
|
+
|
162
|
+
if name.to_s.length < 1
|
163
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
164
|
+
end
|
165
|
+
|
166
|
+
@name = name
|
167
|
+
end
|
168
|
+
|
131
169
|
# Checks equality by comparing each attribute.
|
132
170
|
# @param [Object] Object to be compared
|
133
171
|
def ==(o)
|
@@ -114,6 +114,14 @@ module PulpAnsibleClient
|
|
114
114
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
115
115
|
end
|
116
116
|
|
117
|
+
if @name.to_s.length < 1
|
118
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
119
|
+
end
|
120
|
+
|
121
|
+
if !@description.nil? && @description.to_s.length < 1
|
122
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
123
|
+
end
|
124
|
+
|
117
125
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
118
126
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
119
127
|
end
|
@@ -125,10 +133,36 @@ module PulpAnsibleClient
|
|
125
133
|
# @return true if the model is valid
|
126
134
|
def valid?
|
127
135
|
return false if @name.nil?
|
136
|
+
return false if @name.to_s.length < 1
|
137
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
128
138
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
129
139
|
true
|
130
140
|
end
|
131
141
|
|
142
|
+
# Custom attribute writer method with validation
|
143
|
+
# @param [Object] name Value to be assigned
|
144
|
+
def name=(name)
|
145
|
+
if name.nil?
|
146
|
+
fail ArgumentError, 'name cannot be nil'
|
147
|
+
end
|
148
|
+
|
149
|
+
if name.to_s.length < 1
|
150
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
151
|
+
end
|
152
|
+
|
153
|
+
@name = name
|
154
|
+
end
|
155
|
+
|
156
|
+
# Custom attribute writer method with validation
|
157
|
+
# @param [Object] description Value to be assigned
|
158
|
+
def description=(description)
|
159
|
+
if !description.nil? && description.to_s.length < 1
|
160
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
161
|
+
end
|
162
|
+
|
163
|
+
@description = description
|
164
|
+
end
|
165
|
+
|
132
166
|
# Custom attribute writer method with validation
|
133
167
|
# @param [Object] retain_repo_versions Value to be assigned
|
134
168
|
def retain_repo_versions=(retain_repo_versions)
|
@@ -75,10 +75,18 @@ module PulpAnsibleClient
|
|
75
75
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
76
76
|
end
|
77
77
|
|
78
|
+
if @name.to_s.length < 1
|
79
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
80
|
+
end
|
81
|
+
|
78
82
|
if @namespace.nil?
|
79
83
|
invalid_properties.push('invalid value for "namespace", namespace cannot be nil.')
|
80
84
|
end
|
81
85
|
|
86
|
+
if @namespace.to_s.length < 1
|
87
|
+
invalid_properties.push('invalid value for "namespace", the character length must be great than or equal to 1.')
|
88
|
+
end
|
89
|
+
|
82
90
|
invalid_properties
|
83
91
|
end
|
84
92
|
|
@@ -86,10 +94,40 @@ module PulpAnsibleClient
|
|
86
94
|
# @return true if the model is valid
|
87
95
|
def valid?
|
88
96
|
return false if @name.nil?
|
97
|
+
return false if @name.to_s.length < 1
|
89
98
|
return false if @namespace.nil?
|
99
|
+
return false if @namespace.to_s.length < 1
|
90
100
|
true
|
91
101
|
end
|
92
102
|
|
103
|
+
# Custom attribute writer method with validation
|
104
|
+
# @param [Object] name Value to be assigned
|
105
|
+
def name=(name)
|
106
|
+
if name.nil?
|
107
|
+
fail ArgumentError, 'name cannot be nil'
|
108
|
+
end
|
109
|
+
|
110
|
+
if name.to_s.length < 1
|
111
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
112
|
+
end
|
113
|
+
|
114
|
+
@name = name
|
115
|
+
end
|
116
|
+
|
117
|
+
# Custom attribute writer method with validation
|
118
|
+
# @param [Object] namespace Value to be assigned
|
119
|
+
def namespace=(namespace)
|
120
|
+
if namespace.nil?
|
121
|
+
fail ArgumentError, 'namespace cannot be nil'
|
122
|
+
end
|
123
|
+
|
124
|
+
if namespace.to_s.length < 1
|
125
|
+
fail ArgumentError, 'invalid value for "namespace", the character length must be great than or equal to 1.'
|
126
|
+
end
|
127
|
+
|
128
|
+
@namespace = namespace
|
129
|
+
end
|
130
|
+
|
93
131
|
# Checks equality by comparing each attribute.
|
94
132
|
# @param [Object] Object to be compared
|
95
133
|
def ==(o)
|