pulp_rpm_client 3.0.0rc1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/RepositoriesRpmVersionsApi.md +4 -4
- data/docs/RpmPackageCategory.md +5 -1
- data/docs/RpmPackageEnvironment.md +5 -1
- data/docs/RpmPackageGroup.md +5 -1
- data/docs/RpmPackageLangpacks.md +5 -1
- data/docs/RpmRpmPublication.md +0 -2
- data/lib/pulp_rpm_client.rb +1 -1
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -10
- data/lib/pulp_rpm_client/api_client.rb +1 -1
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/addon.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
- data/lib/pulp_rpm_client/models/image.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +21 -40
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +21 -40
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +21 -40
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +21 -2
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
- data/lib/pulp_rpm_client/models/variant.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +1 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +1 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_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_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_spec.rb +13 -1
- data/spec/models/rpm_package_environment_spec.rb +13 -1
- data/spec/models/rpm_package_group_spec.rb +13 -1
- data/spec/models/rpm_package_langpacks_spec.rb +13 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -7
- data/spec/models/rpm_rpm_remote_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3891b8c1f803791d61690777fc75885c4840cc0667d63acbb333694b825eb716
|
4
|
+
data.tar.gz: 93ba48024dd2b7522d1f7768ea76d8c50f33e12ff79c268132a8484a6c7ee9a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bb7527cae6bb106a18be0c9fd0bb68bbec05f5db08ebcf3b6d1889b001759c2fcfd9f3c98496393b5d3e7fc1354ae7104e6a7d4eeb67ce131d565eac7712fac
|
7
|
+
data.tar.gz: aec6a804c6822f1541a922e214e97d6a287b64195c982c3331ca5aca3778731912fbc3344c057c6a5931c20ec48ef68d3fbafee3f19f3e06dc8f4e5de5aed552
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.0.
|
10
|
+
- Package version: 3.0.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_rpm_client-3.0.
|
26
|
+
gem install ./pulp_rpm_client-3.0.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.0.
|
29
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.0.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_rpm_client', '~> 3.0.
|
35
|
+
gem 'pulp_rpm_client', '~> 3.0.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
## list
|
67
67
|
|
68
|
-
> InlineResponse20014 list(
|
68
|
+
> InlineResponse20014 list(rpm_repository_href, opts)
|
69
69
|
|
70
70
|
List repository versions
|
71
71
|
|
@@ -84,7 +84,7 @@ PulpRpmClient.configure do |config|
|
|
84
84
|
end
|
85
85
|
|
86
86
|
api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
|
87
|
-
|
87
|
+
rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
88
88
|
opts = {
|
89
89
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
90
90
|
number: 3.4, # Float |
|
@@ -108,7 +108,7 @@ opts = {
|
|
108
108
|
|
109
109
|
begin
|
110
110
|
#List repository versions
|
111
|
-
result = api_instance.list(
|
111
|
+
result = api_instance.list(rpm_repository_href, opts)
|
112
112
|
p result
|
113
113
|
rescue PulpRpmClient::ApiError => e
|
114
114
|
puts "Exception when calling RepositoriesRpmVersionsApi->list: #{e}"
|
@@ -120,7 +120,7 @@ end
|
|
120
120
|
|
121
121
|
Name | Type | Description | Notes
|
122
122
|
------------- | ------------- | ------------- | -------------
|
123
|
-
**
|
123
|
+
**rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
|
124
124
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
125
125
|
**number** | **Float**| | [optional]
|
126
126
|
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
data/docs/RpmPackageCategory.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
9
|
**id** | **String** | Category id. |
|
8
10
|
**name** | **String** | Category name. |
|
9
11
|
**description** | **String** | Category description. |
|
@@ -19,7 +21,9 @@ Name | Type | Description | Notes
|
|
19
21
|
```ruby
|
20
22
|
require 'PulpRpmClient'
|
21
23
|
|
22
|
-
instance = PulpRpmClient::RpmPackageCategory.new(
|
24
|
+
instance = PulpRpmClient::RpmPackageCategory.new(pulp_href: null,
|
25
|
+
pulp_created: null,
|
26
|
+
id: null,
|
23
27
|
name: null,
|
24
28
|
description: null,
|
25
29
|
display_order: null,
|
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
9
|
**id** | **String** | Environment id. |
|
8
10
|
**name** | **String** | Environment name. |
|
9
11
|
**description** | **String** | Environment description. |
|
@@ -21,7 +23,9 @@ Name | Type | Description | Notes
|
|
21
23
|
```ruby
|
22
24
|
require 'PulpRpmClient'
|
23
25
|
|
24
|
-
instance = PulpRpmClient::RpmPackageEnvironment.new(
|
26
|
+
instance = PulpRpmClient::RpmPackageEnvironment.new(pulp_href: null,
|
27
|
+
pulp_created: null,
|
28
|
+
id: null,
|
25
29
|
name: null,
|
26
30
|
description: null,
|
27
31
|
display_order: null,
|
data/docs/RpmPackageGroup.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
9
|
**id** | **String** | PackageGroup id. |
|
8
10
|
**default** | **Boolean** | PackageGroup default. | [optional]
|
9
11
|
**user_visible** | **Boolean** | PackageGroup user visibility. | [optional]
|
@@ -22,7 +24,9 @@ Name | Type | Description | Notes
|
|
22
24
|
```ruby
|
23
25
|
require 'PulpRpmClient'
|
24
26
|
|
25
|
-
instance = PulpRpmClient::RpmPackageGroup.new(
|
27
|
+
instance = PulpRpmClient::RpmPackageGroup.new(pulp_href: null,
|
28
|
+
pulp_created: null,
|
29
|
+
id: null,
|
26
30
|
default: null,
|
27
31
|
user_visible: null,
|
28
32
|
display_order: null,
|
data/docs/RpmPackageLangpacks.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
9
|
**matches** | [**Object**](.md) | Langpacks matches. |
|
8
10
|
**digest** | **String** | Langpacks digest. |
|
9
11
|
|
@@ -12,7 +14,9 @@ Name | Type | Description | Notes
|
|
12
14
|
```ruby
|
13
15
|
require 'PulpRpmClient'
|
14
16
|
|
15
|
-
instance = PulpRpmClient::RpmPackageLangpacks.new(
|
17
|
+
instance = PulpRpmClient::RpmPackageLangpacks.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
matches: null,
|
16
20
|
digest: null)
|
17
21
|
```
|
18
22
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**publisher** | **String** | | [optional]
|
10
9
|
**repository_version** | **String** | | [optional]
|
11
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
12
11
|
|
@@ -17,7 +16,6 @@ require 'PulpRpmClient'
|
|
17
16
|
|
18
17
|
instance = PulpRpmClient::RpmRpmPublication.new(pulp_href: null,
|
19
18
|
pulp_created: null,
|
20
|
-
publisher: null,
|
21
19
|
repository_version: null,
|
22
20
|
repository: null)
|
23
21
|
```
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -83,7 +83,7 @@ module PulpRpmClient
|
|
83
83
|
|
84
84
|
# List repository versions
|
85
85
|
# RpmRepositoryVersion represents a single rpm repository version.
|
86
|
-
# @param
|
86
|
+
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
89
89
|
# @option opts [Float] :number
|
@@ -104,14 +104,14 @@ module PulpRpmClient
|
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
106
|
# @return [InlineResponse20014]
|
107
|
-
def list(
|
108
|
-
data, _status_code, _headers = list_with_http_info(
|
107
|
+
def list(rpm_repository_href, opts = {})
|
108
|
+
data, _status_code, _headers = list_with_http_info(rpm_repository_href, opts)
|
109
109
|
data
|
110
110
|
end
|
111
111
|
|
112
112
|
# List repository versions
|
113
113
|
# RpmRepositoryVersion represents a single rpm repository version.
|
114
|
-
# @param
|
114
|
+
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
116
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
117
117
|
# @option opts [Float] :number
|
@@ -132,16 +132,16 @@ module PulpRpmClient
|
|
132
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
133
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
134
|
# @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
|
135
|
-
def list_with_http_info(
|
135
|
+
def list_with_http_info(rpm_repository_href, opts = {})
|
136
136
|
if @api_client.config.debugging
|
137
137
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmVersionsApi.list ...'
|
138
138
|
end
|
139
|
-
# verify the required parameter '
|
140
|
-
if @api_client.config.client_side_validation &&
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
139
|
+
# verify the required parameter 'rpm_repository_href' is set
|
140
|
+
if @api_client.config.client_side_validation && rpm_repository_href.nil?
|
141
|
+
fail ArgumentError, "Missing the required parameter 'rpm_repository_href' when calling RepositoriesRpmVersionsApi.list"
|
142
142
|
end
|
143
143
|
# resource path
|
144
|
-
local_var_path = '{rpm_repository_href}versions/'.sub('{' + '
|
144
|
+
local_var_path = '{rpm_repository_href}versions/'.sub('{' + 'rpm_repository_href' + '}', CGI.escape(rpm_repository_href.to_s).gsub('%2F', '/'))
|
145
145
|
|
146
146
|
# query parameters
|
147
147
|
query_params = opts[:query_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -203,7 +203,7 @@ module PulpRpmClient
|
|
203
203
|
[
|
204
204
|
{
|
205
205
|
url: "http://localhost:24817/",
|
206
|
-
description: "No
|
206
|
+
description: "No description provided",
|
207
207
|
}
|
208
208
|
]
|
209
209
|
end
|