pulp_ostree_client 2.1.0 → 2.1.1
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/DistributionsOstreeApi.md +2 -2
- data/docs/OstreeOstreeDistribution.md +2 -0
- data/docs/OstreeOstreeDistributionResponse.md +2 -0
- data/docs/PatchedostreeOstreeDistribution.md +2 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +3 -3
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +13 -1
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +13 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/distributions_ostree_api_spec.rb +1 -1
- data/spec/models/ostree_ostree_distribution_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_distribution_spec.rb +6 -0
- data/spec/models/patchedostree_ostree_distribution_spec.rb +6 -0
- metadata +34 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b2e38c367dd9495f1d0aee4468a4c52744c5985fe2c0f2a6b1bf8ed989e0850
|
4
|
+
data.tar.gz: 51bebac98dc4bb787a6123eaac5e3653d4a474580a5b618b4a08ebdb66c28b22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c154295b40441807724d7ea0aa1897813b436be9c7984a1d0e4d6123cd8c81fda8bca1b04561abaab0b5382d68fbb9324733a08384e02dddf7c4aa1c932546f
|
7
|
+
data.tar.gz: 2c97d17b13b02a6593feaa991baa74cac43ca8d703142c2a8fceb0401e6b49fab8f9d1e6ceb6aac45b1bbc3133bd5d6f3a1a24221e0253d9e6823445cb29b177
|
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: 2.1.
|
10
|
+
- Package version: 2.1.1
|
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_ostree_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ostree_client-2.1.
|
27
|
+
gem install ./pulp_ostree_client-2.1.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.1.
|
30
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.1.1.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_ostree_client', '~> 2.1.
|
36
|
+
gem 'pulp_ostree_client', '~> 2.1.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -152,7 +152,7 @@ opts = {
|
|
152
152
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
153
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
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)
|
155
|
+
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)
|
156
156
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
157
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
158
158
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
@@ -188,7 +188,7 @@ Name | Type | Description | Notes
|
|
188
188
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
189
189
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
190
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
|
-
**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]
|
191
|
+
**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]
|
192
192
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
193
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
194
194
|
**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\") |
|
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 'PulpOstreeClient'
|
|
18
19
|
|
19
20
|
instance = PulpOstreeClient::OstreeOstreeDistribution.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 = PulpOstreeClient::OstreeOstreeDistributionResponse.new(pulp_href: nul
|
|
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,
|
@@ -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 'PulpOstreeClient'
|
|
18
19
|
|
19
20
|
instance = PulpOstreeClient::PatchedostreeOstreeDistribution.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,
|
@@ -159,7 +159,7 @@ module PulpOstreeClient
|
|
159
159
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
160
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @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)
|
162
|
+
# @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)
|
163
163
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
164
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
165
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -188,7 +188,7 @@ module PulpOstreeClient
|
|
188
188
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
189
189
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
190
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
|
-
# @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)
|
191
|
+
# @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)
|
192
192
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
193
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
194
194
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -202,7 +202,7 @@ module PulpOstreeClient
|
|
202
202
|
if @api_client.config.debugging
|
203
203
|
@api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.list ...'
|
204
204
|
end
|
205
|
-
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"]
|
205
|
+
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"]
|
206
206
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
207
207
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
208
208
|
end
|
@@ -21,6 +21,9 @@ module PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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, repository_version].hash
|
205
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
|
194
206
|
end
|
195
207
|
|
196
208
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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, repository_version].hash
|
196
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
|
185
197
|
end
|
186
198
|
|
187
199
|
# Builds the object from hash
|
@@ -21,6 +21,9 @@ module PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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 PulpOstreeClient
|
|
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, repository_version].hash
|
187
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
|
176
188
|
end
|
177
189
|
|
178
190
|
# Builds the object from hash
|
@@ -71,7 +71,7 @@ describe 'DistributionsOstreeApi' do
|
|
71
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @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)
|
74
|
+
# @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)
|
75
75
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
76
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
77
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -62,6 +62,12 @@ describe 'OstreeOstreeDistributionResponse' 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 'OstreeOstreeDistribution' 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
|
@@ -44,6 +44,12 @@ describe 'PatchedostreeOstreeDistribution' 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_ostree_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -248,51 +248,51 @@ signing_key:
|
|
248
248
|
specification_version: 4
|
249
249
|
summary: Pulp 3 API Ruby Gem
|
250
250
|
test_files:
|
251
|
-
- spec/api/
|
252
|
-
- spec/api/
|
251
|
+
- spec/api/remotes_ostree_api_spec.rb
|
252
|
+
- spec/api/content_objects_api_spec.rb
|
253
|
+
- spec/api/content_configs_api_spec.rb
|
253
254
|
- spec/api/distributions_ostree_api_spec.rb
|
254
255
|
- spec/api/repositories_ostree_versions_api_spec.rb
|
256
|
+
- spec/api/repositories_ostree_api_spec.rb
|
255
257
|
- spec/api/content_summaries_api_spec.rb
|
256
|
-
- spec/api/content_objects_api_spec.rb
|
257
|
-
- spec/api/remotes_ostree_api_spec.rb
|
258
258
|
- spec/api/content_commits_api_spec.rb
|
259
|
-
- spec/api/
|
260
|
-
- spec/api/
|
259
|
+
- spec/api/content_content_api_spec.rb
|
260
|
+
- spec/api/content_refs_api_spec.rb
|
261
261
|
- spec/api_client_spec.rb
|
262
262
|
- spec/configuration_spec.rb
|
263
|
-
- spec/models/
|
264
|
-
- spec/models/
|
265
|
-
- spec/models/content_summary_response_spec.rb
|
263
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb
|
264
|
+
- spec/models/repair_spec.rb
|
266
265
|
- spec/models/patchedostree_ostree_repository_spec.rb
|
267
|
-
- spec/models/
|
268
|
-
- spec/models/
|
269
|
-
- spec/models/
|
266
|
+
- spec/models/ostree_import_commits_to_ref_spec.rb
|
267
|
+
- spec/models/paginatedostree_ostree_config_response_list_spec.rb
|
268
|
+
- spec/models/ostree_ostree_distribution_response_spec.rb
|
270
269
|
- spec/models/ostree_ostree_summary_response_spec.rb
|
271
|
-
- spec/models/
|
270
|
+
- spec/models/ostree_ostree_remote_response_spec.rb
|
272
271
|
- spec/models/patchedostree_ostree_remote_spec.rb
|
272
|
+
- spec/models/repository_sync_url_spec.rb
|
273
|
+
- spec/models/ostree_ostree_repository_response_spec.rb
|
274
|
+
- spec/models/ostree_ostree_content_response_spec.rb
|
275
|
+
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
276
|
+
- spec/models/ostree_ostree_commit_response_spec.rb
|
277
|
+
- spec/models/ostree_ostree_object_response_spec.rb
|
273
278
|
- spec/models/ostree_ostree_config_response_spec.rb
|
274
|
-
- spec/models/
|
275
|
-
- spec/models/
|
276
|
-
- spec/models/
|
279
|
+
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
280
|
+
- spec/models/paginatedostree_ostree_commit_response_list_spec.rb
|
281
|
+
- spec/models/paginatedostree_ostree_content_response_list_spec.rb
|
282
|
+
- spec/models/async_operation_response_spec.rb
|
277
283
|
- spec/models/paginatedostree_ostree_remote_response_list_spec.rb
|
284
|
+
- spec/models/patchedostree_ostree_distribution_spec.rb
|
278
285
|
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
279
|
-
- spec/models/
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/repository_sync_url_spec.rb
|
282
|
-
- spec/models/repository_add_remove_content_spec.rb
|
283
|
-
- spec/models/repair_spec.rb
|
286
|
+
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
287
|
+
- spec/models/repository_version_response_spec.rb
|
284
288
|
- spec/models/ostree_ostree_distribution_spec.rb
|
285
289
|
- spec/models/policy_enum_spec.rb
|
286
|
-
- spec/models/
|
287
|
-
- spec/models/
|
288
|
-
- spec/models/patchedostree_ostree_distribution_spec.rb
|
289
|
-
- spec/models/async_operation_response_spec.rb
|
290
|
-
- spec/models/ostree_ostree_object_response_spec.rb
|
291
|
-
- spec/models/repository_version_response_spec.rb
|
292
|
-
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
293
|
-
- spec/models/ostree_ostree_repository_response_spec.rb
|
294
|
-
- spec/models/ostree_import_commits_to_ref_spec.rb
|
290
|
+
- spec/models/ostree_ostree_remote_spec.rb
|
291
|
+
- spec/models/repository_add_remove_content_spec.rb
|
295
292
|
- spec/models/ostree_ostree_ref_response_spec.rb
|
296
|
-
- spec/models/
|
297
|
-
- spec/models/
|
293
|
+
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
294
|
+
- spec/models/ostree_ostree_repository_spec.rb
|
295
|
+
- spec/models/ostree_import_all_spec.rb
|
296
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
297
|
+
- spec/models/content_summary_response_spec.rb
|
298
298
|
- spec/spec_helper.rb
|