pulpcore_client 3.114.2 → 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 +80 -80
- 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 +2 -10
- 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
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
9
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\") | |
|
|
10
|
-
| **
|
|
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] |
|
|
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
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
11
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
11
12
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
13
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
14
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
12
15
|
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
13
|
-
| **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] |
|
|
14
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
15
16
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
17
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
16
19
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
17
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
18
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
19
|
-
| **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] |
|
|
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
|
-
pulp_created: null,
|
|
28
|
-
pulp_labels: null,
|
|
29
27
|
base_path: null,
|
|
30
|
-
|
|
28
|
+
pulp_last_updated: null,
|
|
29
|
+
no_content_change_since: null,
|
|
30
|
+
hidden: null,
|
|
31
|
+
content_guard: null,
|
|
31
32
|
pulp_href: null,
|
|
33
|
+
name: null,
|
|
34
|
+
pulp_labels: null,
|
|
32
35
|
content_guard_prn: null,
|
|
33
|
-
no_content_change_since: null,
|
|
34
|
-
prn: null,
|
|
35
36
|
base_url: null,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
pulp_last_updated: 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,59 +16,59 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
# Timestamp of creation.
|
|
20
|
-
attr_accessor :pulp_created
|
|
21
|
-
|
|
22
|
-
attr_accessor :pulp_labels
|
|
23
|
-
|
|
24
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\")
|
|
25
20
|
attr_accessor :base_path
|
|
26
21
|
|
|
22
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
23
|
+
attr_accessor :pulp_last_updated
|
|
24
|
+
|
|
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
|
|
27
|
+
|
|
28
|
+
# Whether this distribution should be shown in the content app.
|
|
29
|
+
attr_accessor :hidden
|
|
30
|
+
|
|
31
|
+
# An optional content-guard.
|
|
32
|
+
attr_accessor :content_guard
|
|
33
|
+
|
|
34
|
+
attr_accessor :pulp_href
|
|
35
|
+
|
|
27
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
37
|
attr_accessor :name
|
|
29
38
|
|
|
30
|
-
attr_accessor :
|
|
39
|
+
attr_accessor :pulp_labels
|
|
31
40
|
|
|
32
41
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
33
42
|
attr_accessor :content_guard_prn
|
|
34
43
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
44
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
45
|
+
attr_accessor :base_url
|
|
46
|
+
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
37
49
|
|
|
38
50
|
# The Pulp Resource Name (PRN).
|
|
39
51
|
attr_accessor :prn
|
|
40
52
|
|
|
41
|
-
# The URL for accessing the publication as defined by this distribution.
|
|
42
|
-
attr_accessor :base_url
|
|
43
|
-
|
|
44
53
|
# RepositoryVersion to be served
|
|
45
54
|
attr_accessor :repository_version
|
|
46
55
|
|
|
47
|
-
# An optional content-guard.
|
|
48
|
-
attr_accessor :content_guard
|
|
49
|
-
|
|
50
|
-
# Whether this distribution should be shown in the content app.
|
|
51
|
-
attr_accessor :hidden
|
|
52
|
-
|
|
53
|
-
# 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.
|
|
54
|
-
attr_accessor :pulp_last_updated
|
|
55
|
-
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
-
:'pulp_created' => :'pulp_created',
|
|
60
|
-
:'pulp_labels' => :'pulp_labels',
|
|
61
59
|
:'base_path' => :'base_path',
|
|
62
|
-
:'
|
|
60
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
61
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
62
|
+
:'hidden' => :'hidden',
|
|
63
|
+
:'content_guard' => :'content_guard',
|
|
63
64
|
:'pulp_href' => :'pulp_href',
|
|
65
|
+
:'name' => :'name',
|
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
|
64
67
|
:'content_guard_prn' => :'content_guard_prn',
|
|
65
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
66
|
-
:'prn' => :'prn',
|
|
67
68
|
:'base_url' => :'base_url',
|
|
68
|
-
:'
|
|
69
|
-
:'
|
|
70
|
-
:'
|
|
71
|
-
:'pulp_last_updated' => :'pulp_last_updated'
|
|
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
|
-
:'pulp_created' => :'Time',
|
|
84
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
85
83
|
:'base_path' => :'String',
|
|
86
|
-
:'
|
|
84
|
+
:'pulp_last_updated' => :'Time',
|
|
85
|
+
:'no_content_change_since' => :'String',
|
|
86
|
+
:'hidden' => :'Boolean',
|
|
87
|
+
:'content_guard' => :'String',
|
|
87
88
|
:'pulp_href' => :'String',
|
|
89
|
+
:'name' => :'String',
|
|
90
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
88
91
|
:'content_guard_prn' => :'String',
|
|
89
|
-
:'no_content_change_since' => :'String',
|
|
90
|
-
:'prn' => :'String',
|
|
91
92
|
:'base_url' => :'String',
|
|
92
|
-
:'
|
|
93
|
-
:'
|
|
94
|
-
:'
|
|
95
|
-
:'pulp_last_updated' => :'Time'
|
|
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,64 +119,64 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'pulp_created')
|
|
123
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'pulp_labels')
|
|
127
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
128
|
-
self.pulp_labels = value
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
|
|
132
122
|
if attributes.key?(:'base_path')
|
|
133
123
|
self.base_path = attributes[:'base_path']
|
|
134
124
|
else
|
|
135
125
|
self.base_path = nil
|
|
136
126
|
end
|
|
137
127
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
self.
|
|
128
|
+
if attributes.key?(:'pulp_last_updated')
|
|
129
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'no_content_change_since')
|
|
133
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'hidden')
|
|
137
|
+
self.hidden = attributes[:'hidden']
|
|
140
138
|
else
|
|
141
|
-
self.
|
|
139
|
+
self.hidden = false
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
if attributes.key?(:'content_guard')
|
|
143
|
+
self.content_guard = attributes[:'content_guard']
|
|
142
144
|
end
|
|
143
145
|
|
|
144
146
|
if attributes.key?(:'pulp_href')
|
|
145
147
|
self.pulp_href = attributes[:'pulp_href']
|
|
146
148
|
end
|
|
147
149
|
|
|
148
|
-
if attributes.key?(:'
|
|
149
|
-
self.
|
|
150
|
+
if attributes.key?(:'name')
|
|
151
|
+
self.name = attributes[:'name']
|
|
152
|
+
else
|
|
153
|
+
self.name = nil
|
|
150
154
|
end
|
|
151
155
|
|
|
152
|
-
if attributes.key?(:'
|
|
153
|
-
|
|
156
|
+
if attributes.key?(:'pulp_labels')
|
|
157
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
158
|
+
self.pulp_labels = value
|
|
159
|
+
end
|
|
154
160
|
end
|
|
155
161
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
self.
|
|
162
|
+
if attributes.key?(:'content_guard_prn')
|
|
163
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
158
164
|
end
|
|
159
165
|
|
|
160
166
|
if attributes.key?(:'base_url')
|
|
161
167
|
self.base_url = attributes[:'base_url']
|
|
162
168
|
end
|
|
163
169
|
|
|
164
|
-
if attributes.key?(:'
|
|
165
|
-
self.
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
if attributes.key?(:'content_guard')
|
|
169
|
-
self.content_guard = attributes[:'content_guard']
|
|
170
|
+
if attributes.key?(:'pulp_created')
|
|
171
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
170
172
|
end
|
|
171
173
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
self.
|
|
174
|
-
else
|
|
175
|
-
self.hidden = false
|
|
174
|
+
if attributes.key?(:'prn')
|
|
175
|
+
self.prn = attributes[:'prn']
|
|
176
176
|
end
|
|
177
177
|
|
|
178
|
-
if attributes.key?(:'
|
|
179
|
-
self.
|
|
178
|
+
if attributes.key?(:'repository_version')
|
|
179
|
+
self.repository_version = attributes[:'repository_version']
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -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
|
-
pulp_created == o.pulp_created &&
|
|
214
|
-
pulp_labels == o.pulp_labels &&
|
|
215
213
|
base_path == o.base_path &&
|
|
216
|
-
|
|
214
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
215
|
+
no_content_change_since == o.no_content_change_since &&
|
|
216
|
+
hidden == o.hidden &&
|
|
217
|
+
content_guard == o.content_guard &&
|
|
217
218
|
pulp_href == o.pulp_href &&
|
|
219
|
+
name == o.name &&
|
|
220
|
+
pulp_labels == o.pulp_labels &&
|
|
218
221
|
content_guard_prn == o.content_guard_prn &&
|
|
219
|
-
no_content_change_since == o.no_content_change_since &&
|
|
220
|
-
prn == o.prn &&
|
|
221
222
|
base_url == o.base_url &&
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
pulp_last_updated == o.pulp_last_updated
|
|
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
|
-
[
|
|
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
|
|
@@ -76,6 +76,9 @@ module PulpcoreClient
|
|
|
76
76
|
|
|
77
77
|
attr_accessor :result
|
|
78
78
|
|
|
79
|
+
# The API-version that was invoked when creating the task.
|
|
80
|
+
attr_accessor :pulp_api_version
|
|
81
|
+
|
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
83
|
def self.attribute_map
|
|
81
84
|
{
|
|
@@ -99,7 +102,8 @@ module PulpcoreClient
|
|
|
99
102
|
:'created_resources' => :'created_resources',
|
|
100
103
|
:'created_resource_prns' => :'created_resource_prns',
|
|
101
104
|
:'reserved_resources_record' => :'reserved_resources_record',
|
|
102
|
-
:'result' => :'result'
|
|
105
|
+
:'result' => :'result',
|
|
106
|
+
:'pulp_api_version' => :'pulp_api_version'
|
|
103
107
|
}
|
|
104
108
|
end
|
|
105
109
|
|
|
@@ -131,7 +135,8 @@ module PulpcoreClient
|
|
|
131
135
|
:'created_resources' => :'Array<String>',
|
|
132
136
|
:'created_resource_prns' => :'Array<String>',
|
|
133
137
|
:'reserved_resources_record' => :'Array<String>',
|
|
134
|
-
:'result' => :'Object'
|
|
138
|
+
:'result' => :'Object',
|
|
139
|
+
:'pulp_api_version' => :'String'
|
|
135
140
|
}
|
|
136
141
|
end
|
|
137
142
|
|
|
@@ -140,7 +145,7 @@ module PulpcoreClient
|
|
|
140
145
|
Set.new([
|
|
141
146
|
:'created_by',
|
|
142
147
|
:'worker',
|
|
143
|
-
:'result'
|
|
148
|
+
:'result',
|
|
144
149
|
])
|
|
145
150
|
end
|
|
146
151
|
|
|
@@ -256,6 +261,12 @@ module PulpcoreClient
|
|
|
256
261
|
if attributes.key?(:'result')
|
|
257
262
|
self.result = attributes[:'result']
|
|
258
263
|
end
|
|
264
|
+
|
|
265
|
+
if attributes.key?(:'pulp_api_version')
|
|
266
|
+
self.pulp_api_version = attributes[:'pulp_api_version']
|
|
267
|
+
else
|
|
268
|
+
self.pulp_api_version = 'v3'
|
|
269
|
+
end
|
|
259
270
|
end
|
|
260
271
|
|
|
261
272
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -308,7 +319,8 @@ module PulpcoreClient
|
|
|
308
319
|
created_resources == o.created_resources &&
|
|
309
320
|
created_resource_prns == o.created_resource_prns &&
|
|
310
321
|
reserved_resources_record == o.reserved_resources_record &&
|
|
311
|
-
result == o.result
|
|
322
|
+
result == o.result &&
|
|
323
|
+
pulp_api_version == o.pulp_api_version
|
|
312
324
|
end
|
|
313
325
|
|
|
314
326
|
# @see the `==` method
|
|
@@ -320,7 +332,7 @@ module PulpcoreClient
|
|
|
320
332
|
# Calculates hash code according to all attributes.
|
|
321
333
|
# @return [Integer] Hash code
|
|
322
334
|
def hash
|
|
323
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, state, name, logging_cid, created_by, unblocked_at, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, created_resource_prns, reserved_resources_record, result].hash
|
|
335
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, state, name, logging_cid, created_by, unblocked_at, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, created_resource_prns, reserved_resources_record, result, pulp_api_version].hash
|
|
324
336
|
end
|
|
325
337
|
|
|
326
338
|
# Builds the object from hash
|