pulp_python_client 3.25.1 → 3.26.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 +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +6 -6
- data/docs/ContentProvenanceApi.md +10 -10
- data/docs/DistributionsPypiApi.md +4 -4
- data/docs/PublicationsPypiApi.md +2 -2
- data/docs/RepositoriesPythonApi.md +2 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +6 -6
- data/lib/pulp_python_client/api/content_provenance_api.rb +10 -10
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +4 -4
- data/lib/pulp_python_client/api/publications_pypi_api.rb +2 -2
- data/lib/pulp_python_client/api/repositories_python_api.rb +2 -2
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +15 -0
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +15 -0
- data/lib/pulp_python_client/models/python_python_remote.rb +15 -0
- data/lib/pulp_python_client/models/python_python_remote_response.rb +15 -0
- data/lib/pulp_python_client/models/python_python_repository.rb +15 -0
- data/lib/pulp_python_client/models/python_python_repository_response.rb +15 -0
- data/lib/pulp_python_client/models/remote_network_config.rb +15 -0
- data/lib/pulp_python_client/models/remote_network_config_response.rb +15 -0
- data/lib/pulp_python_client/models/set_label.rb +0 -11
- data/lib/pulp_python_client/models/set_label_response.rb +0 -21
- data/lib/pulp_python_client/models/unset_label.rb +0 -11
- data/lib/pulp_python_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -3
- data/spec/api/content_provenance_api_spec.rb +5 -5
- data/spec/api/distributions_pypi_api_spec.rb +2 -2
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/repositories_python_api_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa87c01411ec5abfa48b6f5335a0ddaf21e013629ed8422f7184d70ce7bdd2ea
|
|
4
|
+
data.tar.gz: 294a66def195f27899d8a8cffea8ed369ed8e47afcf32b334995d36b84bdcacb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fed78601fb897624f76858376d1da77dc8e89c12df3c00b0edea5c830f2a6e716633a83d317ca8bee79a1fd0b9b8b443c726d0784f9bbc23b54eaa3eb889c1e0
|
|
7
|
+
data.tar.gz: 2156c58ff99d5897978831864dbe168849f4318ffc40a6b5e41ec315ad732c9ae43440bcbe1f640b6589e1d1e893842466ee1339284d1a0231d1aa82d54b211c
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.26.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.
|
|
28
|
+
gem install ./pulp_python_client-3.26.1.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.26.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.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.26.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -201,9 +201,9 @@ opts = {
|
|
|
201
201
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
202
202
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
203
203
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
204
|
-
repository_version: 'repository_version_example', # String |
|
|
205
|
-
repository_version_added: 'repository_version_added_example', # String |
|
|
206
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
|
204
|
+
repository_version: 'repository_version_example', # String |
|
|
205
|
+
repository_version_added: 'repository_version_added_example', # String |
|
|
206
|
+
repository_version_removed: 'repository_version_removed_example', # String |
|
|
207
207
|
requires_python: 'requires_python_example', # String | Filter results where requires_python matches value
|
|
208
208
|
requires_python__contains: 'requires_python__contains_example', # String | Filter results where requires_python contains value
|
|
209
209
|
requires_python__in: ['inner_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
|
|
@@ -272,9 +272,9 @@ end
|
|
|
272
272
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
273
273
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
274
274
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
275
|
-
| **repository_version** | **String** |
|
|
276
|
-
| **repository_version_added** | **String** |
|
|
277
|
-
| **repository_version_removed** | **String** |
|
|
275
|
+
| **repository_version** | **String** | | [optional] |
|
|
276
|
+
| **repository_version_added** | **String** | | [optional] |
|
|
277
|
+
| **repository_version_removed** | **String** | | [optional] |
|
|
278
278
|
| **requires_python** | **String** | Filter results where requires_python matches value | [optional] |
|
|
279
279
|
| **requires_python__contains** | **String** | Filter results where requires_python contains value | [optional] |
|
|
280
280
|
| **requires_python__in** | [**Array<String>**](String.md) | Filter results where requires_python is in a comma-separated list of values | [optional] |
|
|
@@ -126,16 +126,16 @@ opts = {
|
|
|
126
126
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
127
127
|
ordering: ['-pk'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
128
128
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
129
|
-
package: '
|
|
130
|
-
package__in: ['inner_example'], # Array<String> |
|
|
129
|
+
package: 'package_example', # String |
|
|
130
|
+
package__in: ['inner_example'], # Array<String> |
|
|
131
131
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
132
132
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
133
133
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
134
134
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
135
135
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
136
|
-
repository_version: 'repository_version_example', # String |
|
|
137
|
-
repository_version_added: 'repository_version_added_example', # String |
|
|
138
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
|
136
|
+
repository_version: 'repository_version_example', # String |
|
|
137
|
+
repository_version_added: 'repository_version_added_example', # String |
|
|
138
|
+
repository_version_removed: 'repository_version_removed_example', # String |
|
|
139
139
|
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
|
140
140
|
sha256__in: ['inner_example'], # Array<String> | Filter results where sha256 is in a comma-separated list of values
|
|
141
141
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
@@ -178,16 +178,16 @@ end
|
|
|
178
178
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
179
179
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
180
180
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
181
|
-
| **package** | **String** |
|
|
182
|
-
| **package__in** | [**Array<String>**](String.md) |
|
|
181
|
+
| **package** | **String** | | [optional] |
|
|
182
|
+
| **package__in** | [**Array<String>**](String.md) | | [optional] |
|
|
183
183
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
184
184
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
185
185
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
186
186
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
187
187
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
188
|
-
| **repository_version** | **String** |
|
|
189
|
-
| **repository_version_added** | **String** |
|
|
190
|
-
| **repository_version_removed** | **String** |
|
|
188
|
+
| **repository_version** | **String** | | [optional] |
|
|
189
|
+
| **repository_version_added** | **String** | | [optional] |
|
|
190
|
+
| **repository_version_removed** | **String** | | [optional] |
|
|
191
191
|
| **sha256** | **String** | Filter results where sha256 matches value | [optional] |
|
|
192
192
|
| **sha256__in** | [**Array<String>**](String.md) | Filter results where sha256 is in a comma-separated list of values | [optional] |
|
|
193
193
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
@@ -287,8 +287,8 @@ opts = {
|
|
|
287
287
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
288
288
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
289
289
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
290
|
-
repository: '
|
|
291
|
-
repository__in: ['inner_example'], # Array<String> |
|
|
290
|
+
repository: 'repository_example', # String |
|
|
291
|
+
repository__in: ['inner_example'], # Array<String> |
|
|
292
292
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
|
293
293
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
294
294
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -348,8 +348,8 @@ end
|
|
|
348
348
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
349
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
350
350
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
351
|
-
| **repository** | **String** |
|
|
352
|
-
| **repository__in** | [**Array<String>**](String.md) |
|
|
351
|
+
| **repository** | **String** | | [optional] |
|
|
352
|
+
| **repository__in** | [**Array<String>**](String.md) | | [optional] |
|
|
353
353
|
| **with_content** | **String** | Filter distributions based on the content served by them | [optional] |
|
|
354
354
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
355
355
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
data/docs/PublicationsPypiApi.md
CHANGED
|
@@ -278,7 +278,7 @@ opts = {
|
|
|
278
278
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
279
279
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
280
280
|
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
|
281
|
-
repository_version: '
|
|
281
|
+
repository_version: 'repository_version_example', # String |
|
|
282
282
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
283
283
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
284
284
|
}
|
|
@@ -333,7 +333,7 @@ end
|
|
|
333
333
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
334
334
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
335
335
|
| **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
|
|
336
|
-
| **repository_version** | **String** |
|
|
336
|
+
| **repository_version** | **String** | | [optional] |
|
|
337
337
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
338
338
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
339
339
|
|
|
@@ -286,7 +286,7 @@ opts = {
|
|
|
286
286
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
287
287
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
288
288
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
289
|
-
remote: '
|
|
289
|
+
remote: 'remote_example', # String |
|
|
290
290
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
291
291
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
292
292
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -350,7 +350,7 @@ end
|
|
|
350
350
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
351
351
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
352
352
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
353
|
-
| **remote** | **String** |
|
|
353
|
+
| **remote** | **String** | | [optional] |
|
|
354
354
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
355
355
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
356
356
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -238,9 +238,9 @@ module PulpPythonClient
|
|
|
238
238
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
239
239
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
240
240
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
241
|
-
# @option opts [String] :repository_version
|
|
242
|
-
# @option opts [String] :repository_version_added
|
|
243
|
-
# @option opts [String] :repository_version_removed
|
|
241
|
+
# @option opts [String] :repository_version
|
|
242
|
+
# @option opts [String] :repository_version_added
|
|
243
|
+
# @option opts [String] :repository_version_removed
|
|
244
244
|
# @option opts [String] :requires_python Filter results where requires_python matches value
|
|
245
245
|
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
|
246
246
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
|
@@ -285,9 +285,9 @@ module PulpPythonClient
|
|
|
285
285
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
286
286
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
287
287
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
288
|
-
# @option opts [String] :repository_version
|
|
289
|
-
# @option opts [String] :repository_version_added
|
|
290
|
-
# @option opts [String] :repository_version_removed
|
|
288
|
+
# @option opts [String] :repository_version
|
|
289
|
+
# @option opts [String] :repository_version_added
|
|
290
|
+
# @option opts [String] :repository_version_removed
|
|
291
291
|
# @option opts [String] :requires_python Filter results where requires_python matches value
|
|
292
292
|
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
|
293
293
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
|
@@ -124,16 +124,16 @@ module PulpPythonClient
|
|
|
124
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
125
125
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
126
126
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
127
|
-
# @option opts [String] :package
|
|
128
|
-
# @option opts [Array<String>] :package__in
|
|
127
|
+
# @option opts [String] :package
|
|
128
|
+
# @option opts [Array<String>] :package__in
|
|
129
129
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
130
130
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
131
131
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
132
132
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
133
133
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
134
|
-
# @option opts [String] :repository_version
|
|
135
|
-
# @option opts [String] :repository_version_added
|
|
136
|
-
# @option opts [String] :repository_version_removed
|
|
134
|
+
# @option opts [String] :repository_version
|
|
135
|
+
# @option opts [String] :repository_version_added
|
|
136
|
+
# @option opts [String] :repository_version_removed
|
|
137
137
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
138
138
|
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
|
139
139
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -152,16 +152,16 @@ module PulpPythonClient
|
|
|
152
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
153
153
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
154
154
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
155
|
-
# @option opts [String] :package
|
|
156
|
-
# @option opts [Array<String>] :package__in
|
|
155
|
+
# @option opts [String] :package
|
|
156
|
+
# @option opts [Array<String>] :package__in
|
|
157
157
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
158
158
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
159
159
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
160
160
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
161
161
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
162
|
-
# @option opts [String] :repository_version
|
|
163
|
-
# @option opts [String] :repository_version_added
|
|
164
|
-
# @option opts [String] :repository_version_removed
|
|
162
|
+
# @option opts [String] :repository_version
|
|
163
|
+
# @option opts [String] :repository_version_added
|
|
164
|
+
# @option opts [String] :repository_version_removed
|
|
165
165
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
166
166
|
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
|
167
167
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -259,8 +259,8 @@ module PulpPythonClient
|
|
|
259
259
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
260
260
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
261
261
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
262
|
-
# @option opts [String] :repository
|
|
263
|
-
# @option opts [Array<String>] :repository__in
|
|
262
|
+
# @option opts [String] :repository
|
|
263
|
+
# @option opts [Array<String>] :repository__in
|
|
264
264
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
265
265
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
266
266
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -296,8 +296,8 @@ module PulpPythonClient
|
|
|
296
296
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
297
297
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
298
298
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
299
|
-
# @option opts [String] :repository
|
|
300
|
-
# @option opts [Array<String>] :repository__in
|
|
299
|
+
# @option opts [String] :repository
|
|
300
|
+
# @option opts [Array<String>] :repository__in
|
|
301
301
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
302
302
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
303
303
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -253,7 +253,7 @@ module PulpPythonClient
|
|
|
253
253
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
254
254
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
255
255
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
256
|
-
# @option opts [String] :repository_version
|
|
256
|
+
# @option opts [String] :repository_version
|
|
257
257
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
258
258
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
259
259
|
# @return [PaginatedpythonPythonPublicationResponseList]
|
|
@@ -284,7 +284,7 @@ module PulpPythonClient
|
|
|
284
284
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
285
285
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
286
286
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
287
|
-
# @option opts [String] :repository_version
|
|
287
|
+
# @option opts [String] :repository_version
|
|
288
288
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
289
289
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
290
290
|
# @return [Array<(PaginatedpythonPythonPublicationResponseList, Integer, Hash)>] PaginatedpythonPythonPublicationResponseList data, response status code and response headers
|
|
@@ -255,7 +255,7 @@ module PulpPythonClient
|
|
|
255
255
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
256
256
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
257
257
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
258
|
-
# @option opts [String] :remote
|
|
258
|
+
# @option opts [String] :remote
|
|
259
259
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
260
260
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
261
261
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -295,7 +295,7 @@ module PulpPythonClient
|
|
|
295
295
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
296
296
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
297
297
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
298
|
-
# @option opts [String] :remote
|
|
298
|
+
# @option opts [String] :remote
|
|
299
299
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
300
300
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
301
301
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -420,6 +420,10 @@ module PulpPythonClient
|
|
|
420
420
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
421
421
|
end
|
|
422
422
|
|
|
423
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
424
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
425
|
+
end
|
|
426
|
+
|
|
423
427
|
invalid_properties
|
|
424
428
|
end
|
|
425
429
|
|
|
@@ -441,6 +445,7 @@ module PulpPythonClient
|
|
|
441
445
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
442
446
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
443
447
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
448
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
444
449
|
true
|
|
445
450
|
end
|
|
446
451
|
|
|
@@ -592,6 +597,16 @@ module PulpPythonClient
|
|
|
592
597
|
@sock_read_timeout = sock_read_timeout
|
|
593
598
|
end
|
|
594
599
|
|
|
600
|
+
# Custom attribute writer method with validation
|
|
601
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
602
|
+
def download_concurrency=(download_concurrency)
|
|
603
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
604
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
@download_concurrency = download_concurrency
|
|
608
|
+
end
|
|
609
|
+
|
|
595
610
|
# Checks equality by comparing each attribute.
|
|
596
611
|
# @param [Object] Object to be compared
|
|
597
612
|
def ==(o)
|
|
@@ -128,6 +128,10 @@ module PulpPythonClient
|
|
|
128
128
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
132
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
133
|
+
end
|
|
134
|
+
|
|
131
135
|
invalid_properties
|
|
132
136
|
end
|
|
133
137
|
|
|
@@ -137,6 +141,7 @@ module PulpPythonClient
|
|
|
137
141
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
138
142
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
139
143
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
144
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
140
145
|
true
|
|
141
146
|
end
|
|
142
147
|
|
|
@@ -164,6 +169,16 @@ module PulpPythonClient
|
|
|
164
169
|
@description = description
|
|
165
170
|
end
|
|
166
171
|
|
|
172
|
+
# Custom attribute writer method with validation
|
|
173
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
174
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
175
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
176
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
@retain_repo_versions = retain_repo_versions
|
|
180
|
+
end
|
|
181
|
+
|
|
167
182
|
# Checks equality by comparing each attribute.
|
|
168
183
|
# @param [Object] Object to be compared
|
|
169
184
|
def ==(o)
|
|
@@ -432,6 +432,10 @@ module PulpPythonClient
|
|
|
432
432
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
436
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
437
|
+
end
|
|
438
|
+
|
|
435
439
|
invalid_properties
|
|
436
440
|
end
|
|
437
441
|
|
|
@@ -455,6 +459,7 @@ module PulpPythonClient
|
|
|
455
459
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
456
460
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
457
461
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
462
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
458
463
|
true
|
|
459
464
|
end
|
|
460
465
|
|
|
@@ -606,6 +611,16 @@ module PulpPythonClient
|
|
|
606
611
|
@sock_read_timeout = sock_read_timeout
|
|
607
612
|
end
|
|
608
613
|
|
|
614
|
+
# Custom attribute writer method with validation
|
|
615
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
616
|
+
def download_concurrency=(download_concurrency)
|
|
617
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
618
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
@download_concurrency = download_concurrency
|
|
622
|
+
end
|
|
623
|
+
|
|
609
624
|
# Checks equality by comparing each attribute.
|
|
610
625
|
# @param [Object] Object to be compared
|
|
611
626
|
def ==(o)
|
|
@@ -388,6 +388,10 @@ module PulpPythonClient
|
|
|
388
388
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
389
389
|
end
|
|
390
390
|
|
|
391
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
392
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
393
|
+
end
|
|
394
|
+
|
|
391
395
|
invalid_properties
|
|
392
396
|
end
|
|
393
397
|
|
|
@@ -401,6 +405,7 @@ module PulpPythonClient
|
|
|
401
405
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
402
406
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
403
407
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
408
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
404
409
|
true
|
|
405
410
|
end
|
|
406
411
|
|
|
@@ -444,6 +449,16 @@ module PulpPythonClient
|
|
|
444
449
|
@sock_read_timeout = sock_read_timeout
|
|
445
450
|
end
|
|
446
451
|
|
|
452
|
+
# Custom attribute writer method with validation
|
|
453
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
454
|
+
def download_concurrency=(download_concurrency)
|
|
455
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
456
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
@download_concurrency = download_concurrency
|
|
460
|
+
end
|
|
461
|
+
|
|
447
462
|
# Checks equality by comparing each attribute.
|
|
448
463
|
# @param [Object] Object to be compared
|
|
449
464
|
def ==(o)
|
|
@@ -134,6 +134,10 @@ module PulpPythonClient
|
|
|
134
134
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
138
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
139
|
+
end
|
|
140
|
+
|
|
137
141
|
invalid_properties
|
|
138
142
|
end
|
|
139
143
|
|
|
@@ -144,6 +148,7 @@ module PulpPythonClient
|
|
|
144
148
|
return false if @name.nil?
|
|
145
149
|
return false if @name.to_s.length < 1
|
|
146
150
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
151
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
147
152
|
true
|
|
148
153
|
end
|
|
149
154
|
|
|
@@ -171,6 +176,16 @@ module PulpPythonClient
|
|
|
171
176
|
@description = description
|
|
172
177
|
end
|
|
173
178
|
|
|
179
|
+
# Custom attribute writer method with validation
|
|
180
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
181
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
182
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
183
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
@retain_repo_versions = retain_repo_versions
|
|
187
|
+
end
|
|
188
|
+
|
|
174
189
|
# Checks equality by comparing each attribute.
|
|
175
190
|
# @param [Object] Object to be compared
|
|
176
191
|
def ==(o)
|
|
@@ -177,6 +177,10 @@ module PulpPythonClient
|
|
|
177
177
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
181
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
182
|
+
end
|
|
183
|
+
|
|
180
184
|
invalid_properties
|
|
181
185
|
end
|
|
182
186
|
|
|
@@ -185,9 +189,20 @@ module PulpPythonClient
|
|
|
185
189
|
def valid?
|
|
186
190
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
187
191
|
return false if @name.nil?
|
|
192
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
188
193
|
true
|
|
189
194
|
end
|
|
190
195
|
|
|
196
|
+
# Custom attribute writer method with validation
|
|
197
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
198
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
199
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
200
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
@retain_repo_versions = retain_repo_versions
|
|
204
|
+
end
|
|
205
|
+
|
|
191
206
|
# Checks equality by comparing each attribute.
|
|
192
207
|
# @param [Object] Object to be compared
|
|
193
208
|
def ==(o)
|
|
@@ -278,6 +278,10 @@ module PulpPythonClient
|
|
|
278
278
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
279
279
|
end
|
|
280
280
|
|
|
281
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
282
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
283
|
+
end
|
|
284
|
+
|
|
281
285
|
invalid_properties
|
|
282
286
|
end
|
|
283
287
|
|
|
@@ -297,6 +301,7 @@ module PulpPythonClient
|
|
|
297
301
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
298
302
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
299
303
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
304
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
300
305
|
true
|
|
301
306
|
end
|
|
302
307
|
|
|
@@ -420,6 +425,16 @@ module PulpPythonClient
|
|
|
420
425
|
@sock_read_timeout = sock_read_timeout
|
|
421
426
|
end
|
|
422
427
|
|
|
428
|
+
# Custom attribute writer method with validation
|
|
429
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
430
|
+
def download_concurrency=(download_concurrency)
|
|
431
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
432
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
@download_concurrency = download_concurrency
|
|
436
|
+
end
|
|
437
|
+
|
|
423
438
|
# Checks equality by comparing each attribute.
|
|
424
439
|
# @param [Object] Object to be compared
|
|
425
440
|
def ==(o)
|
|
@@ -196,6 +196,10 @@ module PulpPythonClient
|
|
|
196
196
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
200
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
201
|
+
end
|
|
202
|
+
|
|
199
203
|
invalid_properties
|
|
200
204
|
end
|
|
201
205
|
|
|
@@ -207,6 +211,7 @@ module PulpPythonClient
|
|
|
207
211
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
208
212
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
209
213
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
214
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
210
215
|
true
|
|
211
216
|
end
|
|
212
217
|
|
|
@@ -250,6 +255,16 @@ module PulpPythonClient
|
|
|
250
255
|
@sock_read_timeout = sock_read_timeout
|
|
251
256
|
end
|
|
252
257
|
|
|
258
|
+
# Custom attribute writer method with validation
|
|
259
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
260
|
+
def download_concurrency=(download_concurrency)
|
|
261
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
262
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
@download_concurrency = download_concurrency
|
|
266
|
+
end
|
|
267
|
+
|
|
253
268
|
# Checks equality by comparing each attribute.
|
|
254
269
|
# @param [Object] Object to be compared
|
|
255
270
|
def ==(o)
|
|
@@ -89,11 +89,6 @@ module PulpPythonClient
|
|
|
89
89
|
invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
93
|
-
if @key !~ pattern
|
|
94
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
95
|
-
end
|
|
96
|
-
|
|
97
92
|
invalid_properties
|
|
98
93
|
end
|
|
99
94
|
|
|
@@ -103,7 +98,6 @@ module PulpPythonClient
|
|
|
103
98
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
104
99
|
return false if @key.nil?
|
|
105
100
|
return false if @key.to_s.length < 1
|
|
106
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
107
101
|
true
|
|
108
102
|
end
|
|
109
103
|
|
|
@@ -118,11 +112,6 @@ module PulpPythonClient
|
|
|
118
112
|
fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
|
|
119
113
|
end
|
|
120
114
|
|
|
121
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
122
|
-
if key !~ pattern
|
|
123
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
124
|
-
end
|
|
125
|
-
|
|
126
115
|
@key = key
|
|
127
116
|
end
|
|
128
117
|
|
|
@@ -85,11 +85,6 @@ module PulpPythonClient
|
|
|
85
85
|
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
89
|
-
if @key !~ pattern
|
|
90
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
91
|
-
end
|
|
92
|
-
|
|
93
88
|
invalid_properties
|
|
94
89
|
end
|
|
95
90
|
|
|
@@ -98,25 +93,9 @@ module PulpPythonClient
|
|
|
98
93
|
def valid?
|
|
99
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
100
95
|
return false if @key.nil?
|
|
101
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
102
96
|
true
|
|
103
97
|
end
|
|
104
98
|
|
|
105
|
-
# Custom attribute writer method with validation
|
|
106
|
-
# @param [Object] key Value to be assigned
|
|
107
|
-
def key=(key)
|
|
108
|
-
if key.nil?
|
|
109
|
-
fail ArgumentError, 'key cannot be nil'
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
113
|
-
if key !~ pattern
|
|
114
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@key = key
|
|
118
|
-
end
|
|
119
|
-
|
|
120
99
|
# Checks equality by comparing each attribute.
|
|
121
100
|
# @param [Object] Object to be compared
|
|
122
101
|
def ==(o)
|
|
@@ -78,11 +78,6 @@ module PulpPythonClient
|
|
|
78
78
|
invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
82
|
-
if @key !~ pattern
|
|
83
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
84
|
-
end
|
|
85
|
-
|
|
86
81
|
invalid_properties
|
|
87
82
|
end
|
|
88
83
|
|
|
@@ -92,7 +87,6 @@ module PulpPythonClient
|
|
|
92
87
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
93
88
|
return false if @key.nil?
|
|
94
89
|
return false if @key.to_s.length < 1
|
|
95
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
96
90
|
true
|
|
97
91
|
end
|
|
98
92
|
|
|
@@ -107,11 +101,6 @@ module PulpPythonClient
|
|
|
107
101
|
fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
|
|
108
102
|
end
|
|
109
103
|
|
|
110
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
111
|
-
if key !~ pattern
|
|
112
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
113
|
-
end
|
|
114
|
-
|
|
115
104
|
@key = key
|
|
116
105
|
end
|
|
117
106
|
|
|
@@ -82,11 +82,6 @@ module PulpPythonClient
|
|
|
82
82
|
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
86
|
-
if @key !~ pattern
|
|
87
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
88
|
-
end
|
|
89
|
-
|
|
90
85
|
invalid_properties
|
|
91
86
|
end
|
|
92
87
|
|
|
@@ -95,25 +90,9 @@ module PulpPythonClient
|
|
|
95
90
|
def valid?
|
|
96
91
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
97
92
|
return false if @key.nil?
|
|
98
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
99
93
|
true
|
|
100
94
|
end
|
|
101
95
|
|
|
102
|
-
# Custom attribute writer method with validation
|
|
103
|
-
# @param [Object] key Value to be assigned
|
|
104
|
-
def key=(key)
|
|
105
|
-
if key.nil?
|
|
106
|
-
fail ArgumentError, 'key cannot be nil'
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
110
|
-
if key !~ pattern
|
|
111
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
@key = key
|
|
115
|
-
end
|
|
116
|
-
|
|
117
96
|
# Checks equality by comparing each attribute.
|
|
118
97
|
# @param [Object] Object to be compared
|
|
119
98
|
def ==(o)
|
|
@@ -107,9 +107,9 @@ describe 'ContentPackagesApi' do
|
|
|
107
107
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
108
108
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
109
109
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
110
|
-
# @option opts [String] :repository_version
|
|
111
|
-
# @option opts [String] :repository_version_added
|
|
112
|
-
# @option opts [String] :repository_version_removed
|
|
110
|
+
# @option opts [String] :repository_version
|
|
111
|
+
# @option opts [String] :repository_version_added
|
|
112
|
+
# @option opts [String] :repository_version_removed
|
|
113
113
|
# @option opts [String] :requires_python Filter results where requires_python matches value
|
|
114
114
|
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
|
115
115
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
|
@@ -61,16 +61,16 @@ describe 'ContentProvenanceApi' do
|
|
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
62
62
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
63
63
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
64
|
-
# @option opts [String] :package
|
|
65
|
-
# @option opts [Array<String>] :package__in
|
|
64
|
+
# @option opts [String] :package
|
|
65
|
+
# @option opts [Array<String>] :package__in
|
|
66
66
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
67
67
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
68
68
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
69
69
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
70
70
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
71
|
-
# @option opts [String] :repository_version
|
|
72
|
-
# @option opts [String] :repository_version_added
|
|
73
|
-
# @option opts [String] :repository_version_removed
|
|
71
|
+
# @option opts [String] :repository_version
|
|
72
|
+
# @option opts [String] :repository_version_added
|
|
73
|
+
# @option opts [String] :repository_version_removed
|
|
74
74
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
75
75
|
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
|
76
76
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -99,8 +99,8 @@ describe 'DistributionsPypiApi' do
|
|
|
99
99
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
100
100
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
101
101
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
102
|
-
# @option opts [String] :repository
|
|
103
|
-
# @option opts [Array<String>] :repository__in
|
|
102
|
+
# @option opts [String] :repository
|
|
103
|
+
# @option opts [Array<String>] :repository__in
|
|
104
104
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
105
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
106
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -95,7 +95,7 @@ describe 'PublicationsPypiApi' do
|
|
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
96
96
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
97
97
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
98
|
-
# @option opts [String] :repository_version
|
|
98
|
+
# @option opts [String] :repository_version
|
|
99
99
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
100
100
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
101
101
|
# @return [PaginatedpythonPythonPublicationResponseList]
|
|
@@ -95,7 +95,7 @@ describe 'RepositoriesPythonApi' do
|
|
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
96
96
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
97
97
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
98
|
-
# @option opts [String] :remote
|
|
98
|
+
# @option opts [String] :remote
|
|
99
99
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
100
100
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
101
101
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.26.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-
|
|
11
|
+
date: 2026-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|