pulpcore_client 3.28.2 → 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 +8 -8
- 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 +36 -36
- 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 +8 -8
- 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: 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
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\") |
|
|
9
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
11
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
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]
|
|
13
14
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
14
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
15
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpcoreClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
22
|
-
base_path: null,
|
|
23
|
-
hidden: null,
|
|
21
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
|
|
24
22
|
pulp_labels: null,
|
|
25
23
|
name: null,
|
|
24
|
+
pulp_href: null,
|
|
26
25
|
pulp_created: null,
|
|
27
|
-
|
|
28
|
-
|
|
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 URL for accessing the publication as defined by this distribution.
|
|
19
|
-
attr_accessor :base_url
|
|
20
|
-
|
|
21
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\")
|
|
22
19
|
attr_accessor :base_path
|
|
23
20
|
|
|
24
|
-
# Whether this distribution should be shown in the content app.
|
|
25
|
-
attr_accessor :hidden
|
|
26
|
-
|
|
27
21
|
attr_accessor :pulp_labels
|
|
28
22
|
|
|
29
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
24
|
attr_accessor :name
|
|
31
25
|
|
|
26
|
+
attr_accessor :pulp_href
|
|
27
|
+
|
|
32
28
|
# Timestamp of creation.
|
|
33
29
|
attr_accessor :pulp_created
|
|
34
30
|
|
|
31
|
+
# Whether this distribution should be shown in the content app.
|
|
32
|
+
attr_accessor :hidden
|
|
33
|
+
|
|
34
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
35
|
+
attr_accessor :base_url
|
|
36
|
+
|
|
35
37
|
# An optional content-guard.
|
|
36
38
|
attr_accessor :content_guard
|
|
37
39
|
|
|
38
|
-
attr_accessor :pulp_href
|
|
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
43
|
:'base_path' => :'base_path',
|
|
45
|
-
:'hidden' => :'hidden',
|
|
46
44
|
:'pulp_labels' => :'pulp_labels',
|
|
47
45
|
:'name' => :'name',
|
|
46
|
+
:'pulp_href' => :'pulp_href',
|
|
48
47
|
:'pulp_created' => :'pulp_created',
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
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
57
|
:'base_path' => :'String',
|
|
59
|
-
:'hidden' => :'Boolean',
|
|
60
58
|
:'pulp_labels' => :'Hash<String, String>',
|
|
61
59
|
:'name' => :'String',
|
|
60
|
+
:'pulp_href' => :'String',
|
|
62
61
|
:'pulp_created' => :'DateTime',
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
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,20 +87,10 @@ module PulpcoreClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'base_url')
|
|
91
|
-
self.base_url = attributes[:'base_url']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
90
|
if attributes.key?(:'base_path')
|
|
95
91
|
self.base_path = attributes[:'base_path']
|
|
96
92
|
end
|
|
97
93
|
|
|
98
|
-
if attributes.key?(:'hidden')
|
|
99
|
-
self.hidden = attributes[:'hidden']
|
|
100
|
-
else
|
|
101
|
-
self.hidden = false
|
|
102
|
-
end
|
|
103
|
-
|
|
104
94
|
if attributes.key?(:'pulp_labels')
|
|
105
95
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
106
96
|
self.pulp_labels = value
|
|
@@ -111,16 +101,26 @@ module PulpcoreClient
|
|
|
111
101
|
self.name = attributes[:'name']
|
|
112
102
|
end
|
|
113
103
|
|
|
104
|
+
if attributes.key?(:'pulp_href')
|
|
105
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
106
|
+
end
|
|
107
|
+
|
|
114
108
|
if attributes.key?(:'pulp_created')
|
|
115
109
|
self.pulp_created = attributes[:'pulp_created']
|
|
116
110
|
end
|
|
117
111
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
112
|
+
if attributes.key?(:'hidden')
|
|
113
|
+
self.hidden = attributes[:'hidden']
|
|
114
|
+
else
|
|
115
|
+
self.hidden = false
|
|
120
116
|
end
|
|
121
117
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
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
124
|
end
|
|
125
125
|
end
|
|
126
126
|
|
|
@@ -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
155
|
base_path == o.base_path &&
|
|
157
|
-
hidden == o.hidden &&
|
|
158
156
|
pulp_labels == o.pulp_labels &&
|
|
159
157
|
name == o.name &&
|
|
158
|
+
pulp_href == o.pulp_href &&
|
|
160
159
|
pulp_created == o.pulp_created &&
|
|
161
|
-
|
|
162
|
-
|
|
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,49 +32,49 @@ 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
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
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
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "pulp_created"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
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
|