pulp_ansible_client 0.13.2 → 0.13.4
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 +4 -4
- data/docs/AnsibleGitRemote.md +23 -23
- data/docs/AnsibleGitRemoteResponse.md +20 -20
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/PatchedansibleGitRemote.md +23 -23
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +222 -222
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +124 -124
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +213 -213
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +103 -104
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b86311928c728078bd3045b406bcc49aae962666b9d5a12aeaa03f5292fb4cdf
|
4
|
+
data.tar.gz: 9ebdb477a25a2bef0aa00e2d104712b1bb0ae33ff009b4deae5a49d7c4a6e3ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7493760801e319eeb4ac94aacdd9d3313c54022935d6b1b3843a7f05b7cb1d301c6811619155666a9a3e211a62366e71c6dfb246a3703aa28ad17975f46847df
|
7
|
+
data.tar.gz: b3f1ad84ba4760003e511f54f45c050e150a150685c28a34543f2dbd4782d31785946ade5f3289d0dae35e279a91e2e3daa0fb750cf2b2229159d49d638d5714
|
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.4
|
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.4.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.4.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.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
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]
|
@@ -37,9 +37,9 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
|
41
41
|
pulp_created: null,
|
42
|
-
|
42
|
+
pulp_href: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
45
45
|
sha224: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
7
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
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
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]
|
12
|
+
**name** | **String** | A unique name for this remote. |
|
8
13
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
9
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]
|
10
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]
|
11
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
12
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
13
19
|
**url** | **String** | The URL of an external content source. |
|
14
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
15
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
|
-
**
|
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
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
19
|
-
**name** | **String** | A unique name for this remote. |
|
21
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
20
22
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
21
|
-
**
|
23
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
22
24
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
23
|
-
**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]
|
24
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
25
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**
|
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(
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(client_key: null,
|
36
|
+
sock_read_timeout: null,
|
37
|
+
username: null,
|
38
|
+
proxy_url: null,
|
39
|
+
total_timeout: null,
|
40
|
+
name: null,
|
36
41
|
ca_cert: null,
|
42
|
+
proxy_username: null,
|
43
|
+
max_retries: null,
|
37
44
|
proxy_password: null,
|
45
|
+
sock_connect_timeout: null,
|
38
46
|
connect_timeout: null,
|
39
|
-
max_retries: null,
|
40
|
-
client_key: null,
|
41
47
|
url: null,
|
42
|
-
password: null,
|
43
48
|
download_concurrency: null,
|
44
|
-
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
client_cert: null,
|
47
|
-
name: null,
|
49
|
+
password: null,
|
48
50
|
pulp_labels: null,
|
49
|
-
|
51
|
+
client_cert: null,
|
50
52
|
rate_limit: null,
|
51
|
-
total_timeout: null,
|
52
|
-
tls_validation: null,
|
53
53
|
headers: null,
|
54
|
-
|
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
|
+
**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
|
+
**name** | **String** | A unique name for this remote. |
|
9
11
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
-
**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]
|
11
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
12
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
13
12
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
13
|
+
**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]
|
14
15
|
**url** | **String** | The URL of an external content source. |
|
15
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**name** | **String** | A unique name for this remote. |
|
17
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
18
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
19
19
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
20
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
20
21
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
21
|
-
**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]
|
22
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
23
22
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
-
**
|
23
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
24
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
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
|
+
proxy_url: null,
|
35
|
+
total_timeout: null,
|
36
|
+
name: null,
|
35
37
|
ca_cert: null,
|
36
|
-
connect_timeout: null,
|
37
|
-
pulp_last_updated: null,
|
38
|
-
pulp_href: null,
|
39
38
|
max_retries: null,
|
39
|
+
sock_connect_timeout: null,
|
40
|
+
connect_timeout: null,
|
40
41
|
url: null,
|
41
42
|
download_concurrency: null,
|
42
|
-
|
43
|
-
|
44
|
-
name: null,
|
43
|
+
pulp_created: null,
|
44
|
+
pulp_href: null,
|
45
45
|
pulp_labels: null,
|
46
|
+
client_cert: null,
|
46
47
|
rate_limit: null,
|
47
|
-
total_timeout: null,
|
48
|
-
tls_validation: null,
|
49
48
|
headers: null,
|
50
|
-
|
49
|
+
tls_validation: null,
|
50
|
+
pulp_last_updated: null,
|
51
51
|
metadata_only: null,
|
52
52
|
git_ref: null)
|
53
53
|
```
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
|
20
20
|
pulp_created: null,
|
21
|
-
|
21
|
+
pulp_href: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
7
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
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
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]
|
12
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
8
13
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
9
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]
|
10
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]
|
11
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
12
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
13
19
|
**url** | **String** | The URL of an external content source. | [optional]
|
14
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
15
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
|
-
**
|
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
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
19
|
-
**name** | **String** | A unique name for this remote. | [optional]
|
21
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
20
22
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
21
|
-
**
|
23
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
22
24
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
23
|
-
**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]
|
24
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
25
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**
|
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(
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(client_key: null,
|
36
|
+
sock_read_timeout: null,
|
37
|
+
username: null,
|
38
|
+
proxy_url: null,
|
39
|
+
total_timeout: null,
|
40
|
+
name: null,
|
36
41
|
ca_cert: null,
|
42
|
+
proxy_username: null,
|
43
|
+
max_retries: null,
|
37
44
|
proxy_password: null,
|
45
|
+
sock_connect_timeout: null,
|
38
46
|
connect_timeout: null,
|
39
|
-
max_retries: null,
|
40
|
-
client_key: null,
|
41
47
|
url: null,
|
42
|
-
password: null,
|
43
48
|
download_concurrency: null,
|
44
|
-
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
client_cert: null,
|
47
|
-
name: null,
|
49
|
+
password: null,
|
48
50
|
pulp_labels: null,
|
49
|
-
|
51
|
+
client_cert: null,
|
50
52
|
rate_limit: null,
|
51
|
-
total_timeout: null,
|
52
|
-
tls_validation: null,
|
53
53
|
headers: null,
|
54
|
-
|
54
|
+
tls_validation: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
case value
|
155
155
|
when ::File, ::Tempfile
|
156
156
|
# TODO hardcode to application/octet-stream, need better way to detect content type
|
157
|
-
data[key] = Faraday::
|
157
|
+
data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
|
158
158
|
when ::Array, nil
|
159
159
|
# let Faraday handle Array and nil parameters
|
160
160
|
data[key] = value
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
19
20
|
|
20
21
|
# Timestamp of creation.
|
21
22
|
attr_accessor :pulp_created
|
22
23
|
|
23
|
-
|
24
|
-
attr_accessor :artifact
|
24
|
+
attr_accessor :pulp_href
|
25
25
|
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
@@ -97,9 +97,9 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
-
:'pulp_href' => :'pulp_href',
|
101
|
-
:'pulp_created' => :'pulp_created',
|
102
100
|
:'artifact' => :'artifact',
|
101
|
+
:'pulp_created' => :'pulp_created',
|
102
|
+
:'pulp_href' => :'pulp_href',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
105
105
|
:'sha224' => :'sha224',
|
@@ -130,9 +130,9 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'pulp_href' => :'String',
|
134
|
-
:'pulp_created' => :'DateTime',
|
135
133
|
:'artifact' => :'String',
|
134
|
+
:'pulp_created' => :'DateTime',
|
135
|
+
:'pulp_href' => :'String',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
138
138
|
:'sha224' => :'String',
|
@@ -182,16 +182,16 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'
|
186
|
-
self.
|
185
|
+
if attributes.key?(:'artifact')
|
186
|
+
self.artifact = attributes[:'artifact']
|
187
187
|
end
|
188
188
|
|
189
189
|
if attributes.key?(:'pulp_created')
|
190
190
|
self.pulp_created = attributes[:'pulp_created']
|
191
191
|
end
|
192
192
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
self.
|
193
|
+
if attributes.key?(:'pulp_href')
|
194
|
+
self.pulp_href = attributes[:'pulp_href']
|
195
195
|
end
|
196
196
|
|
197
197
|
if attributes.key?(:'md5')
|
@@ -543,9 +543,9 @@ module PulpAnsibleClient
|
|
543
543
|
def ==(o)
|
544
544
|
return true if self.equal?(o)
|
545
545
|
self.class == o.class &&
|
546
|
-
pulp_href == o.pulp_href &&
|
547
|
-
pulp_created == o.pulp_created &&
|
548
546
|
artifact == o.artifact &&
|
547
|
+
pulp_created == o.pulp_created &&
|
548
|
+
pulp_href == o.pulp_href &&
|
549
549
|
md5 == o.md5 &&
|
550
550
|
sha1 == o.sha1 &&
|
551
551
|
sha224 == o.sha224 &&
|
@@ -581,7 +581,7 @@ module PulpAnsibleClient
|
|
581
581
|
# Calculates hash code according to all attributes.
|
582
582
|
# @return [Integer] Hash code
|
583
583
|
def hash
|
584
|
-
[
|
584
|
+
[artifact, pulp_created, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
585
585
|
end
|
586
586
|
|
587
587
|
# Builds the object from hash
|