pulp_rpm_client 3.21.0 → 3.22.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/DistributionsRpmApi.md +2 -2
- data/docs/PatchedrpmRpmDistribution.md +2 -0
- data/docs/RpmRpmDistribution.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +2 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +13 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- metadata +82 -82
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cbb3f7ab057df73b0c08acc76c17db16d149aca6555a3411814b65b4c35085a
|
|
4
|
+
data.tar.gz: e23acf289391bd244512528f8fbe833e3e07597a22a1e64c66666abab492f90a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9be5a9cebdb13eeb60ae7e3f515e9dbcdaf21c4669d7c6525f91f260c1ad87571f97d7ba65e50893b0ac3f6087207bc68776ad799e4e523e47a7f4a4a62c9e68
|
|
7
|
+
data.tar.gz: 053d4542c202523b0049b2876f6de66f63358175db4936a9f9d7febc6a09586958735a485cd6d975e5549b7062f70ace75f221c517435c572e1d10d50e209e84
|
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.22.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 pulp_rpm_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_rpm_client-3.
|
|
27
|
+
gem install ./pulp_rpm_client-3.22.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.22.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 'pulp_rpm_client', '~> 3.
|
|
36
|
+
gem 'pulp_rpm_client', '~> 3.22.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
data/docs/DistributionsRpmApi.md
CHANGED
|
@@ -210,7 +210,7 @@ opts = {
|
|
|
210
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
211
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
212
212
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
213
|
-
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
213
|
+
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
214
214
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
215
215
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
216
216
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
@@ -246,7 +246,7 @@ Name | Type | Description | Notes
|
|
|
246
246
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
247
247
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
248
248
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
249
|
-
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
249
|
+
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
250
250
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
251
251
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
252
252
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
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\") | [optional]
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
@@ -18,6 +19,7 @@ require 'PulpRpmClient'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpRpmClient::PatchedrpmRpmDistribution.new(base_path: null,
|
|
20
21
|
content_guard: null,
|
|
22
|
+
hidden: null,
|
|
21
23
|
pulp_labels: null,
|
|
22
24
|
name: null,
|
|
23
25
|
repository: null,
|
data/docs/RpmRpmDistribution.md
CHANGED
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
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\") |
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
@@ -18,6 +19,7 @@ require 'PulpRpmClient'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpRpmClient::RpmRpmDistribution.new(base_path: null,
|
|
20
21
|
content_guard: null,
|
|
22
|
+
hidden: null,
|
|
21
23
|
pulp_labels: null,
|
|
22
24
|
name: null,
|
|
23
25
|
repository: null,
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
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\") |
|
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
11
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]
|
|
12
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
14
15
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
@@ -24,6 +25,7 @@ instance = PulpRpmClient::RpmRpmDistributionResponse.new(pulp_href: null,
|
|
|
24
25
|
base_path: null,
|
|
25
26
|
base_url: null,
|
|
26
27
|
content_guard: null,
|
|
28
|
+
hidden: null,
|
|
27
29
|
pulp_labels: null,
|
|
28
30
|
name: null,
|
|
29
31
|
repository: null,
|
|
@@ -227,7 +227,7 @@ module PulpRpmClient
|
|
|
227
227
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
228
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
229
229
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
230
|
-
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
230
|
+
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
231
231
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
232
232
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
233
233
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
@@ -256,7 +256,7 @@ module PulpRpmClient
|
|
|
256
256
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
257
257
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
258
258
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
259
|
-
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
259
|
+
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
260
260
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
261
261
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
262
262
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
@@ -270,7 +270,7 @@ module PulpRpmClient
|
|
|
270
270
|
if @api_client.config.debugging
|
|
271
271
|
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
|
|
272
272
|
end
|
|
273
|
-
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
273
|
+
allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
274
274
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
275
275
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
276
276
|
end
|
|
@@ -21,6 +21,9 @@ module PulpRpmClient
|
|
|
21
21
|
# An optional content-guard.
|
|
22
22
|
attr_accessor :content_guard
|
|
23
23
|
|
|
24
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
24
27
|
attr_accessor :pulp_labels
|
|
25
28
|
|
|
26
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
@@ -37,6 +40,7 @@ module PulpRpmClient
|
|
|
37
40
|
{
|
|
38
41
|
:'base_path' => :'base_path',
|
|
39
42
|
:'content_guard' => :'content_guard',
|
|
43
|
+
:'hidden' => :'hidden',
|
|
40
44
|
:'pulp_labels' => :'pulp_labels',
|
|
41
45
|
:'name' => :'name',
|
|
42
46
|
:'repository' => :'repository',
|
|
@@ -49,6 +53,7 @@ module PulpRpmClient
|
|
|
49
53
|
{
|
|
50
54
|
:'base_path' => :'String',
|
|
51
55
|
:'content_guard' => :'String',
|
|
56
|
+
:'hidden' => :'Boolean',
|
|
52
57
|
:'pulp_labels' => :'Hash<String, String>',
|
|
53
58
|
:'name' => :'String',
|
|
54
59
|
:'repository' => :'String',
|
|
@@ -88,6 +93,12 @@ module PulpRpmClient
|
|
|
88
93
|
self.content_guard = attributes[:'content_guard']
|
|
89
94
|
end
|
|
90
95
|
|
|
96
|
+
if attributes.key?(:'hidden')
|
|
97
|
+
self.hidden = attributes[:'hidden']
|
|
98
|
+
else
|
|
99
|
+
self.hidden = false
|
|
100
|
+
end
|
|
101
|
+
|
|
91
102
|
if attributes.key?(:'pulp_labels')
|
|
92
103
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
93
104
|
self.pulp_labels = value
|
|
@@ -157,6 +168,7 @@ module PulpRpmClient
|
|
|
157
168
|
self.class == o.class &&
|
|
158
169
|
base_path == o.base_path &&
|
|
159
170
|
content_guard == o.content_guard &&
|
|
171
|
+
hidden == o.hidden &&
|
|
160
172
|
pulp_labels == o.pulp_labels &&
|
|
161
173
|
name == o.name &&
|
|
162
174
|
repository == o.repository &&
|
|
@@ -172,7 +184,7 @@ module PulpRpmClient
|
|
|
172
184
|
# Calculates hash code according to all attributes.
|
|
173
185
|
# @return [Integer] Hash code
|
|
174
186
|
def hash
|
|
175
|
-
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
|
187
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
|
176
188
|
end
|
|
177
189
|
|
|
178
190
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module PulpRpmClient
|
|
|
21
21
|
# An optional content-guard.
|
|
22
22
|
attr_accessor :content_guard
|
|
23
23
|
|
|
24
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
24
27
|
attr_accessor :pulp_labels
|
|
25
28
|
|
|
26
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
@@ -37,6 +40,7 @@ module PulpRpmClient
|
|
|
37
40
|
{
|
|
38
41
|
:'base_path' => :'base_path',
|
|
39
42
|
:'content_guard' => :'content_guard',
|
|
43
|
+
:'hidden' => :'hidden',
|
|
40
44
|
:'pulp_labels' => :'pulp_labels',
|
|
41
45
|
:'name' => :'name',
|
|
42
46
|
:'repository' => :'repository',
|
|
@@ -49,6 +53,7 @@ module PulpRpmClient
|
|
|
49
53
|
{
|
|
50
54
|
:'base_path' => :'String',
|
|
51
55
|
:'content_guard' => :'String',
|
|
56
|
+
:'hidden' => :'Boolean',
|
|
52
57
|
:'pulp_labels' => :'Hash<String, String>',
|
|
53
58
|
:'name' => :'String',
|
|
54
59
|
:'repository' => :'String',
|
|
@@ -88,6 +93,12 @@ module PulpRpmClient
|
|
|
88
93
|
self.content_guard = attributes[:'content_guard']
|
|
89
94
|
end
|
|
90
95
|
|
|
96
|
+
if attributes.key?(:'hidden')
|
|
97
|
+
self.hidden = attributes[:'hidden']
|
|
98
|
+
else
|
|
99
|
+
self.hidden = false
|
|
100
|
+
end
|
|
101
|
+
|
|
91
102
|
if attributes.key?(:'pulp_labels')
|
|
92
103
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
93
104
|
self.pulp_labels = value
|
|
@@ -175,6 +186,7 @@ module PulpRpmClient
|
|
|
175
186
|
self.class == o.class &&
|
|
176
187
|
base_path == o.base_path &&
|
|
177
188
|
content_guard == o.content_guard &&
|
|
189
|
+
hidden == o.hidden &&
|
|
178
190
|
pulp_labels == o.pulp_labels &&
|
|
179
191
|
name == o.name &&
|
|
180
192
|
repository == o.repository &&
|
|
@@ -190,7 +202,7 @@ module PulpRpmClient
|
|
|
190
202
|
# Calculates hash code according to all attributes.
|
|
191
203
|
# @return [Integer] Hash code
|
|
192
204
|
def hash
|
|
193
|
-
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
|
205
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
|
194
206
|
end
|
|
195
207
|
|
|
196
208
|
# Builds the object from hash
|
|
@@ -29,6 +29,9 @@ module PulpRpmClient
|
|
|
29
29
|
# An optional content-guard.
|
|
30
30
|
attr_accessor :content_guard
|
|
31
31
|
|
|
32
|
+
# Whether this distribution should be shown in the content app.
|
|
33
|
+
attr_accessor :hidden
|
|
34
|
+
|
|
32
35
|
attr_accessor :pulp_labels
|
|
33
36
|
|
|
34
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
@@ -48,6 +51,7 @@ module PulpRpmClient
|
|
|
48
51
|
:'base_path' => :'base_path',
|
|
49
52
|
:'base_url' => :'base_url',
|
|
50
53
|
:'content_guard' => :'content_guard',
|
|
54
|
+
:'hidden' => :'hidden',
|
|
51
55
|
:'pulp_labels' => :'pulp_labels',
|
|
52
56
|
:'name' => :'name',
|
|
53
57
|
:'repository' => :'repository',
|
|
@@ -63,6 +67,7 @@ module PulpRpmClient
|
|
|
63
67
|
:'base_path' => :'String',
|
|
64
68
|
:'base_url' => :'String',
|
|
65
69
|
:'content_guard' => :'String',
|
|
70
|
+
:'hidden' => :'Boolean',
|
|
66
71
|
:'pulp_labels' => :'Hash<String, String>',
|
|
67
72
|
:'name' => :'String',
|
|
68
73
|
:'repository' => :'String',
|
|
@@ -114,6 +119,12 @@ module PulpRpmClient
|
|
|
114
119
|
self.content_guard = attributes[:'content_guard']
|
|
115
120
|
end
|
|
116
121
|
|
|
122
|
+
if attributes.key?(:'hidden')
|
|
123
|
+
self.hidden = attributes[:'hidden']
|
|
124
|
+
else
|
|
125
|
+
self.hidden = false
|
|
126
|
+
end
|
|
127
|
+
|
|
117
128
|
if attributes.key?(:'pulp_labels')
|
|
118
129
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
119
130
|
self.pulp_labels = value
|
|
@@ -166,6 +177,7 @@ module PulpRpmClient
|
|
|
166
177
|
base_path == o.base_path &&
|
|
167
178
|
base_url == o.base_url &&
|
|
168
179
|
content_guard == o.content_guard &&
|
|
180
|
+
hidden == o.hidden &&
|
|
169
181
|
pulp_labels == o.pulp_labels &&
|
|
170
182
|
name == o.name &&
|
|
171
183
|
repository == o.repository &&
|
|
@@ -181,7 +193,7 @@ module PulpRpmClient
|
|
|
181
193
|
# Calculates hash code according to all attributes.
|
|
182
194
|
# @return [Integer] Hash code
|
|
183
195
|
def hash
|
|
184
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, repository, publication].hash
|
|
196
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
|
185
197
|
end
|
|
186
198
|
|
|
187
199
|
# Builds the object from hash
|
|
@@ -83,7 +83,7 @@ describe 'DistributionsRpmApi' do
|
|
|
83
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
84
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
85
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
86
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
86
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
87
87
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
88
88
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
89
89
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
@@ -44,6 +44,12 @@ describe 'PatchedrpmRpmDistribution' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
describe 'test attribute "hidden"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
47
53
|
describe 'test attribute "pulp_labels"' do
|
|
48
54
|
it 'should work' do
|
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -62,6 +62,12 @@ describe 'RpmRpmDistributionResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
describe 'test attribute "hidden"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
65
71
|
describe 'test attribute "pulp_labels"' do
|
|
66
72
|
it 'should work' do
|
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -44,6 +44,12 @@ describe 'RpmRpmDistribution' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
describe 'test attribute "hidden"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
47
53
|
describe 'test attribute "pulp_labels"' do
|
|
48
54
|
it 'should work' do
|
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_rpm_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.22.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-
|
|
11
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -404,103 +404,103 @@ signing_key:
|
|
|
404
404
|
specification_version: 4
|
|
405
405
|
summary: Pulp 3 API Ruby Gem
|
|
406
406
|
test_files:
|
|
407
|
-
- spec/api/
|
|
408
|
-
- spec/api/
|
|
409
|
-
- spec/api/
|
|
410
|
-
- spec/api/
|
|
407
|
+
- spec/api/acs_rpm_api_spec.rb
|
|
408
|
+
- spec/api/rpm_copy_api_spec.rb
|
|
409
|
+
- spec/api/content_distribution_trees_api_spec.rb
|
|
410
|
+
- spec/api/distributions_rpm_api_spec.rb
|
|
411
|
+
- spec/api/repositories_rpm_api_spec.rb
|
|
412
|
+
- spec/api/content_advisories_api_spec.rb
|
|
411
413
|
- spec/api/remotes_rpm_api_spec.rb
|
|
412
|
-
- spec/api/
|
|
413
|
-
- spec/api/
|
|
414
|
+
- spec/api/repositories_rpm_versions_api_spec.rb
|
|
415
|
+
- spec/api/remotes_uln_api_spec.rb
|
|
414
416
|
- spec/api/content_packagelangpacks_api_spec.rb
|
|
415
417
|
- spec/api/content_packages_api_spec.rb
|
|
416
|
-
- spec/api/
|
|
417
|
-
- spec/api/
|
|
418
|
-
- spec/api/distributions_rpm_api_spec.rb
|
|
418
|
+
- spec/api/content_packagegroups_api_spec.rb
|
|
419
|
+
- spec/api/content_modulemd_defaults_api_spec.rb
|
|
419
420
|
- spec/api/content_modulemds_api_spec.rb
|
|
420
|
-
- spec/api/
|
|
421
|
+
- spec/api/content_modulemd_obsoletes_api_spec.rb
|
|
422
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
|
421
423
|
- spec/api/rpm_comps_api_spec.rb
|
|
422
|
-
- spec/api/
|
|
423
|
-
- spec/api/
|
|
424
|
-
- spec/api/
|
|
425
|
-
- spec/api/remotes_uln_api_spec.rb
|
|
426
|
-
- spec/api/repositories_rpm_api_spec.rb
|
|
424
|
+
- spec/api/content_packagecategories_api_spec.rb
|
|
425
|
+
- spec/api/publications_rpm_api_spec.rb
|
|
426
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
|
427
427
|
- spec/api_client_spec.rb
|
|
428
428
|
- spec/configuration_spec.rb
|
|
429
|
-
- spec/models/
|
|
430
|
-
- spec/models/
|
|
429
|
+
- spec/models/checksum_response_spec.rb
|
|
430
|
+
- spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
|
|
431
|
+
- spec/models/nested_role_spec.rb
|
|
432
|
+
- spec/models/rpm_package_group_response_spec.rb
|
|
433
|
+
- spec/models/artifact_response_spec.rb
|
|
434
|
+
- spec/models/sync_policy_enum_spec.rb
|
|
435
|
+
- spec/models/repair_spec.rb
|
|
431
436
|
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
|
437
|
+
- spec/models/rpm_modulemd_obsolete_response_spec.rb
|
|
438
|
+
- spec/models/rpm_update_record_response_spec.rb
|
|
439
|
+
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
|
440
|
+
- spec/models/variant_response_spec.rb
|
|
441
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
|
442
|
+
- spec/models/repository_version_response_spec.rb
|
|
432
443
|
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
|
433
|
-
- spec/models/rpm_modulemd_obsolete_spec.rb
|
|
434
444
|
- spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb
|
|
435
|
-
- spec/models/rpm_update_collection_spec.rb
|
|
436
|
-
- spec/models/nested_role_response_spec.rb
|
|
437
|
-
- spec/models/content_summary_response_spec.rb
|
|
438
|
-
- spec/models/rpm_repository_sync_url_spec.rb
|
|
439
|
-
- spec/models/comps_xml_spec.rb
|
|
440
|
-
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
|
441
|
-
- spec/models/rpm_package_spec.rb
|
|
442
|
-
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
|
443
|
-
- spec/models/artifact_response_spec.rb
|
|
444
|
-
- spec/models/rpm_rpm_remote_spec.rb
|
|
445
|
-
- spec/models/copy_spec.rb
|
|
446
|
-
- spec/models/rpm_uln_remote_spec.rb
|
|
447
|
-
- spec/models/rpm_update_collection_response_spec.rb
|
|
448
|
-
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
|
449
|
-
- spec/models/skip_types_enum_spec.rb
|
|
450
|
-
- spec/models/rpm_rpm_repository_response_spec.rb
|
|
451
|
-
- spec/models/rpm_rpm_publication_response_spec.rb
|
|
452
|
-
- spec/models/object_roles_response_spec.rb
|
|
453
|
-
- spec/models/task_group_operation_response_spec.rb
|
|
454
|
-
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
|
455
|
-
- spec/models/rpm_package_langpacks_response_spec.rb
|
|
456
|
-
- spec/models/patchedrpm_rpm_remote_spec.rb
|
|
457
|
-
- spec/models/package_checksum_type_enum_spec.rb
|
|
458
|
-
- spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
|
|
459
445
|
- spec/models/addon_response_spec.rb
|
|
460
|
-
- spec/models/
|
|
461
|
-
- spec/models/
|
|
462
|
-
- spec/models/rpm_rpm_alternate_content_source_response_spec.rb
|
|
463
|
-
- spec/models/nested_role_spec.rb
|
|
464
|
-
- spec/models/rpm_package_response_spec.rb
|
|
465
|
-
- spec/models/rpm_rpm_remote_response_spec.rb
|
|
466
|
-
- spec/models/rpm_package_category_response_spec.rb
|
|
446
|
+
- spec/models/copy_spec.rb
|
|
447
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
|
467
448
|
- spec/models/rpm_uln_remote_response_spec.rb
|
|
468
|
-
- spec/models/
|
|
469
|
-
- spec/models/
|
|
470
|
-
- spec/models/
|
|
471
|
-
- spec/models/
|
|
472
|
-
- spec/models/repair_spec.rb
|
|
473
|
-
- spec/models/paginatedrpm_package_response_list_spec.rb
|
|
474
|
-
- spec/models/policy_enum_spec.rb
|
|
475
|
-
- spec/models/variant_response_spec.rb
|
|
476
|
-
- spec/models/image_response_spec.rb
|
|
449
|
+
- spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
|
|
450
|
+
- spec/models/rpm_package_langpacks_response_spec.rb
|
|
451
|
+
- spec/models/rpm_package_environment_response_spec.rb
|
|
452
|
+
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
|
477
453
|
- spec/models/my_permissions_response_spec.rb
|
|
454
|
+
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
|
455
|
+
- spec/models/rpm_rpm_repository_response_spec.rb
|
|
456
|
+
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
|
457
|
+
- spec/models/rpm_rpm_alternate_content_source_spec.rb
|
|
458
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
459
|
+
- spec/models/rpm_package_response_spec.rb
|
|
460
|
+
- spec/models/rpm_uln_remote_spec.rb
|
|
461
|
+
- spec/models/rpm_package_spec.rb
|
|
478
462
|
- spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
|
|
463
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
|
464
|
+
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
|
479
465
|
- spec/models/rpm_rpm_repository_spec.rb
|
|
480
|
-
- spec/models/
|
|
481
|
-
- spec/models/
|
|
482
|
-
- spec/models/
|
|
483
|
-
- spec/models/
|
|
484
|
-
- spec/models/rpm_rpm_publication_spec.rb
|
|
466
|
+
- spec/models/rpm_update_collection_spec.rb
|
|
467
|
+
- spec/models/rpm_distribution_tree_response_spec.rb
|
|
468
|
+
- spec/models/package_checksum_type_enum_spec.rb
|
|
469
|
+
- spec/models/policy_enum_spec.rb
|
|
485
470
|
- spec/models/patchedrpm_rpm_repository_spec.rb
|
|
486
|
-
- spec/models/
|
|
487
|
-
- spec/models/
|
|
488
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
489
|
-
- spec/models/async_operation_response_spec.rb
|
|
490
|
-
- spec/models/rpm_modulemd_spec.rb
|
|
491
|
-
- spec/models/rpm_package_environment_response_spec.rb
|
|
492
|
-
- spec/models/metadata_checksum_type_enum_spec.rb
|
|
471
|
+
- spec/models/task_group_operation_response_spec.rb
|
|
472
|
+
- spec/models/rpm_rpm_distribution_response_spec.rb
|
|
493
473
|
- spec/models/paginatedrpm_package_group_response_list_spec.rb
|
|
494
|
-
- spec/models/
|
|
495
|
-
- spec/models/
|
|
496
|
-
- spec/models/
|
|
497
|
-
- spec/models/
|
|
498
|
-
- spec/models/
|
|
499
|
-
- spec/models/
|
|
500
|
-
- spec/models/
|
|
474
|
+
- spec/models/metadata_checksum_type_enum_spec.rb
|
|
475
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
|
476
|
+
- spec/models/rpm_modulemd_obsolete_spec.rb
|
|
477
|
+
- spec/models/patchedrpm_rpm_remote_spec.rb
|
|
478
|
+
- spec/models/comps_xml_spec.rb
|
|
479
|
+
- spec/models/patchedrpm_uln_remote_spec.rb
|
|
480
|
+
- spec/models/paginatedrpm_package_response_list_spec.rb
|
|
481
|
+
- spec/models/rpm_rpm_remote_response_spec.rb
|
|
501
482
|
- spec/models/rpm_update_record_spec.rb
|
|
483
|
+
- spec/models/rpm_rpm_publication_response_spec.rb
|
|
484
|
+
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
|
485
|
+
- spec/models/content_summary_response_spec.rb
|
|
486
|
+
- spec/models/object_roles_response_spec.rb
|
|
502
487
|
- spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
|
|
503
|
-
- spec/models/
|
|
504
|
-
- spec/models/
|
|
505
|
-
- spec/models/
|
|
488
|
+
- spec/models/rpm_update_collection_response_spec.rb
|
|
489
|
+
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
|
490
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
491
|
+
- spec/models/skip_types_enum_spec.rb
|
|
492
|
+
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
|
493
|
+
- spec/models/rpm_modulemd_response_spec.rb
|
|
494
|
+
- spec/models/rpm_modulemd_spec.rb
|
|
495
|
+
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
|
496
|
+
- spec/models/nested_role_response_spec.rb
|
|
497
|
+
- spec/models/rpm_rpm_alternate_content_source_response_spec.rb
|
|
498
|
+
- spec/models/async_operation_response_spec.rb
|
|
499
|
+
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
|
500
|
+
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
|
501
|
+
- spec/models/image_response_spec.rb
|
|
502
|
+
- spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
|
|
503
|
+
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
|
504
|
+
- spec/models/rpm_rpm_remote_spec.rb
|
|
505
|
+
- spec/models/rpm_package_category_response_spec.rb
|
|
506
506
|
- spec/spec_helper.rb
|