pulpcore_client 3.70.1 → 3.71.1
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 +15 -15
- data/docs/TasksApi.md +14 -0
- data/lib/pulpcore_client/api/tasks_api.rb +21 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +72 -72
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/tasks_api_spec.rb +7 -0
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4818bc88b7b200d49fe851e857c87514742ce7dc3b75671f9960f66ff2406be7
|
4
|
+
data.tar.gz: 85b28fc1cf12c4acd7120c5232cb6001a855d3363c04d888308e57bc9846e91a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a717c808859ed855de9aaee9e6a69dbd02a4ea3c355eb50f580a4778c66c2b27dd026798d953334ac755143c05d6b9f145809ae84a46d9d9105c70823560f943
|
7
|
+
data.tar.gz: 54108fa1fed422469eda949b9c349c10cea4f4bec383a6f447871aea9267934a5d6b9d023761902f550bc227c5a8aa50385959046cad318cb559db7a08dd26a4
|
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.71.1
|
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.71.1.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.71.1.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.71.1'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
9
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
11
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
12
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
13
8
|
| **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
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
|
+
| **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] |
|
15
11
|
| **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] |
|
16
|
-
| **
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
13
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
14
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
15
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
17
16
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
17
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
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
|
-
|
26
|
-
no_content_change_since: null,
|
27
|
-
name: null,
|
28
|
-
prn: null,
|
29
|
-
content_guard: null,
|
30
|
-
hidden: null,
|
25
|
+
pulp_labels: null,
|
31
26
|
base_path: null,
|
32
27
|
pulp_created: null,
|
28
|
+
no_content_change_since: null,
|
33
29
|
pulp_last_updated: null,
|
34
|
-
|
35
|
-
|
30
|
+
hidden: null,
|
31
|
+
name: null,
|
32
|
+
content_guard: null,
|
33
|
+
prn: null,
|
34
|
+
base_url: null,
|
35
|
+
pulp_href: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/TasksApi.md
CHANGED
@@ -201,6 +201,13 @@ opts = {
|
|
201
201
|
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) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
202
202
|
parent_task: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where parent_task matches value
|
203
203
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
204
|
+
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
205
|
+
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
206
|
+
pulp_created__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than or equal to value
|
207
|
+
pulp_created__isnull: true, # Boolean | Filter results where pulp_created has a null value
|
208
|
+
pulp_created__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than value
|
209
|
+
pulp_created__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than or equal to value
|
210
|
+
pulp_created__range: [Time.now], # Array<Time> | Filter results where pulp_created is between two comma separated values
|
204
211
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
205
212
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
206
213
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
@@ -286,6 +293,13 @@ end
|
|
286
293
|
| **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) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
287
294
|
| **parent_task** | **String** | Filter results where parent_task matches value | [optional] |
|
288
295
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
296
|
+
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
297
|
+
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
298
|
+
| **pulp_created__gte** | **Time** | Filter results where pulp_created is greater than or equal to value | [optional] |
|
299
|
+
| **pulp_created__isnull** | **Boolean** | Filter results where pulp_created has a null value | [optional] |
|
300
|
+
| **pulp_created__lt** | **Time** | Filter results where pulp_created is less than value | [optional] |
|
301
|
+
| **pulp_created__lte** | **Time** | Filter results where pulp_created is less than or equal to value | [optional] |
|
302
|
+
| **pulp_created__range** | [**Array<Time>**](Time.md) | Filter results where pulp_created is between two comma separated values | [optional] |
|
289
303
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
290
304
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
291
305
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
@@ -179,6 +179,13 @@ module PulpcoreClient
|
|
179
179
|
# @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) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
180
180
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
181
181
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
182
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
183
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
184
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
185
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
186
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
187
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
188
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
182
189
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
183
190
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
191
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -240,6 +247,13 @@ module PulpcoreClient
|
|
240
247
|
# @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) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
241
248
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
242
249
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
250
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
251
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
252
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
253
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
254
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
255
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
256
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
243
257
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
244
258
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
245
259
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -310,6 +324,13 @@ module PulpcoreClient
|
|
310
324
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
311
325
|
query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
|
312
326
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
327
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
328
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
329
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
330
|
+
query_params[:'pulp_created__isnull'] = opts[:'pulp_created__isnull'] if !opts[:'pulp_created__isnull'].nil?
|
331
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
332
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
333
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
313
334
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
314
335
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
315
336
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -16,22 +16,7 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
22
|
-
attr_accessor :no_content_change_since
|
23
|
-
|
24
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
25
|
-
attr_accessor :name
|
26
|
-
|
27
|
-
# The Pulp Resource Name (PRN).
|
28
|
-
attr_accessor :prn
|
29
|
-
|
30
|
-
# An optional content-guard.
|
31
|
-
attr_accessor :content_guard
|
32
|
-
|
33
|
-
# Whether this distribution should be shown in the content app.
|
34
|
-
attr_accessor :hidden
|
19
|
+
attr_accessor :pulp_labels
|
35
20
|
|
36
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
37
22
|
attr_accessor :base_path
|
@@ -39,28 +24,43 @@ module PulpcoreClient
|
|
39
24
|
# Timestamp of creation.
|
40
25
|
attr_accessor :pulp_created
|
41
26
|
|
27
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
28
|
+
attr_accessor :no_content_change_since
|
29
|
+
|
42
30
|
# 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.
|
43
31
|
attr_accessor :pulp_last_updated
|
44
32
|
|
45
|
-
|
33
|
+
# Whether this distribution should be shown in the content app.
|
34
|
+
attr_accessor :hidden
|
35
|
+
|
36
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
37
|
+
attr_accessor :name
|
38
|
+
|
39
|
+
# An optional content-guard.
|
40
|
+
attr_accessor :content_guard
|
41
|
+
|
42
|
+
# The Pulp Resource Name (PRN).
|
43
|
+
attr_accessor :prn
|
46
44
|
|
47
45
|
# The URL for accessing the publication as defined by this distribution.
|
48
46
|
attr_accessor :base_url
|
49
47
|
|
48
|
+
attr_accessor :pulp_href
|
49
|
+
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'
|
54
|
-
:'no_content_change_since' => :'no_content_change_since',
|
55
|
-
:'name' => :'name',
|
56
|
-
:'prn' => :'prn',
|
57
|
-
:'content_guard' => :'content_guard',
|
58
|
-
:'hidden' => :'hidden',
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
59
54
|
:'base_path' => :'base_path',
|
60
55
|
:'pulp_created' => :'pulp_created',
|
56
|
+
:'no_content_change_since' => :'no_content_change_since',
|
61
57
|
:'pulp_last_updated' => :'pulp_last_updated',
|
62
|
-
:'
|
63
|
-
:'
|
58
|
+
:'hidden' => :'hidden',
|
59
|
+
:'name' => :'name',
|
60
|
+
:'content_guard' => :'content_guard',
|
61
|
+
:'prn' => :'prn',
|
62
|
+
:'base_url' => :'base_url',
|
63
|
+
:'pulp_href' => :'pulp_href'
|
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
|
-
:'
|
76
|
-
:'no_content_change_since' => :'String',
|
77
|
-
:'name' => :'String',
|
78
|
-
:'prn' => :'String',
|
79
|
-
:'content_guard' => :'String',
|
80
|
-
:'hidden' => :'Boolean',
|
75
|
+
:'pulp_labels' => :'Hash<String, String>',
|
81
76
|
:'base_path' => :'String',
|
82
77
|
:'pulp_created' => :'Time',
|
78
|
+
:'no_content_change_since' => :'String',
|
83
79
|
:'pulp_last_updated' => :'Time',
|
84
|
-
:'
|
85
|
-
:'
|
80
|
+
:'hidden' => :'Boolean',
|
81
|
+
:'name' => :'String',
|
82
|
+
:'content_guard' => :'String',
|
83
|
+
:'prn' => :'String',
|
84
|
+
:'base_url' => :'String',
|
85
|
+
:'pulp_href' => :'String'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,26 +108,28 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
|
111
|
+
if attributes.key?(:'pulp_labels')
|
112
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
113
|
+
self.pulp_labels = value
|
114
|
+
end
|
113
115
|
end
|
114
116
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
117
|
+
if attributes.key?(:'base_path')
|
118
|
+
self.base_path = attributes[:'base_path']
|
119
|
+
else
|
120
|
+
self.base_path = nil
|
117
121
|
end
|
118
122
|
|
119
|
-
if attributes.key?(:'
|
120
|
-
self.
|
121
|
-
else
|
122
|
-
self.name = nil
|
123
|
+
if attributes.key?(:'pulp_created')
|
124
|
+
self.pulp_created = attributes[:'pulp_created']
|
123
125
|
end
|
124
126
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
127
|
+
if attributes.key?(:'no_content_change_since')
|
128
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
127
129
|
end
|
128
130
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
131
|
+
if attributes.key?(:'pulp_last_updated')
|
132
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
131
133
|
end
|
132
134
|
|
133
135
|
if attributes.key?(:'hidden')
|
@@ -136,29 +138,27 @@ module PulpcoreClient
|
|
136
138
|
self.hidden = false
|
137
139
|
end
|
138
140
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
141
|
+
if attributes.key?(:'name')
|
142
|
+
self.name = attributes[:'name']
|
141
143
|
else
|
142
|
-
self.
|
143
|
-
end
|
144
|
-
|
145
|
-
if attributes.key?(:'pulp_created')
|
146
|
-
self.pulp_created = attributes[:'pulp_created']
|
144
|
+
self.name = nil
|
147
145
|
end
|
148
146
|
|
149
|
-
if attributes.key?(:'
|
150
|
-
self.
|
147
|
+
if attributes.key?(:'content_guard')
|
148
|
+
self.content_guard = attributes[:'content_guard']
|
151
149
|
end
|
152
150
|
|
153
|
-
if attributes.key?(:'
|
154
|
-
|
155
|
-
self.pulp_labels = value
|
156
|
-
end
|
151
|
+
if attributes.key?(:'prn')
|
152
|
+
self.prn = attributes[:'prn']
|
157
153
|
end
|
158
154
|
|
159
155
|
if attributes.key?(:'base_url')
|
160
156
|
self.base_url = attributes[:'base_url']
|
161
157
|
end
|
158
|
+
|
159
|
+
if attributes.key?(:'pulp_href')
|
160
|
+
self.pulp_href = attributes[:'pulp_href']
|
161
|
+
end
|
162
162
|
end
|
163
163
|
|
164
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -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 @name.nil?
|
170
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
|
-
end
|
172
|
-
|
173
169
|
if @base_path.nil?
|
174
170
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
175
171
|
end
|
176
172
|
|
173
|
+
if @name.nil?
|
174
|
+
invalid_properties.push('invalid value for "name", name 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 @name.nil?
|
185
184
|
return false if @base_path.nil?
|
185
|
+
return false if @name.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
|
-
|
195
|
-
no_content_change_since == o.no_content_change_since &&
|
196
|
-
name == o.name &&
|
197
|
-
prn == o.prn &&
|
198
|
-
content_guard == o.content_guard &&
|
199
|
-
hidden == o.hidden &&
|
194
|
+
pulp_labels == o.pulp_labels &&
|
200
195
|
base_path == o.base_path &&
|
201
196
|
pulp_created == o.pulp_created &&
|
197
|
+
no_content_change_since == o.no_content_change_since &&
|
202
198
|
pulp_last_updated == o.pulp_last_updated &&
|
203
|
-
|
204
|
-
|
199
|
+
hidden == o.hidden &&
|
200
|
+
name == o.name &&
|
201
|
+
content_guard == o.content_guard &&
|
202
|
+
prn == o.prn &&
|
203
|
+
base_url == o.base_url &&
|
204
|
+
pulp_href == o.pulp_href
|
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_labels, base_path, pulp_created, no_content_change_since, pulp_last_updated, hidden, name, content_guard, prn, base_url, pulp_href].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -83,6 +83,13 @@ describe 'TasksApi' do
|
|
83
83
|
# @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) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
84
84
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
85
85
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
86
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
87
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
88
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
89
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
90
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
91
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
92
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
86
93
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
87
94
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
88
95
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -27,31 +27,31 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "pulp_labels"' 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_path"' 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_created"' 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 "no_content_change_since"' do
|
49
49
|
it 'should work' do
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
describe 'test attribute "
|
54
|
+
describe 'test attribute "pulp_last_updated"' 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
|
@@ -63,31 +63,31 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
describe 'test attribute "
|
66
|
+
describe 'test attribute "name"' 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
|
76
76
|
end
|
77
77
|
|
78
|
-
describe 'test attribute "
|
78
|
+
describe 'test attribute "prn"' do
|
79
79
|
it 'should work' do
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
describe 'test attribute "
|
84
|
+
describe 'test attribute "base_url"' 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 "pulp_href"' 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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.71.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-net_http
|