pulp_deb_client 2.11.2 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/PublicationsAptApi.md +4 -0
- data/docs/PublicationsVerbatimApi.md +4 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client.rb +1 -1
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -9
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -9
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_components_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_releases_api.rb +1 -1
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/publications_apt_api.rb +7 -1
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +7 -1
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +1 -21
- data/lib/pulp_deb_client/api_client.rb +12 -8
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +8 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +13 -7
- data/lib/pulp_deb_client/models/content_summary_response.rb +13 -7
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -2
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +28 -2
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +28 -2
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +28 -2
- data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +11 -2
- data/lib/pulp_deb_client/version.rb +2 -2
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_indices_api_spec.rb +1 -1
- data/spec/api/content_package_release_components_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +1 -1
- data/spec/api/content_release_components_api_spec.rb +1 -1
- data/spec/api/content_release_files_api_spec.rb +1 -1
- data/spec/api/content_releases_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +3 -1
- data/spec/api/publications_verbatim_api_spec.rb +3 -1
- data/spec/api/remotes_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/api/repositories_deb_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +7 -1
- data/spec/models/deb_apt_distribution_spec.rb +7 -1
- data/spec/models/deb_apt_publication_response_spec.rb +1 -1
- data/spec/models/deb_apt_publication_spec.rb +1 -1
- data/spec/models/deb_apt_remote_response_spec.rb +1 -1
- data/spec/models/deb_apt_remote_spec.rb +1 -1
- data/spec/models/deb_apt_repository_response_spec.rb +7 -1
- data/spec/models/deb_apt_repository_spec.rb +7 -1
- data/spec/models/deb_base_package_response_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_generic_content_response_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_response_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_response_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +1 -1
- data/spec/models/deb_release_architecture_response_spec.rb +1 -1
- data/spec/models/deb_release_architecture_spec.rb +1 -1
- data/spec/models/deb_release_component_response_spec.rb +1 -1
- data/spec/models/deb_release_component_spec.rb +1 -1
- data/spec/models/deb_release_file_response_spec.rb +1 -1
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_response_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_distribution_spec.rb +7 -1
- data/spec/models/patcheddeb_apt_remote_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_repository_spec.rb +7 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +7 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +56 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85d4370cfe1be20ab06e76cc1882e5bfd5252f532a5cc90d8f8b06655235a4ff
|
4
|
+
data.tar.gz: 1087fc9caea4f46bcbf5ae390746038582bf7fc001cfa174ad52eceec8661000
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e909aa28cb17f6a622b4a3aa5d3ecb09d290a187f79d6427ab2718257cc4e83b140bcfe42f19692902cc09461f94f4fad9d24894ff936a7bddcccc22322c7f8e
|
7
|
+
data.tar.gz: e9c1e17d27a5de3e1f08844ae6b4ffd47310a8661faf7c785ebc823635197e2b4261fe9ffca8f1d6750bdfcb4f6bb9673f1875931fd6228526b395bd7fb258f1
|
data/Gemfile
CHANGED
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: 2.
|
10
|
+
- Package version: 2.13.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.13.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.13.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.13.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ContentSummary.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/DebAptDistribution.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpDebClient::DebAptDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
15
|
**publication** | **String** | Publication to be served | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptDistributionResponse.new(pulp_href: null,
|
|
25
26
|
content_guard: null,
|
26
27
|
pulp_labels: null,
|
27
28
|
name: null,
|
29
|
+
repository: null,
|
28
30
|
publication: null)
|
29
31
|
```
|
30
32
|
|
data/docs/DebAptRepository.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
@@ -17,6 +18,7 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::DebAptRepository.new(pulp_labels: null,
|
18
19
|
name: null,
|
19
20
|
description: null,
|
21
|
+
retained_versions: null,
|
20
22
|
remote: null)
|
21
23
|
```
|
22
24
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
14
15
|
**remote** | **String** | | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(pulp_href: null,
|
|
25
26
|
latest_version_href: null,
|
26
27
|
name: null,
|
27
28
|
description: null,
|
29
|
+
retained_versions: null,
|
28
30
|
remote: null)
|
29
31
|
```
|
30
32
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpDebClient::PatcheddebAptDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
@@ -17,6 +18,7 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
|
18
19
|
name: null,
|
19
20
|
description: null,
|
21
|
+
retained_versions: null,
|
20
22
|
remote: null)
|
21
23
|
```
|
22
24
|
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -138,6 +138,8 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
140
140
|
opts = {
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
141
143
|
limit: 56, # Integer | Number of results to return per page.
|
142
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
@@ -166,6 +168,8 @@ end
|
|
166
168
|
|
167
169
|
Name | Type | Description | Notes
|
168
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
172
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -138,6 +138,8 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
140
140
|
opts = {
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
141
143
|
limit: 56, # Integer | Number of results to return per page.
|
142
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
@@ -166,6 +168,8 @@ end
|
|
166
168
|
|
167
169
|
Name | Type | Description | Notes
|
168
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
172
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**add_content_units** | **Array<
|
8
|
-
**remove_content_units** | **Array<
|
7
|
+
**add_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
8
|
+
**remove_content_units** | [**Array<AnyType>**](AnyType.md) | 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
10
|
|
11
11
|
## Code Sample
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**number** | **Integer** | | [optional] [readonly]
|
10
|
+
**repository** | **String** | | [optional] [readonly]
|
10
11
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
11
12
|
**content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
|
12
13
|
|
@@ -18,6 +19,7 @@ require 'PulpDebClient'
|
|
18
19
|
instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
|
19
20
|
pulp_created: null,
|
20
21
|
number: null,
|
22
|
+
repository: null,
|
21
23
|
base_version: null,
|
22
24
|
content_summary: null)
|
23
25
|
```
|
data/lib/pulp_deb_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -164,14 +164,6 @@ module PulpDebClient
|
|
164
164
|
if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
|
165
165
|
fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
|
166
166
|
end
|
167
|
-
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
|
168
|
-
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be smaller than or equal to 2147483647.'
|
169
|
-
end
|
170
|
-
|
171
|
-
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
|
172
|
-
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be greater than or equal to -2147483648.'
|
173
|
-
end
|
174
|
-
|
175
167
|
allowable_values = ["allowed", "foreign", "no", "same"]
|
176
168
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
177
169
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -166,14 +166,6 @@ module PulpDebClient
|
|
166
166
|
if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
|
167
167
|
fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
|
168
168
|
end
|
169
|
-
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
|
170
|
-
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be smaller than or equal to 2147483647.'
|
171
|
-
end
|
172
|
-
|
173
|
-
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
|
174
|
-
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be greater than or equal to -2147483648.'
|
175
|
-
end
|
176
|
-
|
177
169
|
allowable_values = ["allowed", "foreign", "no", "same"]
|
178
170
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
179
171
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -146,6 +146,8 @@ module PulpDebClient
|
|
146
146
|
# List apt publications
|
147
147
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
150
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
149
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
153
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -167,6 +169,8 @@ module PulpDebClient
|
|
167
169
|
# List apt publications
|
168
170
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
169
171
|
# @param [Hash] opts the optional parameters
|
172
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
173
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
170
174
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
175
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
176
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -189,6 +193,8 @@ module PulpDebClient
|
|
189
193
|
|
190
194
|
# query parameters
|
191
195
|
query_params = opts[:query_params] || {}
|
196
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
197
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
192
198
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
193
199
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
194
200
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -146,6 +146,8 @@ module PulpDebClient
|
|
146
146
|
# List verbatim publications
|
147
147
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
150
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
149
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
153
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -167,6 +169,8 @@ module PulpDebClient
|
|
167
169
|
# List verbatim publications
|
168
170
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
169
171
|
# @param [Hash] opts the optional parameters
|
172
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
173
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
170
174
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
175
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
176
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -189,6 +193,8 @@ module PulpDebClient
|
|
189
193
|
|
190
194
|
# query parameters
|
191
195
|
query_params = opts[:query_params] || {}
|
196
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
197
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
192
198
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
193
199
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
194
200
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|