pulpcore_client 3.39.3 → 3.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +10 -10
- data/docs/ContentguardsApi.md +4 -4
- data/docs/TasksApi.md +2 -2
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- 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: be7a2ca46cf70f4b4aee53a33eef943734164fb09095be735188ca3933d78412
|
4
|
+
data.tar.gz: 9355fc3c090a8d8d36aefc3f359111ecc914cd1d3d524433b8b8011f68f06a64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c955dcb0803a8a11ae1be1895257ad9f16eea1f6ff8c0feb946f07932b5b927934171cf3a7ee040e42b85624db794d499672eafd1790faaebf9c245d96a852
|
7
|
+
data.tar.gz: ba3e52f703812662fb5d12f5277a8bf2c5432e320510c7c2b2c952b88d9dd74a0f4d6e303a1e11ac45db4d8d78ba033bae2025a5d84bce286542c1f5a1edb038
|
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.40.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.40.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.40.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.40.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
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
7
8
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
8
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**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\") |
|
13
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**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\") |
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
14
13
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
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(
|
22
|
-
|
21
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
|
22
|
+
base_url: null,
|
23
23
|
pulp_created: null,
|
24
|
-
name: null,
|
25
|
-
pulp_href: null,
|
26
|
-
base_path: null,
|
27
24
|
pulp_labels: null,
|
28
|
-
|
25
|
+
base_path: null,
|
26
|
+
pulp_href: null,
|
27
|
+
hidden: null,
|
28
|
+
content_guard: null)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
data/docs/ContentguardsApi.md
CHANGED
@@ -44,8 +44,8 @@ opts = {
|
|
44
44
|
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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
45
45
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
46
46
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
47
|
-
pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
48
|
-
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
47
|
+
pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
48
|
+
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
49
49
|
q: 'q_example', # String |
|
50
50
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
51
51
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
@@ -79,8 +79,8 @@ Name | Type | Description | Notes
|
|
79
79
|
**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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
80
80
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
81
81
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
82
|
-
**pulp_type** | **String**| Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
83
|
-
**pulp_type__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
82
|
+
**pulp_type** | **String**| Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header | [optional]
|
83
|
+
**pulp_type__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header | [optional]
|
84
84
|
**q** | **String**| | [optional]
|
85
85
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
86
86
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
data/docs/TasksApi.md
CHANGED
@@ -163,7 +163,7 @@ opts = {
|
|
163
163
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
164
164
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
165
165
|
offset: 56, # Integer | The initial index from which to return the results.
|
166
|
-
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) * `
|
166
|
+
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) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
167
167
|
parent_task: 'parent_task_example', # String | Filter results where parent_task matches value
|
168
168
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
169
169
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -222,7 +222,7 @@ Name | Type | Description | Notes
|
|
222
222
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
223
223
|
**name__ne** | **String**| Filter results where name not equal to value | [optional]
|
224
224
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
225
|
-
**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) * `
|
225
|
+
**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) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
226
226
|
**parent_task** | [**String**](.md)| Filter results where parent_task matches value | [optional]
|
227
227
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
228
228
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
@@ -36,8 +36,8 @@ module PulpcoreClient
|
|
36
36
|
# @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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
37
37
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
38
38
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
39
|
-
# @option opts [String] :pulp_type Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
40
|
-
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
39
|
+
# @option opts [String] :pulp_type Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
40
|
+
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
41
41
|
# @option opts [String] :q
|
42
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -64,8 +64,8 @@ module PulpcoreClient
|
|
64
64
|
# @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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
65
65
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
66
66
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
67
|
-
# @option opts [String] :pulp_type Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
68
|
-
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
67
|
+
# @option opts [String] :pulp_type Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
68
|
+
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
69
69
|
# @option opts [String] :q
|
70
70
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
71
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -78,11 +78,11 @@ module PulpcoreClient
|
|
78
78
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
79
79
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
80
80
|
end
|
81
|
-
allowable_values = ["
|
81
|
+
allowable_values = ["core.content_redirect", "core.header", "core.rbac"]
|
82
82
|
if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
|
83
83
|
fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
|
84
84
|
end
|
85
|
-
allowable_values = ["
|
85
|
+
allowable_values = ["core.content_redirect", "core.header", "core.rbac"]
|
86
86
|
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
87
87
|
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
88
88
|
end
|
@@ -170,7 +170,7 @@ module PulpcoreClient
|
|
170
170
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
171
171
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
172
172
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
173
|
-
# @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) * `
|
173
|
+
# @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) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
174
174
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
175
175
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
176
176
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -222,7 +222,7 @@ module PulpcoreClient
|
|
222
222
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
223
223
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
224
224
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
225
|
-
# @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) * `
|
225
|
+
# @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) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
226
226
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
227
227
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
228
228
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -252,7 +252,7 @@ module PulpcoreClient
|
|
252
252
|
if @api_client.config.debugging
|
253
253
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
254
254
|
end
|
255
|
-
allowable_values = ["-
|
255
|
+
allowable_values = ["-enc_args", "-enc_kwargs", "-error", "-finished_at", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "enc_args", "enc_kwargs", "error", "finished_at", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
|
256
256
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
257
257
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
258
258
|
end
|
@@ -15,60 +15,60 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
20
|
+
|
18
21
|
# The URL for accessing the publication as defined by this distribution.
|
19
22
|
attr_accessor :base_url
|
20
23
|
|
21
|
-
# An optional content-guard.
|
22
|
-
attr_accessor :content_guard
|
23
|
-
|
24
24
|
# Timestamp of creation.
|
25
25
|
attr_accessor :pulp_created
|
26
26
|
|
27
|
-
|
28
|
-
attr_accessor :name
|
29
|
-
|
30
|
-
attr_accessor :pulp_href
|
27
|
+
attr_accessor :pulp_labels
|
31
28
|
|
32
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
33
30
|
attr_accessor :base_path
|
34
31
|
|
35
|
-
attr_accessor :
|
32
|
+
attr_accessor :pulp_href
|
36
33
|
|
37
34
|
# Whether this distribution should be shown in the content app.
|
38
35
|
attr_accessor :hidden
|
39
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
|
+
:'name' => :'name',
|
43
44
|
:'base_url' => :'base_url',
|
44
|
-
:'content_guard' => :'content_guard',
|
45
45
|
:'pulp_created' => :'pulp_created',
|
46
|
-
:'name' => :'name',
|
47
|
-
:'pulp_href' => :'pulp_href',
|
48
|
-
:'base_path' => :'base_path',
|
49
46
|
:'pulp_labels' => :'pulp_labels',
|
50
|
-
:'
|
47
|
+
:'base_path' => :'base_path',
|
48
|
+
:'pulp_href' => :'pulp_href',
|
49
|
+
:'hidden' => :'hidden',
|
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
|
+
:'name' => :'String',
|
57
58
|
:'base_url' => :'String',
|
58
|
-
:'content_guard' => :'String',
|
59
59
|
:'pulp_created' => :'DateTime',
|
60
|
-
:'name' => :'String',
|
61
|
-
:'pulp_href' => :'String',
|
62
|
-
:'base_path' => :'String',
|
63
60
|
:'pulp_labels' => :'Hash<String, String>',
|
64
|
-
:'
|
61
|
+
:'base_path' => :'String',
|
62
|
+
:'pulp_href' => :'String',
|
63
|
+
:'hidden' => :'Boolean',
|
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,34 +87,30 @@ module PulpcoreClient
|
|
87
87
|
h[k.to_sym] = v
|
88
88
|
}
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'name')
|
91
|
+
self.name = attributes[:'name']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
94
|
+
if attributes.key?(:'base_url')
|
95
|
+
self.base_url = attributes[:'base_url']
|
96
96
|
end
|
97
97
|
|
98
98
|
if attributes.key?(:'pulp_created')
|
99
99
|
self.pulp_created = attributes[:'pulp_created']
|
100
100
|
end
|
101
101
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
if attributes.key?(:'pulp_href')
|
107
|
-
self.pulp_href = attributes[:'pulp_href']
|
102
|
+
if attributes.key?(:'pulp_labels')
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
104
|
+
self.pulp_labels = value
|
105
|
+
end
|
108
106
|
end
|
109
107
|
|
110
108
|
if attributes.key?(:'base_path')
|
111
109
|
self.base_path = attributes[:'base_path']
|
112
110
|
end
|
113
111
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
|
116
|
-
self.pulp_labels = value
|
117
|
-
end
|
112
|
+
if attributes.key?(:'pulp_href')
|
113
|
+
self.pulp_href = attributes[:'pulp_href']
|
118
114
|
end
|
119
115
|
|
120
116
|
if attributes.key?(:'hidden')
|
@@ -122,6 +118,10 @@ module PulpcoreClient
|
|
122
118
|
else
|
123
119
|
self.hidden = false
|
124
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
|
+
name == o.name &&
|
155
156
|
base_url == o.base_url &&
|
156
|
-
content_guard == o.content_guard &&
|
157
157
|
pulp_created == o.pulp_created &&
|
158
|
-
name == o.name &&
|
159
|
-
pulp_href == o.pulp_href &&
|
160
|
-
base_path == o.base_path &&
|
161
158
|
pulp_labels == o.pulp_labels &&
|
162
|
-
|
159
|
+
base_path == o.base_path &&
|
160
|
+
pulp_href == o.pulp_href &&
|
161
|
+
hidden == o.hidden &&
|
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
|
+
[name, base_url, pulp_created, pulp_labels, base_path, pulp_href, hidden, content_guard].hash
|
175
175
|
end
|
176
176
|
|
177
177
|
# Builds the object from hash
|
@@ -50,8 +50,8 @@ describe 'ContentguardsApi' do
|
|
50
50
|
# @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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
51
51
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
52
52
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
|
-
# @option opts [String] :pulp_type Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
54
|
-
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
53
|
+
# @option opts [String] :pulp_type Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
54
|
+
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
55
55
|
# @option opts [String] :q
|
56
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
57
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -79,7 +79,7 @@ describe 'TasksApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @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) * `
|
82
|
+
# @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) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
83
83
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
84
84
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
85
85
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -32,13 +32,13 @@ 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 "name"' 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 "base_url"' 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
|
@@ -50,31 +50,31 @@ describe 'ArtifactDistributionResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_labels"' 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 "base_path"' 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 "pulp_href"' 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 "hidden"' 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.40.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-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|