pulp_python_client 3.29.0 → 3.30.1

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: e584db6cc4b813b0f39f572e15d5cf07e71a6e237b71482524e428dc39cf54c6
4
- data.tar.gz: f9cbd5cebf16ba621c521ad9769c8d77024517bd6f9bbddf84917456857709ad
3
+ metadata.gz: cee4c1ac9f53f9bbf0ed49a79954480dca22531265b4bb3ee2377245d2a9a72b
4
+ data.tar.gz: 0cd56127489339571849c0d0d7ee911b07ec8de7f4e344e7dfe0f748dd898f1b
5
5
  SHA512:
6
- metadata.gz: f851302e96e6a49a293116f090168b1bd7f8f288c1176558b0120b8b20f0a4cce1667f4f6bf8412951cb4cc7c5e007c3e7d6eb6c179df52fa33f3ad13b63af07
7
- data.tar.gz: f8be33bfca1b30a47ea19db0659166337f3867f9f7d07478bb5161859cc2c0cefd1980757f698918e8b160eb4be2e9a24493e29fc612300287b8df40836f0be7
6
+ metadata.gz: 21d0d4bb115775bc038d400f1995a465d8641dd626e7c9dfed9c4c83dc3dc4968fd1b97347007d5b89c34f203250b5deedc0572d399d401f629c03ac96d96461
7
+ data.tar.gz: 9227ae201745752f963904f1ce28832b2029429c7a2bdec4f916e8a61160fac9c4eeb753ce46fc26df72c5611e7b2ec51a3a53a4c93a88b636a24a6fadcc1768
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.29.0
10
+ - Package version: 3.30.1
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.29.0.gem
28
+ gem install ./pulp_python_client-3.30.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_python_client-3.29.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.30.1.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.29.0'
37
+ gem 'pulp_python_client', '~> 3.30.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -72,6 +72,7 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
72
72
  opts = {
73
73
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
74
74
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
75
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
75
76
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
76
77
  artifact: 'artifact_example', # String | Artifact file representing the physical content
77
78
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
@@ -37,6 +37,7 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
37
37
  opts = {
38
38
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
39
39
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
40
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
40
41
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
42
  artifact: 'artifact_example', # String | Artifact file representing the physical content
42
43
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
@@ -107,6 +108,7 @@ end
107
108
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
108
109
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
109
110
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
111
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
110
112
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
111
113
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
112
114
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
@@ -555,6 +557,7 @@ end
555
557
  api_instance = PulpPythonClient::ContentPackagesApi.new
556
558
  opts = {
557
559
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
560
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
558
561
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
559
562
  artifact: 'artifact_example', # String | Artifact file representing the physical content
560
563
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
@@ -623,6 +626,7 @@ end
623
626
  | Name | Type | Description | Notes |
624
627
  | ---- | ---- | ----------- | ----- |
625
628
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
629
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
626
630
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
627
631
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
628
632
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
@@ -36,6 +36,7 @@ package = 'package_example' # String | The package that the provenance is for.
36
36
  opts = {
37
37
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
38
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
39
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
40
41
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
41
42
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -78,6 +79,7 @@ end
78
79
  | **package** | **String** | The package that the provenance is for. | |
79
80
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
80
81
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
82
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
81
83
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
82
84
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
83
85
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
@@ -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&lt;String&gt;**](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&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] |
227
243
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
228
244
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
229
245
 
@@ -7,6 +7,7 @@
7
7
  | **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
8
8
  | **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
9
9
  | **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
10
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'pulp_python_client'
16
17
  instance = PulpPythonClient::RepositoryAddRemoveContent.new(
17
18
  add_content_units: null,
18
19
  remove_content_units: null,
19
- base_version: null
20
+ base_version: null,
21
+ overwrite: null
20
22
  )
21
23
  ```
22
24
 
@@ -25,6 +25,7 @@ module PulpPythonClient
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
27
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
28
29
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
30
  # @option opts [String] :artifact Artifact file representing the physical content
30
31
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -71,6 +72,7 @@ module PulpPythonClient
71
72
  # @param [Hash] opts the optional parameters
72
73
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
73
74
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
75
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
74
76
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
75
77
  # @option opts [String] :artifact Artifact file representing the physical content
76
78
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -151,6 +153,7 @@ module PulpPythonClient
151
153
  form_params = opts[:form_params] || {}
152
154
  form_params['relative_path'] = relative_path
153
155
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
156
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
154
157
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
155
158
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
156
159
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
@@ -621,6 +624,7 @@ module PulpPythonClient
621
624
  # Create a Python package.
622
625
  # @param [Hash] opts the optional parameters
623
626
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
627
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
624
628
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
625
629
  # @option opts [String] :artifact Artifact file representing the physical content
626
630
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -665,6 +669,7 @@ module PulpPythonClient
665
669
  # Create a Python package.
666
670
  # @param [Hash] opts the optional parameters
667
671
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
672
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
668
673
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
669
674
  # @option opts [String] :artifact Artifact file representing the physical content
670
675
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -735,6 +740,7 @@ module PulpPythonClient
735
740
 
736
741
  # form parameters
737
742
  form_params = opts[:form_params] || {}
743
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
738
744
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
739
745
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
740
746
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
@@ -25,6 +25,7 @@ module PulpPythonClient
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
27
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
28
29
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
30
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
30
31
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -43,6 +44,7 @@ module PulpPythonClient
43
44
  # @param [Hash] opts the optional parameters
44
45
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
45
46
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
47
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
46
48
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
47
49
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
48
50
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -83,6 +85,7 @@ module PulpPythonClient
83
85
  form_params = opts[:form_params] || {}
84
86
  form_params['package'] = package
85
87
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
88
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
86
89
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
87
90
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
88
91
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
@@ -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 * &#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)
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 * &#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)
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
 
@@ -25,12 +25,16 @@ module PulpPythonClient
25
25
  # A repository version whose content will be used as the initial set of content for the new repository version
26
26
  attr_accessor :base_version
27
27
 
28
+ # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.
29
+ attr_accessor :overwrite
30
+
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
29
32
  def self.attribute_map
30
33
  {
31
34
  :'add_content_units' => :'add_content_units',
32
35
  :'remove_content_units' => :'remove_content_units',
33
- :'base_version' => :'base_version'
36
+ :'base_version' => :'base_version',
37
+ :'overwrite' => :'overwrite'
34
38
  }
35
39
  end
36
40
 
@@ -44,7 +48,8 @@ module PulpPythonClient
44
48
  {
45
49
  :'add_content_units' => :'Array<String>',
46
50
  :'remove_content_units' => :'Array<String>',
47
- :'base_version' => :'String'
51
+ :'base_version' => :'String',
52
+ :'overwrite' => :'Boolean'
48
53
  }
49
54
  end
50
55
 
@@ -84,6 +89,12 @@ module PulpPythonClient
84
89
  if attributes.key?(:'base_version')
85
90
  self.base_version = attributes[:'base_version']
86
91
  end
92
+
93
+ if attributes.key?(:'overwrite')
94
+ self.overwrite = attributes[:'overwrite']
95
+ else
96
+ self.overwrite = true
97
+ end
87
98
  end
88
99
 
89
100
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,7 +119,8 @@ module PulpPythonClient
108
119
  self.class == o.class &&
109
120
  add_content_units == o.add_content_units &&
110
121
  remove_content_units == o.remove_content_units &&
111
- base_version == o.base_version
122
+ base_version == o.base_version &&
123
+ overwrite == o.overwrite
112
124
  end
113
125
 
114
126
  # @see the `==` method
@@ -120,7 +132,7 @@ module PulpPythonClient
120
132
  # Calculates hash code according to all attributes.
121
133
  # @return [Integer] Hash code
122
134
  def hash
123
- [add_content_units, remove_content_units, base_version].hash
135
+ [add_content_units, remove_content_units, base_version, overwrite].hash
124
136
  end
125
137
 
126
138
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.29.0'
14
+ VERSION = '3.30.1'
15
15
  end
@@ -39,6 +39,7 @@ describe 'ContentPackagesApi' do
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
42
43
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
44
  # @option opts [String] :artifact Artifact file representing the physical content
44
45
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -177,6 +178,7 @@ describe 'ContentPackagesApi' do
177
178
  # Create a Python package.
178
179
  # @param [Hash] opts the optional parameters
179
180
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
181
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
180
182
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
181
183
  # @option opts [String] :artifact Artifact file representing the physical content
182
184
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -39,6 +39,7 @@ describe 'ContentProvenanceApi' do
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
42
43
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
44
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
44
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -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 * &#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)
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]
@@ -45,4 +45,10 @@ describe PulpPythonClient::RepositoryAddRemoveContent do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "overwrite"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
48
54
  end
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.29.0
4
+ version: 3.30.1
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-04-17 00:00:00.000000000 Z
11
+ date: 2026-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -305,66 +305,66 @@ signing_key:
305
305
  specification_version: 4
306
306
  summary: Pulp 3 API Ruby Gem
307
307
  test_files:
308
- - spec/api/pypi_metadata_api_spec.rb
309
- - spec/api/pypi_simple_api_spec.rb
310
- - spec/api/repositories_python_api_spec.rb
311
- - spec/api/pypi_provenance_api_spec.rb
308
+ - spec/api/publications_pypi_api_spec.rb
312
309
  - spec/api/content_provenance_api_spec.rb
313
- - spec/api/pypi_api_spec.rb
314
- - spec/api/repositories_python_versions_api_spec.rb
315
- - spec/api/distributions_pypi_api_spec.rb
316
310
  - spec/api/repositories_python_blocklist_entries_api_spec.rb
317
- - spec/api/remotes_python_api_spec.rb
318
- - spec/api/content_packages_api_spec.rb
319
- - spec/api/publications_pypi_api_spec.rb
311
+ - spec/api/distributions_pypi_api_spec.rb
312
+ - spec/api/pypi_provenance_api_spec.rb
320
313
  - spec/api/pypi_legacy_api_spec.rb
321
- - spec/models/object_roles_response_spec.rb
314
+ - spec/api/pypi_api_spec.rb
315
+ - spec/api/content_packages_api_spec.rb
316
+ - spec/api/remotes_python_api_spec.rb
317
+ - spec/api/repositories_python_versions_api_spec.rb
318
+ - spec/api/pypi_metadata_api_spec.rb
319
+ - spec/api/repositories_python_api_spec.rb
320
+ - spec/api/pypi_simple_api_spec.rb
321
+ - spec/models/python_python_remote_response_spec.rb
322
322
  - spec/models/nested_role_spec.rb
323
- - spec/models/unset_label_response_spec.rb
324
- - spec/models/patchedpython_python_distribution_spec.rb
325
- - spec/models/python_python_repository_response_spec.rb
323
+ - spec/models/python_python_distribution_response_spec.rb
324
+ - spec/models/my_permissions_response_spec.rb
325
+ - spec/models/filetype_enum_spec.rb
326
+ - spec/models/unset_label_spec.rb
326
327
  - spec/models/paginatedpython_python_remote_response_list_spec.rb
327
- - spec/models/python_python_package_content_response_spec.rb
328
- - spec/models/repository_add_remove_content_spec.rb
329
- - spec/models/summary_response_spec.rb
330
- - spec/models/package_metadata_response_spec.rb
328
+ - spec/models/set_label_response_spec.rb
331
329
  - spec/models/python_python_publication_response_spec.rb
332
330
  - spec/models/async_operation_response_spec.rb
333
- - spec/models/python_python_remote_response_spec.rb
334
- - spec/models/policy_enum_spec.rb
331
+ - spec/models/summary_response_spec.rb
335
332
  - spec/models/repository_sync_url_spec.rb
336
- - spec/models/remote_network_config_spec.rb
337
- - spec/models/paginatedpython_python_distribution_response_list_spec.rb
338
- - spec/models/python_python_publication_spec.rb
339
- - spec/models/patchedpython_python_repository_spec.rb
340
- - spec/models/paginatedpython_python_publication_response_list_spec.rb
333
+ - spec/models/python_package_provenance_response_spec.rb
341
334
  - spec/models/metadata_version_enum_spec.rb
342
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
343
- - spec/models/exclude_platforms_enum_spec.rb
344
- - spec/models/patchedpython_python_remote_spec.rb
345
- - spec/models/paginatedpython_python_package_content_response_list_spec.rb
346
- - spec/models/python_python_repository_spec.rb
347
- - spec/models/python_python_distribution_spec.rb
335
+ - spec/models/repository_add_remove_content_spec.rb
336
+ - spec/models/set_label_spec.rb
337
+ - spec/models/patchedpython_python_distribution_spec.rb
338
+ - spec/models/policy_enum_spec.rb
339
+ - spec/models/repository_version_response_spec.rb
348
340
  - spec/models/remote_network_config_response_spec.rb
341
+ - spec/models/nested_role_response_spec.rb
349
342
  - spec/models/package_types_enum_spec.rb
343
+ - spec/models/python_python_repository_response_spec.rb
350
344
  - spec/models/paginatedpython_package_provenance_response_list_spec.rb
351
- - spec/models/python_python_distribution_response_spec.rb
352
- - spec/models/filetype_enum_spec.rb
353
- - spec/models/unset_label_spec.rb
345
+ - spec/models/python_python_distribution_spec.rb
346
+ - spec/models/object_roles_response_spec.rb
347
+ - spec/models/paginatedpython_python_package_content_response_list_spec.rb
348
+ - spec/models/patchedpython_python_remote_spec.rb
349
+ - spec/models/python_python_blocklist_entry_response_spec.rb
350
+ - spec/models/protocol_version_enum_spec.rb
351
+ - spec/models/paginatedpython_python_distribution_response_list_spec.rb
352
+ - spec/models/remote_network_config_spec.rb
353
+ - spec/models/paginatedpython_python_blocklist_entry_response_list_spec.rb
354
+ - spec/models/package_metadata_response_spec.rb
355
+ - spec/models/repair_spec.rb
356
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
357
+ - spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
358
+ - spec/models/exclude_platforms_enum_spec.rb
359
+ - spec/models/unset_label_response_spec.rb
354
360
  - spec/models/content_summary_response_spec.rb
355
- - spec/models/repository_version_response_spec.rb
356
- - spec/models/package_upload_task_response_spec.rb
357
- - spec/models/python_package_provenance_response_spec.rb
361
+ - spec/models/python_python_repository_spec.rb
362
+ - spec/models/patchedpython_python_repository_spec.rb
358
363
  - spec/models/python_python_blocklist_entry_spec.rb
359
- - spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
360
- - spec/models/protocol_version_enum_spec.rb
361
- - spec/models/set_label_response_spec.rb
362
364
  - spec/models/paginated_repository_version_response_list_spec.rb
363
- - spec/models/python_python_blocklist_entry_response_spec.rb
364
- - spec/models/nested_role_response_spec.rb
365
- - spec/models/my_permissions_response_spec.rb
366
- - spec/models/repair_spec.rb
367
- - spec/models/paginatedpython_python_blocklist_entry_response_list_spec.rb
365
+ - spec/models/python_python_package_content_response_spec.rb
368
366
  - spec/models/python_python_remote_spec.rb
369
- - spec/models/set_label_spec.rb
367
+ - spec/models/paginatedpython_python_publication_response_list_spec.rb
368
+ - spec/models/python_python_publication_spec.rb
369
+ - spec/models/package_upload_task_response_spec.rb
370
370
  - spec/spec_helper.rb