pulp_python_client 3.29.0 → 3.30.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/RepositoriesPythonBlocklistEntriesApi.md +16 -0
- data/lib/pulp_python_client/api/repositories_python_blocklist_entries_api.rb +28 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/repositories_python_blocklist_entries_api_spec.rb +8 -0
- 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: 15e4f2861e510ca6564945d59dc97d4bf4a7b6d9a7b227b7ab3156f748badcff
|
|
4
|
+
data.tar.gz: 44900a967f4a7c5da98d1b4e3df9adfadf3828a4e71de18b7ba422ec2aa6ad0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d54fc16268c807ee5004dcd4280e415377ac317e3246f78e0c64853370ffb20224b107200f2d69fcb886472ffd8f3c77086d2c836c40eaf1d9a9a720efa7cc20
|
|
7
|
+
data.tar.gz: fb9bd8d97dec3a12b334058094aa4b0bdb799c30c3142d60f1108a1692c9633397f3d0d39a90de575e7f713f9ab9cfffeffa986425525a74a3727fcfea8ad878
|
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.30.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_python_client-3.
|
|
28
|
+
gem install ./pulp_python_client-3.30.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.30.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_python_client', '~> 3.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.30.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -183,8 +183,16 @@ api_instance = PulpPythonClient::RepositoriesPythonBlocklistEntriesApi.new
|
|
|
183
183
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
184
184
|
opts = {
|
|
185
185
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
186
|
+
filename: 'filename_example', # String | Filter results where filename matches value
|
|
186
187
|
limit: 56, # Integer | Number of results to return per page.
|
|
188
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
187
189
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
190
|
+
ordering: ['-added_by'], # 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) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
191
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
192
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
193
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
194
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
195
|
+
version: 'version_example', # String | Filter results where version matches value
|
|
188
196
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
189
197
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
190
198
|
}
|
|
@@ -222,8 +230,16 @@ end
|
|
|
222
230
|
| ---- | ---- | ----------- | ----- |
|
|
223
231
|
| **python_python_repository_href** | **String** | | |
|
|
224
232
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
233
|
+
| **filename** | **String** | Filter results where filename matches value | [optional] |
|
|
225
234
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
235
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
226
236
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
237
|
+
| **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) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
238
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
239
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
240
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
241
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
242
|
+
| **version** | **String** | Filter results where version matches value | [optional] |
|
|
227
243
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
228
244
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
229
245
|
|
|
@@ -165,8 +165,16 @@ module PulpPythonClient
|
|
|
165
165
|
# @param python_python_repository_href [String]
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
|
+
# @option opts [String] :filename Filter results where filename matches value
|
|
168
169
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
170
|
+
# @option opts [String] :name Filter results where name matches value
|
|
169
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
172
|
+
# @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) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
173
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
174
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
175
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
176
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
177
|
+
# @option opts [String] :version Filter results where version matches value
|
|
170
178
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
171
179
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
172
180
|
# @return [PaginatedpythonPythonBlocklistEntryResponseList]
|
|
@@ -180,8 +188,16 @@ module PulpPythonClient
|
|
|
180
188
|
# @param python_python_repository_href [String]
|
|
181
189
|
# @param [Hash] opts the optional parameters
|
|
182
190
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
191
|
+
# @option opts [String] :filename Filter results where filename matches value
|
|
183
192
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
193
|
+
# @option opts [String] :name Filter results where name matches value
|
|
184
194
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
195
|
+
# @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) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
196
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
197
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
198
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
199
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
200
|
+
# @option opts [String] :version Filter results where version matches value
|
|
185
201
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
186
202
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
187
203
|
# @return [Array<(PaginatedpythonPythonBlocklistEntryResponseList, Integer, Hash)>] PaginatedpythonPythonBlocklistEntryResponseList data, response status code and response headers
|
|
@@ -193,13 +209,25 @@ module PulpPythonClient
|
|
|
193
209
|
if @api_client.config.client_side_validation && python_python_repository_href.nil?
|
|
194
210
|
fail ArgumentError, "Missing the required parameter 'python_python_repository_href' when calling RepositoriesPythonBlocklistEntriesApi.list"
|
|
195
211
|
end
|
|
212
|
+
allowable_values = ["-added_by", "-filename", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-version", "added_by", "filename", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "version"]
|
|
213
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
214
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
215
|
+
end
|
|
196
216
|
# resource path
|
|
197
217
|
local_var_path = '{python_python_repository_href}blocklist_entries/'.sub('{' + 'python_python_repository_href' + '}', CGI.escape(python_python_repository_href.to_s).gsub('%2F', '/'))
|
|
198
218
|
|
|
199
219
|
# query parameters
|
|
200
220
|
query_params = opts[:query_params] || {}
|
|
221
|
+
query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
|
|
201
222
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
223
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
202
224
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
225
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
226
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
|
227
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
228
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
229
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
230
|
+
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
|
203
231
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
204
232
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
205
233
|
|
|
@@ -65,8 +65,16 @@ describe 'RepositoriesPythonBlocklistEntriesApi' do
|
|
|
65
65
|
# @param python_python_repository_href
|
|
66
66
|
# @param [Hash] opts the optional parameters
|
|
67
67
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
|
+
# @option opts [String] :filename Filter results where filename matches value
|
|
68
69
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
70
|
+
# @option opts [String] :name Filter results where name matches value
|
|
69
71
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
72
|
+
# @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) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
73
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
74
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
75
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
76
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
77
|
+
# @option opts [String] :version Filter results where version matches value
|
|
70
78
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
71
79
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
72
80
|
# @return [PaginatedpythonPythonBlocklistEntryResponseList]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.30.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: 2026-
|
|
11
|
+
date: 2026-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|