pulpcore_client 3.28.3 → 3.29.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 +11 -11
- 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 +45 -45
- 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 +6 -6
- 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: b08fa7fe72ea82ea461b3a7823046f70481e01e58bbc0a1b06b9804effa09758
|
|
4
|
+
data.tar.gz: 5fc8491e3c9b1ac710b6b5ea6e5c895d8336a3f0fa55b75f6c619ad43ea3df96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6782b5610046ffa7f1d655f65659a26b6af1271ad3c0511798714d8ddea1be060970d163b85d89e934cd4626003cbbe4b91a12df6a7ce77a02c75aea1502c65
|
|
7
|
+
data.tar.gz: 5cc3d36d21568e18434e99d4f3a460d9aa37c80b5117ede329a05dab8f35540ee889ebc5f10dd5dff6261459d71226d19f2e22155896b0cf4ccad7f74747b2d3
|
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.29.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.
|
|
27
|
+
gem install ./pulpcore_client-3.29.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.29.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulpcore_client', '~> 3.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.29.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,28 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
10
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
11
|
-
**
|
|
12
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
14
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
13
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
14
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
15
15
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpcoreClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
21
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
|
|
22
22
|
pulp_labels: null,
|
|
23
|
-
content_guard: null,
|
|
24
|
-
base_path: null,
|
|
25
|
-
pulp_created: null,
|
|
26
|
-
pulp_href: null,
|
|
27
23
|
name: null,
|
|
28
|
-
|
|
24
|
+
pulp_href: null,
|
|
25
|
+
pulp_created: null,
|
|
26
|
+
hidden: null,
|
|
27
|
+
base_url: null,
|
|
28
|
+
content_guard: null)
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
data/docs/TasksApi.md
CHANGED
|
@@ -161,7 +161,7 @@ opts = {
|
|
|
161
161
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
162
162
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
163
163
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
164
|
-
ordering: ['ordering_example'], # 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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
164
|
+
ordering: ['ordering_example'], # 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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
165
165
|
parent_task: 'parent_task_example', # String | Filter results where parent_task matches value
|
|
166
166
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
167
167
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -216,7 +216,7 @@ Name | Type | Description | Notes
|
|
|
216
216
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
217
217
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
218
218
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
219
|
-
**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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
219
|
+
**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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
220
220
|
**parent_task** | **String**| Filter results where parent_task matches value | [optional]
|
|
221
221
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
222
222
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
@@ -167,7 +167,7 @@ module PulpcoreClient
|
|
|
167
167
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
168
168
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
169
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
170
|
-
# @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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
170
|
+
# @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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
171
171
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
|
172
172
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
173
173
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -215,7 +215,7 @@ module PulpcoreClient
|
|
|
215
215
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
216
216
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
217
217
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
218
|
-
# @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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
218
|
+
# @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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
219
219
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
|
220
220
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
221
221
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -242,7 +242,7 @@ module PulpcoreClient
|
|
|
242
242
|
if @api_client.config.debugging
|
|
243
243
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
|
244
244
|
end
|
|
245
|
-
allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state"]
|
|
245
|
+
allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
|
|
246
246
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
247
247
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
248
248
|
end
|
|
@@ -15,60 +15,60 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
-
# The
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
|
+
attr_accessor :base_path
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
attr_accessor :
|
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
+
attr_accessor :name
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
attr_accessor :base_path
|
|
26
|
+
attr_accessor :pulp_href
|
|
28
27
|
|
|
29
28
|
# Timestamp of creation.
|
|
30
29
|
attr_accessor :pulp_created
|
|
31
30
|
|
|
32
|
-
attr_accessor :pulp_href
|
|
33
|
-
|
|
34
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
35
|
-
attr_accessor :name
|
|
36
|
-
|
|
37
31
|
# Whether this distribution should be shown in the content app.
|
|
38
32
|
attr_accessor :hidden
|
|
39
33
|
|
|
34
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
35
|
+
attr_accessor :base_url
|
|
36
|
+
|
|
37
|
+
# An optional content-guard.
|
|
38
|
+
attr_accessor :content_guard
|
|
39
|
+
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
41
|
def self.attribute_map
|
|
42
42
|
{
|
|
43
|
-
:'base_url' => :'base_url',
|
|
44
|
-
:'pulp_labels' => :'pulp_labels',
|
|
45
|
-
:'content_guard' => :'content_guard',
|
|
46
43
|
:'base_path' => :'base_path',
|
|
47
|
-
:'
|
|
48
|
-
:'pulp_href' => :'pulp_href',
|
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
|
49
45
|
:'name' => :'name',
|
|
50
|
-
:'
|
|
46
|
+
:'pulp_href' => :'pulp_href',
|
|
47
|
+
:'pulp_created' => :'pulp_created',
|
|
48
|
+
:'hidden' => :'hidden',
|
|
49
|
+
:'base_url' => :'base_url',
|
|
50
|
+
:'content_guard' => :'content_guard'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Attribute type mapping.
|
|
55
55
|
def self.openapi_types
|
|
56
56
|
{
|
|
57
|
-
:'base_url' => :'String',
|
|
58
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
59
|
-
:'content_guard' => :'String',
|
|
60
57
|
:'base_path' => :'String',
|
|
61
|
-
:'
|
|
62
|
-
:'pulp_href' => :'String',
|
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
63
59
|
:'name' => :'String',
|
|
64
|
-
:'
|
|
60
|
+
:'pulp_href' => :'String',
|
|
61
|
+
:'pulp_created' => :'DateTime',
|
|
62
|
+
:'hidden' => :'Boolean',
|
|
63
|
+
:'base_url' => :'String',
|
|
64
|
+
:'content_guard' => :'String'
|
|
65
65
|
}
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# List of attributes with nullable: true
|
|
69
69
|
def self.openapi_nullable
|
|
70
70
|
Set.new([
|
|
71
|
-
:'content_guard'
|
|
71
|
+
:'content_guard'
|
|
72
72
|
])
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -87,8 +87,8 @@ module PulpcoreClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
self.
|
|
90
|
+
if attributes.key?(:'base_path')
|
|
91
|
+
self.base_path = attributes[:'base_path']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
if attributes.key?(:'pulp_labels')
|
|
@@ -97,24 +97,16 @@ module PulpcoreClient
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
if attributes.key?(:'
|
|
101
|
-
self.
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
if attributes.key?(:'base_path')
|
|
105
|
-
self.base_path = attributes[:'base_path']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'pulp_created')
|
|
109
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
100
|
+
if attributes.key?(:'name')
|
|
101
|
+
self.name = attributes[:'name']
|
|
110
102
|
end
|
|
111
103
|
|
|
112
104
|
if attributes.key?(:'pulp_href')
|
|
113
105
|
self.pulp_href = attributes[:'pulp_href']
|
|
114
106
|
end
|
|
115
107
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
108
|
+
if attributes.key?(:'pulp_created')
|
|
109
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
118
110
|
end
|
|
119
111
|
|
|
120
112
|
if attributes.key?(:'hidden')
|
|
@@ -122,6 +114,14 @@ module PulpcoreClient
|
|
|
122
114
|
else
|
|
123
115
|
self.hidden = false
|
|
124
116
|
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'base_url')
|
|
119
|
+
self.base_url = attributes[:'base_url']
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'content_guard')
|
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
|
124
|
+
end
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -152,14 +152,14 @@ module PulpcoreClient
|
|
|
152
152
|
def ==(o)
|
|
153
153
|
return true if self.equal?(o)
|
|
154
154
|
self.class == o.class &&
|
|
155
|
-
base_url == o.base_url &&
|
|
156
|
-
pulp_labels == o.pulp_labels &&
|
|
157
|
-
content_guard == o.content_guard &&
|
|
158
155
|
base_path == o.base_path &&
|
|
159
|
-
|
|
160
|
-
pulp_href == o.pulp_href &&
|
|
156
|
+
pulp_labels == o.pulp_labels &&
|
|
161
157
|
name == o.name &&
|
|
162
|
-
|
|
158
|
+
pulp_href == o.pulp_href &&
|
|
159
|
+
pulp_created == o.pulp_created &&
|
|
160
|
+
hidden == o.hidden &&
|
|
161
|
+
base_url == o.base_url &&
|
|
162
|
+
content_guard == o.content_guard
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
# @see the `==` method
|
|
@@ -171,7 +171,7 @@ module PulpcoreClient
|
|
|
171
171
|
# Calculates hash code according to all attributes.
|
|
172
172
|
# @return [Integer] Hash code
|
|
173
173
|
def hash
|
|
174
|
-
[
|
|
174
|
+
[base_path, pulp_labels, name, pulp_href, pulp_created, hidden, base_url, content_guard].hash
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
# Builds the object from hash
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -77,7 +77,7 @@ describe 'TasksApi' do
|
|
|
77
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
78
78
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
80
|
-
# @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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
80
|
+
# @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) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
81
81
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
|
82
82
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
83
83
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -32,7 +32,7 @@ describe 'ArtifactDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
@@ -44,13 +44,13 @@ describe 'ArtifactDistributionResponse' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "name"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "pulp_href"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -62,19 +62,19 @@ describe 'ArtifactDistributionResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "hidden"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "base_url"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "content_guard"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
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.29.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: 2023-07-
|
|
11
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|