pulp_rpm_client 3.35.2 → 3.35.3
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/ContentAdvisoriesApi.md +2 -0
- data/docs/ContentPackagesApi.md +4 -0
- data/docs/PatchedrpmRpmDistribution.md +2 -0
- data/docs/PatchedrpmRpmRepository.md +2 -0
- data/docs/RepositoriesRpmApi.md +18 -2
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/docs/RpmModulemd.md +2 -0
- data/docs/RpmModulemdDefaults.md +2 -0
- data/docs/RpmModulemdObsolete.md +2 -0
- data/docs/RpmRpmDistribution.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +4 -0
- data/docs/RpmRpmRepository.md +2 -0
- data/docs/RpmRpmRepositoryResponse.md +2 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +6 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +27 -3
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +12 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +27 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +12 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +22 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +27 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +27 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +2 -0
- data/spec/api/repositories_rpm_api_spec.rb +9 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
- data/spec/models/rpm_modulemd_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- metadata +78 -78
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b36aa9c8378ab98d4862c7b637dba2140d1c95a8e8a95ad702498b2768d8a62
|
|
4
|
+
data.tar.gz: c3fe3d185ce07f686c4ce725b7a954908f16546ddb8b7787b39ff726558daede
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4631912cf95027e24d35027a619963c426db74437bc230b52f1977014caf7730ca4b5b8d2ee39f3504704b1c2d72b1ae89bd82405d9e0a97ea8d71ebb64aec23
|
|
7
|
+
data.tar.gz: 7f6792101c56664b48f8c21df4025a30b247b95f290edf6563119839d94008cd87ae4ab86e4437b27e39cda69df7d4fc6f29012527252a797c6af579f2227230
|
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.35.
|
|
10
|
+
- Package version: 3.35.3
|
|
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_rpm_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_rpm_client-3.35.
|
|
28
|
+
gem install ./pulp_rpm_client-3.35.3.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.35.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.35.3.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_rpm_client', '~> 3.35.
|
|
37
|
+
gem 'pulp_rpm_client', '~> 3.35.3'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -35,6 +35,7 @@ api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
41
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
@@ -75,6 +76,7 @@ end
|
|
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
|
76
77
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
77
78
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
79
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
78
80
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
79
81
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
80
82
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -36,6 +36,7 @@ api_instance = PulpRpmClient::ContentPackagesApi.new
|
|
|
36
36
|
opts = {
|
|
37
37
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
38
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
39
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
39
40
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
41
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
42
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
|
@@ -78,6 +79,7 @@ end
|
|
|
78
79
|
| ---- | ---- | ----------- | ----- |
|
|
79
80
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
81
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
82
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
81
83
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
84
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
83
85
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
|
@@ -509,6 +511,7 @@ end
|
|
|
509
511
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
|
510
512
|
opts = {
|
|
511
513
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
514
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
512
515
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
513
516
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
514
517
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
@@ -549,6 +552,7 @@ end
|
|
|
549
552
|
| Name | Type | Description | Notes |
|
|
550
553
|
| ---- | ---- | ----------- | ----- |
|
|
551
554
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
555
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
552
556
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
553
557
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
554
558
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
@@ -10,6 +10,7 @@
|
|
|
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
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
|
15
16
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
@@ -26,6 +27,7 @@ instance = PulpRpmClient::PatchedrpmRpmDistribution.new(
|
|
|
26
27
|
pulp_labels: null,
|
|
27
28
|
name: null,
|
|
28
29
|
repository: null,
|
|
30
|
+
repository_version: null,
|
|
29
31
|
publication: null,
|
|
30
32
|
generate_repo_config: null,
|
|
31
33
|
checkpoint: null
|
|
@@ -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. | [optional][default to false] |
|
|
13
14
|
| **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
@@ -29,6 +30,7 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(
|
|
|
29
30
|
name: null,
|
|
30
31
|
description: null,
|
|
31
32
|
retain_repo_versions: null,
|
|
33
|
+
retain_checkpoints: null,
|
|
32
34
|
remote: null,
|
|
33
35
|
autopublish: null,
|
|
34
36
|
metadata_signing_service: null,
|
data/docs/RepositoriesRpmApi.md
CHANGED
|
@@ -279,13 +279,21 @@ opts = {
|
|
|
279
279
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
280
280
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
281
281
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
282
|
-
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)
|
|
282
|
+
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)
|
|
283
283
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
284
284
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
285
285
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
286
286
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
287
287
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
288
288
|
remote: 'remote_example', # String |
|
|
289
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
290
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
291
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
292
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
293
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
294
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
295
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
296
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
289
297
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
290
298
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
291
299
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -343,13 +351,21 @@ end
|
|
|
343
351
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
344
352
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
345
353
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
346
|
-
| **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] |
|
|
354
|
+
| **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] |
|
|
347
355
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
348
356
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
357
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
350
358
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
351
359
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
352
360
|
| **remote** | **String** | | [optional] |
|
|
361
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
362
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
363
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
364
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
365
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
366
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
367
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
368
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
353
369
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
354
370
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
355
371
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'pulp_rpm_client'
|
|
|
16
17
|
instance = PulpRpmClient::RepositoryAddRemoveContent.new(
|
|
17
18
|
add_content_units: null,
|
|
18
19
|
remove_content_units: null,
|
|
19
|
-
base_version: null
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
data/docs/RpmModulemd.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **name** | **String** | Modulemd name. | |
|
|
10
11
|
| **stream** | **String** | Stream name. | |
|
|
@@ -26,6 +27,7 @@ require 'pulp_rpm_client'
|
|
|
26
27
|
|
|
27
28
|
instance = PulpRpmClient::RpmModulemd.new(
|
|
28
29
|
repository: null,
|
|
30
|
+
overwrite: null,
|
|
29
31
|
pulp_labels: null,
|
|
30
32
|
name: null,
|
|
31
33
|
stream: null,
|
data/docs/RpmModulemdDefaults.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **_module** | **String** | Modulemd name. | |
|
|
10
11
|
| **stream** | **String** | Modulemd default stream. | |
|
|
@@ -18,6 +19,7 @@ require 'pulp_rpm_client'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpRpmClient::RpmModulemdDefaults.new(
|
|
20
21
|
repository: null,
|
|
22
|
+
overwrite: null,
|
|
21
23
|
pulp_labels: null,
|
|
22
24
|
_module: null,
|
|
23
25
|
stream: null,
|
data/docs/RpmModulemdObsolete.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **modified** | **String** | Obsolete modified time. | |
|
|
10
11
|
| **module_name** | **String** | Modulemd name. | |
|
|
@@ -24,6 +25,7 @@ require 'pulp_rpm_client'
|
|
|
24
25
|
|
|
25
26
|
instance = PulpRpmClient::RpmModulemdObsolete.new(
|
|
26
27
|
repository: null,
|
|
28
|
+
overwrite: null,
|
|
27
29
|
pulp_labels: null,
|
|
28
30
|
modified: null,
|
|
29
31
|
module_name: null,
|
data/docs/RpmRpmDistribution.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
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
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
|
15
16
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
@@ -26,6 +27,7 @@ instance = PulpRpmClient::RpmRpmDistribution.new(
|
|
|
26
27
|
pulp_labels: null,
|
|
27
28
|
name: null,
|
|
28
29
|
repository: null,
|
|
30
|
+
repository_version: null,
|
|
29
31
|
publication: null,
|
|
30
32
|
generate_repo_config: null,
|
|
31
33
|
checkpoint: null
|
|
@@ -11,11 +11,13 @@
|
|
|
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** | The URL for accessing the publication as defined by this distribution. | [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] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
19
21
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
20
22
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
|
21
23
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
@@ -33,11 +35,13 @@ instance = PulpRpmClient::RpmRpmDistributionResponse.new(
|
|
|
33
35
|
base_path: null,
|
|
34
36
|
base_url: null,
|
|
35
37
|
content_guard: null,
|
|
38
|
+
content_guard_prn: null,
|
|
36
39
|
no_content_change_since: null,
|
|
37
40
|
hidden: null,
|
|
38
41
|
pulp_labels: null,
|
|
39
42
|
name: null,
|
|
40
43
|
repository: null,
|
|
44
|
+
repository_version: null,
|
|
41
45
|
publication: null,
|
|
42
46
|
generate_repo_config: null,
|
|
43
47
|
checkpoint: null
|
data/docs/RpmRpmRepository.md
CHANGED
|
@@ -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. | [optional][default to false] |
|
|
13
14
|
| **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
@@ -29,6 +30,7 @@ instance = PulpRpmClient::RpmRpmRepository.new(
|
|
|
29
30
|
name: null,
|
|
30
31
|
description: null,
|
|
31
32
|
retain_repo_versions: null,
|
|
33
|
+
retain_checkpoints: null,
|
|
32
34
|
remote: null,
|
|
33
35
|
autopublish: null,
|
|
34
36
|
metadata_signing_service: null,
|
|
@@ -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. | [optional][default to false] |
|
|
19
20
|
| **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
@@ -46,6 +47,7 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(
|
|
|
46
47
|
name: null,
|
|
47
48
|
description: null,
|
|
48
49
|
retain_repo_versions: null,
|
|
50
|
+
retain_checkpoints: null,
|
|
49
51
|
remote: null,
|
|
50
52
|
autopublish: null,
|
|
51
53
|
metadata_signing_service: null,
|
|
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -40,6 +41,7 @@ module PulpRpmClient
|
|
|
40
41
|
# @param [Hash] opts the optional parameters
|
|
41
42
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
44
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
43
45
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
44
46
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
45
47
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -74,6 +76,7 @@ module PulpRpmClient
|
|
|
74
76
|
# form parameters
|
|
75
77
|
form_params = opts[:form_params] || {}
|
|
76
78
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
79
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
77
80
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
78
81
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
79
82
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
30
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
|
@@ -42,6 +43,7 @@ module PulpRpmClient
|
|
|
42
43
|
# @param [Hash] opts the optional parameters
|
|
43
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
44
45
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
46
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
45
47
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
46
48
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
47
49
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
|
@@ -82,6 +84,7 @@ module PulpRpmClient
|
|
|
82
84
|
# form parameters
|
|
83
85
|
form_params = opts[:form_params] || {}
|
|
84
86
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
87
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
85
88
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
86
89
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
87
90
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
|
@@ -540,6 +543,7 @@ module PulpRpmClient
|
|
|
540
543
|
# Synchronously upload an RPM package.
|
|
541
544
|
# @param [Hash] opts the optional parameters
|
|
542
545
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
546
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
543
547
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
544
548
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
545
549
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -556,6 +560,7 @@ module PulpRpmClient
|
|
|
556
560
|
# Synchronously upload an RPM package.
|
|
557
561
|
# @param [Hash] opts the optional parameters
|
|
558
562
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
563
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
559
564
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
560
565
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
561
566
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -590,6 +595,7 @@ module PulpRpmClient
|
|
|
590
595
|
|
|
591
596
|
# form parameters
|
|
592
597
|
form_params = opts[:form_params] || {}
|
|
598
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
593
599
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
594
600
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
595
601
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
@@ -249,13 +249,21 @@ module PulpRpmClient
|
|
|
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 PulpRpmClient
|
|
|
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 PulpRpmClient
|
|
|
312
328
|
if @api_client.config.debugging
|
|
313
329
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.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 PulpRpmClient
|
|
|
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,6 +33,9 @@ module PulpRpmClient
|
|
|
33
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
34
|
attr_accessor :repository
|
|
35
35
|
|
|
36
|
+
# RepositoryVersion to be served
|
|
37
|
+
attr_accessor :repository_version
|
|
38
|
+
|
|
36
39
|
# Publication to be served
|
|
37
40
|
attr_accessor :publication
|
|
38
41
|
|
|
@@ -50,6 +53,7 @@ module PulpRpmClient
|
|
|
50
53
|
:'pulp_labels' => :'pulp_labels',
|
|
51
54
|
:'name' => :'name',
|
|
52
55
|
:'repository' => :'repository',
|
|
56
|
+
:'repository_version' => :'repository_version',
|
|
53
57
|
:'publication' => :'publication',
|
|
54
58
|
:'generate_repo_config' => :'generate_repo_config',
|
|
55
59
|
:'checkpoint' => :'checkpoint'
|
|
@@ -70,6 +74,7 @@ module PulpRpmClient
|
|
|
70
74
|
:'pulp_labels' => :'Hash<String, String>',
|
|
71
75
|
:'name' => :'String',
|
|
72
76
|
:'repository' => :'String',
|
|
77
|
+
:'repository_version' => :'String',
|
|
73
78
|
:'publication' => :'String',
|
|
74
79
|
:'generate_repo_config' => :'Boolean',
|
|
75
80
|
:'checkpoint' => :'Boolean'
|
|
@@ -81,6 +86,7 @@ module PulpRpmClient
|
|
|
81
86
|
Set.new([
|
|
82
87
|
:'content_guard',
|
|
83
88
|
:'repository',
|
|
89
|
+
:'repository_version',
|
|
84
90
|
:'publication',
|
|
85
91
|
])
|
|
86
92
|
end
|
|
@@ -128,6 +134,10 @@ module PulpRpmClient
|
|
|
128
134
|
self.repository = attributes[:'repository']
|
|
129
135
|
end
|
|
130
136
|
|
|
137
|
+
if attributes.key?(:'repository_version')
|
|
138
|
+
self.repository_version = attributes[:'repository_version']
|
|
139
|
+
end
|
|
140
|
+
|
|
131
141
|
if attributes.key?(:'publication')
|
|
132
142
|
self.publication = attributes[:'publication']
|
|
133
143
|
end
|
|
@@ -207,6 +217,7 @@ module PulpRpmClient
|
|
|
207
217
|
pulp_labels == o.pulp_labels &&
|
|
208
218
|
name == o.name &&
|
|
209
219
|
repository == o.repository &&
|
|
220
|
+
repository_version == o.repository_version &&
|
|
210
221
|
publication == o.publication &&
|
|
211
222
|
generate_repo_config == o.generate_repo_config &&
|
|
212
223
|
checkpoint == o.checkpoint
|
|
@@ -221,7 +232,7 @@ module PulpRpmClient
|
|
|
221
232
|
# Calculates hash code according to all attributes.
|
|
222
233
|
# @return [Integer] Hash code
|
|
223
234
|
def hash
|
|
224
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config, checkpoint].hash
|
|
235
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, publication, generate_repo_config, checkpoint].hash
|
|
225
236
|
end
|
|
226
237
|
|
|
227
238
|
# Builds the object from hash
|