pulpcore_client 3.22.35 → 3.23.0.dev1676517320
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.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactDistributionResponse.md +10 -10
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +1 -1
- data/docs/ContentguardsApi.md +1 -1
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +1 -1
- data/docs/DistributionsApi.md +5 -1
- data/docs/DistributionsArtifactsApi.md +5 -1
- data/docs/ExportersFilesystemApi.md +1 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsRolesApi.md +1 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PublicationsApi.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +1 -1
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +17 -1
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/RolesApi.md +1 -1
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +1 -1
- data/docs/TasksApi.md +1 -1
- data/docs/UploadsApi.md +1 -1
- data/docs/UsersApi.md +1 -1
- data/docs/UsersRolesApi.md +1 -1
- data/docs/WorkersApi.md +1 -1
- data/lib/pulpcore_client/api/distributions_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/repositories_api.rb +24 -0
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +45 -45
- data/lib/pulpcore_client/models/nested_role.rb +19 -0
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/distributions_api_spec.rb +2 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/repositories_api_spec.rb +8 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- metadata +150 -150
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 733e57f9722268cac6f47d7375201b3287df6de4148d68197d27dfb13b3e8698
|
4
|
+
data.tar.gz: ba21c474dd4f671dfdeada76c9e2d0ce32f0ac5ab453b96c80f2e9fe12352528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abccfccceb6f91def7019b861247fd1997a9e6a402d167d1bf1094c1e9a3bf30a8a53c8ce915d596fc2c0d56419b9952f1692b7680476ee1942ae80d871d93f5
|
7
|
+
data.tar.gz: 70689932755f89c30a6b7a761789c815f9345368ff9acdd2a3ed2e16d8f8a92501bd0260c3ec654d4b1275891292da623f9b7f58582c1ff3a4be56d17528515e
|
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.23.0.dev1676517320
|
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.23.0.dev1676517320.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.23.0.dev1676517320.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.23.0.dev1676517320'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -91,7 +91,7 @@ end
|
|
91
91
|
|
92
92
|
## Documentation for API Endpoints
|
93
93
|
|
94
|
-
All URIs are relative to *
|
94
|
+
All URIs are relative to *https://pulp*
|
95
95
|
|
96
96
|
Class | Method | HTTP request | Description
|
97
97
|
------------ | ------------- | ------------- | -------------
|
data/docs/AccessPoliciesApi.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
7
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
10
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
10
|
**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
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpcoreClient'
|
19
19
|
|
20
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
21
|
-
content_guard: null,
|
22
|
-
base_url: null,
|
23
|
-
pulp_href: null,
|
24
|
-
pulp_labels: null,
|
20
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
|
25
21
|
pulp_created: null,
|
26
|
-
|
22
|
+
pulp_href: null,
|
23
|
+
base_path: null,
|
24
|
+
base_url: null,
|
25
|
+
name: null,
|
26
|
+
pulp_labels: null)
|
27
27
|
```
|
28
28
|
|
29
29
|
|
data/docs/ArtifactsApi.md
CHANGED
data/docs/ContentApi.md
CHANGED
data/docs/ContentguardsApi.md
CHANGED
data/docs/DistributionsApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpcoreClient::DistributionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -43,6 +43,8 @@ opts = {
|
|
43
43
|
offset: 56, # Integer | The initial index from which to return the results.
|
44
44
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
45
45
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
46
|
+
repository: 'repository_example', # String | Filter results where repository matches value
|
47
|
+
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
46
48
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
47
49
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
48
50
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
@@ -75,6 +77,8 @@ Name | Type | Description | Notes
|
|
75
77
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
76
78
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
77
79
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
80
|
+
**repository** | **String**| Filter results where repository matches value | [optional]
|
81
|
+
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
78
82
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
79
83
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
80
84
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpcoreClient::DistributionsArtifactsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -44,6 +44,8 @@ opts = {
|
|
44
44
|
offset: 56, # Integer | The initial index from which to return the results.
|
45
45
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
46
46
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
47
|
+
repository: 'repository_example', # String | Filter results where repository matches value
|
48
|
+
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
47
49
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
48
50
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
49
51
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
@@ -76,6 +78,8 @@ Name | Type | Description | Notes
|
|
76
78
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
77
79
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
78
80
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
81
|
+
**repository** | **String**| Filter results where repository matches value | [optional]
|
82
|
+
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
79
83
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
80
84
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
81
85
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
data/docs/ExportersPulpApi.md
CHANGED
data/docs/GroupsApi.md
CHANGED
data/docs/GroupsRolesApi.md
CHANGED
data/docs/GroupsUsersApi.md
CHANGED
data/docs/ImportersPulpApi.md
CHANGED
data/docs/OrphansApi.md
CHANGED
data/docs/OrphansCleanupApi.md
CHANGED
data/docs/PublicationsApi.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**is_set** | **Boolean** | | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/RemotesApi.md
CHANGED
data/docs/RepairApi.md
CHANGED
data/docs/RepositoriesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpcoreClient::RepositoriesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -40,6 +40,14 @@ opts = {
|
|
40
40
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
41
41
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
42
42
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
43
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
44
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
45
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
46
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
47
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
48
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
49
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
50
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
43
51
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
44
52
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
45
53
|
}
|
@@ -68,6 +76,14 @@ Name | Type | Description | Notes
|
|
68
76
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
69
77
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
70
78
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
79
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
80
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
81
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
82
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
83
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
84
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
85
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
86
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
71
87
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
72
88
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
73
89
|
|
data/docs/RolesApi.md
CHANGED
data/docs/SigningServicesApi.md
CHANGED
data/docs/StatusApi.md
CHANGED
data/docs/TaskGroupsApi.md
CHANGED
data/docs/TaskSchedulesApi.md
CHANGED
data/docs/TasksApi.md
CHANGED
data/docs/UploadsApi.md
CHANGED
data/docs/UsersApi.md
CHANGED
data/docs/UsersRolesApi.md
CHANGED
data/docs/WorkersApi.md
CHANGED
@@ -35,6 +35,8 @@ module PulpcoreClient
|
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
36
|
# @option opts [Array<String>] :ordering Ordering
|
37
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
38
|
+
# @option opts [String] :repository Filter results where repository matches value
|
39
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
38
40
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
39
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
40
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -60,6 +62,8 @@ module PulpcoreClient
|
|
60
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
63
|
# @option opts [Array<String>] :ordering Ordering
|
62
64
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
65
|
+
# @option opts [String] :repository Filter results where repository matches value
|
66
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
63
67
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
64
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -90,6 +94,8 @@ module PulpcoreClient
|
|
90
94
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
91
95
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
92
96
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
97
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
98
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
93
99
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
94
100
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
95
101
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -35,6 +35,8 @@ module PulpcoreClient
|
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
36
|
# @option opts [Array<String>] :ordering Ordering
|
37
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
38
|
+
# @option opts [String] :repository Filter results where repository matches value
|
39
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
38
40
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
39
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
40
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -60,6 +62,8 @@ module PulpcoreClient
|
|
60
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
63
|
# @option opts [Array<String>] :ordering Ordering
|
62
64
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
65
|
+
# @option opts [String] :repository Filter results where repository matches value
|
66
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
63
67
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
64
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -90,6 +94,8 @@ module PulpcoreClient
|
|
90
94
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
91
95
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
92
96
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
97
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
98
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
93
99
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
94
100
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
95
101
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -32,6 +32,14 @@ module PulpcoreClient
|
|
32
32
|
# @option opts [Array<String>] :ordering Ordering
|
33
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
34
34
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
35
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
36
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
37
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
38
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
39
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
40
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
41
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
42
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
35
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
36
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
37
45
|
# @return [PaginatedRepositoryResponseList]
|
@@ -53,6 +61,14 @@ module PulpcoreClient
|
|
53
61
|
# @option opts [Array<String>] :ordering Ordering
|
54
62
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
55
63
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
64
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
65
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
66
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
67
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
68
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
69
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
70
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
71
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
56
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
57
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
58
74
|
# @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
|
@@ -79,6 +95,14 @@ module PulpcoreClient
|
|
79
95
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
80
96
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
81
97
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
98
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
99
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
100
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
101
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
102
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
103
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
104
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
105
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
82
106
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
83
107
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
84
108
|
|
@@ -72,7 +72,7 @@ module PulpcoreClient
|
|
72
72
|
if @api_client.config.debugging
|
73
73
|
@api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
|
74
74
|
end
|
75
|
-
allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
75
|
+
allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-versions", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "versions"]
|
76
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
77
77
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
78
78
|
end
|