pulp_ansible_client 0.27.0 → 0.27.1
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 +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +23 -23
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +255 -255
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +170 -170
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +23 -23
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +247 -247
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- 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 +20 -20
- metadata +123 -123
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed73c908e17361bb11bf833600b8e23679946456e3caadc05273621d50326f7
|
4
|
+
data.tar.gz: 29c0c48ebcda11b99f402666199407dd56ea32ba8aceda915a4f3c74a1faf2a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 808bf9eb674509a124ae4763bfcc1868a650baa0b2e28ebcbc9db8206bdcbd3570641e4af8545dcee50b12798da1f404fa38445de2fda24fc239a02e37390b59
|
7
|
+
data.tar.gz: 502480adc8d84ff718319fc5dba194804c236c60ebe9ef37ea97ec4ab8194f8b61c57c60c6fec87706993e00b8d9648695678cdec53d9317ae3f923c6fd9d6f0
|
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.27.
|
10
|
+
- Package version: 0.27.1
|
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.27.
|
28
|
+
gem install ./pulp_ansible_client-0.27.1.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.27.
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.27.1.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.27.
|
37
|
+
gem 'pulp_ansible_client', '~> 0.27.1'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -4,12 +4,12 @@
|
|
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] |
|
8
|
+
| **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] |
|
7
9
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
8
10
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
9
|
-
| **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
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
12
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
12
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
13
13
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
14
14
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
15
15
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
@@ -41,12 +41,12 @@
|
|
41
41
|
require 'pulp_ansible_client'
|
42
42
|
|
43
43
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
44
|
+
pulp_labels: null,
|
45
|
+
pulp_last_updated: null,
|
44
46
|
prn: null,
|
45
47
|
pulp_created: null,
|
46
|
-
pulp_last_updated: null,
|
47
48
|
pulp_href: null,
|
48
49
|
artifact: null,
|
49
|
-
pulp_labels: null,
|
50
50
|
sha256: null,
|
51
51
|
md5: null,
|
52
52
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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] |
|
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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
10
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
7
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
13
|
-
| **
|
14
|
-
| **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
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
16
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
17
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
18
|
-
| **url** | **String** | The URL of an external content source. | |
|
19
|
-
| **name** | **String** | A unique name for this remote. | |
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
9
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
21
10
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
11
|
+
| **url** | **String** | The URL of an external content source. | |
|
12
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
13
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
22
14
|
| **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] |
|
23
|
-
| **
|
15
|
+
| **name** | **String** | A unique name for this remote. | |
|
16
|
+
| **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] |
|
17
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
24
18
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
19
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
20
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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
|
+
| **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
|
+
| **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
24
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
26
|
-
| **
|
25
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
26
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [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
|
-
total_timeout: null,
|
37
|
-
connect_timeout: null,
|
38
|
-
headers: null,
|
39
|
-
tls_validation: null,
|
40
|
-
max_retries: null,
|
41
36
|
password: null,
|
42
|
-
|
43
|
-
sock_read_timeout: null,
|
44
|
-
client_cert: null,
|
45
|
-
proxy_username: null,
|
46
|
-
ca_cert: null,
|
47
|
-
url: null,
|
48
|
-
name: null,
|
37
|
+
download_concurrency: null,
|
49
38
|
rate_limit: null,
|
50
39
|
proxy_password: null,
|
40
|
+
url: null,
|
41
|
+
tls_validation: null,
|
42
|
+
client_cert: null,
|
51
43
|
sock_connect_timeout: null,
|
52
|
-
|
44
|
+
name: null,
|
45
|
+
connect_timeout: null,
|
46
|
+
client_key: null,
|
53
47
|
pulp_labels: null,
|
48
|
+
ca_cert: null,
|
49
|
+
headers: null,
|
50
|
+
total_timeout: null,
|
51
|
+
max_retries: null,
|
52
|
+
sock_read_timeout: null,
|
54
53
|
proxy_url: null,
|
55
|
-
|
54
|
+
proxy_username: null,
|
55
|
+
username: 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
|
-
| **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] |
|
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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
10
7
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
11
|
-
| **
|
12
|
-
| **
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
9
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
10
|
+
| **url** | **String** | The URL of an external content source. | |
|
13
11
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
14
|
-
| **
|
15
|
-
| **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
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
16
13
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
17
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
18
|
-
| **url** | **String** | The URL of an external content source. | |
|
19
|
-
| **name** | **String** | A unique name for this remote. | |
|
20
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
21
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
22
|
-
| **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] |
|
23
14
|
| **pulp_href** | **String** | | [optional][readonly] |
|
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
|
+
| **name** | **String** | A unique name for this remote. | |
|
17
|
+
| **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] |
|
18
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
24
19
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
20
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
21
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
22
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
25
|
+
| **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
26
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
26
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
29
29
|
|
@@ -33,26 +33,26 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
36
|
-
total_timeout: null,
|
37
|
-
connect_timeout: null,
|
38
|
-
headers: null,
|
39
36
|
pulp_last_updated: null,
|
40
|
-
|
41
|
-
|
37
|
+
download_concurrency: null,
|
38
|
+
rate_limit: null,
|
39
|
+
url: null,
|
42
40
|
tls_validation: null,
|
43
|
-
|
44
|
-
sock_read_timeout: null,
|
41
|
+
pulp_created: null,
|
45
42
|
client_cert: null,
|
46
|
-
ca_cert: null,
|
47
|
-
url: null,
|
48
|
-
name: null,
|
49
|
-
prn: null,
|
50
|
-
rate_limit: null,
|
51
|
-
sock_connect_timeout: null,
|
52
43
|
pulp_href: null,
|
44
|
+
sock_connect_timeout: null,
|
45
|
+
name: null,
|
46
|
+
connect_timeout: null,
|
47
|
+
hidden_fields: null,
|
53
48
|
pulp_labels: null,
|
49
|
+
ca_cert: null,
|
50
|
+
prn: null,
|
51
|
+
headers: null,
|
52
|
+
total_timeout: null,
|
53
|
+
max_retries: null,
|
54
|
+
sock_read_timeout: null,
|
54
55
|
proxy_url: null,
|
55
|
-
download_concurrency: 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
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
8
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
9
8
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
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
|
-
artifact: null,
|
21
20
|
pulp_labels: null,
|
22
21
|
repository: null,
|
22
|
+
artifact: null,
|
23
23
|
version: null,
|
24
24
|
name: null,
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,12 +4,12 @@
|
|
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] |
|
8
|
+
| **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] |
|
7
9
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
8
10
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
9
|
-
| **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
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
12
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
13
13
|
| **version** | **String** | | |
|
14
14
|
| **name** | **String** | | |
|
15
15
|
| **namespace** | **String** | | |
|
@@ -20,12 +20,12 @@
|
|
20
20
|
require 'pulp_ansible_client'
|
21
21
|
|
22
22
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
23
|
+
pulp_labels: null,
|
24
|
+
pulp_last_updated: null,
|
23
25
|
prn: null,
|
24
26
|
pulp_created: null,
|
25
|
-
pulp_last_updated: null,
|
26
27
|
pulp_href: null,
|
27
28
|
artifact: null,
|
28
|
-
pulp_labels: null,
|
29
29
|
version: null,
|
30
30
|
name: null,
|
31
31
|
namespace: null
|
@@ -34,11 +34,11 @@ 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
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
37
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
38
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
39
39
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
40
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
41
40
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
41
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
42
42
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
@@ -77,11 +77,11 @@ end
|
|
77
77
|
| Name | Type | Description | Notes |
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
80
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
80
81
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
81
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
82
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
83
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
84
83
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
84
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
85
85
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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] |
|
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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
10
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
7
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
13
|
-
| **
|
14
|
-
| **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
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
16
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
17
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
18
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
19
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
9
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
21
10
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
11
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
12
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
13
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
22
14
|
| **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] |
|
23
|
-
| **
|
15
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
16
|
+
| **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] |
|
17
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
24
18
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
19
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
20
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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
|
+
| **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
|
+
| **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
24
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
26
|
-
| **
|
25
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
26
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [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
|
-
total_timeout: null,
|
37
|
-
connect_timeout: null,
|
38
|
-
headers: null,
|
39
|
-
tls_validation: null,
|
40
|
-
max_retries: null,
|
41
36
|
password: null,
|
42
|
-
|
43
|
-
sock_read_timeout: null,
|
44
|
-
client_cert: null,
|
45
|
-
proxy_username: null,
|
46
|
-
ca_cert: null,
|
47
|
-
url: null,
|
48
|
-
name: null,
|
37
|
+
download_concurrency: null,
|
49
38
|
rate_limit: null,
|
50
39
|
proxy_password: null,
|
40
|
+
url: null,
|
41
|
+
tls_validation: null,
|
42
|
+
client_cert: null,
|
51
43
|
sock_connect_timeout: null,
|
52
|
-
|
44
|
+
name: null,
|
45
|
+
connect_timeout: null,
|
46
|
+
client_key: null,
|
53
47
|
pulp_labels: null,
|
48
|
+
ca_cert: null,
|
49
|
+
headers: null,
|
50
|
+
total_timeout: null,
|
51
|
+
max_retries: null,
|
52
|
+
sock_read_timeout: null,
|
54
53
|
proxy_url: null,
|
55
|
-
|
54
|
+
proxy_username: null,
|
55
|
+
username: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
@@ -119,7 +119,7 @@ opts = {
|
|
119
119
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
120
120
|
number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
|
121
121
|
offset: 56, # Integer | The initial index from which to return the results.
|
122
|
-
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
122
|
+
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
123
123
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
124
124
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
125
125
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -177,7 +177,7 @@ end
|
|
177
177
|
| **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
|
178
178
|
| **number__range** | [**Array<Integer>**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
|
179
179
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
180
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
180
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
181
181
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
182
182
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
183
183
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -23,11 +23,11 @@ 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 [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
26
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
27
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
30
29
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
30
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
31
31
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
42
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
43
43
|
# @param [Hash] opts the optional parameters
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
45
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
45
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
46
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
47
47
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
48
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
49
48
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
49
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
50
50
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
103
103
|
|
104
104
|
# form parameters
|
105
105
|
form_params = opts[:form_params] || {}
|
106
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
106
107
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
107
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
108
108
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
109
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
110
109
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
110
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
111
111
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
@@ -100,7 +100,7 @@ module PulpAnsibleClient
|
|
100
100
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
101
101
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
102
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
103
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
104
104
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
105
105
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
106
106
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -134,7 +134,7 @@ module PulpAnsibleClient
|
|
134
134
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
135
135
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
136
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
137
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
138
138
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
139
139
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
140
140
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -156,7 +156,7 @@ module PulpAnsibleClient
|
|
156
156
|
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
157
157
|
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
|
158
158
|
end
|
159
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
159
|
+
allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
160
160
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
161
161
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
162
162
|
end
|
@@ -16,23 +16,23 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for CollectionVersion Content.
|
18
18
|
class AnsibleCollectionVersionResponse
|
19
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
20
|
+
attr_accessor :pulp_labels
|
21
|
+
|
22
|
+
# 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.
|
23
|
+
attr_accessor :pulp_last_updated
|
24
|
+
|
19
25
|
# The Pulp Resource Name (PRN).
|
20
26
|
attr_accessor :prn
|
21
27
|
|
22
28
|
# Timestamp of creation.
|
23
29
|
attr_accessor :pulp_created
|
24
30
|
|
25
|
-
# 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.
|
26
|
-
attr_accessor :pulp_last_updated
|
27
|
-
|
28
31
|
attr_accessor :pulp_href
|
29
32
|
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
33
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
34
|
-
attr_accessor :pulp_labels
|
35
|
-
|
36
36
|
# The SHA-256 checksum if available.
|
37
37
|
attr_accessor :sha256
|
38
38
|
|
@@ -107,12 +107,12 @@ module PulpAnsibleClient
|
|
107
107
|
# Attribute mapping from ruby-style variable name to JSON key.
|
108
108
|
def self.attribute_map
|
109
109
|
{
|
110
|
+
:'pulp_labels' => :'pulp_labels',
|
111
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
110
112
|
:'prn' => :'prn',
|
111
113
|
:'pulp_created' => :'pulp_created',
|
112
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
113
114
|
:'pulp_href' => :'pulp_href',
|
114
115
|
:'artifact' => :'artifact',
|
115
|
-
:'pulp_labels' => :'pulp_labels',
|
116
116
|
:'sha256' => :'sha256',
|
117
117
|
:'md5' => :'md5',
|
118
118
|
:'sha1' => :'sha1',
|
@@ -148,12 +148,12 @@ module PulpAnsibleClient
|
|
148
148
|
# Attribute type mapping.
|
149
149
|
def self.openapi_types
|
150
150
|
{
|
151
|
+
:'pulp_labels' => :'Hash<String, String>',
|
152
|
+
:'pulp_last_updated' => :'Time',
|
151
153
|
:'prn' => :'String',
|
152
154
|
:'pulp_created' => :'Time',
|
153
|
-
:'pulp_last_updated' => :'Time',
|
154
155
|
:'pulp_href' => :'String',
|
155
156
|
:'artifact' => :'String',
|
156
|
-
:'pulp_labels' => :'Hash<String, String>',
|
157
157
|
:'sha256' => :'String',
|
158
158
|
:'md5' => :'String',
|
159
159
|
:'sha1' => :'String',
|
@@ -203,6 +203,16 @@ module PulpAnsibleClient
|
|
203
203
|
h[k.to_sym] = v
|
204
204
|
}
|
205
205
|
|
206
|
+
if attributes.key?(:'pulp_labels')
|
207
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
208
|
+
self.pulp_labels = value
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes.key?(:'pulp_last_updated')
|
213
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
214
|
+
end
|
215
|
+
|
206
216
|
if attributes.key?(:'prn')
|
207
217
|
self.prn = attributes[:'prn']
|
208
218
|
end
|
@@ -211,10 +221,6 @@ module PulpAnsibleClient
|
|
211
221
|
self.pulp_created = attributes[:'pulp_created']
|
212
222
|
end
|
213
223
|
|
214
|
-
if attributes.key?(:'pulp_last_updated')
|
215
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
216
|
-
end
|
217
|
-
|
218
224
|
if attributes.key?(:'pulp_href')
|
219
225
|
self.pulp_href = attributes[:'pulp_href']
|
220
226
|
end
|
@@ -223,12 +229,6 @@ module PulpAnsibleClient
|
|
223
229
|
self.artifact = attributes[:'artifact']
|
224
230
|
end
|
225
231
|
|
226
|
-
if attributes.key?(:'pulp_labels')
|
227
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
228
|
-
self.pulp_labels = value
|
229
|
-
end
|
230
|
-
end
|
231
|
-
|
232
232
|
if attributes.key?(:'sha256')
|
233
233
|
self.sha256 = attributes[:'sha256']
|
234
234
|
end
|
@@ -502,12 +502,12 @@ module PulpAnsibleClient
|
|
502
502
|
def ==(o)
|
503
503
|
return true if self.equal?(o)
|
504
504
|
self.class == o.class &&
|
505
|
+
pulp_labels == o.pulp_labels &&
|
506
|
+
pulp_last_updated == o.pulp_last_updated &&
|
505
507
|
prn == o.prn &&
|
506
508
|
pulp_created == o.pulp_created &&
|
507
|
-
pulp_last_updated == o.pulp_last_updated &&
|
508
509
|
pulp_href == o.pulp_href &&
|
509
510
|
artifact == o.artifact &&
|
510
|
-
pulp_labels == o.pulp_labels &&
|
511
511
|
sha256 == o.sha256 &&
|
512
512
|
md5 == o.md5 &&
|
513
513
|
sha1 == o.sha1 &&
|
@@ -543,7 +543,7 @@ module PulpAnsibleClient
|
|
543
543
|
# Calculates hash code according to all attributes.
|
544
544
|
# @return [Integer] Hash code
|
545
545
|
def hash
|
546
|
-
[prn, pulp_created,
|
546
|
+
[pulp_labels, pulp_last_updated, prn, pulp_created, pulp_href, artifact, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
547
547
|
end
|
548
548
|
|
549
549
|
# Builds the object from hash
|