pulp_ansible_client 0.11.0.dev1636946173 → 0.11.0.dev1638328524
Sign up to get free protection for your applications and to get access to all the features.
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 +30 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -26
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/CollectionVersionResponse.md +4 -0
- data/docs/PatchedansibleGitRemote.md +30 -28
- data/docs/UnpaginatedCollectionVersionResponse.md +5 -1
- 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 -16
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +336 -153
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -143
- 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/collection_version_response.rb +19 -1
- 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 +323 -148
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +150 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +22 -4
- 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 +22 -16
- data/spec/models/ansible_git_remote_spec.rb +24 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_version_response_spec.rb +12 -0
- data/spec/models/patchedansible_git_remote_spec.rb +24 -18
- data/spec/models/unpaginated_collection_version_response_spec.rb +12 -0
- 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 |
|
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,54 +4,56 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
8
|
+
**name** | **String** | A unique name for this remote. |
|
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]
|
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]
|
12
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
7
13
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
8
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
9
|
-
**
|
10
|
-
**url** | **String** | The URL of an external content source. |
|
11
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
16
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
13
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
14
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
15
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]
|
16
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
17
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
18
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
|
-
**
|
20
|
-
**
|
21
|
-
**
|
22
|
-
**
|
23
|
-
**
|
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]
|
21
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [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
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
24
24
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
25
|
+
**url** | **String** | The URL of an external content source. |
|
25
26
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
26
|
-
**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]
|
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
|
+
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
28
29
|
|
29
30
|
## Code Sample
|
30
31
|
|
31
32
|
```ruby
|
32
33
|
require 'PulpAnsibleClient'
|
33
34
|
|
34
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
35
|
-
|
36
|
-
total_timeout: null,
|
37
|
-
url: null,
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_password: null,
|
36
|
+
name: null,
|
38
37
|
username: null,
|
39
|
-
password: null,
|
40
|
-
proxy_username: null,
|
41
|
-
client_cert: null,
|
42
|
-
sock_connect_timeout: null,
|
43
|
-
tls_validation: null,
|
44
|
-
rate_limit: null,
|
45
|
-
max_retries: null,
|
46
38
|
client_key: null,
|
47
|
-
proxy_password: null,
|
48
39
|
sock_read_timeout: null,
|
49
|
-
|
40
|
+
client_cert: null,
|
41
|
+
headers: null,
|
42
|
+
proxy_url: null,
|
50
43
|
ca_cert: null,
|
44
|
+
password: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
max_retries: null,
|
47
|
+
rate_limit: null,
|
48
|
+
total_timeout: null,
|
49
|
+
proxy_username: null,
|
50
|
+
connect_timeout: null,
|
51
|
+
tls_validation: null,
|
51
52
|
pulp_labels: null,
|
53
|
+
url: null,
|
52
54
|
download_concurrency: null,
|
53
|
-
|
54
|
-
|
55
|
+
metadata_only: null,
|
56
|
+
git_ref: null)
|
55
57
|
```
|
56
58
|
|
57
59
|
|
@@ -4,50 +4,52 @@
|
|
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]
|
7
10
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
8
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
-
**url** | **String** | The URL of an external content source. |
|
11
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**
|
13
|
-
**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
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
12
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
13
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
16
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
17
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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]
|
19
|
-
**name** | **String** | A unique name for this remote. |
|
20
14
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
21
|
-
**
|
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]
|
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
|
+
**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
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
21
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
22
|
+
**url** | **String** | The URL of an external content source. |
|
23
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
23
24
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
24
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
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
|
+
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
26
27
|
|
27
28
|
## Code Sample
|
28
29
|
|
29
30
|
```ruby
|
30
31
|
require 'PulpAnsibleClient'
|
31
32
|
|
32
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
33
|
-
|
34
|
-
total_timeout: null,
|
35
|
-
url: null,
|
36
|
-
pulp_href: null,
|
33
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(name: null,
|
34
|
+
sock_read_timeout: null,
|
37
35
|
client_cert: null,
|
38
|
-
|
39
|
-
|
36
|
+
headers: null,
|
37
|
+
pulp_href: null,
|
38
|
+
proxy_url: null,
|
40
39
|
pulp_last_updated: null,
|
41
|
-
rate_limit: null,
|
42
|
-
max_retries: null,
|
43
|
-
sock_read_timeout: null,
|
44
|
-
name: null,
|
45
40
|
ca_cert: null,
|
46
|
-
|
41
|
+
sock_connect_timeout: null,
|
42
|
+
max_retries: null,
|
43
|
+
rate_limit: null,
|
44
|
+
total_timeout: null,
|
45
|
+
connect_timeout: null,
|
46
|
+
tls_validation: null,
|
47
47
|
pulp_labels: null,
|
48
|
+
url: null,
|
49
|
+
pulp_created: null,
|
48
50
|
download_concurrency: null,
|
49
|
-
|
50
|
-
|
51
|
+
metadata_only: null,
|
52
|
+
git_ref: null)
|
51
53
|
```
|
52
54
|
|
53
55
|
|
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)
|
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
|
|
15
15
|
**name** | **String** | | [optional] [readonly]
|
16
16
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
17
17
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
18
|
+
**git_url** | **String** | | [optional] [readonly]
|
19
|
+
**git_commit_sha** | **String** | | [optional] [readonly]
|
18
20
|
**manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. | [optional] [readonly]
|
19
21
|
**files** | [**Object**](.md) | A JSON field holding FILES.json data. | [optional] [readonly]
|
20
22
|
|
@@ -34,6 +36,8 @@ instance = PulpAnsibleClient::CollectionVersionResponse.new(version: null,
|
|
34
36
|
name: null,
|
35
37
|
namespace: null,
|
36
38
|
metadata: null,
|
39
|
+
git_url: null,
|
40
|
+
git_commit_sha: null,
|
37
41
|
manifest: null,
|
38
42
|
files: null)
|
39
43
|
```
|
@@ -4,54 +4,56 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
8
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
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]
|
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]
|
12
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
7
13
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
8
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
9
|
-
**
|
10
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
11
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
16
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
13
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
14
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
15
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]
|
16
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
17
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
18
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
|
-
**
|
20
|
-
**
|
21
|
-
**
|
22
|
-
**
|
23
|
-
**
|
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]
|
21
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [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
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
24
24
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
25
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
25
26
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
26
|
-
**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]
|
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
|
+
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
28
29
|
|
29
30
|
## Code Sample
|
30
31
|
|
31
32
|
```ruby
|
32
33
|
require 'PulpAnsibleClient'
|
33
34
|
|
34
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
35
|
-
|
36
|
-
total_timeout: null,
|
37
|
-
url: null,
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_password: null,
|
36
|
+
name: null,
|
38
37
|
username: null,
|
39
|
-
password: null,
|
40
|
-
proxy_username: null,
|
41
|
-
client_cert: null,
|
42
|
-
sock_connect_timeout: null,
|
43
|
-
tls_validation: null,
|
44
|
-
rate_limit: null,
|
45
|
-
max_retries: null,
|
46
38
|
client_key: null,
|
47
|
-
proxy_password: null,
|
48
39
|
sock_read_timeout: null,
|
49
|
-
|
40
|
+
client_cert: null,
|
41
|
+
headers: null,
|
42
|
+
proxy_url: null,
|
50
43
|
ca_cert: null,
|
44
|
+
password: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
max_retries: null,
|
47
|
+
rate_limit: null,
|
48
|
+
total_timeout: null,
|
49
|
+
proxy_username: null,
|
50
|
+
connect_timeout: null,
|
51
|
+
tls_validation: null,
|
51
52
|
pulp_labels: null,
|
53
|
+
url: null,
|
52
54
|
download_concurrency: null,
|
53
|
-
|
54
|
-
|
55
|
+
metadata_only: null,
|
56
|
+
git_ref: null)
|
55
57
|
```
|
56
58
|
|
57
59
|
|
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
|
|
15
15
|
**name** | **String** | | [optional] [readonly]
|
16
16
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
17
17
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
18
|
+
**git_url** | **String** | | [optional] [readonly]
|
19
|
+
**git_commit_sha** | **String** | | [optional] [readonly]
|
18
20
|
|
19
21
|
## Code Sample
|
20
22
|
|
@@ -31,7 +33,9 @@ instance = PulpAnsibleClient::UnpaginatedCollectionVersionResponse.new(version:
|
|
31
33
|
download_url: null,
|
32
34
|
name: null,
|
33
35
|
namespace: null,
|
34
|
-
metadata: null
|
36
|
+
metadata: null,
|
37
|
+
git_url: null,
|
38
|
+
git_commit_sha: null)
|
35
39
|
```
|
36
40
|
|
37
41
|
|
@@ -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)
|