pulpcore_client 3.121.3 → 3.122.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 +6 -5
- data/docs/ArtifactDistributionResponse.md +16 -16
- data/docs/GenericRemoteResponse.md +1 -1
- data/docs/PatchedUpstreamPulp.md +2 -0
- data/docs/{GenericRemoteResponsePolicyEnum.md → Policy692Enum.md} +2 -2
- data/docs/Purge.md +1 -1
- data/docs/RemotePolicyEnum.md +15 -0
- data/docs/UpstreamPulp.md +2 -0
- data/docs/UpstreamPulpResponse.md +2 -0
- data/docs/UpstreamPulpsApi.md +2 -2
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +70 -70
- data/lib/pulpcore_client/models/generic_remote_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +11 -1
- data/lib/pulpcore_client/models/{generic_remote_response_policy_enum.rb → policy692_enum.rb} +3 -3
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/remote_policy_enum.rb +41 -0
- data/lib/pulpcore_client/models/upstream_pulp.rb +11 -1
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +11 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -1
- data/spec/api/upstream_pulps_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/patched_upstream_pulp_spec.rb +6 -0
- data/spec/models/{generic_remote_response_policy_enum_spec.rb → policy692_enum_spec.rb} +6 -6
- data/spec/models/remote_policy_enum_spec.rb +30 -0
- data/spec/models/upstream_pulp_response_spec.rb +6 -0
- data/spec/models/upstream_pulp_spec.rb +6 -0
- metadata +10 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 786140f2364e33ae242809581a106c1b631f48c82e1fa17056968a6ae95f64ba
|
|
4
|
+
data.tar.gz: 99e4e47bcadb13bd5eaee318f6925e03f97d7dd48d392ef93c716e8b9ef933c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31f8699f0843fc26b80649c92fa7d4e9493aea4aba8668d45d385d6772f5634cea26aabd4e32e25ab47664aa5880779b818f2e0798d8f9872b907afd41a562b5
|
|
7
|
+
data.tar.gz: cd884a6eab1b0824806e70cc3ae1feab8f709244065ce21b7c91f7eb7fe06bd8784a0fd77675b6570d82241581c6695852614dfd8780c5a4a7453f2802104ed3
|
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.122.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.122.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.122.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.122.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -380,7 +380,6 @@ Class | Method | HTTP request | Description
|
|
|
380
380
|
- [PulpcoreClient::FilesystemExporterResponse](docs/FilesystemExporterResponse.md)
|
|
381
381
|
- [PulpcoreClient::GenericRemoteResponse](docs/GenericRemoteResponse.md)
|
|
382
382
|
- [PulpcoreClient::GenericRemoteResponseHiddenFieldsInner](docs/GenericRemoteResponseHiddenFieldsInner.md)
|
|
383
|
-
- [PulpcoreClient::GenericRemoteResponsePolicyEnum](docs/GenericRemoteResponsePolicyEnum.md)
|
|
384
383
|
- [PulpcoreClient::Group](docs/Group.md)
|
|
385
384
|
- [PulpcoreClient::GroupProgressReportResponse](docs/GroupProgressReportResponse.md)
|
|
386
385
|
- [PulpcoreClient::GroupResponse](docs/GroupResponse.md)
|
|
@@ -480,6 +479,7 @@ Class | Method | HTTP request | Description
|
|
|
480
479
|
- [PulpcoreClient::PatchedUpstreamPulp](docs/PatchedUpstreamPulp.md)
|
|
481
480
|
- [PulpcoreClient::PatchedUser](docs/PatchedUser.md)
|
|
482
481
|
- [PulpcoreClient::Policy357Enum](docs/Policy357Enum.md)
|
|
482
|
+
- [PulpcoreClient::Policy692Enum](docs/Policy692Enum.md)
|
|
483
483
|
- [PulpcoreClient::ProfileArtifactResponse](docs/ProfileArtifactResponse.md)
|
|
484
484
|
- [PulpcoreClient::ProgressReportResponse](docs/ProgressReportResponse.md)
|
|
485
485
|
- [PulpcoreClient::PublicationResponse](docs/PublicationResponse.md)
|
|
@@ -499,6 +499,7 @@ Class | Method | HTTP request | Description
|
|
|
499
499
|
- [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
|
|
500
500
|
- [PulpcoreClient::RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
|
|
501
501
|
- [PulpcoreClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
|
|
502
|
+
- [PulpcoreClient::RemotePolicyEnum](docs/RemotePolicyEnum.md)
|
|
502
503
|
- [PulpcoreClient::Repair](docs/Repair.md)
|
|
503
504
|
- [PulpcoreClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
504
505
|
- [PulpcoreClient::RepositoryResponse](docs/RepositoryResponse.md)
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
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
|
+
| **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] |
|
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
8
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
9
|
-
| **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] |
|
|
10
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
11
13
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
12
|
-
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
|
-
| **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] |
|
|
14
|
-
| **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\") | |
|
|
15
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
16
14
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
15
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
16
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
17
17
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
18
|
-
| **
|
|
19
|
-
| **
|
|
18
|
+
| **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] |
|
|
19
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -25,18 +25,18 @@ require 'pulpcore_client'
|
|
|
25
25
|
|
|
26
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
27
27
|
pulp_href: null,
|
|
28
|
+
content_guard_prn: null,
|
|
29
|
+
base_path: null,
|
|
30
|
+
pulp_last_updated: null,
|
|
31
|
+
pulp_labels: null,
|
|
28
32
|
base_url: null,
|
|
29
|
-
no_content_change_since: null,
|
|
30
|
-
content_guard: null,
|
|
31
33
|
pulp_created: null,
|
|
32
|
-
repository_version: null,
|
|
33
|
-
pulp_last_updated: null,
|
|
34
|
-
base_path: null,
|
|
35
|
-
name: null,
|
|
36
34
|
hidden: null,
|
|
35
|
+
name: null,
|
|
36
|
+
repository_version: null,
|
|
37
37
|
prn: null,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
no_content_change_since: null,
|
|
39
|
+
content_guard: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
| **name** | **String** | A unique name for this remote. | |
|
|
12
12
|
| **url** | **String** | The URL of an external content source. | |
|
|
13
13
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
|
-
| **policy** | [**
|
|
14
|
+
| **policy** | [**Policy692Enum**](Policy692Enum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
15
15
|
| **hidden_fields** | [**Array<GenericRemoteResponseHiddenFieldsInner>**](GenericRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
16
16
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
data/docs/PatchedUpstreamPulp.md
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
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
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
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] |
|
|
23
|
+
| **remote_policy** | [**RemotePolicyEnum**](RemotePolicyEnum.md) | Download policy for remotes created during replication. One of 'immediate', 'on_demand', or 'streamed'. Distinct from 'policy', which controls how replicate manages local objects. Defaults to the Remote default ('immediate') when unset. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
23
24
|
| **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] |
|
|
24
25
|
| **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] |
|
|
25
26
|
|
|
@@ -45,6 +46,7 @@ instance = PulpcoreClient::PatchedUpstreamPulp.new(
|
|
|
45
46
|
connect_timeout: null,
|
|
46
47
|
sock_connect_timeout: null,
|
|
47
48
|
sock_read_timeout: null,
|
|
49
|
+
remote_policy: null,
|
|
48
50
|
q_select: null,
|
|
49
51
|
policy: null
|
|
50
52
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::Policy692Enum
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
```ruby
|
|
11
11
|
require 'pulpcore_client'
|
|
12
12
|
|
|
13
|
-
instance = PulpcoreClient::
|
|
13
|
+
instance = PulpcoreClient::Policy692Enum.new()
|
|
14
14
|
```
|
|
15
15
|
|
data/docs/Purge.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-09-
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-09-14'] |
|
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# PulpcoreClient::RemotePolicyEnum
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'pulpcore_client'
|
|
12
|
+
|
|
13
|
+
instance = PulpcoreClient::RemotePolicyEnum.new()
|
|
14
|
+
```
|
|
15
|
+
|
data/docs/UpstreamPulp.md
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
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
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
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] |
|
|
23
|
+
| **remote_policy** | [**RemotePolicyEnum**](RemotePolicyEnum.md) | Download policy for remotes created during replication. One of 'immediate', 'on_demand', or 'streamed'. Distinct from 'policy', which controls how replicate manages local objects. Defaults to the Remote default ('immediate') when unset. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
23
24
|
| **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] |
|
|
24
25
|
| **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] |
|
|
25
26
|
|
|
@@ -45,6 +46,7 @@ instance = PulpcoreClient::UpstreamPulp.new(
|
|
|
45
46
|
connect_timeout: null,
|
|
46
47
|
sock_connect_timeout: null,
|
|
47
48
|
sock_read_timeout: null,
|
|
49
|
+
remote_policy: null,
|
|
48
50
|
q_select: null,
|
|
49
51
|
policy: null
|
|
50
52
|
)
|
|
@@ -21,6 +21,7 @@
|
|
|
21
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
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
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] |
|
|
24
|
+
| **remote_policy** | [**RemotePolicyEnum**](RemotePolicyEnum.md) | Download policy for remotes created during replication. One of 'immediate', 'on_demand', or 'streamed'. Distinct from 'policy', which controls how replicate manages local objects. Defaults to the Remote default ('immediate') when unset. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
24
25
|
| **hidden_fields** | [**Array<GenericRemoteResponseHiddenFieldsInner>**](GenericRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
25
26
|
| **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] |
|
|
26
27
|
| **last_replication** | **Time** | Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed. | [optional][readonly] |
|
|
@@ -49,6 +50,7 @@ instance = PulpcoreClient::UpstreamPulpResponse.new(
|
|
|
49
50
|
connect_timeout: null,
|
|
50
51
|
sock_connect_timeout: null,
|
|
51
52
|
sock_read_timeout: null,
|
|
53
|
+
remote_policy: null,
|
|
52
54
|
hidden_fields: null,
|
|
53
55
|
q_select: null,
|
|
54
56
|
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) * `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)
|
|
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) * `remote_policy` - Remote policy * `-remote_policy` - Remote policy (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) * `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] |
|
|
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) * `remote_policy` - Remote policy * `-remote_policy` - Remote policy (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] |
|
|
@@ -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) * `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)
|
|
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) * `remote_policy` - Remote policy * `-remote_policy` - Remote policy (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) * `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)
|
|
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) * `remote_policy` - Remote policy * `-remote_policy` - Remote policy (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", "-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"]
|
|
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", "-remote_policy", "-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", "remote_policy", "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
|
|
@@ -18,57 +18,57 @@ module PulpcoreClient
|
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
-
# The
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
22
|
+
attr_accessor :content_guard_prn
|
|
23
23
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
24
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
25
|
+
attr_accessor :base_path
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
27
|
+
# 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.
|
|
28
|
+
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
attr_accessor :pulp_created
|
|
30
|
+
attr_accessor :pulp_labels
|
|
32
31
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
32
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
33
|
+
attr_accessor :base_url
|
|
35
34
|
|
|
36
|
-
# Timestamp of
|
|
37
|
-
attr_accessor :
|
|
35
|
+
# Timestamp of creation.
|
|
36
|
+
attr_accessor :pulp_created
|
|
38
37
|
|
|
39
|
-
#
|
|
40
|
-
attr_accessor :
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
41
40
|
|
|
42
41
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
43
42
|
attr_accessor :name
|
|
44
43
|
|
|
45
|
-
#
|
|
46
|
-
attr_accessor :
|
|
44
|
+
# RepositoryVersion to be served
|
|
45
|
+
attr_accessor :repository_version
|
|
47
46
|
|
|
48
47
|
# The Pulp Resource Name (PRN).
|
|
49
48
|
attr_accessor :prn
|
|
50
49
|
|
|
51
|
-
|
|
50
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
51
|
+
attr_accessor :no_content_change_since
|
|
52
52
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
53
|
+
# An optional content-guard.
|
|
54
|
+
attr_accessor :content_guard
|
|
55
55
|
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
59
|
:'pulp_href' => :'pulp_href',
|
|
60
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
61
|
+
:'base_path' => :'base_path',
|
|
62
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
|
+
:'pulp_labels' => :'pulp_labels',
|
|
60
64
|
:'base_url' => :'base_url',
|
|
61
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
62
|
-
:'content_guard' => :'content_guard',
|
|
63
65
|
:'pulp_created' => :'pulp_created',
|
|
64
|
-
:'repository_version' => :'repository_version',
|
|
65
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
66
|
-
:'base_path' => :'base_path',
|
|
67
|
-
:'name' => :'name',
|
|
68
66
|
:'hidden' => :'hidden',
|
|
67
|
+
:'name' => :'name',
|
|
68
|
+
:'repository_version' => :'repository_version',
|
|
69
69
|
:'prn' => :'prn',
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
70
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
71
|
+
:'content_guard' => :'content_guard'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -81,26 +81,26 @@ module PulpcoreClient
|
|
|
81
81
|
def self.openapi_types
|
|
82
82
|
{
|
|
83
83
|
:'pulp_href' => :'String',
|
|
84
|
+
:'content_guard_prn' => :'String',
|
|
85
|
+
:'base_path' => :'String',
|
|
86
|
+
:'pulp_last_updated' => :'Time',
|
|
87
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
84
88
|
:'base_url' => :'String',
|
|
85
|
-
:'no_content_change_since' => :'String',
|
|
86
|
-
:'content_guard' => :'String',
|
|
87
89
|
:'pulp_created' => :'Time',
|
|
88
|
-
:'repository_version' => :'String',
|
|
89
|
-
:'pulp_last_updated' => :'Time',
|
|
90
|
-
:'base_path' => :'String',
|
|
91
|
-
:'name' => :'String',
|
|
92
90
|
:'hidden' => :'Boolean',
|
|
91
|
+
:'name' => :'String',
|
|
92
|
+
:'repository_version' => :'String',
|
|
93
93
|
:'prn' => :'String',
|
|
94
|
-
:'
|
|
95
|
-
:'
|
|
94
|
+
:'no_content_change_since' => :'String',
|
|
95
|
+
:'content_guard' => :'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
|
|
|
@@ -123,34 +123,38 @@ module PulpcoreClient
|
|
|
123
123
|
self.pulp_href = attributes[:'pulp_href']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
126
|
+
if attributes.key?(:'content_guard_prn')
|
|
127
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
self.
|
|
130
|
+
if attributes.key?(:'base_path')
|
|
131
|
+
self.base_path = attributes[:'base_path']
|
|
132
|
+
else
|
|
133
|
+
self.base_path = nil
|
|
132
134
|
end
|
|
133
135
|
|
|
134
|
-
if attributes.key?(:'
|
|
135
|
-
self.
|
|
136
|
+
if attributes.key?(:'pulp_last_updated')
|
|
137
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
136
138
|
end
|
|
137
139
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
|
|
140
|
+
if attributes.key?(:'pulp_labels')
|
|
141
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
142
|
+
self.pulp_labels = value
|
|
143
|
+
end
|
|
140
144
|
end
|
|
141
145
|
|
|
142
|
-
if attributes.key?(:'
|
|
143
|
-
self.
|
|
146
|
+
if attributes.key?(:'base_url')
|
|
147
|
+
self.base_url = attributes[:'base_url']
|
|
144
148
|
end
|
|
145
149
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
self.
|
|
150
|
+
if attributes.key?(:'pulp_created')
|
|
151
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
148
152
|
end
|
|
149
153
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
self.
|
|
154
|
+
if attributes.key?(:'hidden')
|
|
155
|
+
self.hidden = attributes[:'hidden']
|
|
152
156
|
else
|
|
153
|
-
self.
|
|
157
|
+
self.hidden = false
|
|
154
158
|
end
|
|
155
159
|
|
|
156
160
|
if attributes.key?(:'name')
|
|
@@ -159,24 +163,20 @@ module PulpcoreClient
|
|
|
159
163
|
self.name = nil
|
|
160
164
|
end
|
|
161
165
|
|
|
162
|
-
if attributes.key?(:'
|
|
163
|
-
self.
|
|
164
|
-
else
|
|
165
|
-
self.hidden = false
|
|
166
|
+
if attributes.key?(:'repository_version')
|
|
167
|
+
self.repository_version = attributes[:'repository_version']
|
|
166
168
|
end
|
|
167
169
|
|
|
168
170
|
if attributes.key?(:'prn')
|
|
169
171
|
self.prn = attributes[:'prn']
|
|
170
172
|
end
|
|
171
173
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
|
|
174
|
-
self.pulp_labels = value
|
|
175
|
-
end
|
|
174
|
+
if attributes.key?(:'no_content_change_since')
|
|
175
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
176
176
|
end
|
|
177
177
|
|
|
178
|
-
if attributes.key?(:'
|
|
179
|
-
self.
|
|
178
|
+
if attributes.key?(:'content_guard')
|
|
179
|
+
self.content_guard = attributes[:'content_guard']
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -211,18 +211,18 @@ module PulpcoreClient
|
|
|
211
211
|
return true if self.equal?(o)
|
|
212
212
|
self.class == o.class &&
|
|
213
213
|
pulp_href == o.pulp_href &&
|
|
214
|
+
content_guard_prn == o.content_guard_prn &&
|
|
215
|
+
base_path == o.base_path &&
|
|
216
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
217
|
+
pulp_labels == o.pulp_labels &&
|
|
214
218
|
base_url == o.base_url &&
|
|
215
|
-
no_content_change_since == o.no_content_change_since &&
|
|
216
|
-
content_guard == o.content_guard &&
|
|
217
219
|
pulp_created == o.pulp_created &&
|
|
218
|
-
repository_version == o.repository_version &&
|
|
219
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
220
|
-
base_path == o.base_path &&
|
|
221
|
-
name == o.name &&
|
|
222
220
|
hidden == o.hidden &&
|
|
221
|
+
name == o.name &&
|
|
222
|
+
repository_version == o.repository_version &&
|
|
223
223
|
prn == o.prn &&
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
no_content_change_since == o.no_content_change_since &&
|
|
225
|
+
content_guard == o.content_guard
|
|
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
|
-
[pulp_href,
|
|
237
|
+
[pulp_href, content_guard_prn, base_path, pulp_last_updated, pulp_labels, base_url, pulp_created, hidden, name, repository_version, prn, no_content_change_since, content_guard].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -141,7 +141,7 @@ module PulpcoreClient
|
|
|
141
141
|
:'name' => :'String',
|
|
142
142
|
:'url' => :'String',
|
|
143
143
|
:'pulp_labels' => :'Hash<String, String>',
|
|
144
|
-
:'policy' => :'
|
|
144
|
+
:'policy' => :'Policy692Enum',
|
|
145
145
|
:'hidden_fields' => :'Array<GenericRemoteResponseHiddenFieldsInner>',
|
|
146
146
|
:'ca_cert' => :'String',
|
|
147
147
|
:'client_cert' => :'String',
|
|
@@ -64,6 +64,9 @@ module PulpcoreClient
|
|
|
64
64
|
# 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.
|
|
65
65
|
attr_accessor :sock_read_timeout
|
|
66
66
|
|
|
67
|
+
# Download policy for remotes created during replication. One of 'immediate', 'on_demand', or 'streamed'. Distinct from 'policy', which controls how replicate manages local objects. Defaults to the Remote default ('immediate') when unset. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
|
68
|
+
attr_accessor :remote_policy
|
|
69
|
+
|
|
67
70
|
# Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\"
|
|
68
71
|
attr_accessor :q_select
|
|
69
72
|
|
|
@@ -111,6 +114,7 @@ module PulpcoreClient
|
|
|
111
114
|
:'connect_timeout' => :'connect_timeout',
|
|
112
115
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
113
116
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
117
|
+
:'remote_policy' => :'remote_policy',
|
|
114
118
|
:'q_select' => :'q_select',
|
|
115
119
|
:'policy' => :'policy'
|
|
116
120
|
}
|
|
@@ -140,6 +144,7 @@ module PulpcoreClient
|
|
|
140
144
|
:'connect_timeout' => :'Float',
|
|
141
145
|
:'sock_connect_timeout' => :'Float',
|
|
142
146
|
:'sock_read_timeout' => :'Float',
|
|
147
|
+
:'remote_policy' => :'RemotePolicyEnum',
|
|
143
148
|
:'q_select' => :'String',
|
|
144
149
|
:'policy' => :'Policy357Enum'
|
|
145
150
|
}
|
|
@@ -243,6 +248,10 @@ module PulpcoreClient
|
|
|
243
248
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
244
249
|
end
|
|
245
250
|
|
|
251
|
+
if attributes.key?(:'remote_policy')
|
|
252
|
+
self.remote_policy = attributes[:'remote_policy']
|
|
253
|
+
end
|
|
254
|
+
|
|
246
255
|
if attributes.key?(:'q_select')
|
|
247
256
|
self.q_select = attributes[:'q_select']
|
|
248
257
|
end
|
|
@@ -510,6 +519,7 @@ module PulpcoreClient
|
|
|
510
519
|
connect_timeout == o.connect_timeout &&
|
|
511
520
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
512
521
|
sock_read_timeout == o.sock_read_timeout &&
|
|
522
|
+
remote_policy == o.remote_policy &&
|
|
513
523
|
q_select == o.q_select &&
|
|
514
524
|
policy == o.policy
|
|
515
525
|
end
|
|
@@ -523,7 +533,7 @@ module PulpcoreClient
|
|
|
523
533
|
# Calculates hash code according to all attributes.
|
|
524
534
|
# @return [Integer] Hash code
|
|
525
535
|
def hash
|
|
526
|
-
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password, download_concurrency, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, q_select, policy].hash
|
|
536
|
+
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password, download_concurrency, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, remote_policy, q_select, policy].hash
|
|
527
537
|
end
|
|
528
538
|
|
|
529
539
|
# Builds the object from hash
|
data/lib/pulpcore_client/models/{generic_remote_response_policy_enum.rb → policy692_enum.rb}
RENAMED
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
class
|
|
17
|
+
class Policy692Enum
|
|
18
18
|
IMMEDIATE = "immediate".freeze
|
|
19
19
|
ON_DEMAND = "on_demand".freeze
|
|
20
20
|
STREAMED = "streamed".freeze
|
|
@@ -34,8 +34,8 @@ module PulpcoreClient
|
|
|
34
34
|
# @param [String] The enum value in the form of the string
|
|
35
35
|
# @return [String] The enum value
|
|
36
36
|
def build_from_hash(value)
|
|
37
|
-
return value if
|
|
38
|
-
raise "Invalid ENUM value #{value} for class #
|
|
37
|
+
return value if Policy692Enum.all_vars.include?(value)
|
|
38
|
+
raise "Invalid ENUM value #{value} for class #Policy692Enum"
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module PulpcoreClient
|
|
17
|
+
class RemotePolicyEnum
|
|
18
|
+
IMMEDIATE = "immediate".freeze
|
|
19
|
+
ON_DEMAND = "on_demand".freeze
|
|
20
|
+
STREAMED = "streamed".freeze
|
|
21
|
+
|
|
22
|
+
def self.all_vars
|
|
23
|
+
@all_vars ||= [IMMEDIATE, ON_DEMAND, STREAMED].freeze
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Builds the enum from string
|
|
27
|
+
# @param [String] The enum value in the form of the string
|
|
28
|
+
# @return [String] The enum value
|
|
29
|
+
def self.build_from_hash(value)
|
|
30
|
+
new.build_from_hash(value)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Builds the enum from string
|
|
34
|
+
# @param [String] The enum value in the form of the string
|
|
35
|
+
# @return [String] The enum value
|
|
36
|
+
def build_from_hash(value)
|
|
37
|
+
return value if RemotePolicyEnum.all_vars.include?(value)
|
|
38
|
+
raise "Invalid ENUM value #{value} for class #RemotePolicyEnum"
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -64,6 +64,9 @@ module PulpcoreClient
|
|
|
64
64
|
# 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.
|
|
65
65
|
attr_accessor :sock_read_timeout
|
|
66
66
|
|
|
67
|
+
# Download policy for remotes created during replication. One of 'immediate', 'on_demand', or 'streamed'. Distinct from 'policy', which controls how replicate manages local objects. Defaults to the Remote default ('immediate') when unset. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
|
68
|
+
attr_accessor :remote_policy
|
|
69
|
+
|
|
67
70
|
# Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\"
|
|
68
71
|
attr_accessor :q_select
|
|
69
72
|
|
|
@@ -111,6 +114,7 @@ module PulpcoreClient
|
|
|
111
114
|
:'connect_timeout' => :'connect_timeout',
|
|
112
115
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
113
116
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
117
|
+
:'remote_policy' => :'remote_policy',
|
|
114
118
|
:'q_select' => :'q_select',
|
|
115
119
|
:'policy' => :'policy'
|
|
116
120
|
}
|
|
@@ -140,6 +144,7 @@ module PulpcoreClient
|
|
|
140
144
|
:'connect_timeout' => :'Float',
|
|
141
145
|
:'sock_connect_timeout' => :'Float',
|
|
142
146
|
:'sock_read_timeout' => :'Float',
|
|
147
|
+
:'remote_policy' => :'RemotePolicyEnum',
|
|
143
148
|
:'q_select' => :'String',
|
|
144
149
|
:'policy' => :'Policy357Enum'
|
|
145
150
|
}
|
|
@@ -249,6 +254,10 @@ module PulpcoreClient
|
|
|
249
254
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
250
255
|
end
|
|
251
256
|
|
|
257
|
+
if attributes.key?(:'remote_policy')
|
|
258
|
+
self.remote_policy = attributes[:'remote_policy']
|
|
259
|
+
end
|
|
260
|
+
|
|
252
261
|
if attributes.key?(:'q_select')
|
|
253
262
|
self.q_select = attributes[:'q_select']
|
|
254
263
|
end
|
|
@@ -531,6 +540,7 @@ module PulpcoreClient
|
|
|
531
540
|
connect_timeout == o.connect_timeout &&
|
|
532
541
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
533
542
|
sock_read_timeout == o.sock_read_timeout &&
|
|
543
|
+
remote_policy == o.remote_policy &&
|
|
534
544
|
q_select == o.q_select &&
|
|
535
545
|
policy == o.policy
|
|
536
546
|
end
|
|
@@ -544,7 +554,7 @@ module PulpcoreClient
|
|
|
544
554
|
# Calculates hash code according to all attributes.
|
|
545
555
|
# @return [Integer] Hash code
|
|
546
556
|
def hash
|
|
547
|
-
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password, download_concurrency, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, q_select, policy].hash
|
|
557
|
+
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password, download_concurrency, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, remote_policy, q_select, policy].hash
|
|
548
558
|
end
|
|
549
559
|
|
|
550
560
|
# Builds the object from hash
|
|
@@ -66,6 +66,9 @@ module PulpcoreClient
|
|
|
66
66
|
# 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.
|
|
67
67
|
attr_accessor :sock_read_timeout
|
|
68
68
|
|
|
69
|
+
# Download policy for remotes created during replication. One of 'immediate', 'on_demand', or 'streamed'. Distinct from 'policy', which controls how replicate manages local objects. Defaults to the Remote default ('immediate') when unset. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
|
70
|
+
attr_accessor :remote_policy
|
|
71
|
+
|
|
69
72
|
# List of hidden (write only) fields
|
|
70
73
|
attr_accessor :hidden_fields
|
|
71
74
|
|
|
@@ -120,6 +123,7 @@ module PulpcoreClient
|
|
|
120
123
|
:'connect_timeout' => :'connect_timeout',
|
|
121
124
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
122
125
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
126
|
+
:'remote_policy' => :'remote_policy',
|
|
123
127
|
:'hidden_fields' => :'hidden_fields',
|
|
124
128
|
:'q_select' => :'q_select',
|
|
125
129
|
:'last_replication' => :'last_replication',
|
|
@@ -152,6 +156,7 @@ module PulpcoreClient
|
|
|
152
156
|
:'connect_timeout' => :'Float',
|
|
153
157
|
:'sock_connect_timeout' => :'Float',
|
|
154
158
|
:'sock_read_timeout' => :'Float',
|
|
159
|
+
:'remote_policy' => :'RemotePolicyEnum',
|
|
155
160
|
:'hidden_fields' => :'Array<GenericRemoteResponseHiddenFieldsInner>',
|
|
156
161
|
:'q_select' => :'String',
|
|
157
162
|
:'last_replication' => :'Time',
|
|
@@ -264,6 +269,10 @@ module PulpcoreClient
|
|
|
264
269
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
265
270
|
end
|
|
266
271
|
|
|
272
|
+
if attributes.key?(:'remote_policy')
|
|
273
|
+
self.remote_policy = attributes[:'remote_policy']
|
|
274
|
+
end
|
|
275
|
+
|
|
267
276
|
if attributes.key?(:'hidden_fields')
|
|
268
277
|
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
|
269
278
|
self.hidden_fields = value
|
|
@@ -410,6 +419,7 @@ module PulpcoreClient
|
|
|
410
419
|
connect_timeout == o.connect_timeout &&
|
|
411
420
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
412
421
|
sock_read_timeout == o.sock_read_timeout &&
|
|
422
|
+
remote_policy == o.remote_policy &&
|
|
413
423
|
hidden_fields == o.hidden_fields &&
|
|
414
424
|
q_select == o.q_select &&
|
|
415
425
|
last_replication == o.last_replication &&
|
|
@@ -425,7 +435,7 @@ module PulpcoreClient
|
|
|
425
435
|
# Calculates hash code according to all attributes.
|
|
426
436
|
# @return [Integer] Hash code
|
|
427
437
|
def hash
|
|
428
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, base_url, api_root, domain, ca_cert, client_cert, tls_validation, download_concurrency, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, hidden_fields, q_select, last_replication, policy].hash
|
|
438
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, base_url, api_root, domain, ca_cert, client_cert, tls_validation, download_concurrency, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, remote_policy, hidden_fields, q_select, last_replication, policy].hash
|
|
429
439
|
end
|
|
430
440
|
|
|
431
441
|
# Builds the object from hash
|
data/lib/pulpcore_client.rb
CHANGED
|
@@ -45,7 +45,6 @@ require 'pulpcore_client/models/filesystem_exporter'
|
|
|
45
45
|
require 'pulpcore_client/models/filesystem_exporter_response'
|
|
46
46
|
require 'pulpcore_client/models/generic_remote_response'
|
|
47
47
|
require 'pulpcore_client/models/generic_remote_response_hidden_fields_inner'
|
|
48
|
-
require 'pulpcore_client/models/generic_remote_response_policy_enum'
|
|
49
48
|
require 'pulpcore_client/models/group'
|
|
50
49
|
require 'pulpcore_client/models/group_progress_report_response'
|
|
51
50
|
require 'pulpcore_client/models/group_response'
|
|
@@ -145,6 +144,7 @@ require 'pulpcore_client/models/patched_task_cancel'
|
|
|
145
144
|
require 'pulpcore_client/models/patched_upstream_pulp'
|
|
146
145
|
require 'pulpcore_client/models/patched_user'
|
|
147
146
|
require 'pulpcore_client/models/policy357_enum'
|
|
147
|
+
require 'pulpcore_client/models/policy692_enum'
|
|
148
148
|
require 'pulpcore_client/models/profile_artifact_response'
|
|
149
149
|
require 'pulpcore_client/models/progress_report_response'
|
|
150
150
|
require 'pulpcore_client/models/publication_response'
|
|
@@ -164,6 +164,7 @@ require 'pulpcore_client/models/reclaim_space'
|
|
|
164
164
|
require 'pulpcore_client/models/redis_connection_response'
|
|
165
165
|
require 'pulpcore_client/models/remote_network_config'
|
|
166
166
|
require 'pulpcore_client/models/remote_network_config_response'
|
|
167
|
+
require 'pulpcore_client/models/remote_policy_enum'
|
|
167
168
|
require 'pulpcore_client/models/repair'
|
|
168
169
|
require 'pulpcore_client/models/repository_add_remove_content'
|
|
169
170
|
require 'pulpcore_client/models/repository_response'
|
|
@@ -104,7 +104,7 @@ describe 'UpstreamPulpsApi' do
|
|
|
104
104
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
105
105
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
106
106
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
107
|
-
# @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)
|
|
107
|
+
# @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) * `remote_policy` - Remote policy * `-remote_policy` - Remote policy (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)
|
|
108
108
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
109
109
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
110
110
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -33,43 +33,43 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "content_guard_prn"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "base_path"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "base_url"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "pulp_created"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "hidden"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
@@ -81,7 +81,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "repository_version"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
@@ -93,13 +93,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "no_content_change_since"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "content_guard"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|
|
@@ -123,6 +123,12 @@ describe PulpcoreClient::PatchedUpstreamPulp do
|
|
|
123
123
|
end
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
+
describe 'test attribute "remote_policy"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
126
132
|
describe 'test attribute "q_select"' do
|
|
127
133
|
it 'should work' do
|
|
128
134
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::Policy692Enum
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe PulpcoreClient::
|
|
21
|
-
let(:instance) { PulpcoreClient::
|
|
20
|
+
describe PulpcoreClient::Policy692Enum do
|
|
21
|
+
let(:instance) { PulpcoreClient::Policy692Enum.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of Policy692Enum' do
|
|
24
|
+
it 'should create an instance of Policy692Enum' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(PulpcoreClient::
|
|
26
|
+
#expect(instance).to be_instance_of(PulpcoreClient::Policy692Enum)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::RemotePolicyEnum
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpcoreClient::RemotePolicyEnum do
|
|
21
|
+
let(:instance) { PulpcoreClient::RemotePolicyEnum.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RemotePolicyEnum' do
|
|
24
|
+
it 'should create an instance of RemotePolicyEnum' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpcoreClient::RemotePolicyEnum)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
end
|
|
@@ -129,6 +129,12 @@ describe PulpcoreClient::UpstreamPulpResponse do
|
|
|
129
129
|
end
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
+
describe 'test attribute "remote_policy"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
132
138
|
describe 'test attribute "hidden_fields"' do
|
|
133
139
|
it 'should work' do
|
|
134
140
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -123,6 +123,12 @@ describe PulpcoreClient::UpstreamPulp do
|
|
|
123
123
|
end
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
+
describe 'test attribute "remote_policy"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
126
132
|
describe 'test attribute "q_select"' do
|
|
127
133
|
it 'should work' do
|
|
128
134
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.122.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -139,7 +139,6 @@ files:
|
|
|
139
139
|
- docs/FilesystemExporterResponse.md
|
|
140
140
|
- docs/GenericRemoteResponse.md
|
|
141
141
|
- docs/GenericRemoteResponseHiddenFieldsInner.md
|
|
142
|
-
- docs/GenericRemoteResponsePolicyEnum.md
|
|
143
142
|
- docs/Group.md
|
|
144
143
|
- docs/GroupProgressReportResponse.md
|
|
145
144
|
- docs/GroupResponse.md
|
|
@@ -249,6 +248,7 @@ files:
|
|
|
249
248
|
- docs/PatchedUpstreamPulp.md
|
|
250
249
|
- docs/PatchedUser.md
|
|
251
250
|
- docs/Policy357Enum.md
|
|
251
|
+
- docs/Policy692Enum.md
|
|
252
252
|
- docs/ProfileArtifactResponse.md
|
|
253
253
|
- docs/ProgressReportResponse.md
|
|
254
254
|
- docs/PublicationResponse.md
|
|
@@ -269,6 +269,7 @@ files:
|
|
|
269
269
|
- docs/RedisConnectionResponse.md
|
|
270
270
|
- docs/RemoteNetworkConfig.md
|
|
271
271
|
- docs/RemoteNetworkConfigResponse.md
|
|
272
|
+
- docs/RemotePolicyEnum.md
|
|
272
273
|
- docs/RemotesApi.md
|
|
273
274
|
- docs/Repair.md
|
|
274
275
|
- docs/RepairApi.md
|
|
@@ -407,7 +408,6 @@ files:
|
|
|
407
408
|
- lib/pulpcore_client/models/filesystem_exporter_response.rb
|
|
408
409
|
- lib/pulpcore_client/models/generic_remote_response.rb
|
|
409
410
|
- lib/pulpcore_client/models/generic_remote_response_hidden_fields_inner.rb
|
|
410
|
-
- lib/pulpcore_client/models/generic_remote_response_policy_enum.rb
|
|
411
411
|
- lib/pulpcore_client/models/group.rb
|
|
412
412
|
- lib/pulpcore_client/models/group_progress_report_response.rb
|
|
413
413
|
- lib/pulpcore_client/models/group_response.rb
|
|
@@ -507,6 +507,7 @@ files:
|
|
|
507
507
|
- lib/pulpcore_client/models/patched_upstream_pulp.rb
|
|
508
508
|
- lib/pulpcore_client/models/patched_user.rb
|
|
509
509
|
- lib/pulpcore_client/models/policy357_enum.rb
|
|
510
|
+
- lib/pulpcore_client/models/policy692_enum.rb
|
|
510
511
|
- lib/pulpcore_client/models/profile_artifact_response.rb
|
|
511
512
|
- lib/pulpcore_client/models/progress_report_response.rb
|
|
512
513
|
- lib/pulpcore_client/models/publication_response.rb
|
|
@@ -526,6 +527,7 @@ files:
|
|
|
526
527
|
- lib/pulpcore_client/models/redis_connection_response.rb
|
|
527
528
|
- lib/pulpcore_client/models/remote_network_config.rb
|
|
528
529
|
- lib/pulpcore_client/models/remote_network_config_response.rb
|
|
530
|
+
- lib/pulpcore_client/models/remote_policy_enum.rb
|
|
529
531
|
- lib/pulpcore_client/models/repair.rb
|
|
530
532
|
- lib/pulpcore_client/models/repository_add_remove_content.rb
|
|
531
533
|
- lib/pulpcore_client/models/repository_response.rb
|
|
@@ -643,7 +645,6 @@ files:
|
|
|
643
645
|
- spec/models/filesystem_exporter_response_spec.rb
|
|
644
646
|
- spec/models/filesystem_exporter_spec.rb
|
|
645
647
|
- spec/models/generic_remote_response_hidden_fields_inner_spec.rb
|
|
646
|
-
- spec/models/generic_remote_response_policy_enum_spec.rb
|
|
647
648
|
- spec/models/generic_remote_response_spec.rb
|
|
648
649
|
- spec/models/group_progress_report_response_spec.rb
|
|
649
650
|
- spec/models/group_response_spec.rb
|
|
@@ -744,6 +745,7 @@ files:
|
|
|
744
745
|
- spec/models/patched_upstream_pulp_spec.rb
|
|
745
746
|
- spec/models/patched_user_spec.rb
|
|
746
747
|
- spec/models/policy357_enum_spec.rb
|
|
748
|
+
- spec/models/policy692_enum_spec.rb
|
|
747
749
|
- spec/models/profile_artifact_response_spec.rb
|
|
748
750
|
- spec/models/progress_report_response_spec.rb
|
|
749
751
|
- spec/models/publication_response_spec.rb
|
|
@@ -763,6 +765,7 @@ files:
|
|
|
763
765
|
- spec/models/redis_connection_response_spec.rb
|
|
764
766
|
- spec/models/remote_network_config_response_spec.rb
|
|
765
767
|
- spec/models/remote_network_config_spec.rb
|
|
768
|
+
- spec/models/remote_policy_enum_spec.rb
|
|
766
769
|
- spec/models/repair_spec.rb
|
|
767
770
|
- spec/models/repository_add_remove_content_spec.rb
|
|
768
771
|
- spec/models/repository_response_spec.rb
|
|
@@ -892,6 +895,7 @@ test_files:
|
|
|
892
895
|
- spec/models/open_pgp_signature_response_spec.rb
|
|
893
896
|
- spec/models/paginated_artifact_distribution_response_list_spec.rb
|
|
894
897
|
- spec/models/nested_role_spec.rb
|
|
898
|
+
- spec/models/remote_policy_enum_spec.rb
|
|
895
899
|
- spec/models/group_user_spec.rb
|
|
896
900
|
- spec/models/group_user_response_spec.rb
|
|
897
901
|
- spec/models/patched_header_content_guard_spec.rb
|
|
@@ -919,7 +923,6 @@ test_files:
|
|
|
919
923
|
- spec/models/pulp_importer_spec.rb
|
|
920
924
|
- spec/models/method_enum_spec.rb
|
|
921
925
|
- spec/models/paginated_open_pgp_signature_response_list_spec.rb
|
|
922
|
-
- spec/models/generic_remote_response_policy_enum_spec.rb
|
|
923
926
|
- spec/models/env_var_header_content_guard_response_spec.rb
|
|
924
927
|
- spec/models/paginated_content_redirect_content_guard_response_list_spec.rb
|
|
925
928
|
- spec/models/unset_label_response_spec.rb
|
|
@@ -980,6 +983,7 @@ test_files:
|
|
|
980
983
|
- spec/models/states_enum_spec.rb
|
|
981
984
|
- spec/models/composite_content_guard_spec.rb
|
|
982
985
|
- spec/models/upload_response_spec.rb
|
|
986
|
+
- spec/models/policy692_enum_spec.rb
|
|
983
987
|
- spec/models/patched_pulp_exporter_spec.rb
|
|
984
988
|
- spec/models/storage_response_spec.rb
|
|
985
989
|
- spec/models/open_pgp_keyring_response_spec.rb
|