pulp_ansible_client 0.13.4 → 0.13.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionRemoteResponse.md +0 -2
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/PatchedansibleGitRemote.md +25 -25
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -27
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +221 -221
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +123 -123
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +212 -212
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +97 -97
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b173c2da27c52ad3b9dc4c38177fce2438355cc3f64255c345724986e0d7321
|
4
|
+
data.tar.gz: cde688ebd0bb6c4ca25a3c721e70533aa07930a7aa1a944df833770d97b3c3d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a37f0d128bff967c3bcad4844ecdadfc377aff230107d68e9fcce7ac14e7216706ce96995989a69e3d74211dda0f1b9f5f9f9f028065e8ac6ea14c90f8a925a
|
7
|
+
data.tar.gz: b26a618d150514e8222f8872c54f63c05b7ed7610a8f91e93365019ea2a4c9ea2cc8e2cb7eed7ce2c6be4ece518e17168f559af55210d667dc7146726210f18d
|
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.13.
|
10
|
+
- Package version: 0.13.6
|
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.13.
|
27
|
+
gem install ./pulp_ansible_client-0.13.6.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.13.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.13.6.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.13.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.13.6'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -25,7 +25,6 @@ Name | Type | Description | Notes
|
|
25
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
26
26
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
27
27
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
28
|
-
**token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
|
29
28
|
**sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
|
30
29
|
**signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
|
31
30
|
|
@@ -55,7 +54,6 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
55
54
|
rate_limit: null,
|
56
55
|
requirements_file: null,
|
57
56
|
auth_url: null,
|
58
|
-
token: null,
|
59
57
|
sync_dependencies: null,
|
60
58
|
signed_only: null)
|
61
59
|
```
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
8
7
|
**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]
|
8
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
9
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
9
12
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
-
**
|
13
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
11
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]
|
12
|
-
**
|
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
|
+
**url** | **String** | The URL of an external content source. |
|
13
17
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
19
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
20
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
21
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
22
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
23
|
+
**name** | **String** | A unique name for this remote. |
|
15
24
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
16
|
-
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
17
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
18
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
19
|
-
**url** | **String** | The URL of an external content source. |
|
20
25
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
21
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
22
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
23
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
26
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
25
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
|
-
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(sock_read_timeout: null,
|
36
|
+
client_key: null,
|
37
|
+
connect_timeout: null,
|
38
|
+
client_cert: null,
|
39
|
+
proxy_password: null,
|
37
40
|
username: null,
|
38
|
-
|
41
|
+
headers: null,
|
39
42
|
total_timeout: null,
|
40
|
-
|
43
|
+
sock_connect_timeout: null,
|
44
|
+
url: null,
|
41
45
|
ca_cert: null,
|
46
|
+
pulp_labels: null,
|
42
47
|
proxy_username: null,
|
48
|
+
proxy_url: null,
|
49
|
+
password: null,
|
50
|
+
tls_validation: null,
|
51
|
+
name: null,
|
43
52
|
max_retries: null,
|
44
|
-
proxy_password: null,
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
connect_timeout: null,
|
47
|
-
url: null,
|
48
53
|
download_concurrency: null,
|
49
|
-
password: null,
|
50
|
-
pulp_labels: null,
|
51
|
-
client_cert: null,
|
52
54
|
rate_limit: null,
|
53
|
-
headers: null,
|
54
|
-
tls_validation: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -5,23 +5,23 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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]
|
8
|
-
**
|
8
|
+
**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]
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
10
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
9
11
|
**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
|
-
**
|
11
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
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
|
-
**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]
|
15
14
|
**url** | **String** | The URL of an external content source. |
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
16
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
17
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
20
|
-
**
|
21
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
22
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
18
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
23
19
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
24
|
-
**
|
20
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
21
|
+
**name** | **String** | A unique name for this remote. |
|
22
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
23
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
24
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
|
|
@@ -31,23 +31,23 @@ Name | Type | Description | Notes
|
|
31
31
|
require 'PulpAnsibleClient'
|
32
32
|
|
33
33
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(sock_read_timeout: null,
|
34
|
-
|
34
|
+
connect_timeout: null,
|
35
|
+
client_cert: null,
|
36
|
+
headers: null,
|
35
37
|
total_timeout: null,
|
36
|
-
|
37
|
-
ca_cert: null,
|
38
|
-
max_retries: null,
|
38
|
+
pulp_href: null,
|
39
39
|
sock_connect_timeout: null,
|
40
|
-
connect_timeout: null,
|
41
40
|
url: null,
|
42
|
-
|
43
|
-
|
44
|
-
pulp_href: null,
|
41
|
+
ca_cert: null,
|
42
|
+
pulp_last_updated: null,
|
45
43
|
pulp_labels: null,
|
46
|
-
|
47
|
-
rate_limit: null,
|
48
|
-
headers: null,
|
44
|
+
proxy_url: null,
|
49
45
|
tls_validation: null,
|
50
|
-
|
46
|
+
pulp_created: null,
|
47
|
+
name: null,
|
48
|
+
max_retries: null,
|
49
|
+
download_concurrency: null,
|
50
|
+
rate_limit: null,
|
51
51
|
metadata_only: null,
|
52
52
|
git_ref: null)
|
53
53
|
```
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
8
7
|
**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]
|
8
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
9
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
9
12
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
-
**
|
13
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
11
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]
|
12
|
-
**
|
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
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
13
17
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
19
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
20
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
21
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
22
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
23
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
15
24
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
16
|
-
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
17
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
18
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
19
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
20
25
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
21
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
22
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
23
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
26
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
25
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
|
-
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(sock_read_timeout: null,
|
36
|
+
client_key: null,
|
37
|
+
connect_timeout: null,
|
38
|
+
client_cert: null,
|
39
|
+
proxy_password: null,
|
37
40
|
username: null,
|
38
|
-
|
41
|
+
headers: null,
|
39
42
|
total_timeout: null,
|
40
|
-
|
43
|
+
sock_connect_timeout: null,
|
44
|
+
url: null,
|
41
45
|
ca_cert: null,
|
46
|
+
pulp_labels: null,
|
42
47
|
proxy_username: null,
|
48
|
+
proxy_url: null,
|
49
|
+
password: null,
|
50
|
+
tls_validation: null,
|
51
|
+
name: null,
|
43
52
|
max_retries: null,
|
44
|
-
proxy_password: null,
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
connect_timeout: null,
|
47
|
-
url: null,
|
48
53
|
download_concurrency: null,
|
49
|
-
password: null,
|
50
|
-
pulp_labels: null,
|
51
|
-
client_cert: null,
|
52
54
|
rate_limit: null,
|
53
|
-
headers: null,
|
54
|
-
tls_validation: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -76,9 +76,6 @@ module PulpAnsibleClient
|
|
76
76
|
# The URL to receive a session token from, e.g. used with Automation Hub.
|
77
77
|
attr_accessor :auth_url
|
78
78
|
|
79
|
-
# The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details
|
80
|
-
attr_accessor :token
|
81
|
-
|
82
79
|
# Sync dependencies for collections specified via requirements file
|
83
80
|
attr_accessor :sync_dependencies
|
84
81
|
|
@@ -109,7 +106,6 @@ module PulpAnsibleClient
|
|
109
106
|
:'rate_limit' => :'rate_limit',
|
110
107
|
:'requirements_file' => :'requirements_file',
|
111
108
|
:'auth_url' => :'auth_url',
|
112
|
-
:'token' => :'token',
|
113
109
|
:'sync_dependencies' => :'sync_dependencies',
|
114
110
|
:'signed_only' => :'signed_only'
|
115
111
|
}
|
@@ -139,7 +135,6 @@ module PulpAnsibleClient
|
|
139
135
|
:'rate_limit' => :'Integer',
|
140
136
|
:'requirements_file' => :'String',
|
141
137
|
:'auth_url' => :'String',
|
142
|
-
:'token' => :'String',
|
143
138
|
:'sync_dependencies' => :'Boolean',
|
144
139
|
:'signed_only' => :'Boolean'
|
145
140
|
}
|
@@ -160,7 +155,6 @@ module PulpAnsibleClient
|
|
160
155
|
:'rate_limit',
|
161
156
|
:'requirements_file',
|
162
157
|
:'auth_url',
|
163
|
-
:'token',
|
164
158
|
:'sync_dependencies',
|
165
159
|
:'signed_only'
|
166
160
|
])
|
@@ -267,10 +261,6 @@ module PulpAnsibleClient
|
|
267
261
|
self.auth_url = attributes[:'auth_url']
|
268
262
|
end
|
269
263
|
|
270
|
-
if attributes.key?(:'token')
|
271
|
-
self.token = attributes[:'token']
|
272
|
-
end
|
273
|
-
|
274
264
|
if attributes.key?(:'sync_dependencies')
|
275
265
|
self.sync_dependencies = attributes[:'sync_dependencies']
|
276
266
|
else
|
@@ -320,10 +310,6 @@ module PulpAnsibleClient
|
|
320
310
|
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
321
311
|
end
|
322
312
|
|
323
|
-
if !@token.nil? && @token.to_s.length > 2000
|
324
|
-
invalid_properties.push('invalid value for "token", the character length must be smaller than or equal to 2000.')
|
325
|
-
end
|
326
|
-
|
327
313
|
invalid_properties
|
328
314
|
end
|
329
315
|
|
@@ -338,7 +324,6 @@ module PulpAnsibleClient
|
|
338
324
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
339
325
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
340
326
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
341
|
-
return false if !@token.nil? && @token.to_s.length > 2000
|
342
327
|
true
|
343
328
|
end
|
344
329
|
|
@@ -402,16 +387,6 @@ module PulpAnsibleClient
|
|
402
387
|
@auth_url = auth_url
|
403
388
|
end
|
404
389
|
|
405
|
-
# Custom attribute writer method with validation
|
406
|
-
# @param [Object] token Value to be assigned
|
407
|
-
def token=(token)
|
408
|
-
if !token.nil? && token.to_s.length > 2000
|
409
|
-
fail ArgumentError, 'invalid value for "token", the character length must be smaller than or equal to 2000.'
|
410
|
-
end
|
411
|
-
|
412
|
-
@token = token
|
413
|
-
end
|
414
|
-
|
415
390
|
# Checks equality by comparing each attribute.
|
416
391
|
# @param [Object] Object to be compared
|
417
392
|
def ==(o)
|
@@ -438,7 +413,6 @@ module PulpAnsibleClient
|
|
438
413
|
rate_limit == o.rate_limit &&
|
439
414
|
requirements_file == o.requirements_file &&
|
440
415
|
auth_url == o.auth_url &&
|
441
|
-
token == o.token &&
|
442
416
|
sync_dependencies == o.sync_dependencies &&
|
443
417
|
signed_only == o.signed_only
|
444
418
|
end
|
@@ -452,7 +426,7 @@ module PulpAnsibleClient
|
|
452
426
|
# Calculates hash code according to all attributes.
|
453
427
|
# @return [Integer] Hash code
|
454
428
|
def hash
|
455
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url,
|
429
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only].hash
|
456
430
|
end
|
457
431
|
|
458
432
|
# Builds the object from hash
|