pulp_python_client 3.27.0 → 3.27.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/PatchedpythonPythonDistribution.md +2 -2
- data/docs/PatchedpythonPythonRepository.md +2 -0
- data/docs/PythonPythonDistribution.md +2 -2
- data/docs/PythonPythonDistributionResponse.md +4 -2
- data/docs/PythonPythonRepository.md +2 -0
- data/docs/PythonPythonRepositoryResponse.md +2 -0
- data/docs/RepositoriesPythonApi.md +18 -2
- data/lib/pulp_python_client/api/repositories_python_api.rb +27 -3
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +12 -12
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +27 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +12 -12
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +22 -12
- data/lib/pulp_python_client/models/python_python_repository.rb +27 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +27 -1
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/repositories_python_api_spec.rb +9 -1
- data/spec/models/patchedpython_python_distribution_spec.rb +2 -2
- data/spec/models/patchedpython_python_repository_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +8 -2
- data/spec/models/python_python_distribution_spec.rb +2 -2
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/python_python_repository_spec.rb +6 -0
- metadata +44 -44
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d19e4616025dcfc364f8d2ba3067a4f36f997c1f619133e738fa8f265fe1399
|
|
4
|
+
data.tar.gz: 1726af45abf162feea812208bea8490f57ec079e4160b0f4797e2612984b5477
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe9e313efef0bf96fc0f7182db5e37a5b094638539a6faabd51fef63b1bd7a5cb27b16b914a7ac466085e360370fb7a258284c870a1730b8f898cecdefa5a9d1
|
|
7
|
+
data.tar.gz: 1753a65fb3c9b5cf434f4c14b41a1b23ca27e94e51c6e72e9988803493e4b739e2a5c8f1e7a8c22dd3415d77adeb874d694ad0cee64339f55b3dd6ab8bc9ac03
|
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.27.
|
|
10
|
+
- Package version: 3.27.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.27.
|
|
28
|
+
gem install ./pulp_python_client-3.27.1.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.27.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.27.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.27.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.27.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
-
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
14
13
|
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
14
|
+
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
15
15
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
16
16
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
17
17
|
|
|
@@ -27,8 +27,8 @@ instance = PulpPythonClient::PatchedpythonPythonDistribution.new(
|
|
|
27
27
|
pulp_labels: null,
|
|
28
28
|
name: null,
|
|
29
29
|
repository: null,
|
|
30
|
-
publication: null,
|
|
31
30
|
repository_version: null,
|
|
31
|
+
publication: null,
|
|
32
32
|
allow_uploads: null,
|
|
33
33
|
remote: null
|
|
34
34
|
)
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
13
14
|
|
|
@@ -21,6 +22,7 @@ instance = PulpPythonClient::PatchedpythonPythonRepository.new(
|
|
|
21
22
|
name: null,
|
|
22
23
|
description: null,
|
|
23
24
|
retain_repo_versions: null,
|
|
25
|
+
retain_checkpoints: null,
|
|
24
26
|
remote: null,
|
|
25
27
|
autopublish: null
|
|
26
28
|
)
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
-
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
14
13
|
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
14
|
+
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
15
15
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
16
16
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
17
17
|
|
|
@@ -27,8 +27,8 @@ instance = PulpPythonClient::PythonPythonDistribution.new(
|
|
|
27
27
|
pulp_labels: null,
|
|
28
28
|
name: null,
|
|
29
29
|
repository: null,
|
|
30
|
-
publication: null,
|
|
31
30
|
repository_version: null,
|
|
31
|
+
publication: null,
|
|
32
32
|
allow_uploads: null,
|
|
33
33
|
remote: null
|
|
34
34
|
)
|
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
18
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
19
|
-
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
20
20
|
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
21
|
+
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
21
22
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
22
23
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
23
24
|
|
|
@@ -34,13 +35,14 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(
|
|
|
34
35
|
base_path: null,
|
|
35
36
|
base_url: null,
|
|
36
37
|
content_guard: null,
|
|
38
|
+
content_guard_prn: null,
|
|
37
39
|
no_content_change_since: null,
|
|
38
40
|
hidden: null,
|
|
39
41
|
pulp_labels: null,
|
|
40
42
|
name: null,
|
|
41
43
|
repository: null,
|
|
42
|
-
publication: null,
|
|
43
44
|
repository_version: null,
|
|
45
|
+
publication: null,
|
|
44
46
|
allow_uploads: null,
|
|
45
47
|
remote: null
|
|
46
48
|
)
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
13
14
|
|
|
@@ -21,6 +22,7 @@ instance = PulpPythonClient::PythonPythonRepository.new(
|
|
|
21
22
|
name: null,
|
|
22
23
|
description: null,
|
|
23
24
|
retain_repo_versions: null,
|
|
25
|
+
retain_checkpoints: null,
|
|
24
26
|
remote: null,
|
|
25
27
|
autopublish: null
|
|
26
28
|
)
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
19
20
|
|
|
@@ -33,6 +34,7 @@ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(
|
|
|
33
34
|
name: null,
|
|
34
35
|
description: null,
|
|
35
36
|
retain_repo_versions: null,
|
|
37
|
+
retain_checkpoints: null,
|
|
36
38
|
remote: null,
|
|
37
39
|
autopublish: null
|
|
38
40
|
)
|
|
@@ -280,13 +280,21 @@ opts = {
|
|
|
280
280
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
281
281
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
282
282
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
283
|
-
ordering: ['-description'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
283
|
+
ordering: ['-description'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
284
284
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
285
285
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
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
289
|
remote: 'remote_example', # String |
|
|
290
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
291
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
292
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
293
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
294
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
295
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
296
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
297
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
290
298
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
291
299
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
292
300
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -344,13 +352,21 @@ end
|
|
|
344
352
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
345
353
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
346
354
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
347
|
-
| **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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
355
|
+
| **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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
348
356
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
357
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
350
358
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
351
359
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
352
360
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
353
361
|
| **remote** | **String** | | [optional] |
|
|
362
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
363
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
364
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
365
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
366
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
367
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
368
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
369
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
354
370
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
355
371
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
356
372
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -249,13 +249,21 @@ module PulpPythonClient
|
|
|
249
249
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
250
250
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
251
251
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
252
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
252
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
253
253
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
254
254
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
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
258
|
# @option opts [String] :remote
|
|
259
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
260
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
261
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
262
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
263
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
264
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
265
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
266
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
259
267
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
260
268
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
261
269
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -289,13 +297,21 @@ module PulpPythonClient
|
|
|
289
297
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
290
298
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
291
299
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
292
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
300
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
293
301
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
294
302
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
295
303
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
296
304
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
297
305
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
298
306
|
# @option opts [String] :remote
|
|
307
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
308
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
309
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
310
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
311
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
312
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
313
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
314
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
299
315
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
300
316
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
301
317
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -312,7 +328,7 @@ module PulpPythonClient
|
|
|
312
328
|
if @api_client.config.debugging
|
|
313
329
|
@api_client.config.logger.debug 'Calling API: RepositoriesPythonApi.list ...'
|
|
314
330
|
end
|
|
315
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
331
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
316
332
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
317
333
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
318
334
|
end
|
|
@@ -340,6 +356,14 @@ module PulpPythonClient
|
|
|
340
356
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
341
357
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
342
358
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
359
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
360
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
361
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
362
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
363
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
364
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
365
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
366
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
343
367
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
344
368
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
345
369
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -33,12 +33,12 @@ module PulpPythonClient
|
|
|
33
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
34
|
attr_accessor :repository
|
|
35
35
|
|
|
36
|
-
# Publication to be served. [Deprecated]
|
|
37
|
-
attr_accessor :publication
|
|
38
|
-
|
|
39
36
|
# RepositoryVersion to be served.
|
|
40
37
|
attr_accessor :repository_version
|
|
41
38
|
|
|
39
|
+
# Publication to be served. [Deprecated]
|
|
40
|
+
attr_accessor :publication
|
|
41
|
+
|
|
42
42
|
# Allow packages to be uploaded to this index.
|
|
43
43
|
attr_accessor :allow_uploads
|
|
44
44
|
|
|
@@ -54,8 +54,8 @@ module PulpPythonClient
|
|
|
54
54
|
:'pulp_labels' => :'pulp_labels',
|
|
55
55
|
:'name' => :'name',
|
|
56
56
|
:'repository' => :'repository',
|
|
57
|
-
:'publication' => :'publication',
|
|
58
57
|
:'repository_version' => :'repository_version',
|
|
58
|
+
:'publication' => :'publication',
|
|
59
59
|
:'allow_uploads' => :'allow_uploads',
|
|
60
60
|
:'remote' => :'remote'
|
|
61
61
|
}
|
|
@@ -75,8 +75,8 @@ module PulpPythonClient
|
|
|
75
75
|
:'pulp_labels' => :'Hash<String, String>',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'repository' => :'String',
|
|
78
|
-
:'publication' => :'String',
|
|
79
78
|
:'repository_version' => :'String',
|
|
79
|
+
:'publication' => :'String',
|
|
80
80
|
:'allow_uploads' => :'Boolean',
|
|
81
81
|
:'remote' => :'String'
|
|
82
82
|
}
|
|
@@ -87,8 +87,8 @@ module PulpPythonClient
|
|
|
87
87
|
Set.new([
|
|
88
88
|
:'content_guard',
|
|
89
89
|
:'repository',
|
|
90
|
-
:'publication',
|
|
91
90
|
:'repository_version',
|
|
91
|
+
:'publication',
|
|
92
92
|
:'remote'
|
|
93
93
|
])
|
|
94
94
|
end
|
|
@@ -136,14 +136,14 @@ module PulpPythonClient
|
|
|
136
136
|
self.repository = attributes[:'repository']
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
if attributes.key?(:'publication')
|
|
140
|
-
self.publication = attributes[:'publication']
|
|
141
|
-
end
|
|
142
|
-
|
|
143
139
|
if attributes.key?(:'repository_version')
|
|
144
140
|
self.repository_version = attributes[:'repository_version']
|
|
145
141
|
end
|
|
146
142
|
|
|
143
|
+
if attributes.key?(:'publication')
|
|
144
|
+
self.publication = attributes[:'publication']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
147
|
if attributes.key?(:'allow_uploads')
|
|
148
148
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
149
149
|
else
|
|
@@ -219,8 +219,8 @@ module PulpPythonClient
|
|
|
219
219
|
pulp_labels == o.pulp_labels &&
|
|
220
220
|
name == o.name &&
|
|
221
221
|
repository == o.repository &&
|
|
222
|
-
publication == o.publication &&
|
|
223
222
|
repository_version == o.repository_version &&
|
|
223
|
+
publication == o.publication &&
|
|
224
224
|
allow_uploads == o.allow_uploads &&
|
|
225
225
|
remote == o.remote
|
|
226
226
|
end
|
|
@@ -234,7 +234,7 @@ module PulpPythonClient
|
|
|
234
234
|
# Calculates hash code according to all attributes.
|
|
235
235
|
# @return [Integer] Hash code
|
|
236
236
|
def hash
|
|
237
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository,
|
|
237
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, publication, allow_uploads, remote].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpPythonClient
|
|
|
27
27
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
28
28
|
attr_accessor :retain_repo_versions
|
|
29
29
|
|
|
30
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
31
|
+
attr_accessor :retain_checkpoints
|
|
32
|
+
|
|
30
33
|
# An optional remote to use by default when syncing.
|
|
31
34
|
attr_accessor :remote
|
|
32
35
|
|
|
@@ -40,6 +43,7 @@ module PulpPythonClient
|
|
|
40
43
|
:'name' => :'name',
|
|
41
44
|
:'description' => :'description',
|
|
42
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
43
47
|
:'remote' => :'remote',
|
|
44
48
|
:'autopublish' => :'autopublish'
|
|
45
49
|
}
|
|
@@ -57,6 +61,7 @@ module PulpPythonClient
|
|
|
57
61
|
:'name' => :'String',
|
|
58
62
|
:'description' => :'String',
|
|
59
63
|
:'retain_repo_versions' => :'Integer',
|
|
64
|
+
:'retain_checkpoints' => :'Integer',
|
|
60
65
|
:'remote' => :'String',
|
|
61
66
|
:'autopublish' => :'Boolean'
|
|
62
67
|
}
|
|
@@ -67,6 +72,7 @@ module PulpPythonClient
|
|
|
67
72
|
Set.new([
|
|
68
73
|
:'description',
|
|
69
74
|
:'retain_repo_versions',
|
|
75
|
+
:'retain_checkpoints',
|
|
70
76
|
:'remote',
|
|
71
77
|
])
|
|
72
78
|
end
|
|
@@ -104,6 +110,10 @@ module PulpPythonClient
|
|
|
104
110
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
105
111
|
end
|
|
106
112
|
|
|
113
|
+
if attributes.key?(:'retain_checkpoints')
|
|
114
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
115
|
+
end
|
|
116
|
+
|
|
107
117
|
if attributes.key?(:'remote')
|
|
108
118
|
self.remote = attributes[:'remote']
|
|
109
119
|
end
|
|
@@ -132,6 +142,10 @@ module PulpPythonClient
|
|
|
132
142
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
133
143
|
end
|
|
134
144
|
|
|
145
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
146
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
147
|
+
end
|
|
148
|
+
|
|
135
149
|
invalid_properties
|
|
136
150
|
end
|
|
137
151
|
|
|
@@ -142,6 +156,7 @@ module PulpPythonClient
|
|
|
142
156
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
143
157
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
144
158
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
159
|
+
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
145
160
|
true
|
|
146
161
|
end
|
|
147
162
|
|
|
@@ -179,6 +194,16 @@ module PulpPythonClient
|
|
|
179
194
|
@retain_repo_versions = retain_repo_versions
|
|
180
195
|
end
|
|
181
196
|
|
|
197
|
+
# Custom attribute writer method with validation
|
|
198
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
199
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
200
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
201
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
@retain_checkpoints = retain_checkpoints
|
|
205
|
+
end
|
|
206
|
+
|
|
182
207
|
# Checks equality by comparing each attribute.
|
|
183
208
|
# @param [Object] Object to be compared
|
|
184
209
|
def ==(o)
|
|
@@ -188,6 +213,7 @@ module PulpPythonClient
|
|
|
188
213
|
name == o.name &&
|
|
189
214
|
description == o.description &&
|
|
190
215
|
retain_repo_versions == o.retain_repo_versions &&
|
|
216
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
191
217
|
remote == o.remote &&
|
|
192
218
|
autopublish == o.autopublish
|
|
193
219
|
end
|
|
@@ -201,7 +227,7 @@ module PulpPythonClient
|
|
|
201
227
|
# Calculates hash code according to all attributes.
|
|
202
228
|
# @return [Integer] Hash code
|
|
203
229
|
def hash
|
|
204
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish].hash
|
|
230
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
205
231
|
end
|
|
206
232
|
|
|
207
233
|
# Builds the object from hash
|
|
@@ -33,12 +33,12 @@ module PulpPythonClient
|
|
|
33
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
34
|
attr_accessor :repository
|
|
35
35
|
|
|
36
|
-
# Publication to be served. [Deprecated]
|
|
37
|
-
attr_accessor :publication
|
|
38
|
-
|
|
39
36
|
# RepositoryVersion to be served.
|
|
40
37
|
attr_accessor :repository_version
|
|
41
38
|
|
|
39
|
+
# Publication to be served. [Deprecated]
|
|
40
|
+
attr_accessor :publication
|
|
41
|
+
|
|
42
42
|
# Allow packages to be uploaded to this index.
|
|
43
43
|
attr_accessor :allow_uploads
|
|
44
44
|
|
|
@@ -54,8 +54,8 @@ module PulpPythonClient
|
|
|
54
54
|
:'pulp_labels' => :'pulp_labels',
|
|
55
55
|
:'name' => :'name',
|
|
56
56
|
:'repository' => :'repository',
|
|
57
|
-
:'publication' => :'publication',
|
|
58
57
|
:'repository_version' => :'repository_version',
|
|
58
|
+
:'publication' => :'publication',
|
|
59
59
|
:'allow_uploads' => :'allow_uploads',
|
|
60
60
|
:'remote' => :'remote'
|
|
61
61
|
}
|
|
@@ -75,8 +75,8 @@ module PulpPythonClient
|
|
|
75
75
|
:'pulp_labels' => :'Hash<String, String>',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'repository' => :'String',
|
|
78
|
-
:'publication' => :'String',
|
|
79
78
|
:'repository_version' => :'String',
|
|
79
|
+
:'publication' => :'String',
|
|
80
80
|
:'allow_uploads' => :'Boolean',
|
|
81
81
|
:'remote' => :'String'
|
|
82
82
|
}
|
|
@@ -87,8 +87,8 @@ module PulpPythonClient
|
|
|
87
87
|
Set.new([
|
|
88
88
|
:'content_guard',
|
|
89
89
|
:'repository',
|
|
90
|
-
:'publication',
|
|
91
90
|
:'repository_version',
|
|
91
|
+
:'publication',
|
|
92
92
|
:'remote'
|
|
93
93
|
])
|
|
94
94
|
end
|
|
@@ -140,14 +140,14 @@ module PulpPythonClient
|
|
|
140
140
|
self.repository = attributes[:'repository']
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'publication')
|
|
144
|
-
self.publication = attributes[:'publication']
|
|
145
|
-
end
|
|
146
|
-
|
|
147
143
|
if attributes.key?(:'repository_version')
|
|
148
144
|
self.repository_version = attributes[:'repository_version']
|
|
149
145
|
end
|
|
150
146
|
|
|
147
|
+
if attributes.key?(:'publication')
|
|
148
|
+
self.publication = attributes[:'publication']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
151
|
if attributes.key?(:'allow_uploads')
|
|
152
152
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
153
153
|
else
|
|
@@ -233,8 +233,8 @@ module PulpPythonClient
|
|
|
233
233
|
pulp_labels == o.pulp_labels &&
|
|
234
234
|
name == o.name &&
|
|
235
235
|
repository == o.repository &&
|
|
236
|
-
publication == o.publication &&
|
|
237
236
|
repository_version == o.repository_version &&
|
|
237
|
+
publication == o.publication &&
|
|
238
238
|
allow_uploads == o.allow_uploads &&
|
|
239
239
|
remote == o.remote
|
|
240
240
|
end
|
|
@@ -248,7 +248,7 @@ module PulpPythonClient
|
|
|
248
248
|
# Calculates hash code according to all attributes.
|
|
249
249
|
# @return [Integer] Hash code
|
|
250
250
|
def hash
|
|
251
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository,
|
|
251
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, publication, allow_uploads, remote].hash
|
|
252
252
|
end
|
|
253
253
|
|
|
254
254
|
# Builds the object from hash
|
|
@@ -35,6 +35,9 @@ module PulpPythonClient
|
|
|
35
35
|
# An optional content-guard.
|
|
36
36
|
attr_accessor :content_guard
|
|
37
37
|
|
|
38
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
39
|
+
attr_accessor :content_guard_prn
|
|
40
|
+
|
|
38
41
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
39
42
|
attr_accessor :no_content_change_since
|
|
40
43
|
|
|
@@ -49,12 +52,12 @@ module PulpPythonClient
|
|
|
49
52
|
# The latest RepositoryVersion for this Repository will be served.
|
|
50
53
|
attr_accessor :repository
|
|
51
54
|
|
|
52
|
-
# Publication to be served. [Deprecated]
|
|
53
|
-
attr_accessor :publication
|
|
54
|
-
|
|
55
55
|
# RepositoryVersion to be served.
|
|
56
56
|
attr_accessor :repository_version
|
|
57
57
|
|
|
58
|
+
# Publication to be served. [Deprecated]
|
|
59
|
+
attr_accessor :publication
|
|
60
|
+
|
|
58
61
|
# Allow packages to be uploaded to this index.
|
|
59
62
|
attr_accessor :allow_uploads
|
|
60
63
|
|
|
@@ -71,13 +74,14 @@ module PulpPythonClient
|
|
|
71
74
|
:'base_path' => :'base_path',
|
|
72
75
|
:'base_url' => :'base_url',
|
|
73
76
|
:'content_guard' => :'content_guard',
|
|
77
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
74
78
|
:'no_content_change_since' => :'no_content_change_since',
|
|
75
79
|
:'hidden' => :'hidden',
|
|
76
80
|
:'pulp_labels' => :'pulp_labels',
|
|
77
81
|
:'name' => :'name',
|
|
78
82
|
:'repository' => :'repository',
|
|
79
|
-
:'publication' => :'publication',
|
|
80
83
|
:'repository_version' => :'repository_version',
|
|
84
|
+
:'publication' => :'publication',
|
|
81
85
|
:'allow_uploads' => :'allow_uploads',
|
|
82
86
|
:'remote' => :'remote'
|
|
83
87
|
}
|
|
@@ -98,13 +102,14 @@ module PulpPythonClient
|
|
|
98
102
|
:'base_path' => :'String',
|
|
99
103
|
:'base_url' => :'String',
|
|
100
104
|
:'content_guard' => :'String',
|
|
105
|
+
:'content_guard_prn' => :'String',
|
|
101
106
|
:'no_content_change_since' => :'String',
|
|
102
107
|
:'hidden' => :'Boolean',
|
|
103
108
|
:'pulp_labels' => :'Hash<String, String>',
|
|
104
109
|
:'name' => :'String',
|
|
105
110
|
:'repository' => :'String',
|
|
106
|
-
:'publication' => :'String',
|
|
107
111
|
:'repository_version' => :'String',
|
|
112
|
+
:'publication' => :'String',
|
|
108
113
|
:'allow_uploads' => :'Boolean',
|
|
109
114
|
:'remote' => :'String'
|
|
110
115
|
}
|
|
@@ -115,8 +120,8 @@ module PulpPythonClient
|
|
|
115
120
|
Set.new([
|
|
116
121
|
:'content_guard',
|
|
117
122
|
:'repository',
|
|
118
|
-
:'publication',
|
|
119
123
|
:'repository_version',
|
|
124
|
+
:'publication',
|
|
120
125
|
:'remote'
|
|
121
126
|
])
|
|
122
127
|
end
|
|
@@ -166,6 +171,10 @@ module PulpPythonClient
|
|
|
166
171
|
self.content_guard = attributes[:'content_guard']
|
|
167
172
|
end
|
|
168
173
|
|
|
174
|
+
if attributes.key?(:'content_guard_prn')
|
|
175
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
176
|
+
end
|
|
177
|
+
|
|
169
178
|
if attributes.key?(:'no_content_change_since')
|
|
170
179
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
171
180
|
end
|
|
@@ -192,14 +201,14 @@ module PulpPythonClient
|
|
|
192
201
|
self.repository = attributes[:'repository']
|
|
193
202
|
end
|
|
194
203
|
|
|
195
|
-
if attributes.key?(:'publication')
|
|
196
|
-
self.publication = attributes[:'publication']
|
|
197
|
-
end
|
|
198
|
-
|
|
199
204
|
if attributes.key?(:'repository_version')
|
|
200
205
|
self.repository_version = attributes[:'repository_version']
|
|
201
206
|
end
|
|
202
207
|
|
|
208
|
+
if attributes.key?(:'publication')
|
|
209
|
+
self.publication = attributes[:'publication']
|
|
210
|
+
end
|
|
211
|
+
|
|
203
212
|
if attributes.key?(:'allow_uploads')
|
|
204
213
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
205
214
|
else
|
|
@@ -248,13 +257,14 @@ module PulpPythonClient
|
|
|
248
257
|
base_path == o.base_path &&
|
|
249
258
|
base_url == o.base_url &&
|
|
250
259
|
content_guard == o.content_guard &&
|
|
260
|
+
content_guard_prn == o.content_guard_prn &&
|
|
251
261
|
no_content_change_since == o.no_content_change_since &&
|
|
252
262
|
hidden == o.hidden &&
|
|
253
263
|
pulp_labels == o.pulp_labels &&
|
|
254
264
|
name == o.name &&
|
|
255
265
|
repository == o.repository &&
|
|
256
|
-
publication == o.publication &&
|
|
257
266
|
repository_version == o.repository_version &&
|
|
267
|
+
publication == o.publication &&
|
|
258
268
|
allow_uploads == o.allow_uploads &&
|
|
259
269
|
remote == o.remote
|
|
260
270
|
end
|
|
@@ -268,7 +278,7 @@ module PulpPythonClient
|
|
|
268
278
|
# Calculates hash code according to all attributes.
|
|
269
279
|
# @return [Integer] Hash code
|
|
270
280
|
def hash
|
|
271
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository,
|
|
281
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, content_guard_prn, no_content_change_since, hidden, pulp_labels, name, repository, repository_version, publication, allow_uploads, remote].hash
|
|
272
282
|
end
|
|
273
283
|
|
|
274
284
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpPythonClient
|
|
|
27
27
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
28
28
|
attr_accessor :retain_repo_versions
|
|
29
29
|
|
|
30
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
31
|
+
attr_accessor :retain_checkpoints
|
|
32
|
+
|
|
30
33
|
# An optional remote to use by default when syncing.
|
|
31
34
|
attr_accessor :remote
|
|
32
35
|
|
|
@@ -40,6 +43,7 @@ module PulpPythonClient
|
|
|
40
43
|
:'name' => :'name',
|
|
41
44
|
:'description' => :'description',
|
|
42
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
43
47
|
:'remote' => :'remote',
|
|
44
48
|
:'autopublish' => :'autopublish'
|
|
45
49
|
}
|
|
@@ -57,6 +61,7 @@ module PulpPythonClient
|
|
|
57
61
|
:'name' => :'String',
|
|
58
62
|
:'description' => :'String',
|
|
59
63
|
:'retain_repo_versions' => :'Integer',
|
|
64
|
+
:'retain_checkpoints' => :'Integer',
|
|
60
65
|
:'remote' => :'String',
|
|
61
66
|
:'autopublish' => :'Boolean'
|
|
62
67
|
}
|
|
@@ -67,6 +72,7 @@ module PulpPythonClient
|
|
|
67
72
|
Set.new([
|
|
68
73
|
:'description',
|
|
69
74
|
:'retain_repo_versions',
|
|
75
|
+
:'retain_checkpoints',
|
|
70
76
|
:'remote',
|
|
71
77
|
])
|
|
72
78
|
end
|
|
@@ -106,6 +112,10 @@ module PulpPythonClient
|
|
|
106
112
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
107
113
|
end
|
|
108
114
|
|
|
115
|
+
if attributes.key?(:'retain_checkpoints')
|
|
116
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
117
|
+
end
|
|
118
|
+
|
|
109
119
|
if attributes.key?(:'remote')
|
|
110
120
|
self.remote = attributes[:'remote']
|
|
111
121
|
end
|
|
@@ -138,6 +148,10 @@ module PulpPythonClient
|
|
|
138
148
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
139
149
|
end
|
|
140
150
|
|
|
151
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
152
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
153
|
+
end
|
|
154
|
+
|
|
141
155
|
invalid_properties
|
|
142
156
|
end
|
|
143
157
|
|
|
@@ -149,6 +163,7 @@ module PulpPythonClient
|
|
|
149
163
|
return false if @name.to_s.length < 1
|
|
150
164
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
151
165
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
166
|
+
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
152
167
|
true
|
|
153
168
|
end
|
|
154
169
|
|
|
@@ -186,6 +201,16 @@ module PulpPythonClient
|
|
|
186
201
|
@retain_repo_versions = retain_repo_versions
|
|
187
202
|
end
|
|
188
203
|
|
|
204
|
+
# Custom attribute writer method with validation
|
|
205
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
206
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
207
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
208
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
@retain_checkpoints = retain_checkpoints
|
|
212
|
+
end
|
|
213
|
+
|
|
189
214
|
# Checks equality by comparing each attribute.
|
|
190
215
|
# @param [Object] Object to be compared
|
|
191
216
|
def ==(o)
|
|
@@ -195,6 +220,7 @@ module PulpPythonClient
|
|
|
195
220
|
name == o.name &&
|
|
196
221
|
description == o.description &&
|
|
197
222
|
retain_repo_versions == o.retain_repo_versions &&
|
|
223
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
198
224
|
remote == o.remote &&
|
|
199
225
|
autopublish == o.autopublish
|
|
200
226
|
end
|
|
@@ -208,7 +234,7 @@ module PulpPythonClient
|
|
|
208
234
|
# Calculates hash code according to all attributes.
|
|
209
235
|
# @return [Integer] Hash code
|
|
210
236
|
def hash
|
|
211
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish].hash
|
|
237
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
212
238
|
end
|
|
213
239
|
|
|
214
240
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module PulpPythonClient
|
|
|
42
42
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
43
43
|
attr_accessor :retain_repo_versions
|
|
44
44
|
|
|
45
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
46
|
+
attr_accessor :retain_checkpoints
|
|
47
|
+
|
|
45
48
|
# An optional remote to use by default when syncing.
|
|
46
49
|
attr_accessor :remote
|
|
47
50
|
|
|
@@ -61,6 +64,7 @@ module PulpPythonClient
|
|
|
61
64
|
:'name' => :'name',
|
|
62
65
|
:'description' => :'description',
|
|
63
66
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
67
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
64
68
|
:'remote' => :'remote',
|
|
65
69
|
:'autopublish' => :'autopublish'
|
|
66
70
|
}
|
|
@@ -84,6 +88,7 @@ module PulpPythonClient
|
|
|
84
88
|
:'name' => :'String',
|
|
85
89
|
:'description' => :'String',
|
|
86
90
|
:'retain_repo_versions' => :'Integer',
|
|
91
|
+
:'retain_checkpoints' => :'Integer',
|
|
87
92
|
:'remote' => :'String',
|
|
88
93
|
:'autopublish' => :'Boolean'
|
|
89
94
|
}
|
|
@@ -94,6 +99,7 @@ module PulpPythonClient
|
|
|
94
99
|
Set.new([
|
|
95
100
|
:'description',
|
|
96
101
|
:'retain_repo_versions',
|
|
102
|
+
:'retain_checkpoints',
|
|
97
103
|
:'remote',
|
|
98
104
|
])
|
|
99
105
|
end
|
|
@@ -157,6 +163,10 @@ module PulpPythonClient
|
|
|
157
163
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
158
164
|
end
|
|
159
165
|
|
|
166
|
+
if attributes.key?(:'retain_checkpoints')
|
|
167
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
168
|
+
end
|
|
169
|
+
|
|
160
170
|
if attributes.key?(:'remote')
|
|
161
171
|
self.remote = attributes[:'remote']
|
|
162
172
|
end
|
|
@@ -181,6 +191,10 @@ module PulpPythonClient
|
|
|
181
191
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
182
192
|
end
|
|
183
193
|
|
|
194
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
195
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
196
|
+
end
|
|
197
|
+
|
|
184
198
|
invalid_properties
|
|
185
199
|
end
|
|
186
200
|
|
|
@@ -190,6 +204,7 @@ module PulpPythonClient
|
|
|
190
204
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
191
205
|
return false if @name.nil?
|
|
192
206
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
207
|
+
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
193
208
|
true
|
|
194
209
|
end
|
|
195
210
|
|
|
@@ -203,6 +218,16 @@ module PulpPythonClient
|
|
|
203
218
|
@retain_repo_versions = retain_repo_versions
|
|
204
219
|
end
|
|
205
220
|
|
|
221
|
+
# Custom attribute writer method with validation
|
|
222
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
223
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
224
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
225
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
@retain_checkpoints = retain_checkpoints
|
|
229
|
+
end
|
|
230
|
+
|
|
206
231
|
# Checks equality by comparing each attribute.
|
|
207
232
|
# @param [Object] Object to be compared
|
|
208
233
|
def ==(o)
|
|
@@ -218,6 +243,7 @@ module PulpPythonClient
|
|
|
218
243
|
name == o.name &&
|
|
219
244
|
description == o.description &&
|
|
220
245
|
retain_repo_versions == o.retain_repo_versions &&
|
|
246
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
221
247
|
remote == o.remote &&
|
|
222
248
|
autopublish == o.autopublish
|
|
223
249
|
end
|
|
@@ -231,7 +257,7 @@ module PulpPythonClient
|
|
|
231
257
|
# Calculates hash code according to all attributes.
|
|
232
258
|
# @return [Integer] Hash code
|
|
233
259
|
def hash
|
|
234
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish].hash
|
|
260
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
235
261
|
end
|
|
236
262
|
|
|
237
263
|
# Builds the object from hash
|
|
@@ -89,13 +89,21 @@ describe 'RepositoriesPythonApi' do
|
|
|
89
89
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
90
90
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
91
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
92
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
92
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
93
93
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
94
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
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
98
|
# @option opts [String] :remote
|
|
99
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
100
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
101
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
102
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
103
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
104
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
105
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
106
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
99
107
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
100
108
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
101
109
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -63,13 +63,13 @@ describe PulpPythonClient::PatchedpythonPythonDistribution do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "repository_version"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "publication"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
@@ -51,6 +51,12 @@ describe PulpPythonClient::PatchedpythonPythonRepository do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "retain_checkpoints"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
describe 'test attribute "remote"' do
|
|
55
61
|
it 'should work' do
|
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,6 +69,12 @@ describe PulpPythonClient::PythonPythonDistributionResponse do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "content_guard_prn"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
describe 'test attribute "no_content_change_since"' do
|
|
73
79
|
it 'should work' do
|
|
74
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -99,13 +105,13 @@ describe PulpPythonClient::PythonPythonDistributionResponse do
|
|
|
99
105
|
end
|
|
100
106
|
end
|
|
101
107
|
|
|
102
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "repository_version"' do
|
|
103
109
|
it 'should work' do
|
|
104
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
111
|
end
|
|
106
112
|
end
|
|
107
113
|
|
|
108
|
-
describe 'test attribute "
|
|
114
|
+
describe 'test attribute "publication"' do
|
|
109
115
|
it 'should work' do
|
|
110
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
117
|
end
|
|
@@ -63,13 +63,13 @@ describe PulpPythonClient::PythonPythonDistribution do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "repository_version"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "publication"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
@@ -87,6 +87,12 @@ describe PulpPythonClient::PythonPythonRepositoryResponse do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
describe 'test attribute "retain_checkpoints"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
describe 'test attribute "remote"' do
|
|
91
97
|
it 'should work' do
|
|
92
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -51,6 +51,12 @@ describe PulpPythonClient::PythonPythonRepository do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "retain_checkpoints"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
describe 'test attribute "remote"' do
|
|
55
61
|
it 'should work' do
|
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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.27.
|
|
4
|
+
version: 3.27.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-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -293,62 +293,62 @@ signing_key:
|
|
|
293
293
|
specification_version: 4
|
|
294
294
|
summary: Pulp 3 API Ruby Gem
|
|
295
295
|
test_files:
|
|
296
|
+
- spec/api/remotes_python_api_spec.rb
|
|
296
297
|
- spec/api/pypi_legacy_api_spec.rb
|
|
297
|
-
- spec/api/
|
|
298
|
-
- spec/api/pypi_provenance_api_spec.rb
|
|
298
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
|
299
299
|
- spec/api/pypi_api_spec.rb
|
|
300
|
-
- spec/api/remotes_python_api_spec.rb
|
|
301
|
-
- spec/api/content_provenance_api_spec.rb
|
|
302
300
|
- spec/api/pypi_simple_api_spec.rb
|
|
303
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
|
304
|
-
- spec/api/distributions_pypi_api_spec.rb
|
|
305
301
|
- spec/api/repositories_python_api_spec.rb
|
|
302
|
+
- spec/api/distributions_pypi_api_spec.rb
|
|
303
|
+
- spec/api/content_packages_api_spec.rb
|
|
304
|
+
- spec/api/content_provenance_api_spec.rb
|
|
306
305
|
- spec/api/publications_pypi_api_spec.rb
|
|
307
306
|
- spec/api/pypi_metadata_api_spec.rb
|
|
308
|
-
- spec/
|
|
309
|
-
- spec/models/
|
|
310
|
-
- spec/models/
|
|
311
|
-
- spec/models/
|
|
312
|
-
- spec/models/
|
|
313
|
-
- spec/models/set_label_spec.rb
|
|
314
|
-
- spec/models/remote_network_config_spec.rb
|
|
315
|
-
- spec/models/my_permissions_response_spec.rb
|
|
316
|
-
- spec/models/python_python_distribution_response_spec.rb
|
|
317
|
-
- spec/models/patchedpython_python_remote_spec.rb
|
|
307
|
+
- spec/api/pypi_provenance_api_spec.rb
|
|
308
|
+
- spec/models/policy_enum_spec.rb
|
|
309
|
+
- spec/models/repair_spec.rb
|
|
310
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
311
|
+
- spec/models/remote_network_config_response_spec.rb
|
|
318
312
|
- spec/models/python_python_package_content_response_spec.rb
|
|
319
|
-
- spec/models/
|
|
320
|
-
- spec/models/summary_response_spec.rb
|
|
313
|
+
- spec/models/python_python_repository_spec.rb
|
|
321
314
|
- spec/models/python_python_remote_response_spec.rb
|
|
322
|
-
- spec/models/
|
|
315
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
323
316
|
- spec/models/content_summary_response_spec.rb
|
|
324
|
-
- spec/models/
|
|
325
|
-
- spec/models/
|
|
326
|
-
- spec/models/
|
|
317
|
+
- spec/models/nested_role_spec.rb
|
|
318
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
|
319
|
+
- spec/models/set_label_response_spec.rb
|
|
320
|
+
- spec/models/async_operation_response_spec.rb
|
|
327
321
|
- spec/models/python_python_publication_response_spec.rb
|
|
328
|
-
- spec/models/
|
|
329
|
-
- spec/models/
|
|
330
|
-
- spec/models/remote_network_config_response_spec.rb
|
|
331
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
322
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
|
323
|
+
- spec/models/object_roles_response_spec.rb
|
|
332
324
|
- spec/models/unset_label_spec.rb
|
|
333
|
-
- spec/models/
|
|
334
|
-
- spec/models/
|
|
335
|
-
- spec/models/
|
|
336
|
-
- spec/models/
|
|
337
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
325
|
+
- spec/models/set_label_spec.rb
|
|
326
|
+
- spec/models/python_python_repository_response_spec.rb
|
|
327
|
+
- spec/models/summary_response_spec.rb
|
|
328
|
+
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
338
329
|
- spec/models/python_python_publication_spec.rb
|
|
339
|
-
- spec/models/object_roles_response_spec.rb
|
|
340
|
-
- spec/models/metadata_version_enum_spec.rb
|
|
341
|
-
- spec/models/package_metadata_response_spec.rb
|
|
342
330
|
- spec/models/nested_role_response_spec.rb
|
|
331
|
+
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
343
332
|
- spec/models/filetype_enum_spec.rb
|
|
344
|
-
- spec/models/
|
|
345
|
-
- spec/models/
|
|
346
|
-
- spec/models/python_python_repository_response_spec.rb
|
|
333
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
|
334
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
|
347
335
|
- spec/models/repository_sync_url_spec.rb
|
|
348
|
-
- spec/models/protocol_version_enum_spec.rb
|
|
349
336
|
- spec/models/patchedpython_python_distribution_spec.rb
|
|
350
|
-
- spec/models/
|
|
351
|
-
- spec/models/
|
|
352
|
-
- spec/models/
|
|
353
|
-
- spec/models/
|
|
337
|
+
- spec/models/python_package_provenance_response_spec.rb
|
|
338
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
339
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
340
|
+
- spec/models/unset_label_response_spec.rb
|
|
341
|
+
- spec/models/package_metadata_response_spec.rb
|
|
342
|
+
- spec/models/my_permissions_response_spec.rb
|
|
343
|
+
- spec/models/package_upload_task_response_spec.rb
|
|
344
|
+
- spec/models/python_python_remote_spec.rb
|
|
345
|
+
- spec/models/metadata_version_enum_spec.rb
|
|
346
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
347
|
+
- spec/models/protocol_version_enum_spec.rb
|
|
348
|
+
- spec/models/package_types_enum_spec.rb
|
|
349
|
+
- spec/models/python_python_distribution_response_spec.rb
|
|
350
|
+
- spec/models/python_python_distribution_spec.rb
|
|
351
|
+
- spec/models/repository_version_response_spec.rb
|
|
352
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
353
|
+
- spec/models/remote_network_config_spec.rb
|
|
354
354
|
- spec/spec_helper.rb
|