pulpcore_client 3.70.1 → 3.71.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +14 -14
- 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 +69 -69
- 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: 81f569f9cc17323490167585c91ad0488542e9647e68e51c4fe5feeba97f95d3
|
4
|
+
data.tar.gz: c0f7033ea840b24d4555fdf746daf762c5e9ed08430a982b754f919bb7e1b1b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 887b03f0c5aecd385ef5e4e51acffd96edcc326a5376dce7a38a1de59d61fb55ec7941c402b3ddab48d3eb5ebdabfa87071569cbed152b18c48210f0721be493
|
7
|
+
data.tar.gz: 1dc556b81e8a4b0dd2f317e0017fe93e617c08e8254e8fcf597f6487ab10602df1e314a72e6c91aaf762bf94ecfe9d34ed977359b32b05be1b6a836fc198aa37
|
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.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.71.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.71.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.71.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
|
-
| **
|
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`. | |
|
7
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
8
|
| **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] |
|
13
9
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
14
|
-
| **
|
10
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [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] |
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
13
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
16
14
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
17
|
-
| **
|
15
|
+
| **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] |
|
16
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
17
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
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,
|
25
|
+
pulp_created: null,
|
28
26
|
prn: null,
|
29
|
-
content_guard: null,
|
30
|
-
hidden: null,
|
31
27
|
base_path: null,
|
32
|
-
|
28
|
+
base_url: null,
|
33
29
|
pulp_last_updated: null,
|
30
|
+
hidden: null,
|
31
|
+
pulp_href: null,
|
34
32
|
pulp_labels: null,
|
35
|
-
|
33
|
+
no_content_change_since: null,
|
34
|
+
content_guard: null,
|
35
|
+
name: 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,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
|
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
|
19
|
+
# Timestamp of creation.
|
20
|
+
attr_accessor :pulp_created
|
26
21
|
|
27
22
|
# The Pulp Resource Name (PRN).
|
28
23
|
attr_accessor :prn
|
29
24
|
|
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
|
35
|
-
|
36
25
|
# 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
26
|
attr_accessor :base_path
|
38
27
|
|
39
|
-
#
|
40
|
-
attr_accessor :
|
28
|
+
# The URL for accessing the publication as defined by this distribution.
|
29
|
+
attr_accessor :base_url
|
41
30
|
|
42
31
|
# 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
32
|
attr_accessor :pulp_last_updated
|
44
33
|
|
34
|
+
# Whether this distribution should be shown in the content app.
|
35
|
+
attr_accessor :hidden
|
36
|
+
|
37
|
+
attr_accessor :pulp_href
|
38
|
+
|
45
39
|
attr_accessor :pulp_labels
|
46
40
|
|
47
|
-
#
|
48
|
-
attr_accessor :
|
41
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
42
|
+
attr_accessor :no_content_change_since
|
43
|
+
|
44
|
+
# An optional content-guard.
|
45
|
+
attr_accessor :content_guard
|
46
|
+
|
47
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
48
|
+
attr_accessor :name
|
49
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',
|
53
|
+
:'pulp_created' => :'pulp_created',
|
56
54
|
:'prn' => :'prn',
|
57
|
-
:'content_guard' => :'content_guard',
|
58
|
-
:'hidden' => :'hidden',
|
59
55
|
:'base_path' => :'base_path',
|
60
|
-
:'
|
56
|
+
:'base_url' => :'base_url',
|
61
57
|
:'pulp_last_updated' => :'pulp_last_updated',
|
58
|
+
:'hidden' => :'hidden',
|
59
|
+
:'pulp_href' => :'pulp_href',
|
62
60
|
:'pulp_labels' => :'pulp_labels',
|
63
|
-
:'
|
61
|
+
:'no_content_change_since' => :'no_content_change_since',
|
62
|
+
:'content_guard' => :'content_guard',
|
63
|
+
:'name' => :'name'
|
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',
|
75
|
+
:'pulp_created' => :'Time',
|
78
76
|
:'prn' => :'String',
|
79
|
-
:'content_guard' => :'String',
|
80
|
-
:'hidden' => :'Boolean',
|
81
77
|
:'base_path' => :'String',
|
82
|
-
:'
|
78
|
+
:'base_url' => :'String',
|
83
79
|
:'pulp_last_updated' => :'Time',
|
80
|
+
:'hidden' => :'Boolean',
|
81
|
+
:'pulp_href' => :'String',
|
84
82
|
:'pulp_labels' => :'Hash<String, String>',
|
85
|
-
:'
|
83
|
+
:'no_content_change_since' => :'String',
|
84
|
+
:'content_guard' => :'String',
|
85
|
+
:'name' => :'String'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,26 +108,26 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
111
|
+
if attributes.key?(:'pulp_created')
|
112
|
+
self.pulp_created = attributes[:'pulp_created']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
115
|
+
if attributes.key?(:'prn')
|
116
|
+
self.prn = attributes[:'prn']
|
117
117
|
end
|
118
118
|
|
119
|
-
if attributes.key?(:'
|
120
|
-
self.
|
119
|
+
if attributes.key?(:'base_path')
|
120
|
+
self.base_path = attributes[:'base_path']
|
121
121
|
else
|
122
|
-
self.
|
122
|
+
self.base_path = nil
|
123
123
|
end
|
124
124
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
125
|
+
if attributes.key?(:'base_url')
|
126
|
+
self.base_url = attributes[:'base_url']
|
127
127
|
end
|
128
128
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
129
|
+
if attributes.key?(:'pulp_last_updated')
|
130
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
131
131
|
end
|
132
132
|
|
133
133
|
if attributes.key?(:'hidden')
|
@@ -136,18 +136,8 @@ module PulpcoreClient
|
|
136
136
|
self.hidden = false
|
137
137
|
end
|
138
138
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
141
|
-
else
|
142
|
-
self.base_path = nil
|
143
|
-
end
|
144
|
-
|
145
|
-
if attributes.key?(:'pulp_created')
|
146
|
-
self.pulp_created = attributes[:'pulp_created']
|
147
|
-
end
|
148
|
-
|
149
|
-
if attributes.key?(:'pulp_last_updated')
|
150
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
139
|
+
if attributes.key?(:'pulp_href')
|
140
|
+
self.pulp_href = attributes[:'pulp_href']
|
151
141
|
end
|
152
142
|
|
153
143
|
if attributes.key?(:'pulp_labels')
|
@@ -156,8 +146,18 @@ module PulpcoreClient
|
|
156
146
|
end
|
157
147
|
end
|
158
148
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
149
|
+
if attributes.key?(:'no_content_change_since')
|
150
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'content_guard')
|
154
|
+
self.content_guard = attributes[:'content_guard']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'name')
|
158
|
+
self.name = attributes[:'name']
|
159
|
+
else
|
160
|
+
self.name = 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 @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 &&
|
194
|
+
pulp_created == o.pulp_created &&
|
197
195
|
prn == o.prn &&
|
198
|
-
content_guard == o.content_guard &&
|
199
|
-
hidden == o.hidden &&
|
200
196
|
base_path == o.base_path &&
|
201
|
-
|
197
|
+
base_url == o.base_url &&
|
202
198
|
pulp_last_updated == o.pulp_last_updated &&
|
199
|
+
hidden == o.hidden &&
|
200
|
+
pulp_href == o.pulp_href &&
|
203
201
|
pulp_labels == o.pulp_labels &&
|
204
|
-
|
202
|
+
no_content_change_since == o.no_content_change_since &&
|
203
|
+
content_guard == o.content_guard &&
|
204
|
+
name == o.name
|
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_created, prn, base_path, base_url, pulp_last_updated, hidden, pulp_href, pulp_labels, no_content_change_since, content_guard, name].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_created"' 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 "prn"' do
|
37
37
|
it 'should work' do
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
describe 'test attribute "
|
42
|
+
describe 'test attribute "base_path"' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
describe 'test attribute "
|
48
|
+
describe 'test attribute "base_url"' 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 "pulp_href"' 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 "pulp_labels"' 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 "no_content_change_since"' 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 "content_guard"' 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 "name"' 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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-net_http
|