pulp_python_client 3.28.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c14a54f069f7e87a06e902d42a419a8713d4e0e65aaea7c5e84bd97a262f26c
4
- data.tar.gz: 4243d07ef8fd9370a4f93176bff4e8fe6a5678db7965bee6947931f5cc975680
3
+ metadata.gz: 15e4f2861e510ca6564945d59dc97d4bf4a7b6d9a7b227b7ab3156f748badcff
4
+ data.tar.gz: 44900a967f4a7c5da98d1b4e3df9adfadf3828a4e71de18b7ba422ec2aa6ad0d
5
5
  SHA512:
6
- metadata.gz: 4e3d4b40c06e0a44cfed4c7a4d7687bb736122fc7bf2b85472ab1c5b7094b243270dd6c750d7d19927121bb022f931c1e5970da97c2205fe701d8ffd0d23e400
7
- data.tar.gz: e0343662fd1b2a0f53c44a0075abcf79c817ed7f9f872e0b047da8dcd945d324542f251fb470dba758169c31a0abaf91273b2587e47209476aabe822c15dfb9f
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.28.2
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.2.gem
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.28.2.gem` to install the development dependencies)
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.28.2'
37
+ gem 'pulp_python_client', '~> 3.30.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -190,6 +190,10 @@ Class | Method | HTTP request | Description
190
190
  *PulpPythonClient::RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
191
191
  *PulpPythonClient::RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
192
192
  *PulpPythonClient::RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
193
+ *PulpPythonClient::RepositoriesPythonBlocklistEntriesApi* | [**create**](docs/RepositoriesPythonBlocklistEntriesApi.md#create) | **POST** {python_python_repository_href}blocklist_entries/ | Create a python blocklist entry
194
+ *PulpPythonClient::RepositoriesPythonBlocklistEntriesApi* | [**delete**](docs/RepositoriesPythonBlocklistEntriesApi.md#delete) | **DELETE** {python_python_python_blocklist_entry_href} | Delete a python blocklist entry
195
+ *PulpPythonClient::RepositoriesPythonBlocklistEntriesApi* | [**list**](docs/RepositoriesPythonBlocklistEntriesApi.md#list) | **GET** {python_python_repository_href}blocklist_entries/ | List python blocklist entrys
196
+ *PulpPythonClient::RepositoriesPythonBlocklistEntriesApi* | [**read**](docs/RepositoriesPythonBlocklistEntriesApi.md#read) | **GET** {python_python_python_blocklist_entry_href} | Inspect a python blocklist entry
193
197
  *PulpPythonClient::RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
194
198
  *PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
195
199
  *PulpPythonClient::RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
@@ -213,6 +217,7 @@ Class | Method | HTTP request | Description
213
217
  - [PulpPythonClient::PackageUploadTaskResponse](docs/PackageUploadTaskResponse.md)
214
218
  - [PulpPythonClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
215
219
  - [PulpPythonClient::PaginatedpythonPackageProvenanceResponseList](docs/PaginatedpythonPackageProvenanceResponseList.md)
220
+ - [PulpPythonClient::PaginatedpythonPythonBlocklistEntryResponseList](docs/PaginatedpythonPythonBlocklistEntryResponseList.md)
216
221
  - [PulpPythonClient::PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
217
222
  - [PulpPythonClient::PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)
218
223
  - [PulpPythonClient::PaginatedpythonPythonPublicationResponseList](docs/PaginatedpythonPythonPublicationResponseList.md)
@@ -224,6 +229,8 @@ Class | Method | HTTP request | Description
224
229
  - [PulpPythonClient::PolicyEnum](docs/PolicyEnum.md)
225
230
  - [PulpPythonClient::ProtocolVersionEnum](docs/ProtocolVersionEnum.md)
226
231
  - [PulpPythonClient::PythonPackageProvenanceResponse](docs/PythonPackageProvenanceResponse.md)
232
+ - [PulpPythonClient::PythonPythonBlocklistEntry](docs/PythonPythonBlocklistEntry.md)
233
+ - [PulpPythonClient::PythonPythonBlocklistEntryResponse](docs/PythonPythonBlocklistEntryResponse.md)
227
234
  - [PulpPythonClient::PythonPythonDistribution](docs/PythonPythonDistribution.md)
228
235
  - [PulpPythonClient::PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)
229
236
  - [PulpPythonClient::PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)
@@ -0,0 +1,24 @@
1
+ # PulpPythonClient::PaginatedpythonPythonBlocklistEntryResponseList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | | |
8
+ | **_next** | **String** | | [optional] |
9
+ | **previous** | **String** | | [optional] |
10
+ | **results** | [**Array<PythonPythonBlocklistEntryResponse>**](PythonPythonBlocklistEntryResponse.md) | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'pulp_python_client'
16
+
17
+ instance = PulpPythonClient::PaginatedpythonPythonBlocklistEntryResponseList.new(
18
+ count: 123,
19
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
20
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
21
+ results: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # PulpPythonClient::PythonPythonBlocklistEntry
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Package name to block (for all versions). Compared after PEP 503 normalization. Required when 'filename' is not provided. | [optional] |
8
+ | **version** | **String** | Exact version string to block (e.g. '1.0'). Only used when 'name' is set. | [optional] |
9
+ | **filename** | **String** | Exact filename to block. Required when 'name' is not provided. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'pulp_python_client'
15
+
16
+ instance = PulpPythonClient::PythonPythonBlocklistEntry.new(
17
+ name: null,
18
+ version: null,
19
+ filename: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,34 @@
1
+ # PulpPythonClient::PythonPythonBlocklistEntryResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | The URL of this blocklist entry. | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | 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] |
11
+ | **repository** | **String** | Repository this blocklist entry belongs to. | [optional][readonly] |
12
+ | **name** | **String** | Package name to block (for all versions). Compared after PEP 503 normalization. Required when 'filename' is not provided. | [optional] |
13
+ | **version** | **String** | Exact version string to block (e.g. '1.0'). Only used when 'name' is set. | [optional] |
14
+ | **filename** | **String** | Exact filename to block. Required when 'name' is not provided. | [optional] |
15
+ | **added_by** | **String** | PRN of the user who added this blocklist entry. | [optional][readonly] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'pulp_python_client'
21
+
22
+ instance = PulpPythonClient::PythonPythonBlocklistEntryResponse.new(
23
+ pulp_href: null,
24
+ prn: null,
25
+ pulp_created: null,
26
+ pulp_last_updated: null,
27
+ repository: null,
28
+ name: null,
29
+ version: null,
30
+ filename: null,
31
+ added_by: null
32
+ )
33
+ ```
34
+
@@ -18,6 +18,7 @@
18
18
  | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
19
19
  | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
20
20
  | **allow_package_substitution** | **Boolean** | Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed. | [optional][default to true] |
21
+ | **blocklist_entries_href** | **String** | URL to the blocklist entries for this repository. | [optional][readonly] |
21
22
 
22
23
  ## Example
23
24
 
@@ -38,7 +39,8 @@ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(
38
39
  retain_checkpoints: null,
39
40
  remote: null,
40
41
  autopublish: null,
41
- allow_package_substitution: null
42
+ allow_package_substitution: null,
43
+ blocklist_entries_href: null
42
44
  )
43
45
  ```
44
46
 
@@ -0,0 +1,336 @@
1
+ # PulpPythonClient::RepositoriesPythonBlocklistEntriesApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](RepositoriesPythonBlocklistEntriesApi.md#create) | **POST** {python_python_repository_href}blocklist_entries/ | Create a python blocklist entry |
8
+ | [**delete**](RepositoriesPythonBlocklistEntriesApi.md#delete) | **DELETE** {python_python_python_blocklist_entry_href} | Delete a python blocklist entry |
9
+ | [**list**](RepositoriesPythonBlocklistEntriesApi.md#list) | **GET** {python_python_repository_href}blocklist_entries/ | List python blocklist entrys |
10
+ | [**read**](RepositoriesPythonBlocklistEntriesApi.md#read) | **GET** {python_python_python_blocklist_entry_href} | Inspect a python blocklist entry |
11
+
12
+
13
+ ## create
14
+
15
+ > <PythonPythonBlocklistEntryResponse> create(python_python_repository_href, python_python_blocklist_entry, opts)
16
+
17
+ Create a python blocklist entry
18
+
19
+ ViewSet for managing blocklist entries on a PythonRepository. Blocklist entries prevent packages from being added to the repository. Entries can match by package `name` (all versions), package `name` + `version`, or exact `filename`. Exactly one of `name` or `filename` must be provided.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'pulp_python_client'
26
+ # setup authorization
27
+ PulpPythonClient.configure do |config|
28
+ # Configure HTTP basic authorization: basicAuth
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpPythonClient::RepositoriesPythonBlocklistEntriesApi.new
34
+ python_python_repository_href = 'python_python_repository_href_example' # String |
35
+ python_python_blocklist_entry = PulpPythonClient::PythonPythonBlocklistEntry.new # PythonPythonBlocklistEntry |
36
+ opts = {
37
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
38
+ }
39
+
40
+ begin
41
+ # Create a python blocklist entry
42
+ result = api_instance.create(python_python_repository_href, python_python_blocklist_entry, opts)
43
+ p result
44
+ rescue PulpPythonClient::ApiError => e
45
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->create: #{e}"
46
+ end
47
+ ```
48
+
49
+ #### Using the create_with_http_info variant
50
+
51
+ This returns an Array which contains the response data, status code and headers.
52
+
53
+ > <Array(<PythonPythonBlocklistEntryResponse>, Integer, Hash)> create_with_http_info(python_python_repository_href, python_python_blocklist_entry, opts)
54
+
55
+ ```ruby
56
+ begin
57
+ # Create a python blocklist entry
58
+ data, status_code, headers = api_instance.create_with_http_info(python_python_repository_href, python_python_blocklist_entry, opts)
59
+ p status_code # => 2xx
60
+ p headers # => { ... }
61
+ p data # => <PythonPythonBlocklistEntryResponse>
62
+ rescue PulpPythonClient::ApiError => e
63
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->create_with_http_info: #{e}"
64
+ end
65
+ ```
66
+
67
+ ### Parameters
68
+
69
+ | Name | Type | Description | Notes |
70
+ | ---- | ---- | ----------- | ----- |
71
+ | **python_python_repository_href** | **String** | | |
72
+ | **python_python_blocklist_entry** | [**PythonPythonBlocklistEntry**](PythonPythonBlocklistEntry.md) | | |
73
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
74
+
75
+ ### Return type
76
+
77
+ [**PythonPythonBlocklistEntryResponse**](PythonPythonBlocklistEntryResponse.md)
78
+
79
+ ### Authorization
80
+
81
+ [basicAuth](../README.md#basicAuth)
82
+
83
+ ### HTTP request headers
84
+
85
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
86
+ - **Accept**: application/json
87
+
88
+
89
+ ## delete
90
+
91
+ > delete(python_python_python_blocklist_entry_href, opts)
92
+
93
+ Delete a python blocklist entry
94
+
95
+ ViewSet for managing blocklist entries on a PythonRepository. Blocklist entries prevent packages from being added to the repository. Entries can match by package `name` (all versions), package `name` + `version`, or exact `filename`. Exactly one of `name` or `filename` must be provided.
96
+
97
+ ### Examples
98
+
99
+ ```ruby
100
+ require 'time'
101
+ require 'pulp_python_client'
102
+ # setup authorization
103
+ PulpPythonClient.configure do |config|
104
+ # Configure HTTP basic authorization: basicAuth
105
+ config.username = 'YOUR USERNAME'
106
+ config.password = 'YOUR PASSWORD'
107
+ end
108
+
109
+ api_instance = PulpPythonClient::RepositoriesPythonBlocklistEntriesApi.new
110
+ python_python_python_blocklist_entry_href = 'python_python_python_blocklist_entry_href_example' # String |
111
+ opts = {
112
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
113
+ }
114
+
115
+ begin
116
+ # Delete a python blocklist entry
117
+ api_instance.delete(python_python_python_blocklist_entry_href, opts)
118
+ rescue PulpPythonClient::ApiError => e
119
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->delete: #{e}"
120
+ end
121
+ ```
122
+
123
+ #### Using the delete_with_http_info variant
124
+
125
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
126
+
127
+ > <Array(nil, Integer, Hash)> delete_with_http_info(python_python_python_blocklist_entry_href, opts)
128
+
129
+ ```ruby
130
+ begin
131
+ # Delete a python blocklist entry
132
+ data, status_code, headers = api_instance.delete_with_http_info(python_python_python_blocklist_entry_href, opts)
133
+ p status_code # => 2xx
134
+ p headers # => { ... }
135
+ p data # => nil
136
+ rescue PulpPythonClient::ApiError => e
137
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->delete_with_http_info: #{e}"
138
+ end
139
+ ```
140
+
141
+ ### Parameters
142
+
143
+ | Name | Type | Description | Notes |
144
+ | ---- | ---- | ----------- | ----- |
145
+ | **python_python_python_blocklist_entry_href** | **String** | | |
146
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
147
+
148
+ ### Return type
149
+
150
+ nil (empty response body)
151
+
152
+ ### Authorization
153
+
154
+ [basicAuth](../README.md#basicAuth)
155
+
156
+ ### HTTP request headers
157
+
158
+ - **Content-Type**: Not defined
159
+ - **Accept**: Not defined
160
+
161
+
162
+ ## list
163
+
164
+ > <PaginatedpythonPythonBlocklistEntryResponseList> list(python_python_repository_href, opts)
165
+
166
+ List python blocklist entrys
167
+
168
+ ViewSet for managing blocklist entries on a PythonRepository. Blocklist entries prevent packages from being added to the repository. Entries can match by package `name` (all versions), package `name` + `version`, or exact `filename`. Exactly one of `name` or `filename` must be provided.
169
+
170
+ ### Examples
171
+
172
+ ```ruby
173
+ require 'time'
174
+ require 'pulp_python_client'
175
+ # setup authorization
176
+ PulpPythonClient.configure do |config|
177
+ # Configure HTTP basic authorization: basicAuth
178
+ config.username = 'YOUR USERNAME'
179
+ config.password = 'YOUR PASSWORD'
180
+ end
181
+
182
+ api_instance = PulpPythonClient::RepositoriesPythonBlocklistEntriesApi.new
183
+ python_python_repository_href = 'python_python_repository_href_example' # String |
184
+ opts = {
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
187
+ limit: 56, # Integer | Number of results to return per page.
188
+ name: 'name_example', # String | Filter results where name matches value
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
196
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
197
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
198
+ }
199
+
200
+ begin
201
+ # List python blocklist entrys
202
+ result = api_instance.list(python_python_repository_href, opts)
203
+ p result
204
+ rescue PulpPythonClient::ApiError => e
205
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->list: #{e}"
206
+ end
207
+ ```
208
+
209
+ #### Using the list_with_http_info variant
210
+
211
+ This returns an Array which contains the response data, status code and headers.
212
+
213
+ > <Array(<PaginatedpythonPythonBlocklistEntryResponseList>, Integer, Hash)> list_with_http_info(python_python_repository_href, opts)
214
+
215
+ ```ruby
216
+ begin
217
+ # List python blocklist entrys
218
+ data, status_code, headers = api_instance.list_with_http_info(python_python_repository_href, opts)
219
+ p status_code # => 2xx
220
+ p headers # => { ... }
221
+ p data # => <PaginatedpythonPythonBlocklistEntryResponseList>
222
+ rescue PulpPythonClient::ApiError => e
223
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->list_with_http_info: #{e}"
224
+ end
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+ | Name | Type | Description | Notes |
230
+ | ---- | ---- | ----------- | ----- |
231
+ | **python_python_repository_href** | **String** | | |
232
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
233
+ | **filename** | **String** | Filter results where filename matches value | [optional] |
234
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
235
+ | **name** | **String** | Filter results where name matches value | [optional] |
236
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
237
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;added_by&#x60; - Added by * &#x60;-added_by&#x60; - Added by (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
238
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
239
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
240
+ | **pulp_id__in** | [**Array&lt;String&gt;**](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] |
243
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
244
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
245
+
246
+ ### Return type
247
+
248
+ [**PaginatedpythonPythonBlocklistEntryResponseList**](PaginatedpythonPythonBlocklistEntryResponseList.md)
249
+
250
+ ### Authorization
251
+
252
+ [basicAuth](../README.md#basicAuth)
253
+
254
+ ### HTTP request headers
255
+
256
+ - **Content-Type**: Not defined
257
+ - **Accept**: application/json
258
+
259
+
260
+ ## read
261
+
262
+ > <PythonPythonBlocklistEntryResponse> read(python_python_python_blocklist_entry_href, opts)
263
+
264
+ Inspect a python blocklist entry
265
+
266
+ ViewSet for managing blocklist entries on a PythonRepository. Blocklist entries prevent packages from being added to the repository. Entries can match by package `name` (all versions), package `name` + `version`, or exact `filename`. Exactly one of `name` or `filename` must be provided.
267
+
268
+ ### Examples
269
+
270
+ ```ruby
271
+ require 'time'
272
+ require 'pulp_python_client'
273
+ # setup authorization
274
+ PulpPythonClient.configure do |config|
275
+ # Configure HTTP basic authorization: basicAuth
276
+ config.username = 'YOUR USERNAME'
277
+ config.password = 'YOUR PASSWORD'
278
+ end
279
+
280
+ api_instance = PulpPythonClient::RepositoriesPythonBlocklistEntriesApi.new
281
+ python_python_python_blocklist_entry_href = 'python_python_python_blocklist_entry_href_example' # String |
282
+ opts = {
283
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
284
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
285
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
286
+ }
287
+
288
+ begin
289
+ # Inspect a python blocklist entry
290
+ result = api_instance.read(python_python_python_blocklist_entry_href, opts)
291
+ p result
292
+ rescue PulpPythonClient::ApiError => e
293
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->read: #{e}"
294
+ end
295
+ ```
296
+
297
+ #### Using the read_with_http_info variant
298
+
299
+ This returns an Array which contains the response data, status code and headers.
300
+
301
+ > <Array(<PythonPythonBlocklistEntryResponse>, Integer, Hash)> read_with_http_info(python_python_python_blocklist_entry_href, opts)
302
+
303
+ ```ruby
304
+ begin
305
+ # Inspect a python blocklist entry
306
+ data, status_code, headers = api_instance.read_with_http_info(python_python_python_blocklist_entry_href, opts)
307
+ p status_code # => 2xx
308
+ p headers # => { ... }
309
+ p data # => <PythonPythonBlocklistEntryResponse>
310
+ rescue PulpPythonClient::ApiError => e
311
+ puts "Error when calling RepositoriesPythonBlocklistEntriesApi->read_with_http_info: #{e}"
312
+ end
313
+ ```
314
+
315
+ ### Parameters
316
+
317
+ | Name | Type | Description | Notes |
318
+ | ---- | ---- | ----------- | ----- |
319
+ | **python_python_python_blocklist_entry_href** | **String** | | |
320
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
321
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
322
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
323
+
324
+ ### Return type
325
+
326
+ [**PythonPythonBlocklistEntryResponse**](PythonPythonBlocklistEntryResponse.md)
327
+
328
+ ### Authorization
329
+
330
+ [basicAuth](../README.md#basicAuth)
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: Not defined
335
+ - **Accept**: application/json
336
+