pulpcore_client 3.87.1 → 3.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +14 -14
- data/docs/TaskResponse.md +3 -1
- data/docs/TasksApi.md +2 -2
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +67 -67
- data/lib/pulpcore_client/models/task_response.rb +14 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/task_response_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abcfa60d8531199dd508ed048290e1bc7342da51be980cbdda82bb0aba6e5a19
|
4
|
+
data.tar.gz: c97d942ce52795b76369c9931b7625917a798362fc688916ade648ca03e7eacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17a68bfa977ad276fcb3de9cac2b0966c704e286e8e859b4df3a074fb32c6917d6e33f40eb2fa2359735ea6bbe9aecf782d7d51f878765506c2e052ca473ea66
|
7
|
+
data.tar.gz: 0c7ca448e31d69febf9de82b54309b123fbdc4a14093b83d2288fbd3633b9e800197ff8dc863e031f450ccfa5c468b8af175e587203ab0c829374830f5237e00
|
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.88.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.88.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.88.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.88.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **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] |
|
8
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
9
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
7
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
9
11
|
| **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
|
-
| **
|
11
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
12
13
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
13
|
-
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
14
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
15
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
16
14
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
17
|
-
| **
|
15
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
16
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
17
|
+
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -22,17 +22,17 @@
|
|
22
22
|
require 'pulpcore_client'
|
23
23
|
|
24
24
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
25
|
+
pulp_last_updated: null,
|
26
|
+
base_url: null,
|
27
|
+
pulp_href: null,
|
25
28
|
pulp_labels: null,
|
26
|
-
hidden: null,
|
27
29
|
no_content_change_since: null,
|
28
|
-
|
29
|
-
pulp_href: null,
|
30
|
+
hidden: null,
|
30
31
|
prn: null,
|
31
|
-
base_path: null,
|
32
|
-
pulp_last_updated: null,
|
33
|
-
name: null,
|
34
32
|
content_guard: null,
|
35
|
-
|
33
|
+
name: null,
|
34
|
+
pulp_created: null,
|
35
|
+
base_path: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/TaskResponse.md
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
| **progress_reports** | [**Array<ProgressReportResponse>**](ProgressReportResponse.md) | | [optional] |
|
24
24
|
| **created_resources** | **Array<String>** | Resources created by this task. | [optional] |
|
25
25
|
| **reserved_resources_record** | **Array<String>** | A list of resources required by that task. | [optional] |
|
26
|
+
| **result** | **Object** | | [optional] |
|
26
27
|
|
27
28
|
## Example
|
28
29
|
|
@@ -48,7 +49,8 @@ instance = PulpcoreClient::TaskResponse.new(
|
|
48
49
|
task_group: null,
|
49
50
|
progress_reports: null,
|
50
51
|
created_resources: null,
|
51
|
-
reserved_resources_record: null
|
52
|
+
reserved_resources_record: null,
|
53
|
+
result: null
|
52
54
|
)
|
53
55
|
```
|
54
56
|
|
data/docs/TasksApi.md
CHANGED
@@ -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) * `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) * `pk` - Pk * `-pk` - Pk (descending)
|
211
211
|
parent_task: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where parent_task matches value
|
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
|
@@ -300,7 +300,7 @@ end
|
|
300
300
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
301
301
|
| **name__ne** | **String** | Filter results where name not equal to value | [optional] |
|
302
302
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
303
|
-
| **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) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
303
|
+
| **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] |
|
304
304
|
| **parent_task** | **String** | Filter results where parent_task matches value | [optional] |
|
305
305
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
306
306
|
| **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) * `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) * `pk` - Pk * `-pk` - Pk (descending)
|
187
187
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
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
|
@@ -252,7 +252,7 @@ module PulpcoreClient
|
|
252
252
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
253
253
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
254
254
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
255
|
-
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
255
|
+
# @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)
|
256
256
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
257
257
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
258
258
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
@@ -297,7 +297,7 @@ module PulpcoreClient
|
|
297
297
|
if @api_client.config.debugging
|
298
298
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
299
299
|
end
|
300
|
-
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", "-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", "started_at", "state", "unblocked_at", "versions"]
|
300
|
+
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"]
|
301
301
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
302
302
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
303
303
|
end
|
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
|
19
|
+
# 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.
|
20
|
+
attr_accessor :pulp_last_updated
|
20
21
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
22
|
+
# The URL for accessing the publication as defined by this distribution.
|
23
|
+
attr_accessor :base_url
|
24
|
+
|
25
|
+
attr_accessor :pulp_href
|
26
|
+
|
27
|
+
attr_accessor :pulp_labels
|
23
28
|
|
24
29
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
25
30
|
attr_accessor :no_content_change_since
|
26
31
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
attr_accessor :pulp_href
|
32
|
+
# Whether this distribution should be shown in the content app.
|
33
|
+
attr_accessor :hidden
|
31
34
|
|
32
35
|
# The Pulp Resource Name (PRN).
|
33
36
|
attr_accessor :prn
|
34
37
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
37
|
-
|
38
|
-
# 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.
|
39
|
-
attr_accessor :pulp_last_updated
|
38
|
+
# An optional content-guard.
|
39
|
+
attr_accessor :content_guard
|
40
40
|
|
41
41
|
# A unique name. Ex, `rawhide` and `stable`.
|
42
42
|
attr_accessor :name
|
43
43
|
|
44
|
-
#
|
45
|
-
attr_accessor :
|
44
|
+
# Timestamp of creation.
|
45
|
+
attr_accessor :pulp_created
|
46
46
|
|
47
|
-
# The
|
48
|
-
attr_accessor :
|
47
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
48
|
+
attr_accessor :base_path
|
49
49
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
54
|
+
:'base_url' => :'base_url',
|
55
|
+
:'pulp_href' => :'pulp_href',
|
53
56
|
:'pulp_labels' => :'pulp_labels',
|
54
|
-
:'hidden' => :'hidden',
|
55
57
|
:'no_content_change_since' => :'no_content_change_since',
|
56
|
-
:'
|
57
|
-
:'pulp_href' => :'pulp_href',
|
58
|
+
:'hidden' => :'hidden',
|
58
59
|
:'prn' => :'prn',
|
59
|
-
:'base_path' => :'base_path',
|
60
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
61
|
-
:'name' => :'name',
|
62
60
|
:'content_guard' => :'content_guard',
|
63
|
-
:'
|
61
|
+
:'name' => :'name',
|
62
|
+
:'pulp_created' => :'pulp_created',
|
63
|
+
:'base_path' => :'base_path'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
72
72
|
# Attribute type mapping.
|
73
73
|
def self.openapi_types
|
74
74
|
{
|
75
|
+
:'pulp_last_updated' => :'Time',
|
76
|
+
:'base_url' => :'String',
|
77
|
+
:'pulp_href' => :'String',
|
75
78
|
:'pulp_labels' => :'Hash<String, String>',
|
76
|
-
:'hidden' => :'Boolean',
|
77
79
|
:'no_content_change_since' => :'String',
|
78
|
-
:'
|
79
|
-
:'pulp_href' => :'String',
|
80
|
+
:'hidden' => :'Boolean',
|
80
81
|
:'prn' => :'String',
|
81
|
-
:'base_path' => :'String',
|
82
|
-
:'pulp_last_updated' => :'Time',
|
83
|
-
:'name' => :'String',
|
84
82
|
:'content_guard' => :'String',
|
85
|
-
:'
|
83
|
+
:'name' => :'String',
|
84
|
+
:'pulp_created' => :'Time',
|
85
|
+
:'base_path' => :'String'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,42 +108,40 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
+
if attributes.key?(:'pulp_last_updated')
|
112
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'base_url')
|
116
|
+
self.base_url = attributes[:'base_url']
|
117
|
+
end
|
118
|
+
|
119
|
+
if attributes.key?(:'pulp_href')
|
120
|
+
self.pulp_href = attributes[:'pulp_href']
|
121
|
+
end
|
122
|
+
|
111
123
|
if attributes.key?(:'pulp_labels')
|
112
124
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
113
125
|
self.pulp_labels = value
|
114
126
|
end
|
115
127
|
end
|
116
128
|
|
117
|
-
if attributes.key?(:'hidden')
|
118
|
-
self.hidden = attributes[:'hidden']
|
119
|
-
else
|
120
|
-
self.hidden = false
|
121
|
-
end
|
122
|
-
|
123
129
|
if attributes.key?(:'no_content_change_since')
|
124
130
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
125
131
|
end
|
126
132
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
self.
|
129
|
-
|
130
|
-
|
131
|
-
if attributes.key?(:'pulp_href')
|
132
|
-
self.pulp_href = attributes[:'pulp_href']
|
133
|
+
if attributes.key?(:'hidden')
|
134
|
+
self.hidden = attributes[:'hidden']
|
135
|
+
else
|
136
|
+
self.hidden = false
|
133
137
|
end
|
134
138
|
|
135
139
|
if attributes.key?(:'prn')
|
136
140
|
self.prn = attributes[:'prn']
|
137
141
|
end
|
138
142
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
141
|
-
else
|
142
|
-
self.base_path = nil
|
143
|
-
end
|
144
|
-
|
145
|
-
if attributes.key?(:'pulp_last_updated')
|
146
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
143
|
+
if attributes.key?(:'content_guard')
|
144
|
+
self.content_guard = attributes[:'content_guard']
|
147
145
|
end
|
148
146
|
|
149
147
|
if attributes.key?(:'name')
|
@@ -152,12 +150,14 @@ module PulpcoreClient
|
|
152
150
|
self.name = nil
|
153
151
|
end
|
154
152
|
|
155
|
-
if attributes.key?(:'
|
156
|
-
self.
|
153
|
+
if attributes.key?(:'pulp_created')
|
154
|
+
self.pulp_created = attributes[:'pulp_created']
|
157
155
|
end
|
158
156
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
157
|
+
if attributes.key?(:'base_path')
|
158
|
+
self.base_path = attributes[:'base_path']
|
159
|
+
else
|
160
|
+
self.base_path = nil
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
@@ -166,14 +166,14 @@ module PulpcoreClient
|
|
166
166
|
def list_invalid_properties
|
167
167
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
168
168
|
invalid_properties = Array.new
|
169
|
-
if @base_path.nil?
|
170
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
171
|
-
end
|
172
|
-
|
173
169
|
if @name.nil?
|
174
170
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
175
171
|
end
|
176
172
|
|
173
|
+
if @base_path.nil?
|
174
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
175
|
+
end
|
176
|
+
|
177
177
|
invalid_properties
|
178
178
|
end
|
179
179
|
|
@@ -181,8 +181,8 @@ module PulpcoreClient
|
|
181
181
|
# @return true if the model is valid
|
182
182
|
def valid?
|
183
183
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
184
|
-
return false if @base_path.nil?
|
185
184
|
return false if @name.nil?
|
185
|
+
return false if @base_path.nil?
|
186
186
|
true
|
187
187
|
end
|
188
188
|
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
191
191
|
def ==(o)
|
192
192
|
return true if self.equal?(o)
|
193
193
|
self.class == o.class &&
|
194
|
+
pulp_last_updated == o.pulp_last_updated &&
|
195
|
+
base_url == o.base_url &&
|
196
|
+
pulp_href == o.pulp_href &&
|
194
197
|
pulp_labels == o.pulp_labels &&
|
195
|
-
hidden == o.hidden &&
|
196
198
|
no_content_change_since == o.no_content_change_since &&
|
197
|
-
|
198
|
-
pulp_href == o.pulp_href &&
|
199
|
+
hidden == o.hidden &&
|
199
200
|
prn == o.prn &&
|
200
|
-
base_path == o.base_path &&
|
201
|
-
pulp_last_updated == o.pulp_last_updated &&
|
202
|
-
name == o.name &&
|
203
201
|
content_guard == o.content_guard &&
|
204
|
-
|
202
|
+
name == o.name &&
|
203
|
+
pulp_created == o.pulp_created &&
|
204
|
+
base_path == o.base_path
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[pulp_last_updated, base_url, pulp_href, pulp_labels, no_content_change_since, hidden, prn, content_guard, name, pulp_created, base_path].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -71,6 +71,8 @@ module PulpcoreClient
|
|
71
71
|
# A list of resources required by that task.
|
72
72
|
attr_accessor :reserved_resources_record
|
73
73
|
|
74
|
+
attr_accessor :result
|
75
|
+
|
74
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
75
77
|
def self.attribute_map
|
76
78
|
{
|
@@ -92,7 +94,8 @@ module PulpcoreClient
|
|
92
94
|
:'task_group' => :'task_group',
|
93
95
|
:'progress_reports' => :'progress_reports',
|
94
96
|
:'created_resources' => :'created_resources',
|
95
|
-
:'reserved_resources_record' => :'reserved_resources_record'
|
97
|
+
:'reserved_resources_record' => :'reserved_resources_record',
|
98
|
+
:'result' => :'result'
|
96
99
|
}
|
97
100
|
end
|
98
101
|
|
@@ -122,13 +125,15 @@ module PulpcoreClient
|
|
122
125
|
:'task_group' => :'String',
|
123
126
|
:'progress_reports' => :'Array<ProgressReportResponse>',
|
124
127
|
:'created_resources' => :'Array<String>',
|
125
|
-
:'reserved_resources_record' => :'Array<String>'
|
128
|
+
:'reserved_resources_record' => :'Array<String>',
|
129
|
+
:'result' => :'Object'
|
126
130
|
}
|
127
131
|
end
|
128
132
|
|
129
133
|
# List of attributes with nullable: true
|
130
134
|
def self.openapi_nullable
|
131
135
|
Set.new([
|
136
|
+
:'result'
|
132
137
|
])
|
133
138
|
end
|
134
139
|
|
@@ -234,6 +239,10 @@ module PulpcoreClient
|
|
234
239
|
self.reserved_resources_record = value
|
235
240
|
end
|
236
241
|
end
|
242
|
+
|
243
|
+
if attributes.key?(:'result')
|
244
|
+
self.result = attributes[:'result']
|
245
|
+
end
|
237
246
|
end
|
238
247
|
|
239
248
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -284,7 +293,8 @@ module PulpcoreClient
|
|
284
293
|
task_group == o.task_group &&
|
285
294
|
progress_reports == o.progress_reports &&
|
286
295
|
created_resources == o.created_resources &&
|
287
|
-
reserved_resources_record == o.reserved_resources_record
|
296
|
+
reserved_resources_record == o.reserved_resources_record &&
|
297
|
+
result == o.result
|
288
298
|
end
|
289
299
|
|
290
300
|
# @see the `==` method
|
@@ -296,7 +306,7 @@ module PulpcoreClient
|
|
296
306
|
# Calculates hash code according to all attributes.
|
297
307
|
# @return [Integer] Hash code
|
298
308
|
def hash
|
299
|
-
[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, reserved_resources_record].hash
|
309
|
+
[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, reserved_resources_record, result].hash
|
300
310
|
end
|
301
311
|
|
302
312
|
# Builds the object from hash
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -83,7 +83,7 @@ describe 'TasksApi' do
|
|
83
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
84
84
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
85
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
86
|
-
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
86
|
+
# @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)
|
87
87
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
88
88
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
89
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
@@ -27,49 +27,49 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "pulp_last_updated"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
describe 'test attribute "
|
36
|
+
describe 'test attribute "base_url"' 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 "pulp_href"' 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_labels"' 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 "no_content_change_since"' 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 "hidden"' 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 "prn"' 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 "content_guard"' 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,13 +81,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
describe 'test attribute "
|
84
|
+
describe 'test attribute "pulp_created"' 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
|
88
88
|
end
|
89
89
|
|
90
|
-
describe 'test attribute "
|
90
|
+
describe 'test attribute "base_path"' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
93
|
end
|
@@ -141,4 +141,10 @@ describe PulpcoreClient::TaskResponse do
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
|
144
|
+
describe 'test attribute "result"' do
|
145
|
+
it 'should work' do
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
144
150
|
end
|