pulp_python_client 3.30.0 → 3.30.2

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: 15e4f2861e510ca6564945d59dc97d4bf4a7b6d9a7b227b7ab3156f748badcff
4
- data.tar.gz: 44900a967f4a7c5da98d1b4e3df9adfadf3828a4e71de18b7ba422ec2aa6ad0d
3
+ metadata.gz: f9b6e75e4271c9788e9b7deb0ec81c26f9304b393d44965d1c4ddfd4460cce86
4
+ data.tar.gz: 3f4d5bcb5d9c5ae4da288bcf9d27b32b175d1715f87dbe77f808c85aad812689
5
5
  SHA512:
6
- metadata.gz: d54fc16268c807ee5004dcd4280e415377ac317e3246f78e0c64853370ffb20224b107200f2d69fcb886472ffd8f3c77086d2c836c40eaf1d9a9a720efa7cc20
7
- data.tar.gz: fb9bd8d97dec3a12b334058094aa4b0bdb799c30c3142d60f1108a1692c9633397f3d0d39a90de575e7f713f9ab9cfffeffa986425525a74a3727fcfea8ad878
6
+ metadata.gz: c15de4d9d7984ef67624930c4d7945271c856464cb65c0f1be3b4488d5166a436489f1447b58be3be7256d1a82ac11a5a44b584c27e2524895214c34e2786aa2
7
+ data.tar.gz: 5060874b9a086deb4030cccafbbbae43cdcaa29306dbc6db73a60cd7168c1a4438f926461f5a22dc262f3095afabaf5c23a07acd0abb767b7842b48c60484936
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.30.0
10
+ - Package version: 3.30.2
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.30.0.gem
28
+ gem install ./pulp_python_client-3.30.2.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_python_client-3.30.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.30.2.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.30.0'
37
+ gem 'pulp_python_client', '~> 3.30.2'
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] |
@@ -193,6 +193,7 @@ opts = {
193
193
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
194
194
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
195
195
  version: 'version_example', # String | Filter results where version matches value
196
+ version__isnull: true, # Boolean | Filter results where version has a null value
196
197
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
197
198
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
198
199
  }
@@ -240,6 +241,7 @@ end
240
241
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
241
242
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
242
243
  | **version** | **String** | Filter results where version matches value | [optional] |
244
+ | **version__isnull** | **Boolean** | Filter results where version has a null value | [optional] |
243
245
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
244
246
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
245
247
 
@@ -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?
@@ -175,6 +175,7 @@ module PulpPythonClient
175
175
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
176
176
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
177
177
  # @option opts [String] :version Filter results where version matches value
178
+ # @option opts [Boolean] :version__isnull Filter results where version has a null value
178
179
  # @option opts [Array<String>] :fields A list of fields to include in the response.
179
180
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
180
181
  # @return [PaginatedpythonPythonBlocklistEntryResponseList]
@@ -198,6 +199,7 @@ module PulpPythonClient
198
199
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
199
200
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
200
201
  # @option opts [String] :version Filter results where version matches value
202
+ # @option opts [Boolean] :version__isnull Filter results where version has a null value
201
203
  # @option opts [Array<String>] :fields A list of fields to include in the response.
202
204
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
203
205
  # @return [Array<(PaginatedpythonPythonBlocklistEntryResponseList, Integer, Hash)>] PaginatedpythonPythonBlocklistEntryResponseList data, response status code and response headers
@@ -228,6 +230,7 @@ module PulpPythonClient
228
230
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
229
231
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
230
232
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
233
+ query_params[:'version__isnull'] = opts[:'version__isnull'] if !opts[:'version__isnull'].nil?
231
234
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
232
235
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
233
236
 
@@ -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.30.0'
14
+ VERSION = '3.30.2'
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.
@@ -75,6 +75,7 @@ describe 'RepositoriesPythonBlocklistEntriesApi' do
75
75
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
76
76
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
77
77
  # @option opts [String] :version Filter results where version matches value
78
+ # @option opts [Boolean] :version__isnull Filter results where version has a null value
78
79
  # @option opts [Array<String>] :fields A list of fields to include in the response.
79
80
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
80
81
  # @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.30.0
4
+ version: 3.30.2
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-05-13 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