pulpcore_client 3.110.3 → 3.111.0
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/ArtifactDistributionResponse.md +16 -16
- data/docs/ContentOpenpgpPublickeyApi.md +2 -0
- data/docs/PatchedUpstreamPulp.md +12 -0
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/docs/UpstreamPulp.md +12 -0
- data/docs/UpstreamPulpResponse.md +12 -0
- data/docs/UpstreamPulpsApi.md +2 -2
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +3 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +80 -80
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +142 -1
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulpcore_client/models/upstream_pulp.rb +142 -1
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +142 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/content_openpgp_publickey_api_spec.rb +1 -0
- data/spec/api/upstream_pulps_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +12 -12
- data/spec/models/patched_upstream_pulp_spec.rb +36 -0
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- data/spec/models/upstream_pulp_response_spec.rb +36 -0
- data/spec/models/upstream_pulp_spec.rb +36 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04616f3a2441fd44dfb050a13eb2bf4a0f3eea2fa51eee4a7834ddbe09ad231d
|
|
4
|
+
data.tar.gz: 5d14fcc06da2497b72bd926ae15a06c4c56b64d186e0e4cd587f203609bd02ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f2d74e1d0b2db13fdbc6da0ecd244b70860e74c80bff29302750b1d8c055960a39528663601347a27aed8a2876b5b4254dc934f5ac65784fbc54e17f6478b48
|
|
7
|
+
data.tar.gz: afbfacb586ff98e0e1a25af6694d8815455698add3c317821db53055d823026f94667762885541ff7b9069ca8a18c4af66ed73eab1cec1c678d90f9930ee8b06
|
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: 3.
|
|
10
|
+
- Package version: 3.111.0
|
|
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 pulpcore_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulpcore_client-3.
|
|
28
|
+
gem install ./pulpcore_client-3.111.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.111.0.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 'pulpcore_client', '~> 3.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.111.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
8
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
9
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
7
10
|
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
11
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
12
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
9
|
-
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
10
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
11
|
-
| **
|
|
12
|
-
| **
|
|
14
|
+
| **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] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
16
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
17
|
+
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
14
18
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
15
|
-
| **
|
|
16
|
-
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
17
|
-
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
18
|
-
| **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] |
|
|
19
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
19
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
require 'pulpcore_client'
|
|
25
25
|
|
|
26
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
27
|
+
repository_version: null,
|
|
28
|
+
no_content_change_since: null,
|
|
29
|
+
base_url: null,
|
|
27
30
|
content_guard_prn: null,
|
|
31
|
+
pulp_created: null,
|
|
28
32
|
hidden: null,
|
|
29
|
-
base_path: null,
|
|
30
33
|
content_guard: null,
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
pulp_last_updated: null,
|
|
35
|
+
pulp_labels: null,
|
|
33
36
|
name: null,
|
|
37
|
+
base_path: null,
|
|
34
38
|
prn: null,
|
|
35
|
-
|
|
36
|
-
repository_version: null,
|
|
37
|
-
base_url: null,
|
|
38
|
-
pulp_last_updated: null,
|
|
39
|
-
pulp_created: null
|
|
39
|
+
pulp_href: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -35,6 +35,7 @@ api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
41
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
@@ -75,6 +76,7 @@ end
|
|
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
|
76
77
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
77
78
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
79
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional][default to true] |
|
|
78
80
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
79
81
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
80
82
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
data/docs/PatchedUpstreamPulp.md
CHANGED
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
15
15
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
16
16
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
17
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
18
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
19
|
+
| **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] |
|
|
20
|
+
| **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] |
|
|
21
|
+
| **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] |
|
|
22
|
+
| **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] |
|
|
17
23
|
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
|
18
24
|
| **policy** | [**Policy357Enum**](Policy357Enum.md) | Policy for how replicate will manage the local objects within the domain. * `all` - Replicate manages ALL local objects within the domain. * `labeled` - Replicate will only manage the objects created from a previous replication, unlabled local objects will be untouched. * `nodelete` - Replicate will not delete any local object whether they were created by replication or not. | [optional] |
|
|
19
25
|
|
|
@@ -33,6 +39,12 @@ instance = PulpcoreClient::PatchedUpstreamPulp.new(
|
|
|
33
39
|
tls_validation: null,
|
|
34
40
|
username: null,
|
|
35
41
|
password: null,
|
|
42
|
+
download_concurrency: null,
|
|
43
|
+
max_retries: null,
|
|
44
|
+
total_timeout: null,
|
|
45
|
+
connect_timeout: null,
|
|
46
|
+
sock_connect_timeout: null,
|
|
47
|
+
sock_read_timeout: null,
|
|
36
48
|
q_select: null,
|
|
37
49
|
policy: null
|
|
38
50
|
)
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'pulpcore_client'
|
|
|
16
17
|
instance = PulpcoreClient::RepositoryAddRemoveContent.new(
|
|
17
18
|
add_content_units: null,
|
|
18
19
|
remove_content_units: null,
|
|
19
|
-
base_version: null
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
data/docs/UpstreamPulp.md
CHANGED
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
15
15
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
16
16
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
17
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
18
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
19
|
+
| **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] |
|
|
20
|
+
| **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] |
|
|
21
|
+
| **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] |
|
|
22
|
+
| **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] |
|
|
17
23
|
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
|
18
24
|
| **policy** | [**Policy357Enum**](Policy357Enum.md) | Policy for how replicate will manage the local objects within the domain. * `all` - Replicate manages ALL local objects within the domain. * `labeled` - Replicate will only manage the objects created from a previous replication, unlabled local objects will be untouched. * `nodelete` - Replicate will not delete any local object whether they were created by replication or not. | [optional] |
|
|
19
25
|
|
|
@@ -33,6 +39,12 @@ instance = PulpcoreClient::UpstreamPulp.new(
|
|
|
33
39
|
tls_validation: null,
|
|
34
40
|
username: null,
|
|
35
41
|
password: null,
|
|
42
|
+
download_concurrency: null,
|
|
43
|
+
max_retries: null,
|
|
44
|
+
total_timeout: null,
|
|
45
|
+
connect_timeout: null,
|
|
46
|
+
sock_connect_timeout: null,
|
|
47
|
+
sock_read_timeout: null,
|
|
36
48
|
q_select: null,
|
|
37
49
|
policy: null
|
|
38
50
|
)
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
16
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
17
17
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
18
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
20
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
21
|
+
| **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] |
|
|
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
|
+
| **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] |
|
|
18
24
|
| **hidden_fields** | [**Array<GenericRemoteResponseHiddenFieldsInner>**](GenericRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
19
25
|
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
|
20
26
|
| **last_replication** | **Time** | Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed. | [optional][readonly] |
|
|
@@ -37,6 +43,12 @@ instance = PulpcoreClient::UpstreamPulpResponse.new(
|
|
|
37
43
|
ca_cert: null,
|
|
38
44
|
client_cert: null,
|
|
39
45
|
tls_validation: null,
|
|
46
|
+
download_concurrency: null,
|
|
47
|
+
max_retries: null,
|
|
48
|
+
total_timeout: null,
|
|
49
|
+
connect_timeout: null,
|
|
50
|
+
sock_connect_timeout: null,
|
|
51
|
+
sock_read_timeout: null,
|
|
40
52
|
hidden_fields: null,
|
|
41
53
|
q_select: null,
|
|
42
54
|
last_replication: null,
|
data/docs/UpstreamPulpsApi.md
CHANGED
|
@@ -290,7 +290,7 @@ opts = {
|
|
|
290
290
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
291
291
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
292
292
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
293
|
-
ordering: ['-api_root'], # 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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
293
|
+
ordering: ['-api_root'], # 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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
294
294
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
295
295
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
296
296
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -358,7 +358,7 @@ end
|
|
|
358
358
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
359
359
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
360
360
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
361
|
-
| **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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
361
|
+
| **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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
362
362
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
363
363
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
364
364
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
|
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
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (default to true)
|
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -40,6 +41,7 @@ module PulpcoreClient
|
|
|
40
41
|
# @param [Hash] opts the optional parameters
|
|
41
42
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
44
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (default to true)
|
|
43
45
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
44
46
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
45
47
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -74,6 +76,7 @@ module PulpcoreClient
|
|
|
74
76
|
# form parameters
|
|
75
77
|
form_params = opts[:form_params] || {}
|
|
76
78
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
79
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
77
80
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
78
81
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
79
82
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
@@ -262,7 +262,7 @@ module PulpcoreClient
|
|
|
262
262
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
263
263
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
264
264
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
265
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
265
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
266
266
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
267
267
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
268
268
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -306,7 +306,7 @@ module PulpcoreClient
|
|
|
306
306
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
307
307
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
308
308
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
309
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
309
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
310
310
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
311
311
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
312
312
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -318,7 +318,7 @@ module PulpcoreClient
|
|
|
318
318
|
if @api_client.config.debugging
|
|
319
319
|
@api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.list ...'
|
|
320
320
|
end
|
|
321
|
-
allowable_values = ["-api_root", "-base_url", "-ca_cert", "-client_cert", "-client_key", "-domain", "-last_replication", "-name", "-password", "-pk", "-policy", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-q_select", "-tls_validation", "-username", "api_root", "base_url", "ca_cert", "client_cert", "client_key", "domain", "last_replication", "name", "password", "pk", "policy", "pulp_created", "pulp_id", "pulp_last_updated", "q_select", "tls_validation", "username"]
|
|
321
|
+
allowable_values = ["-api_root", "-base_url", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-domain", "-download_concurrency", "-last_replication", "-max_retries", "-name", "-password", "-pk", "-policy", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-q_select", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-username", "api_root", "base_url", "ca_cert", "client_cert", "client_key", "connect_timeout", "domain", "download_concurrency", "last_replication", "max_retries", "name", "password", "pk", "policy", "pulp_created", "pulp_id", "pulp_last_updated", "q_select", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "username"]
|
|
322
322
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
323
323
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
324
324
|
end
|
|
@@ -16,59 +16,59 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
+
# RepositoryVersion to be served
|
|
20
|
+
attr_accessor :repository_version
|
|
21
|
+
|
|
22
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
23
|
+
attr_accessor :no_content_change_since
|
|
24
|
+
|
|
25
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
26
|
+
attr_accessor :base_url
|
|
27
|
+
|
|
19
28
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
20
29
|
attr_accessor :content_guard_prn
|
|
21
30
|
|
|
31
|
+
# Timestamp of creation.
|
|
32
|
+
attr_accessor :pulp_created
|
|
33
|
+
|
|
22
34
|
# Whether this distribution should be shown in the content app.
|
|
23
35
|
attr_accessor :hidden
|
|
24
36
|
|
|
25
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
26
|
-
attr_accessor :base_path
|
|
27
|
-
|
|
28
37
|
# An optional content-guard.
|
|
29
38
|
attr_accessor :content_guard
|
|
30
39
|
|
|
31
|
-
|
|
40
|
+
# 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.
|
|
41
|
+
attr_accessor :pulp_last_updated
|
|
32
42
|
|
|
33
|
-
|
|
34
|
-
attr_accessor :no_content_change_since
|
|
43
|
+
attr_accessor :pulp_labels
|
|
35
44
|
|
|
36
45
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
37
46
|
attr_accessor :name
|
|
38
47
|
|
|
48
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
49
|
+
attr_accessor :base_path
|
|
50
|
+
|
|
39
51
|
# The Pulp Resource Name (PRN).
|
|
40
52
|
attr_accessor :prn
|
|
41
53
|
|
|
42
|
-
attr_accessor :
|
|
43
|
-
|
|
44
|
-
# RepositoryVersion to be served
|
|
45
|
-
attr_accessor :repository_version
|
|
46
|
-
|
|
47
|
-
# The URL for accessing the publication as defined by this distribution.
|
|
48
|
-
attr_accessor :base_url
|
|
49
|
-
|
|
50
|
-
# 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.
|
|
51
|
-
attr_accessor :pulp_last_updated
|
|
52
|
-
|
|
53
|
-
# Timestamp of creation.
|
|
54
|
-
attr_accessor :pulp_created
|
|
54
|
+
attr_accessor :pulp_href
|
|
55
55
|
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
+
:'repository_version' => :'repository_version',
|
|
60
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
61
|
+
:'base_url' => :'base_url',
|
|
59
62
|
:'content_guard_prn' => :'content_guard_prn',
|
|
63
|
+
:'pulp_created' => :'pulp_created',
|
|
60
64
|
:'hidden' => :'hidden',
|
|
61
|
-
:'base_path' => :'base_path',
|
|
62
65
|
:'content_guard' => :'content_guard',
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
66
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
67
|
+
:'pulp_labels' => :'pulp_labels',
|
|
65
68
|
:'name' => :'name',
|
|
69
|
+
:'base_path' => :'base_path',
|
|
66
70
|
:'prn' => :'prn',
|
|
67
|
-
:'
|
|
68
|
-
:'repository_version' => :'repository_version',
|
|
69
|
-
:'base_url' => :'base_url',
|
|
70
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
71
|
-
:'pulp_created' => :'pulp_created'
|
|
71
|
+
:'pulp_href' => :'pulp_href'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -80,27 +80,27 @@ module PulpcoreClient
|
|
|
80
80
|
# Attribute type mapping.
|
|
81
81
|
def self.openapi_types
|
|
82
82
|
{
|
|
83
|
+
:'repository_version' => :'String',
|
|
84
|
+
:'no_content_change_since' => :'String',
|
|
85
|
+
:'base_url' => :'String',
|
|
83
86
|
:'content_guard_prn' => :'String',
|
|
87
|
+
:'pulp_created' => :'Time',
|
|
84
88
|
:'hidden' => :'Boolean',
|
|
85
|
-
:'base_path' => :'String',
|
|
86
89
|
:'content_guard' => :'String',
|
|
87
|
-
:'
|
|
88
|
-
:'
|
|
90
|
+
:'pulp_last_updated' => :'Time',
|
|
91
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
89
92
|
:'name' => :'String',
|
|
93
|
+
:'base_path' => :'String',
|
|
90
94
|
:'prn' => :'String',
|
|
91
|
-
:'
|
|
92
|
-
:'repository_version' => :'String',
|
|
93
|
-
:'base_url' => :'String',
|
|
94
|
-
:'pulp_last_updated' => :'Time',
|
|
95
|
-
:'pulp_created' => :'Time'
|
|
95
|
+
:'pulp_href' => :'String'
|
|
96
96
|
}
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
# List of attributes with nullable: true
|
|
100
100
|
def self.openapi_nullable
|
|
101
101
|
Set.new([
|
|
102
|
-
:'content_guard',
|
|
103
102
|
:'repository_version',
|
|
103
|
+
:'content_guard',
|
|
104
104
|
])
|
|
105
105
|
end
|
|
106
106
|
|
|
@@ -119,42 +119,38 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
122
|
+
if attributes.key?(:'repository_version')
|
|
123
|
+
self.repository_version = attributes[:'repository_version']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
128
|
-
else
|
|
129
|
-
self.hidden = false
|
|
126
|
+
if attributes.key?(:'no_content_change_since')
|
|
127
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
130
128
|
end
|
|
131
129
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
134
|
-
else
|
|
135
|
-
self.base_path = nil
|
|
130
|
+
if attributes.key?(:'base_url')
|
|
131
|
+
self.base_url = attributes[:'base_url']
|
|
136
132
|
end
|
|
137
133
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
self.
|
|
134
|
+
if attributes.key?(:'content_guard_prn')
|
|
135
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
140
136
|
end
|
|
141
137
|
|
|
142
|
-
if attributes.key?(:'
|
|
143
|
-
self.
|
|
138
|
+
if attributes.key?(:'pulp_created')
|
|
139
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
144
140
|
end
|
|
145
141
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
self.
|
|
142
|
+
if attributes.key?(:'hidden')
|
|
143
|
+
self.hidden = attributes[:'hidden']
|
|
144
|
+
else
|
|
145
|
+
self.hidden = false
|
|
148
146
|
end
|
|
149
147
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
self.
|
|
152
|
-
else
|
|
153
|
-
self.name = nil
|
|
148
|
+
if attributes.key?(:'content_guard')
|
|
149
|
+
self.content_guard = attributes[:'content_guard']
|
|
154
150
|
end
|
|
155
151
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
self.
|
|
152
|
+
if attributes.key?(:'pulp_last_updated')
|
|
153
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
158
154
|
end
|
|
159
155
|
|
|
160
156
|
if attributes.key?(:'pulp_labels')
|
|
@@ -163,20 +159,24 @@ module PulpcoreClient
|
|
|
163
159
|
end
|
|
164
160
|
end
|
|
165
161
|
|
|
166
|
-
if attributes.key?(:'
|
|
167
|
-
self.
|
|
162
|
+
if attributes.key?(:'name')
|
|
163
|
+
self.name = attributes[:'name']
|
|
164
|
+
else
|
|
165
|
+
self.name = nil
|
|
168
166
|
end
|
|
169
167
|
|
|
170
|
-
if attributes.key?(:'
|
|
171
|
-
self.
|
|
168
|
+
if attributes.key?(:'base_path')
|
|
169
|
+
self.base_path = attributes[:'base_path']
|
|
170
|
+
else
|
|
171
|
+
self.base_path = nil
|
|
172
172
|
end
|
|
173
173
|
|
|
174
|
-
if attributes.key?(:'
|
|
175
|
-
self.
|
|
174
|
+
if attributes.key?(:'prn')
|
|
175
|
+
self.prn = attributes[:'prn']
|
|
176
176
|
end
|
|
177
177
|
|
|
178
|
-
if attributes.key?(:'
|
|
179
|
-
self.
|
|
178
|
+
if attributes.key?(:'pulp_href')
|
|
179
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -185,14 +185,14 @@ module PulpcoreClient
|
|
|
185
185
|
def list_invalid_properties
|
|
186
186
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
187
187
|
invalid_properties = Array.new
|
|
188
|
-
if @base_path.nil?
|
|
189
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
190
|
-
end
|
|
191
|
-
|
|
192
188
|
if @name.nil?
|
|
193
189
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
194
190
|
end
|
|
195
191
|
|
|
192
|
+
if @base_path.nil?
|
|
193
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
194
|
+
end
|
|
195
|
+
|
|
196
196
|
invalid_properties
|
|
197
197
|
end
|
|
198
198
|
|
|
@@ -200,8 +200,8 @@ module PulpcoreClient
|
|
|
200
200
|
# @return true if the model is valid
|
|
201
201
|
def valid?
|
|
202
202
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
203
|
-
return false if @base_path.nil?
|
|
204
203
|
return false if @name.nil?
|
|
204
|
+
return false if @base_path.nil?
|
|
205
205
|
true
|
|
206
206
|
end
|
|
207
207
|
|
|
@@ -210,19 +210,19 @@ module PulpcoreClient
|
|
|
210
210
|
def ==(o)
|
|
211
211
|
return true if self.equal?(o)
|
|
212
212
|
self.class == o.class &&
|
|
213
|
+
repository_version == o.repository_version &&
|
|
214
|
+
no_content_change_since == o.no_content_change_since &&
|
|
215
|
+
base_url == o.base_url &&
|
|
213
216
|
content_guard_prn == o.content_guard_prn &&
|
|
217
|
+
pulp_created == o.pulp_created &&
|
|
214
218
|
hidden == o.hidden &&
|
|
215
|
-
base_path == o.base_path &&
|
|
216
219
|
content_guard == o.content_guard &&
|
|
217
|
-
|
|
218
|
-
|
|
220
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
221
|
+
pulp_labels == o.pulp_labels &&
|
|
219
222
|
name == o.name &&
|
|
223
|
+
base_path == o.base_path &&
|
|
220
224
|
prn == o.prn &&
|
|
221
|
-
|
|
222
|
-
repository_version == o.repository_version &&
|
|
223
|
-
base_url == o.base_url &&
|
|
224
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
225
|
-
pulp_created == o.pulp_created
|
|
225
|
+
pulp_href == o.pulp_href
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
# @see the `==` method
|
|
@@ -234,7 +234,7 @@ module PulpcoreClient
|
|
|
234
234
|
# Calculates hash code according to all attributes.
|
|
235
235
|
# @return [Integer] Hash code
|
|
236
236
|
def hash
|
|
237
|
-
[
|
|
237
|
+
[repository_version, no_content_change_since, base_url, content_guard_prn, pulp_created, hidden, content_guard, pulp_last_updated, pulp_labels, name, base_path, prn, pulp_href].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|