pulpcore_client 3.61.0 → 3.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/PatchedUpstreamPulp.md +2 -2
- data/docs/PublicationsApi.md +2 -2
- data/docs/RepositoryVersionsApi.md +2 -2
- data/docs/UpstreamPulp.md +2 -2
- data/docs/UpstreamPulpResponse.md +2 -2
- data/docs/UpstreamPulpsApi.md +56 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -3
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +88 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +38 -38
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +9 -9
- data/lib/pulpcore_client/models/upstream_pulp.rb +9 -9
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +9 -9
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/repository_versions_api_spec.rb +1 -1
- data/spec/api/upstream_pulps_api_spec.rb +28 -0
- data/spec/models/artifact_distribution_response_spec.rb +9 -9
- data/spec/models/patched_upstream_pulp_spec.rb +1 -1
- data/spec/models/upstream_pulp_response_spec.rb +1 -1
- data/spec/models/upstream_pulp_spec.rb +1 -1
- 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: 88f5b31fa8396c471b8816972c252c8b711222e2615fe1ecc93a78b761cc0cec
|
4
|
+
data.tar.gz: 83c35a338ced3e520923a593db523350e527498a444eede79e031d13182d5eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ee11f2846f243735860d2ff47f37cfd481bc2fd8c74651ecce75f2ed7aa6a3b7efb7302a8f43fc1336547037ed6aa84de53451d665379e3e9632fd7324f831c
|
7
|
+
data.tar.gz: 84d0fdf6b6a3f3350940516ca8d193df220db15b5e94ec1dc1d038233f3079533c9e1da1a943cda41565f4d40670ac4e3b625ade252187e3d7509783da1914bc
|
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.62.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.62.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.62.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.62.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,15 +5,15 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
9
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
8
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
-
**
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
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\") |
|
11
13
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
12
14
|
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
-
**
|
15
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
14
16
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
15
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
16
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
17
17
|
|
18
18
|
## Code Sample
|
19
19
|
|
@@ -21,15 +21,15 @@ Name | Type | Description | Notes
|
|
21
21
|
require 'PulpcoreClient'
|
22
22
|
|
23
23
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
|
24
|
+
no_content_change_since: null,
|
25
|
+
base_url: null,
|
24
26
|
name: null,
|
25
|
-
|
27
|
+
pulp_created: null,
|
26
28
|
base_path: null,
|
27
29
|
pulp_last_updated: null,
|
28
30
|
pulp_href: null,
|
29
|
-
|
30
|
-
hidden: null
|
31
|
-
pulp_created: null,
|
32
|
-
base_url: null)
|
31
|
+
content_guard: null,
|
32
|
+
hidden: null)
|
33
33
|
```
|
34
34
|
|
35
35
|
|
data/docs/PatchedUpstreamPulp.md
CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
15
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
16
16
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
17
|
-
**
|
17
|
+
**q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional]
|
18
18
|
|
19
19
|
## Code Sample
|
20
20
|
|
@@ -31,7 +31,7 @@ instance = PulpcoreClient::PatchedUpstreamPulp.new(name: null,
|
|
31
31
|
tls_validation: null,
|
32
32
|
username: null,
|
33
33
|
password: null,
|
34
|
-
|
34
|
+
q_select: null)
|
35
35
|
```
|
36
36
|
|
37
37
|
|
data/docs/PublicationsApi.md
CHANGED
@@ -31,7 +31,7 @@ end
|
|
31
31
|
api_instance = PulpcoreClient::PublicationsApi.new
|
32
32
|
opts = {
|
33
33
|
content: 'content_example', # String | Content Unit referenced by HREF
|
34
|
-
content__in: 'content__in_example', # String |
|
34
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
37
|
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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -67,7 +67,7 @@ end
|
|
67
67
|
Name | Type | Description | Notes
|
68
68
|
------------- | ------------- | ------------- | -------------
|
69
69
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
70
|
-
**content__in** | **String
|
70
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
71
71
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
72
72
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
73
73
|
**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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
@@ -31,7 +31,7 @@ end
|
|
31
31
|
api_instance = PulpcoreClient::RepositoryVersionsApi.new
|
32
32
|
opts = {
|
33
33
|
content: 'content_example', # String | Content Unit referenced by HREF
|
34
|
-
content__in: 'content__in_example', # String |
|
34
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
36
36
|
number: 56, # Integer | Filter results where number matches value
|
37
37
|
number__gt: 56, # Integer | Filter results where number is greater than value
|
@@ -68,7 +68,7 @@ end
|
|
68
68
|
Name | Type | Description | Notes
|
69
69
|
------------- | ------------- | ------------- | -------------
|
70
70
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
71
|
-
**content__in** | **String
|
71
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
72
72
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
73
73
|
**number** | **Integer**| Filter results where number matches value | [optional]
|
74
74
|
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
data/docs/UpstreamPulp.md
CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
15
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
16
16
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
17
|
-
**
|
17
|
+
**q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional]
|
18
18
|
|
19
19
|
## Code Sample
|
20
20
|
|
@@ -31,7 +31,7 @@ instance = PulpcoreClient::UpstreamPulp.new(name: null,
|
|
31
31
|
tls_validation: null,
|
32
32
|
username: null,
|
33
33
|
password: null,
|
34
|
-
|
34
|
+
q_select: null)
|
35
35
|
```
|
36
36
|
|
37
37
|
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
16
16
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
17
17
|
**hidden_fields** | [**Array<RemoteResponseHiddenFields>**](RemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
18
|
-
**
|
18
|
+
**q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional]
|
19
19
|
**last_replication** | **DateTime** | Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed. | [optional] [readonly]
|
20
20
|
|
21
21
|
## Code Sample
|
@@ -34,7 +34,7 @@ instance = PulpcoreClient::UpstreamPulpResponse.new(pulp_href: null,
|
|
34
34
|
client_cert: null,
|
35
35
|
tls_validation: null,
|
36
36
|
hidden_fields: null,
|
37
|
-
|
37
|
+
q_select: null,
|
38
38
|
last_replication: null)
|
39
39
|
```
|
40
40
|
|
data/docs/UpstreamPulpsApi.md
CHANGED
@@ -200,8 +200,36 @@ end
|
|
200
200
|
|
201
201
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
202
202
|
opts = {
|
203
|
+
base_url: 'base_url_example', # String | Filter results where base_url matches value
|
204
|
+
base_url__contains: 'base_url__contains_example', # String | Filter results where base_url contains value
|
205
|
+
base_url__icontains: 'base_url__icontains_example', # String | Filter results where base_url contains value
|
206
|
+
base_url__iexact: 'base_url__iexact_example', # String | Filter results where base_url matches value
|
207
|
+
base_url__in: ['base_url__in_example'], # Array<String> | Filter results where base_url is in a comma-separated list of values
|
208
|
+
base_url__iregex: 'base_url__iregex_example', # String | Filter results where base_url matches regex value
|
209
|
+
base_url__istartswith: 'base_url__istartswith_example', # String | Filter results where base_url starts with value
|
210
|
+
base_url__regex: 'base_url__regex_example', # String | Filter results where base_url matches regex value
|
211
|
+
base_url__startswith: 'base_url__startswith_example', # String | Filter results where base_url starts with value
|
212
|
+
last_replication: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_replication matches value
|
213
|
+
last_replication__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_replication is greater than value
|
214
|
+
last_replication__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_replication is greater than or equal to value
|
215
|
+
last_replication__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_replication is less than value
|
216
|
+
last_replication__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_replication is less than or equal to value
|
217
|
+
last_replication__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where last_replication is between two comma separated values
|
203
218
|
limit: 56, # Integer | Number of results to return per page.
|
219
|
+
name: 'name_example', # String | Filter results where name matches value
|
220
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
221
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
222
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
223
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
224
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
225
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
226
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
227
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
204
228
|
offset: 56, # Integer | The initial index from which to return the results.
|
229
|
+
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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `pulp_label_select` - Pulp label select * `-pulp_label_select` - Pulp label select (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
230
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
231
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
232
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
205
233
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
206
234
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
207
235
|
}
|
@@ -220,8 +248,36 @@ end
|
|
220
248
|
|
221
249
|
Name | Type | Description | Notes
|
222
250
|
------------- | ------------- | ------------- | -------------
|
251
|
+
**base_url** | **String**| Filter results where base_url matches value | [optional]
|
252
|
+
**base_url__contains** | **String**| Filter results where base_url contains value | [optional]
|
253
|
+
**base_url__icontains** | **String**| Filter results where base_url contains value | [optional]
|
254
|
+
**base_url__iexact** | **String**| Filter results where base_url matches value | [optional]
|
255
|
+
**base_url__in** | [**Array<String>**](String.md)| Filter results where base_url is in a comma-separated list of values | [optional]
|
256
|
+
**base_url__iregex** | **String**| Filter results where base_url matches regex value | [optional]
|
257
|
+
**base_url__istartswith** | **String**| Filter results where base_url starts with value | [optional]
|
258
|
+
**base_url__regex** | **String**| Filter results where base_url matches regex value | [optional]
|
259
|
+
**base_url__startswith** | **String**| Filter results where base_url starts with value | [optional]
|
260
|
+
**last_replication** | **DateTime**| Filter results where last_replication matches value | [optional]
|
261
|
+
**last_replication__gt** | **DateTime**| Filter results where last_replication is greater than value | [optional]
|
262
|
+
**last_replication__gte** | **DateTime**| Filter results where last_replication is greater than or equal to value | [optional]
|
263
|
+
**last_replication__lt** | **DateTime**| Filter results where last_replication is less than value | [optional]
|
264
|
+
**last_replication__lte** | **DateTime**| Filter results where last_replication is less than or equal to value | [optional]
|
265
|
+
**last_replication__range** | [**Array<DateTime>**](DateTime.md)| Filter results where last_replication is between two comma separated values | [optional]
|
223
266
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
267
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
268
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
269
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
270
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
271
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
272
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
273
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
274
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
275
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
224
276
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
277
|
+
**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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `pulp_label_select` - Pulp label select * `-pulp_label_select` - Pulp label select (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
278
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
279
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
280
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
225
281
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
226
282
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
227
283
|
|
@@ -23,7 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# A base class for any publication viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :content Content Unit referenced by HREF
|
26
|
-
# @option opts [String] :content__in
|
26
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
28
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
29
29
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -52,7 +52,7 @@ module PulpcoreClient
|
|
52
52
|
# A base class for any publication viewset.
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @option opts [String] :content Content Unit referenced by HREF
|
55
|
-
# @option opts [String] :content__in
|
55
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
56
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
58
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -94,7 +94,7 @@ module PulpcoreClient
|
|
94
94
|
# query parameters
|
95
95
|
query_params = opts[:query_params] || {}
|
96
96
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
97
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
97
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
98
98
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
99
99
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
100
100
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
@@ -23,7 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :content Content Unit referenced by HREF
|
26
|
-
# @option opts [String] :content__in
|
26
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
28
28
|
# @option opts [Integer] :number Filter results where number matches value
|
29
29
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -53,7 +53,7 @@ module PulpcoreClient
|
|
53
53
|
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
54
54
|
# @param [Hash] opts the optional parameters
|
55
55
|
# @option opts [String] :content Content Unit referenced by HREF
|
56
|
-
# @option opts [String] :content__in
|
56
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
57
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
58
58
|
# @option opts [Integer] :number Filter results where number matches value
|
59
59
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -88,7 +88,7 @@ module PulpcoreClient
|
|
88
88
|
# query parameters
|
89
89
|
query_params = opts[:query_params] || {}
|
90
90
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
91
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
91
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
92
92
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
93
93
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
94
94
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
@@ -216,8 +216,36 @@ module PulpcoreClient
|
|
216
216
|
# List upstream pulps
|
217
217
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
|
+
# @option opts [String] :base_url Filter results where base_url matches value
|
220
|
+
# @option opts [String] :base_url__contains Filter results where base_url contains value
|
221
|
+
# @option opts [String] :base_url__icontains Filter results where base_url contains value
|
222
|
+
# @option opts [String] :base_url__iexact Filter results where base_url matches value
|
223
|
+
# @option opts [Array<String>] :base_url__in Filter results where base_url is in a comma-separated list of values
|
224
|
+
# @option opts [String] :base_url__iregex Filter results where base_url matches regex value
|
225
|
+
# @option opts [String] :base_url__istartswith Filter results where base_url starts with value
|
226
|
+
# @option opts [String] :base_url__regex Filter results where base_url matches regex value
|
227
|
+
# @option opts [String] :base_url__startswith Filter results where base_url starts with value
|
228
|
+
# @option opts [DateTime] :last_replication Filter results where last_replication matches value
|
229
|
+
# @option opts [DateTime] :last_replication__gt Filter results where last_replication is greater than value
|
230
|
+
# @option opts [DateTime] :last_replication__gte Filter results where last_replication is greater than or equal to value
|
231
|
+
# @option opts [DateTime] :last_replication__lt Filter results where last_replication is less than value
|
232
|
+
# @option opts [DateTime] :last_replication__lte Filter results where last_replication is less than or equal to value
|
233
|
+
# @option opts [Array<DateTime>] :last_replication__range Filter results where last_replication is between two comma separated values
|
219
234
|
# @option opts [Integer] :limit Number of results to return per page.
|
235
|
+
# @option opts [String] :name Filter results where name matches value
|
236
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
237
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
238
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
239
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
240
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
241
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
242
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
243
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
220
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `pulp_label_select` - Pulp label select * `-pulp_label_select` - Pulp label select (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
246
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
247
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
248
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
221
249
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
222
250
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
223
251
|
# @return [PaginatedUpstreamPulpResponseList]
|
@@ -229,8 +257,36 @@ module PulpcoreClient
|
|
229
257
|
# List upstream pulps
|
230
258
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
231
259
|
# @param [Hash] opts the optional parameters
|
260
|
+
# @option opts [String] :base_url Filter results where base_url matches value
|
261
|
+
# @option opts [String] :base_url__contains Filter results where base_url contains value
|
262
|
+
# @option opts [String] :base_url__icontains Filter results where base_url contains value
|
263
|
+
# @option opts [String] :base_url__iexact Filter results where base_url matches value
|
264
|
+
# @option opts [Array<String>] :base_url__in Filter results where base_url is in a comma-separated list of values
|
265
|
+
# @option opts [String] :base_url__iregex Filter results where base_url matches regex value
|
266
|
+
# @option opts [String] :base_url__istartswith Filter results where base_url starts with value
|
267
|
+
# @option opts [String] :base_url__regex Filter results where base_url matches regex value
|
268
|
+
# @option opts [String] :base_url__startswith Filter results where base_url starts with value
|
269
|
+
# @option opts [DateTime] :last_replication Filter results where last_replication matches value
|
270
|
+
# @option opts [DateTime] :last_replication__gt Filter results where last_replication is greater than value
|
271
|
+
# @option opts [DateTime] :last_replication__gte Filter results where last_replication is greater than or equal to value
|
272
|
+
# @option opts [DateTime] :last_replication__lt Filter results where last_replication is less than value
|
273
|
+
# @option opts [DateTime] :last_replication__lte Filter results where last_replication is less than or equal to value
|
274
|
+
# @option opts [Array<DateTime>] :last_replication__range Filter results where last_replication is between two comma separated values
|
232
275
|
# @option opts [Integer] :limit Number of results to return per page.
|
276
|
+
# @option opts [String] :name Filter results where name matches value
|
277
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
278
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
279
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
280
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
281
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
282
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
283
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
284
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
233
285
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
286
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `pulp_label_select` - Pulp label select * `-pulp_label_select` - Pulp label select (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
287
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
288
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
289
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
234
290
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
235
291
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
236
292
|
# @return [Array<(PaginatedUpstreamPulpResponseList, Integer, Hash)>] PaginatedUpstreamPulpResponseList data, response status code and response headers
|
@@ -238,13 +294,45 @@ module PulpcoreClient
|
|
238
294
|
if @api_client.config.debugging
|
239
295
|
@api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.list ...'
|
240
296
|
end
|
297
|
+
allowable_values = ["-api_root", "-base_url", "-ca_cert", "-client_cert", "-client_key", "-domain", "-last_replication", "-name", "-password", "-pk", "-pulp_created", "-pulp_id", "-pulp_label_select", "-pulp_last_updated", "-q_select", "-tls_validation", "-username", "api_root", "base_url", "ca_cert", "client_cert", "client_key", "domain", "last_replication", "name", "password", "pk", "pulp_created", "pulp_id", "pulp_label_select", "pulp_last_updated", "q_select", "tls_validation", "username"]
|
298
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
299
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
300
|
+
end
|
241
301
|
# resource path
|
242
302
|
local_var_path = '/pulp/api/v3/upstream-pulps/'
|
243
303
|
|
244
304
|
# query parameters
|
245
305
|
query_params = opts[:query_params] || {}
|
306
|
+
query_params[:'base_url'] = opts[:'base_url'] if !opts[:'base_url'].nil?
|
307
|
+
query_params[:'base_url__contains'] = opts[:'base_url__contains'] if !opts[:'base_url__contains'].nil?
|
308
|
+
query_params[:'base_url__icontains'] = opts[:'base_url__icontains'] if !opts[:'base_url__icontains'].nil?
|
309
|
+
query_params[:'base_url__iexact'] = opts[:'base_url__iexact'] if !opts[:'base_url__iexact'].nil?
|
310
|
+
query_params[:'base_url__in'] = @api_client.build_collection_param(opts[:'base_url__in'], :csv) if !opts[:'base_url__in'].nil?
|
311
|
+
query_params[:'base_url__iregex'] = opts[:'base_url__iregex'] if !opts[:'base_url__iregex'].nil?
|
312
|
+
query_params[:'base_url__istartswith'] = opts[:'base_url__istartswith'] if !opts[:'base_url__istartswith'].nil?
|
313
|
+
query_params[:'base_url__regex'] = opts[:'base_url__regex'] if !opts[:'base_url__regex'].nil?
|
314
|
+
query_params[:'base_url__startswith'] = opts[:'base_url__startswith'] if !opts[:'base_url__startswith'].nil?
|
315
|
+
query_params[:'last_replication'] = opts[:'last_replication'] if !opts[:'last_replication'].nil?
|
316
|
+
query_params[:'last_replication__gt'] = opts[:'last_replication__gt'] if !opts[:'last_replication__gt'].nil?
|
317
|
+
query_params[:'last_replication__gte'] = opts[:'last_replication__gte'] if !opts[:'last_replication__gte'].nil?
|
318
|
+
query_params[:'last_replication__lt'] = opts[:'last_replication__lt'] if !opts[:'last_replication__lt'].nil?
|
319
|
+
query_params[:'last_replication__lte'] = opts[:'last_replication__lte'] if !opts[:'last_replication__lte'].nil?
|
320
|
+
query_params[:'last_replication__range'] = @api_client.build_collection_param(opts[:'last_replication__range'], :csv) if !opts[:'last_replication__range'].nil?
|
246
321
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
322
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
323
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
324
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
325
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
326
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
327
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
328
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
329
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
330
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
247
331
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
332
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
333
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
334
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
335
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
248
336
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
249
337
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
250
338
|
|
@@ -17,11 +17,17 @@ module PulpcoreClient
|
|
17
17
|
class ArtifactDistributionResponse
|
18
18
|
attr_accessor :pulp_labels
|
19
19
|
|
20
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
21
|
+
attr_accessor :no_content_change_since
|
22
|
+
|
23
|
+
# The URL for accessing the publication as defined by this distribution.
|
24
|
+
attr_accessor :base_url
|
25
|
+
|
20
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
21
27
|
attr_accessor :name
|
22
28
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
29
|
+
# Timestamp of creation.
|
30
|
+
attr_accessor :pulp_created
|
25
31
|
|
26
32
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
33
|
attr_accessor :base_path
|
@@ -31,31 +37,25 @@ module PulpcoreClient
|
|
31
37
|
|
32
38
|
attr_accessor :pulp_href
|
33
39
|
|
34
|
-
#
|
35
|
-
attr_accessor :
|
40
|
+
# An optional content-guard.
|
41
|
+
attr_accessor :content_guard
|
36
42
|
|
37
43
|
# Whether this distribution should be shown in the content app.
|
38
44
|
attr_accessor :hidden
|
39
45
|
|
40
|
-
# Timestamp of creation.
|
41
|
-
attr_accessor :pulp_created
|
42
|
-
|
43
|
-
# The URL for accessing the publication as defined by this distribution.
|
44
|
-
attr_accessor :base_url
|
45
|
-
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
49
49
|
:'pulp_labels' => :'pulp_labels',
|
50
|
+
:'no_content_change_since' => :'no_content_change_since',
|
51
|
+
:'base_url' => :'base_url',
|
50
52
|
:'name' => :'name',
|
51
|
-
:'
|
53
|
+
:'pulp_created' => :'pulp_created',
|
52
54
|
:'base_path' => :'base_path',
|
53
55
|
:'pulp_last_updated' => :'pulp_last_updated',
|
54
56
|
:'pulp_href' => :'pulp_href',
|
55
|
-
:'
|
56
|
-
:'hidden' => :'hidden'
|
57
|
-
:'pulp_created' => :'pulp_created',
|
58
|
-
:'base_url' => :'base_url'
|
57
|
+
:'content_guard' => :'content_guard',
|
58
|
+
:'hidden' => :'hidden'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -63,15 +63,15 @@ module PulpcoreClient
|
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
65
|
:'pulp_labels' => :'Hash<String, String>',
|
66
|
+
:'no_content_change_since' => :'String',
|
67
|
+
:'base_url' => :'String',
|
66
68
|
:'name' => :'String',
|
67
|
-
:'
|
69
|
+
:'pulp_created' => :'DateTime',
|
68
70
|
:'base_path' => :'String',
|
69
71
|
:'pulp_last_updated' => :'DateTime',
|
70
72
|
:'pulp_href' => :'String',
|
71
|
-
:'
|
72
|
-
:'hidden' => :'Boolean'
|
73
|
-
:'pulp_created' => :'DateTime',
|
74
|
-
:'base_url' => :'String'
|
73
|
+
:'content_guard' => :'String',
|
74
|
+
:'hidden' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
77
77
|
|
@@ -103,12 +103,20 @@ module PulpcoreClient
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
if attributes.key?(:'no_content_change_since')
|
107
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'base_url')
|
111
|
+
self.base_url = attributes[:'base_url']
|
112
|
+
end
|
113
|
+
|
106
114
|
if attributes.key?(:'name')
|
107
115
|
self.name = attributes[:'name']
|
108
116
|
end
|
109
117
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
118
|
+
if attributes.key?(:'pulp_created')
|
119
|
+
self.pulp_created = attributes[:'pulp_created']
|
112
120
|
end
|
113
121
|
|
114
122
|
if attributes.key?(:'base_path')
|
@@ -123,8 +131,8 @@ module PulpcoreClient
|
|
123
131
|
self.pulp_href = attributes[:'pulp_href']
|
124
132
|
end
|
125
133
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
134
|
+
if attributes.key?(:'content_guard')
|
135
|
+
self.content_guard = attributes[:'content_guard']
|
128
136
|
end
|
129
137
|
|
130
138
|
if attributes.key?(:'hidden')
|
@@ -132,14 +140,6 @@ module PulpcoreClient
|
|
132
140
|
else
|
133
141
|
self.hidden = false
|
134
142
|
end
|
135
|
-
|
136
|
-
if attributes.key?(:'pulp_created')
|
137
|
-
self.pulp_created = attributes[:'pulp_created']
|
138
|
-
end
|
139
|
-
|
140
|
-
if attributes.key?(:'base_url')
|
141
|
-
self.base_url = attributes[:'base_url']
|
142
|
-
end
|
143
143
|
end
|
144
144
|
|
145
145
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -171,15 +171,15 @@ module PulpcoreClient
|
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
173
|
pulp_labels == o.pulp_labels &&
|
174
|
+
no_content_change_since == o.no_content_change_since &&
|
175
|
+
base_url == o.base_url &&
|
174
176
|
name == o.name &&
|
175
|
-
|
177
|
+
pulp_created == o.pulp_created &&
|
176
178
|
base_path == o.base_path &&
|
177
179
|
pulp_last_updated == o.pulp_last_updated &&
|
178
180
|
pulp_href == o.pulp_href &&
|
179
|
-
|
180
|
-
hidden == o.hidden
|
181
|
-
pulp_created == o.pulp_created &&
|
182
|
-
base_url == o.base_url
|
181
|
+
content_guard == o.content_guard &&
|
182
|
+
hidden == o.hidden
|
183
183
|
end
|
184
184
|
|
185
185
|
# @see the `==` method
|
@@ -191,7 +191,7 @@ module PulpcoreClient
|
|
191
191
|
# Calculates hash code according to all attributes.
|
192
192
|
# @return [Integer] Hash code
|
193
193
|
def hash
|
194
|
-
[pulp_labels, name,
|
194
|
+
[pulp_labels, no_content_change_since, base_url, name, pulp_created, base_path, pulp_last_updated, pulp_href, content_guard, hidden].hash
|
195
195
|
end
|
196
196
|
|
197
197
|
# Builds the object from hash
|
@@ -45,8 +45,8 @@ module PulpcoreClient
|
|
45
45
|
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
46
46
|
attr_accessor :password
|
47
47
|
|
48
|
-
#
|
49
|
-
attr_accessor :
|
48
|
+
# Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\"
|
49
|
+
attr_accessor :q_select
|
50
50
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
52
|
def self.attribute_map
|
@@ -61,7 +61,7 @@ module PulpcoreClient
|
|
61
61
|
:'tls_validation' => :'tls_validation',
|
62
62
|
:'username' => :'username',
|
63
63
|
:'password' => :'password',
|
64
|
-
:'
|
64
|
+
:'q_select' => :'q_select'
|
65
65
|
}
|
66
66
|
end
|
67
67
|
|
@@ -78,7 +78,7 @@ module PulpcoreClient
|
|
78
78
|
:'tls_validation' => :'Boolean',
|
79
79
|
:'username' => :'String',
|
80
80
|
:'password' => :'String',
|
81
|
-
:'
|
81
|
+
:'q_select' => :'String'
|
82
82
|
}
|
83
83
|
end
|
84
84
|
|
@@ -91,7 +91,7 @@ module PulpcoreClient
|
|
91
91
|
:'client_key',
|
92
92
|
:'username',
|
93
93
|
:'password',
|
94
|
-
:'
|
94
|
+
:'q_select'
|
95
95
|
])
|
96
96
|
end
|
97
97
|
|
@@ -150,8 +150,8 @@ module PulpcoreClient
|
|
150
150
|
self.password = attributes[:'password']
|
151
151
|
end
|
152
152
|
|
153
|
-
if attributes.key?(:'
|
154
|
-
self.
|
153
|
+
if attributes.key?(:'q_select')
|
154
|
+
self.q_select = attributes[:'q_select']
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
@@ -318,7 +318,7 @@ module PulpcoreClient
|
|
318
318
|
tls_validation == o.tls_validation &&
|
319
319
|
username == o.username &&
|
320
320
|
password == o.password &&
|
321
|
-
|
321
|
+
q_select == o.q_select
|
322
322
|
end
|
323
323
|
|
324
324
|
# @see the `==` method
|
@@ -330,7 +330,7 @@ module PulpcoreClient
|
|
330
330
|
# Calculates hash code according to all attributes.
|
331
331
|
# @return [Integer] Hash code
|
332
332
|
def hash
|
333
|
-
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password,
|
333
|
+
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password, q_select].hash
|
334
334
|
end
|
335
335
|
|
336
336
|
# Builds the object from hash
|
@@ -45,8 +45,8 @@ module PulpcoreClient
|
|
45
45
|
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
46
46
|
attr_accessor :password
|
47
47
|
|
48
|
-
#
|
49
|
-
attr_accessor :
|
48
|
+
# Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\"
|
49
|
+
attr_accessor :q_select
|
50
50
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
52
|
def self.attribute_map
|
@@ -61,7 +61,7 @@ module PulpcoreClient
|
|
61
61
|
:'tls_validation' => :'tls_validation',
|
62
62
|
:'username' => :'username',
|
63
63
|
:'password' => :'password',
|
64
|
-
:'
|
64
|
+
:'q_select' => :'q_select'
|
65
65
|
}
|
66
66
|
end
|
67
67
|
|
@@ -78,7 +78,7 @@ module PulpcoreClient
|
|
78
78
|
:'tls_validation' => :'Boolean',
|
79
79
|
:'username' => :'String',
|
80
80
|
:'password' => :'String',
|
81
|
-
:'
|
81
|
+
:'q_select' => :'String'
|
82
82
|
}
|
83
83
|
end
|
84
84
|
|
@@ -91,7 +91,7 @@ module PulpcoreClient
|
|
91
91
|
:'client_key',
|
92
92
|
:'username',
|
93
93
|
:'password',
|
94
|
-
:'
|
94
|
+
:'q_select'
|
95
95
|
])
|
96
96
|
end
|
97
97
|
|
@@ -150,8 +150,8 @@ module PulpcoreClient
|
|
150
150
|
self.password = attributes[:'password']
|
151
151
|
end
|
152
152
|
|
153
|
-
if attributes.key?(:'
|
154
|
-
self.
|
153
|
+
if attributes.key?(:'q_select')
|
154
|
+
self.q_select = attributes[:'q_select']
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
@@ -345,7 +345,7 @@ module PulpcoreClient
|
|
345
345
|
tls_validation == o.tls_validation &&
|
346
346
|
username == o.username &&
|
347
347
|
password == o.password &&
|
348
|
-
|
348
|
+
q_select == o.q_select
|
349
349
|
end
|
350
350
|
|
351
351
|
# @see the `==` method
|
@@ -357,7 +357,7 @@ module PulpcoreClient
|
|
357
357
|
# Calculates hash code according to all attributes.
|
358
358
|
# @return [Integer] Hash code
|
359
359
|
def hash
|
360
|
-
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password,
|
360
|
+
[name, base_url, api_root, domain, ca_cert, client_cert, client_key, tls_validation, username, password, q_select].hash
|
361
361
|
end
|
362
362
|
|
363
363
|
# Builds the object from hash
|
@@ -47,8 +47,8 @@ module PulpcoreClient
|
|
47
47
|
# List of hidden (write only) fields
|
48
48
|
attr_accessor :hidden_fields
|
49
49
|
|
50
|
-
#
|
51
|
-
attr_accessor :
|
50
|
+
# Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\"
|
51
|
+
attr_accessor :q_select
|
52
52
|
|
53
53
|
# Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed.
|
54
54
|
attr_accessor :last_replication
|
@@ -67,7 +67,7 @@ module PulpcoreClient
|
|
67
67
|
:'client_cert' => :'client_cert',
|
68
68
|
:'tls_validation' => :'tls_validation',
|
69
69
|
:'hidden_fields' => :'hidden_fields',
|
70
|
-
:'
|
70
|
+
:'q_select' => :'q_select',
|
71
71
|
:'last_replication' => :'last_replication'
|
72
72
|
}
|
73
73
|
end
|
@@ -86,7 +86,7 @@ module PulpcoreClient
|
|
86
86
|
:'client_cert' => :'String',
|
87
87
|
:'tls_validation' => :'Boolean',
|
88
88
|
:'hidden_fields' => :'Array<RemoteResponseHiddenFields>',
|
89
|
-
:'
|
89
|
+
:'q_select' => :'String',
|
90
90
|
:'last_replication' => :'DateTime'
|
91
91
|
}
|
92
92
|
end
|
@@ -97,7 +97,7 @@ module PulpcoreClient
|
|
97
97
|
:'domain',
|
98
98
|
:'ca_cert',
|
99
99
|
:'client_cert',
|
100
|
-
:'
|
100
|
+
:'q_select',
|
101
101
|
])
|
102
102
|
end
|
103
103
|
|
@@ -162,8 +162,8 @@ module PulpcoreClient
|
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
165
|
-
if attributes.key?(:'
|
166
|
-
self.
|
165
|
+
if attributes.key?(:'q_select')
|
166
|
+
self.q_select = attributes[:'q_select']
|
167
167
|
end
|
168
168
|
|
169
169
|
if attributes.key?(:'last_replication')
|
@@ -215,7 +215,7 @@ module PulpcoreClient
|
|
215
215
|
client_cert == o.client_cert &&
|
216
216
|
tls_validation == o.tls_validation &&
|
217
217
|
hidden_fields == o.hidden_fields &&
|
218
|
-
|
218
|
+
q_select == o.q_select &&
|
219
219
|
last_replication == o.last_replication
|
220
220
|
end
|
221
221
|
|
@@ -228,7 +228,7 @@ module PulpcoreClient
|
|
228
228
|
# Calculates hash code according to all attributes.
|
229
229
|
# @return [Integer] Hash code
|
230
230
|
def hash
|
231
|
-
[pulp_href, pulp_created, pulp_last_updated, name, base_url, api_root, domain, ca_cert, client_cert, tls_validation, hidden_fields,
|
231
|
+
[pulp_href, pulp_created, pulp_last_updated, name, base_url, api_root, domain, ca_cert, client_cert, tls_validation, hidden_fields, q_select, last_replication].hash
|
232
232
|
end
|
233
233
|
|
234
234
|
# Builds the object from hash
|
@@ -37,7 +37,7 @@ describe 'PublicationsApi' do
|
|
37
37
|
# A base class for any publication viewset.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :content Content Unit referenced by HREF
|
40
|
-
# @option opts [String] :content__in
|
40
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
43
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -37,7 +37,7 @@ describe 'RepositoryVersionsApi' do
|
|
37
37
|
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :content Content Unit referenced by HREF
|
40
|
-
# @option opts [String] :content__in
|
40
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
42
|
# @option opts [Integer] :number Filter results where number matches value
|
43
43
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -73,8 +73,36 @@ describe 'UpstreamPulpsApi' do
|
|
73
73
|
# List upstream pulps
|
74
74
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
+
# @option opts [String] :base_url Filter results where base_url matches value
|
77
|
+
# @option opts [String] :base_url__contains Filter results where base_url contains value
|
78
|
+
# @option opts [String] :base_url__icontains Filter results where base_url contains value
|
79
|
+
# @option opts [String] :base_url__iexact Filter results where base_url matches value
|
80
|
+
# @option opts [Array<String>] :base_url__in Filter results where base_url is in a comma-separated list of values
|
81
|
+
# @option opts [String] :base_url__iregex Filter results where base_url matches regex value
|
82
|
+
# @option opts [String] :base_url__istartswith Filter results where base_url starts with value
|
83
|
+
# @option opts [String] :base_url__regex Filter results where base_url matches regex value
|
84
|
+
# @option opts [String] :base_url__startswith Filter results where base_url starts with value
|
85
|
+
# @option opts [DateTime] :last_replication Filter results where last_replication matches value
|
86
|
+
# @option opts [DateTime] :last_replication__gt Filter results where last_replication is greater than value
|
87
|
+
# @option opts [DateTime] :last_replication__gte Filter results where last_replication is greater than or equal to value
|
88
|
+
# @option opts [DateTime] :last_replication__lt Filter results where last_replication is less than value
|
89
|
+
# @option opts [DateTime] :last_replication__lte Filter results where last_replication is less than or equal to value
|
90
|
+
# @option opts [Array<DateTime>] :last_replication__range Filter results where last_replication is between two comma separated values
|
76
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
92
|
+
# @option opts [String] :name Filter results where name matches value
|
93
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
94
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
95
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
96
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
97
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
98
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
99
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
100
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
77
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `pulp_label_select` - Pulp label select * `-pulp_label_select` - Pulp label select (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
104
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
105
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
78
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
108
|
# @return [PaginatedUpstreamPulpResponseList]
|
@@ -38,55 +38,55 @@ describe 'ArtifactDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "no_content_change_since"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "base_url"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "name"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_created"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "base_path"' 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 "pulp_last_updated"' 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 "pulp_href"' 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
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "content_guard"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
describe 'test attribute "
|
89
|
+
describe 'test attribute "hidden"' do
|
90
90
|
it 'should work' do
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
92
|
end
|
@@ -92,7 +92,7 @@ describe 'PatchedUpstreamPulp' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
describe 'test attribute "
|
95
|
+
describe 'test attribute "q_select"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
98
|
end
|
@@ -98,7 +98,7 @@ describe 'UpstreamPulpResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
describe 'test attribute "
|
101
|
+
describe 'test attribute "q_select"' do
|
102
102
|
it 'should work' do
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
104
|
end
|
@@ -92,7 +92,7 @@ describe 'UpstreamPulp' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
describe 'test attribute "
|
95
|
+
describe 'test attribute "q_select"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
98
|
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.62.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: 2024-09-
|
11
|
+
date: 2024-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|