pulpcore_client 3.114.1 → 3.115.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 -6
- data/docs/ArtifactDistributionResponse.md +17 -17
- data/docs/MinimalTaskResponse.md +2 -0
- data/docs/Purge.md +1 -1
- data/docs/TaskResponse.md +3 -1
- data/docs/TasksApi.md +3 -3
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +77 -77
- data/lib/pulpcore_client/models/minimal_task_response.rb +13 -1
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +17 -5
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +13 -13
- data/spec/models/minimal_task_response_spec.rb +6 -0
- data/spec/models/task_response_spec.rb +6 -0
- metadata +200 -208
- data/docs/DataRepair7465.md +0 -18
- data/docs/Datarepair7465Api.md +0 -82
- data/lib/pulpcore_client/api/datarepair7465_api.rb +0 -93
- data/lib/pulpcore_client/models/data_repair7465.rb +0 -217
- data/spec/api/datarepair7465_api_spec.rb +0 -48
- data/spec/models/data_repair7465_spec.rb +0 -36
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33a5bb94e7b15706645fdead4e466ca0c1d3de20fe34c427ac99ed7b35f7cecb
|
|
4
|
+
data.tar.gz: 95371a631bca94e4fb04db8bd449c4a3fe806c24d3e90242447bc156ac32cff2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e082d80ae967d79f9384a180f244776c59dc38114c5d8b8769c8a07879d43919ab4cc40fedc40413439d74fb67b30b0eee035adefd782199abf5f105fd181491
|
|
7
|
+
data.tar.gz: 725985743a3bcc5c8aa85a866d96a55528a4b9b566af872f03062a27f0e28c2b0344b3f0d9497ff653b781f070ef58377c09d1a826b883fbbaf18d328b88eb64
|
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.115.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.115.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.115.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.115.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -180,7 +180,6 @@ Class | Method | HTTP request | Description
|
|
|
180
180
|
*PulpcoreClient::ContentguardsRbacApi* | [**remove_role**](docs/ContentguardsRbacApi.md#remove_role) | **POST** {r_b_a_c_content_guard_href}remove_role/ | Remove a role
|
|
181
181
|
*PulpcoreClient::ContentguardsRbacApi* | [**update**](docs/ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
|
182
182
|
*PulpcoreClient::Datarepair7272Api* | [**post**](docs/Datarepair7272Api.md#post) | **POST** /pulp/api/v3/datarepair/7272/ | Repair Repository Version Data (Issue #7272)
|
|
183
|
-
*PulpcoreClient::Datarepair7465Api* | [**post**](docs/Datarepair7465Api.md#post) | **POST** /pulp/api/v3/datarepair/7465/ | Add Repository Version Content IDs (Issue #7465)
|
|
184
183
|
*PulpcoreClient::DistributionsApi* | [**list**](docs/DistributionsApi.md#list) | **GET** /pulp/api/v3/distributions/ | List distributions
|
|
185
184
|
*PulpcoreClient::DistributionsArtifactsApi* | [**list**](docs/DistributionsArtifactsApi.md#list) | **GET** /pulp/api/v3/distributions/core/artifacts/ | List artifact distributions
|
|
186
185
|
*PulpcoreClient::DistributionsArtifactsApi* | [**read**](docs/DistributionsArtifactsApi.md#read) | **GET** {artifact_distribution_href} | Inspect an artifact distribution
|
|
@@ -357,7 +356,6 @@ Class | Method | HTTP request | Description
|
|
|
357
356
|
- [PulpcoreClient::ContentSettingsResponse](docs/ContentSettingsResponse.md)
|
|
358
357
|
- [PulpcoreClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
359
358
|
- [PulpcoreClient::DataRepair7272](docs/DataRepair7272.md)
|
|
360
|
-
- [PulpcoreClient::DataRepair7465](docs/DataRepair7465.md)
|
|
361
359
|
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
|
362
360
|
- [PulpcoreClient::DistributionResponse](docs/DistributionResponse.md)
|
|
363
361
|
- [PulpcoreClient::Domain](docs/Domain.md)
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
7
|
+
| **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\") | |
|
|
9
8
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
10
|
-
| **
|
|
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] |
|
|
11
10
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
12
|
-
| **
|
|
11
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
12
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
13
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
14
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
15
|
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
16
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
15
|
-
| **
|
|
16
|
-
| **
|
|
17
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
17
19
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
18
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
19
|
-
| **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\") | |
|
|
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
|
-
|
|
28
|
-
pulp_created: null,
|
|
27
|
+
base_path: null,
|
|
29
28
|
pulp_last_updated: null,
|
|
30
|
-
|
|
29
|
+
no_content_change_since: null,
|
|
31
30
|
hidden: null,
|
|
32
|
-
|
|
31
|
+
content_guard: null,
|
|
32
|
+
pulp_href: null,
|
|
33
|
+
name: null,
|
|
34
|
+
pulp_labels: null,
|
|
33
35
|
content_guard_prn: null,
|
|
34
36
|
base_url: null,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
repository_version: null
|
|
38
|
-
content_guard: null,
|
|
39
|
-
base_path: null
|
|
37
|
+
pulp_created: null,
|
|
38
|
+
prn: null,
|
|
39
|
+
repository_version: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
data/docs/MinimalTaskResponse.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
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_api_version** | **String** | The API-version that was invoked when creating the task. | [optional][default to 'v3'] |
|
|
11
12
|
| **name** | **String** | The name of task. | |
|
|
12
13
|
| **state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'. | [optional][readonly] |
|
|
13
14
|
| **unblocked_at** | **Time** | Timestamp of when this task was identified ready for pickup. | [optional][readonly] |
|
|
@@ -25,6 +26,7 @@ instance = PulpcoreClient::MinimalTaskResponse.new(
|
|
|
25
26
|
prn: null,
|
|
26
27
|
pulp_created: null,
|
|
27
28
|
pulp_last_updated: null,
|
|
29
|
+
pulp_api_version: null,
|
|
28
30
|
name: null,
|
|
29
31
|
state: null,
|
|
30
32
|
unblocked_at: null,
|
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-06-
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-06-21'] |
|
|
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
|
data/docs/TaskResponse.md
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
| **created_resource_prns** | **Array<String>** | Resources created by this task as PRNs. | [optional] |
|
|
26
26
|
| **reserved_resources_record** | **Array<String>** | A list of resources required by that task. | [optional] |
|
|
27
27
|
| **result** | **Object** | | [optional] |
|
|
28
|
+
| **pulp_api_version** | **String** | The API-version that was invoked when creating the task. | [optional][default to 'v3'] |
|
|
28
29
|
|
|
29
30
|
## Example
|
|
30
31
|
|
|
@@ -52,7 +53,8 @@ instance = PulpcoreClient::TaskResponse.new(
|
|
|
52
53
|
created_resources: null,
|
|
53
54
|
created_resource_prns: null,
|
|
54
55
|
reserved_resources_record: null,
|
|
55
|
-
result: null
|
|
56
|
+
result: null,
|
|
57
|
+
pulp_api_version: null
|
|
56
58
|
)
|
|
57
59
|
```
|
|
58
60
|
|
data/docs/TasksApi.md
CHANGED
|
@@ -189,7 +189,7 @@ api_instance = PulpcoreClient::TasksApi.new
|
|
|
189
189
|
opts = {
|
|
190
190
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
191
191
|
child_tasks: 'child_tasks_example', # String |
|
|
192
|
-
created_resources: '
|
|
192
|
+
created_resources: 'created_resources_example', # String |
|
|
193
193
|
exclusive_resources: 'exclusive_resources_example', # String |
|
|
194
194
|
exclusive_resources__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
195
195
|
finished_at: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where finished_at matches value
|
|
@@ -207,7 +207,7 @@ opts = {
|
|
|
207
207
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
208
208
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
|
209
209
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
210
|
-
ordering: ['-deferred'], # 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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
210
|
+
ordering: ['-deferred'], # 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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pulp_api_version` - Pulp api version * `-pulp_api_version` - Pulp api version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
211
211
|
parent_task: 'parent_task_example', # String |
|
|
212
212
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
213
213
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
|
@@ -298,7 +298,7 @@ end
|
|
|
298
298
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
299
299
|
| **name__ne** | **String** | Filter results where name not equal to value | [optional] |
|
|
300
300
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
301
|
-
| **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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
301
|
+
| **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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pulp_api_version` - Pulp api version * `-pulp_api_version` - Pulp api version (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
302
302
|
| **parent_task** | **String** | | [optional] |
|
|
303
303
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
304
304
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
|
@@ -183,7 +183,7 @@ module PulpcoreClient
|
|
|
183
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
184
184
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
|
185
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
186
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
186
|
+
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pulp_api_version` - Pulp api version * `-pulp_api_version` - Pulp api version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
187
187
|
# @option opts [String] :parent_task
|
|
188
188
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
189
189
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
@@ -250,7 +250,7 @@ module PulpcoreClient
|
|
|
250
250
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
251
251
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
|
252
252
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
253
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
253
|
+
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pulp_api_version` - Pulp api version * `-pulp_api_version` - Pulp api version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
254
254
|
# @option opts [String] :parent_task
|
|
255
255
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
256
256
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
@@ -293,7 +293,7 @@ module PulpcoreClient
|
|
|
293
293
|
if @api_client.config.debugging
|
|
294
294
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
|
295
295
|
end
|
|
296
|
-
allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-profile_options", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-result", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "profile_options", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "result", "started_at", "state", "unblocked_at", "versions"]
|
|
296
|
+
allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-profile_options", "-pulp_api_version", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-result", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "profile_options", "pulp_api_version", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "result", "started_at", "state", "unblocked_at", "versions"]
|
|
297
297
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
298
298
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
299
299
|
end
|
|
@@ -16,22 +16,27 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# Timestamp of creation.
|
|
23
|
-
attr_accessor :pulp_created
|
|
19
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
|
+
attr_accessor :base_path
|
|
24
21
|
|
|
25
22
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
26
23
|
attr_accessor :pulp_last_updated
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
26
|
+
attr_accessor :no_content_change_since
|
|
29
27
|
|
|
30
28
|
# Whether this distribution should be shown in the content app.
|
|
31
29
|
attr_accessor :hidden
|
|
32
30
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
31
|
+
# An optional content-guard.
|
|
32
|
+
attr_accessor :content_guard
|
|
33
|
+
|
|
34
|
+
attr_accessor :pulp_href
|
|
35
|
+
|
|
36
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
37
|
+
attr_accessor :name
|
|
38
|
+
|
|
39
|
+
attr_accessor :pulp_labels
|
|
35
40
|
|
|
36
41
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
37
42
|
attr_accessor :content_guard_prn
|
|
@@ -39,36 +44,31 @@ module PulpcoreClient
|
|
|
39
44
|
# The URL for accessing the publication as defined by this distribution.
|
|
40
45
|
attr_accessor :base_url
|
|
41
46
|
|
|
42
|
-
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
43
49
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
50
|
+
# The Pulp Resource Name (PRN).
|
|
51
|
+
attr_accessor :prn
|
|
46
52
|
|
|
47
53
|
# RepositoryVersion to be served
|
|
48
54
|
attr_accessor :repository_version
|
|
49
55
|
|
|
50
|
-
# An optional content-guard.
|
|
51
|
-
attr_accessor :content_guard
|
|
52
|
-
|
|
53
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
54
|
-
attr_accessor :base_path
|
|
55
|
-
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
-
:'
|
|
60
|
-
:'pulp_created' => :'pulp_created',
|
|
59
|
+
:'base_path' => :'base_path',
|
|
61
60
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
62
|
-
:'
|
|
61
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
63
62
|
:'hidden' => :'hidden',
|
|
64
|
-
:'
|
|
63
|
+
:'content_guard' => :'content_guard',
|
|
64
|
+
:'pulp_href' => :'pulp_href',
|
|
65
|
+
:'name' => :'name',
|
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
|
65
67
|
:'content_guard_prn' => :'content_guard_prn',
|
|
66
68
|
:'base_url' => :'base_url',
|
|
67
|
-
:'
|
|
68
|
-
:'
|
|
69
|
-
:'repository_version' => :'repository_version'
|
|
70
|
-
:'content_guard' => :'content_guard',
|
|
71
|
-
:'base_path' => :'base_path'
|
|
69
|
+
:'pulp_created' => :'pulp_created',
|
|
70
|
+
:'prn' => :'prn',
|
|
71
|
+
:'repository_version' => :'repository_version'
|
|
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
|
-
:'
|
|
84
|
-
:'pulp_created' => :'Time',
|
|
83
|
+
:'base_path' => :'String',
|
|
85
84
|
:'pulp_last_updated' => :'Time',
|
|
86
|
-
:'
|
|
85
|
+
:'no_content_change_since' => :'String',
|
|
87
86
|
:'hidden' => :'Boolean',
|
|
88
|
-
:'
|
|
87
|
+
:'content_guard' => :'String',
|
|
88
|
+
:'pulp_href' => :'String',
|
|
89
|
+
:'name' => :'String',
|
|
90
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
89
91
|
:'content_guard_prn' => :'String',
|
|
90
92
|
:'base_url' => :'String',
|
|
91
|
-
:'
|
|
92
|
-
:'
|
|
93
|
-
:'repository_version' => :'String'
|
|
94
|
-
:'content_guard' => :'String',
|
|
95
|
-
:'base_path' => :'String'
|
|
93
|
+
:'pulp_created' => :'Time',
|
|
94
|
+
:'prn' => :'String',
|
|
95
|
+
:'repository_version' => :'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
|
-
:'repository_version',
|
|
103
102
|
:'content_guard',
|
|
103
|
+
:'repository_version'
|
|
104
104
|
])
|
|
105
105
|
end
|
|
106
106
|
|
|
@@ -119,20 +119,18 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'pulp_created')
|
|
127
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
122
|
+
if attributes.key?(:'base_path')
|
|
123
|
+
self.base_path = attributes[:'base_path']
|
|
124
|
+
else
|
|
125
|
+
self.base_path = nil
|
|
128
126
|
end
|
|
129
127
|
|
|
130
128
|
if attributes.key?(:'pulp_last_updated')
|
|
131
129
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
132
130
|
end
|
|
133
131
|
|
|
134
|
-
if attributes.key?(:'
|
|
135
|
-
self.
|
|
132
|
+
if attributes.key?(:'no_content_change_since')
|
|
133
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
136
134
|
end
|
|
137
135
|
|
|
138
136
|
if attributes.key?(:'hidden')
|
|
@@ -141,16 +139,18 @@ module PulpcoreClient
|
|
|
141
139
|
self.hidden = false
|
|
142
140
|
end
|
|
143
141
|
|
|
144
|
-
if attributes.key?(:'
|
|
145
|
-
self.
|
|
142
|
+
if attributes.key?(:'content_guard')
|
|
143
|
+
self.content_guard = attributes[:'content_guard']
|
|
146
144
|
end
|
|
147
145
|
|
|
148
|
-
if attributes.key?(:'
|
|
149
|
-
self.
|
|
146
|
+
if attributes.key?(:'pulp_href')
|
|
147
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
150
148
|
end
|
|
151
149
|
|
|
152
|
-
if attributes.key?(:'
|
|
153
|
-
self.
|
|
150
|
+
if attributes.key?(:'name')
|
|
151
|
+
self.name = attributes[:'name']
|
|
152
|
+
else
|
|
153
|
+
self.name = nil
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
if attributes.key?(:'pulp_labels')
|
|
@@ -159,24 +159,24 @@ module PulpcoreClient
|
|
|
159
159
|
end
|
|
160
160
|
end
|
|
161
161
|
|
|
162
|
-
if attributes.key?(:'
|
|
163
|
-
self.
|
|
164
|
-
else
|
|
165
|
-
self.name = nil
|
|
162
|
+
if attributes.key?(:'content_guard_prn')
|
|
163
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
166
164
|
end
|
|
167
165
|
|
|
168
|
-
if attributes.key?(:'
|
|
169
|
-
self.
|
|
166
|
+
if attributes.key?(:'base_url')
|
|
167
|
+
self.base_url = attributes[:'base_url']
|
|
170
168
|
end
|
|
171
169
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
self.
|
|
170
|
+
if attributes.key?(:'pulp_created')
|
|
171
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
174
172
|
end
|
|
175
173
|
|
|
176
|
-
if attributes.key?(:'
|
|
177
|
-
self.
|
|
178
|
-
|
|
179
|
-
|
|
174
|
+
if attributes.key?(:'prn')
|
|
175
|
+
self.prn = attributes[:'prn']
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
if attributes.key?(:'repository_version')
|
|
179
|
+
self.repository_version = attributes[:'repository_version']
|
|
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 @name.nil?
|
|
189
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
190
|
-
end
|
|
191
|
-
|
|
192
188
|
if @base_path.nil?
|
|
193
189
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
194
190
|
end
|
|
195
191
|
|
|
192
|
+
if @name.nil?
|
|
193
|
+
invalid_properties.push('invalid value for "name", name 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 @name.nil?
|
|
204
203
|
return false if @base_path.nil?
|
|
204
|
+
return false if @name.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
|
-
|
|
214
|
-
pulp_created == o.pulp_created &&
|
|
213
|
+
base_path == o.base_path &&
|
|
215
214
|
pulp_last_updated == o.pulp_last_updated &&
|
|
216
|
-
|
|
215
|
+
no_content_change_since == o.no_content_change_since &&
|
|
217
216
|
hidden == o.hidden &&
|
|
218
|
-
|
|
217
|
+
content_guard == o.content_guard &&
|
|
218
|
+
pulp_href == o.pulp_href &&
|
|
219
|
+
name == o.name &&
|
|
220
|
+
pulp_labels == o.pulp_labels &&
|
|
219
221
|
content_guard_prn == o.content_guard_prn &&
|
|
220
222
|
base_url == o.base_url &&
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
repository_version == o.repository_version
|
|
224
|
-
content_guard == o.content_guard &&
|
|
225
|
-
base_path == o.base_path
|
|
223
|
+
pulp_created == o.pulp_created &&
|
|
224
|
+
prn == o.prn &&
|
|
225
|
+
repository_version == o.repository_version
|
|
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
|
-
[no_content_change_since,
|
|
237
|
+
[base_path, pulp_last_updated, no_content_change_since, hidden, content_guard, pulp_href, name, pulp_labels, content_guard_prn, base_url, pulp_created, prn, repository_version].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpcoreClient
|
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# The API-version that was invoked when creating the task.
|
|
31
|
+
attr_accessor :pulp_api_version
|
|
32
|
+
|
|
30
33
|
# The name of task.
|
|
31
34
|
attr_accessor :name
|
|
32
35
|
|
|
@@ -52,6 +55,7 @@ module PulpcoreClient
|
|
|
52
55
|
:'prn' => :'prn',
|
|
53
56
|
:'pulp_created' => :'pulp_created',
|
|
54
57
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
58
|
+
:'pulp_api_version' => :'pulp_api_version',
|
|
55
59
|
:'name' => :'name',
|
|
56
60
|
:'state' => :'state',
|
|
57
61
|
:'unblocked_at' => :'unblocked_at',
|
|
@@ -73,6 +77,7 @@ module PulpcoreClient
|
|
|
73
77
|
:'prn' => :'String',
|
|
74
78
|
:'pulp_created' => :'Time',
|
|
75
79
|
:'pulp_last_updated' => :'Time',
|
|
80
|
+
:'pulp_api_version' => :'String',
|
|
76
81
|
:'name' => :'String',
|
|
77
82
|
:'state' => :'String',
|
|
78
83
|
:'unblocked_at' => :'Time',
|
|
@@ -120,6 +125,12 @@ module PulpcoreClient
|
|
|
120
125
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
121
126
|
end
|
|
122
127
|
|
|
128
|
+
if attributes.key?(:'pulp_api_version')
|
|
129
|
+
self.pulp_api_version = attributes[:'pulp_api_version']
|
|
130
|
+
else
|
|
131
|
+
self.pulp_api_version = 'v3'
|
|
132
|
+
end
|
|
133
|
+
|
|
123
134
|
if attributes.key?(:'name')
|
|
124
135
|
self.name = attributes[:'name']
|
|
125
136
|
else
|
|
@@ -176,6 +187,7 @@ module PulpcoreClient
|
|
|
176
187
|
prn == o.prn &&
|
|
177
188
|
pulp_created == o.pulp_created &&
|
|
178
189
|
pulp_last_updated == o.pulp_last_updated &&
|
|
190
|
+
pulp_api_version == o.pulp_api_version &&
|
|
179
191
|
name == o.name &&
|
|
180
192
|
state == o.state &&
|
|
181
193
|
unblocked_at == o.unblocked_at &&
|
|
@@ -193,7 +205,7 @@ module PulpcoreClient
|
|
|
193
205
|
# Calculates hash code according to all attributes.
|
|
194
206
|
# @return [Integer] Hash code
|
|
195
207
|
def hash
|
|
196
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, state, unblocked_at, started_at, finished_at, worker].hash
|
|
208
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_api_version, name, state, unblocked_at, started_at, finished_at, worker].hash
|
|
197
209
|
end
|
|
198
210
|
|
|
199
211
|
# Builds the object from hash
|