pulp_ansible_client 0.29.5 → 0.29.6
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -0
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +33 -0
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +30 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +48 -33
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +242 -227
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -129
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +15 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +15 -0
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +33 -33
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +15 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +15 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +15 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -0
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +33 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +232 -217
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +15 -0
- data/lib/pulp_ansible_client/models/remote_network_config.rb +15 -0
- data/lib/pulp_ansible_client/models/remote_network_config_response.rb +15 -0
- data/lib/pulp_ansible_client/models/repository.rb +15 -0
- data/lib/pulp_ansible_client/models/repository_response.rb +15 -0
- data/lib/pulp_ansible_client/models/set_label.rb +0 -11
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -21
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +15 -0
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -11
- data/lib/pulp_ansible_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +127 -127
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ef3945dcac32a6de31ef5352767d38440652ff0345c0d512d22e3e71c36e841
|
|
4
|
+
data.tar.gz: 79b648862eeb51f7397d200fa6fcb4d9196bbdbcfd625d9b685042aafd5db750
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 632b48299bb2a8b948b400330ab644ebf21aca237200bfafb9863dd45fd208d85d286b1d5d2f6ca95924198af47d28db8d7e2eadce403a8b28b495a10e4ac520
|
|
7
|
+
data.tar.gz: 471e894fe0253cb828802f87645bb540d68f0227f072c933975ec887c0abfe77c515fd3bf5918eb5c069d5bc9bb05bc14734ca1e0e1466195ace46e8873e6764
|
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.29.
|
|
10
|
+
- Package version: 0.29.6
|
|
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.29.
|
|
28
|
+
gem install ./pulp_ansible_client-0.29.6.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.29.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.29.6.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.29.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.29.6'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
9
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
-
| **
|
|
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] |
|
|
10
11
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
12
12
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
13
|
-
| **
|
|
13
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
14
14
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
16
16
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
require 'pulp_ansible_client'
|
|
39
39
|
|
|
40
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
41
|
-
|
|
41
|
+
pulp_labels: null,
|
|
42
|
+
pulp_created: null,
|
|
42
43
|
pulp_href: null,
|
|
43
|
-
|
|
44
|
+
pulp_last_updated: null,
|
|
44
45
|
prn: null,
|
|
45
|
-
pulp_created: null,
|
|
46
46
|
artifact: null,
|
|
47
|
-
|
|
47
|
+
vuln_report: null,
|
|
48
48
|
sha256: null,
|
|
49
49
|
md5: null,
|
|
50
50
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
9
8
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
-
| **
|
|
9
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
10
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
11
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
12
|
| **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] |
|
|
12
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
13
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
14
|
-
| **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] |
|
|
15
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
16
13
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
17
|
-
| **
|
|
18
|
-
| **
|
|
14
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
16
|
+
| **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] |
|
|
17
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
19
18
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
19
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
20
20
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
21
|
-
| **
|
|
21
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
22
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
23
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
25
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
22
26
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
23
|
-
| **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] |
|
|
24
|
-
| **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] |
|
|
25
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
-
| **pulp_labels** | **Hash<String, String>** | | [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
|
-
|
|
37
|
-
rate_limit: null,
|
|
36
|
+
pulp_labels: null,
|
|
38
37
|
max_retries: null,
|
|
39
|
-
|
|
38
|
+
client_key: null,
|
|
39
|
+
username: null,
|
|
40
|
+
client_cert: null,
|
|
40
41
|
connect_timeout: null,
|
|
41
|
-
proxy_password: null,
|
|
42
|
-
name: null,
|
|
43
|
-
total_timeout: null,
|
|
44
|
-
url: null,
|
|
45
42
|
tls_validation: null,
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
headers: null,
|
|
44
|
+
total_timeout: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
|
+
proxy_password: null,
|
|
48
47
|
proxy_url: null,
|
|
48
|
+
sock_read_timeout: null,
|
|
49
49
|
password: null,
|
|
50
|
-
|
|
50
|
+
download_concurrency: null,
|
|
51
|
+
name: null,
|
|
52
|
+
rate_limit: null,
|
|
53
|
+
proxy_username: null,
|
|
54
|
+
url: null,
|
|
51
55
|
ca_cert: null,
|
|
52
|
-
sock_connect_timeout: null,
|
|
53
|
-
sock_read_timeout: null,
|
|
54
|
-
headers: null,
|
|
55
|
-
pulp_labels: 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] |
|
|
7
8
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
8
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
9
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
-
| **
|
|
10
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
11
|
| **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] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
12
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
13
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
14
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
14
15
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
16
|
+
| **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] |
|
|
17
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
19
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
15
20
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
16
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
17
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
18
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
19
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
20
21
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
21
|
-
| **
|
|
22
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
23
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
25
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
22
26
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
23
|
-
| **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] |
|
|
24
|
-
| **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] |
|
|
25
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
-
| **pulp_labels** | **Hash<String, String>** | | [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,
|
|
36
37
|
pulp_last_updated: null,
|
|
37
|
-
rate_limit: null,
|
|
38
38
|
max_retries: null,
|
|
39
|
-
|
|
39
|
+
client_cert: null,
|
|
40
40
|
connect_timeout: null,
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
tls_validation: null,
|
|
42
|
+
headers: null,
|
|
43
|
+
hidden_fields: null,
|
|
43
44
|
total_timeout: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
|
+
pulp_created: null,
|
|
47
|
+
proxy_url: null,
|
|
48
|
+
sock_read_timeout: null,
|
|
44
49
|
pulp_href: null,
|
|
45
|
-
url: null,
|
|
46
|
-
hidden_fields: null,
|
|
47
|
-
tls_validation: null,
|
|
48
|
-
client_cert: null,
|
|
49
50
|
download_concurrency: null,
|
|
50
|
-
|
|
51
|
+
name: null,
|
|
52
|
+
rate_limit: null,
|
|
53
|
+
url: null,
|
|
54
|
+
prn: null,
|
|
51
55
|
ca_cert: null,
|
|
52
|
-
sock_connect_timeout: null,
|
|
53
|
-
sock_read_timeout: null,
|
|
54
|
-
headers: null,
|
|
55
|
-
pulp_labels: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
7
8
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
9
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
9
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
12
12
|
| **namespace** | **String** | | |
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
+
pulp_labels: null,
|
|
20
21
|
repository: null,
|
|
21
22
|
artifact: null,
|
|
22
|
-
pulp_labels: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
9
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
-
| **
|
|
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] |
|
|
10
11
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
12
12
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
13
|
-
| **
|
|
13
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
14
14
|
| **version** | **String** | | |
|
|
15
15
|
| **name** | **String** | | |
|
|
16
16
|
| **namespace** | **String** | | |
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
require 'pulp_ansible_client'
|
|
22
22
|
|
|
23
23
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
24
|
-
|
|
24
|
+
pulp_labels: null,
|
|
25
|
+
pulp_created: null,
|
|
25
26
|
pulp_href: null,
|
|
26
|
-
|
|
27
|
+
pulp_last_updated: null,
|
|
27
28
|
prn: null,
|
|
28
|
-
pulp_created: null,
|
|
29
29
|
artifact: null,
|
|
30
|
-
|
|
30
|
+
vuln_report: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,13 +34,13 @@ 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
|
-
|
|
37
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
38
38
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
39
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
40
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
40
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
42
41
|
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
43
|
-
|
|
42
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
44
44
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
45
45
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
46
46
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -78,13 +78,13 @@ end
|
|
|
78
78
|
| Name | Type | Description | Notes |
|
|
79
79
|
| ---- | ---- | ----------- | ----- |
|
|
80
80
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
81
|
-
| **
|
|
81
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
84
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
85
83
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
84
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
86
85
|
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
87
|
-
| **
|
|
86
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
87
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
88
88
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
89
89
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
90
90
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
9
8
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
-
| **
|
|
9
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
10
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
11
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
12
|
| **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] |
|
|
12
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
13
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
14
|
-
| **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] |
|
|
15
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
16
13
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
17
|
-
| **
|
|
18
|
-
| **
|
|
14
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
16
|
+
| **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] |
|
|
17
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
19
18
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
19
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
20
20
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
21
|
-
| **
|
|
21
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
22
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
23
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
25
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
22
26
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
23
|
-
| **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] |
|
|
24
|
-
| **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] |
|
|
25
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
-
| **pulp_labels** | **Hash<String, String>** | | [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
|
-
|
|
37
|
-
rate_limit: null,
|
|
36
|
+
pulp_labels: null,
|
|
38
37
|
max_retries: null,
|
|
39
|
-
|
|
38
|
+
client_key: null,
|
|
39
|
+
username: null,
|
|
40
|
+
client_cert: null,
|
|
40
41
|
connect_timeout: null,
|
|
41
|
-
proxy_password: null,
|
|
42
|
-
name: null,
|
|
43
|
-
total_timeout: null,
|
|
44
|
-
url: null,
|
|
45
42
|
tls_validation: null,
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
headers: null,
|
|
44
|
+
total_timeout: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
|
+
proxy_password: null,
|
|
48
47
|
proxy_url: null,
|
|
48
|
+
sock_read_timeout: null,
|
|
49
49
|
password: null,
|
|
50
|
-
|
|
50
|
+
download_concurrency: null,
|
|
51
|
+
name: null,
|
|
52
|
+
rate_limit: null,
|
|
53
|
+
proxy_username: null,
|
|
54
|
+
url: null,
|
|
51
55
|
ca_cert: null,
|
|
52
|
-
sock_connect_timeout: null,
|
|
53
|
-
sock_read_timeout: null,
|
|
54
|
-
headers: null,
|
|
55
|
-
pulp_labels: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -23,13 +23,13 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
-
# @option opts [String] :
|
|
26
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
27
27
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
28
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
29
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
30
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
29
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
31
30
|
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
32
|
-
# @option opts [
|
|
31
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
32
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
33
33
|
# @option opts [String] :expected_name The name of the collection.
|
|
34
34
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
35
35
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -43,13 +43,13 @@ module PulpAnsibleClient
|
|
|
43
43
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
45
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
46
|
-
# @option opts [String] :
|
|
46
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
47
47
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
49
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
48
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
49
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
51
50
|
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
52
|
-
# @option opts [
|
|
51
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
52
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
53
53
|
# @option opts [String] :expected_name The name of the collection.
|
|
54
54
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
55
55
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -105,13 +105,13 @@ module PulpAnsibleClient
|
|
|
105
105
|
|
|
106
106
|
# form parameters
|
|
107
107
|
form_params = opts[:form_params] || {}
|
|
108
|
-
form_params['
|
|
108
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
109
109
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
110
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
111
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
112
110
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
111
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
113
112
|
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
114
|
-
form_params['
|
|
113
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
114
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
115
115
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
116
116
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
117
117
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
|
@@ -151,6 +151,10 @@ module PulpAnsibleClient
|
|
|
151
151
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
155
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
156
|
+
end
|
|
157
|
+
|
|
154
158
|
if !@gpgkey.nil? && @gpgkey.to_s.length < 1
|
|
155
159
|
invalid_properties.push('invalid value for "gpgkey", the character length must be great than or equal to 1.')
|
|
156
160
|
end
|
|
@@ -165,6 +169,7 @@ module PulpAnsibleClient
|
|
|
165
169
|
return false if @name.nil?
|
|
166
170
|
return false if @name.to_s.length < 1
|
|
167
171
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
172
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
168
173
|
return false if !@gpgkey.nil? && @gpgkey.to_s.length < 1
|
|
169
174
|
true
|
|
170
175
|
end
|
|
@@ -193,6 +198,16 @@ module PulpAnsibleClient
|
|
|
193
198
|
@description = description
|
|
194
199
|
end
|
|
195
200
|
|
|
201
|
+
# Custom attribute writer method with validation
|
|
202
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
203
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
204
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
205
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
@retain_repo_versions = retain_repo_versions
|
|
209
|
+
end
|
|
210
|
+
|
|
196
211
|
# Custom attribute writer method with validation
|
|
197
212
|
# @param [Object] gpgkey Value to be assigned
|
|
198
213
|
def gpgkey=(gpgkey)
|
|
@@ -203,6 +203,10 @@ module PulpAnsibleClient
|
|
|
203
203
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
204
204
|
end
|
|
205
205
|
|
|
206
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
207
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
208
|
+
end
|
|
209
|
+
|
|
206
210
|
invalid_properties
|
|
207
211
|
end
|
|
208
212
|
|
|
@@ -211,9 +215,20 @@ module PulpAnsibleClient
|
|
|
211
215
|
def valid?
|
|
212
216
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
213
217
|
return false if @name.nil?
|
|
218
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
214
219
|
true
|
|
215
220
|
end
|
|
216
221
|
|
|
222
|
+
# Custom attribute writer method with validation
|
|
223
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
224
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
225
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
226
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
@retain_repo_versions = retain_repo_versions
|
|
230
|
+
end
|
|
231
|
+
|
|
217
232
|
# Checks equality by comparing each attribute.
|
|
218
233
|
# @param [Object] Object to be compared
|
|
219
234
|
def ==(o)
|
|
@@ -405,14 +405,26 @@ module PulpAnsibleClient
|
|
|
405
405
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
406
406
|
end
|
|
407
407
|
|
|
408
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
409
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
410
|
+
end
|
|
411
|
+
|
|
408
412
|
if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
|
409
413
|
invalid_properties.push('invalid value for "requirements_file", the character length must be great than or equal to 1.')
|
|
410
414
|
end
|
|
411
415
|
|
|
416
|
+
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
|
417
|
+
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
|
418
|
+
end
|
|
419
|
+
|
|
412
420
|
if !@auth_url.nil? && @auth_url.to_s.length < 1
|
|
413
421
|
invalid_properties.push('invalid value for "auth_url", the character length must be great than or equal to 1.')
|
|
414
422
|
end
|
|
415
423
|
|
|
424
|
+
if !@token.nil? && @token.to_s.length > 2000
|
|
425
|
+
invalid_properties.push('invalid value for "token", the character length must be smaller than or equal to 2000.')
|
|
426
|
+
end
|
|
427
|
+
|
|
416
428
|
if !@token.nil? && @token.to_s.length < 1
|
|
417
429
|
invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
|
|
418
430
|
end
|
|
@@ -440,8 +452,11 @@ module PulpAnsibleClient
|
|
|
440
452
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
441
453
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
442
454
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
455
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
443
456
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
|
457
|
+
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
|
444
458
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
|
459
|
+
return false if !@token.nil? && @token.to_s.length > 2000
|
|
445
460
|
return false if !@token.nil? && @token.to_s.length < 1
|
|
446
461
|
true
|
|
447
462
|
end
|
|
@@ -594,6 +609,16 @@ module PulpAnsibleClient
|
|
|
594
609
|
@sock_read_timeout = sock_read_timeout
|
|
595
610
|
end
|
|
596
611
|
|
|
612
|
+
# Custom attribute writer method with validation
|
|
613
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
614
|
+
def download_concurrency=(download_concurrency)
|
|
615
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
616
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
@download_concurrency = download_concurrency
|
|
620
|
+
end
|
|
621
|
+
|
|
597
622
|
# Custom attribute writer method with validation
|
|
598
623
|
# @param [Object] requirements_file Value to be assigned
|
|
599
624
|
def requirements_file=(requirements_file)
|
|
@@ -607,6 +632,10 @@ module PulpAnsibleClient
|
|
|
607
632
|
# Custom attribute writer method with validation
|
|
608
633
|
# @param [Object] auth_url Value to be assigned
|
|
609
634
|
def auth_url=(auth_url)
|
|
635
|
+
if !auth_url.nil? && auth_url.to_s.length > 255
|
|
636
|
+
fail ArgumentError, 'invalid value for "auth_url", the character length must be smaller than or equal to 255.'
|
|
637
|
+
end
|
|
638
|
+
|
|
610
639
|
if !auth_url.nil? && auth_url.to_s.length < 1
|
|
611
640
|
fail ArgumentError, 'invalid value for "auth_url", the character length must be great than or equal to 1.'
|
|
612
641
|
end
|
|
@@ -617,6 +646,10 @@ module PulpAnsibleClient
|
|
|
617
646
|
# Custom attribute writer method with validation
|
|
618
647
|
# @param [Object] token Value to be assigned
|
|
619
648
|
def token=(token)
|
|
649
|
+
if !token.nil? && token.to_s.length > 2000
|
|
650
|
+
fail ArgumentError, 'invalid value for "token", the character length must be smaller than or equal to 2000.'
|
|
651
|
+
end
|
|
652
|
+
|
|
620
653
|
if !token.nil? && token.to_s.length < 1
|
|
621
654
|
fail ArgumentError, 'invalid value for "token", the character length must be great than or equal to 1.'
|
|
622
655
|
end
|