pulp_rpm_client 3.23.4 → 3.24.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/ContentAdvisoriesApi.md +4 -2
- data/docs/ContentPackagesApi.md +4 -4
- data/docs/PatchedrpmRpmRepository.md +5 -3
- data/docs/RpmPackage.md +2 -2
- data/docs/RpmRpmPublication.md +5 -3
- data/docs/RpmRpmPublicationResponse.md +5 -3
- data/docs/RpmRpmRepository.md +5 -3
- data/docs/RpmRpmRepositoryResponse.md +5 -3
- data/docs/RpmUpdateRecord.md +4 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_package.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +15 -5
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +2 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_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
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +79 -79
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72962681e7b3a28ac9dce5d592bca967344f556dc9e52b7197fd89778f0d3434
|
4
|
+
data.tar.gz: e0c3b3ba221b6950f770f4cef75db1add2e00757dc4552baab87b2de82d657a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053a36c9542e5cea7d379b1c266d51cdb7ffd9bf5419b0334f2629cdabb605ef8ef71329bfd97751f6087b29aba6dc35e4c7ed00283b0a3251b7af34cb6139db
|
7
|
+
data.tar.gz: f8740e3684c451ededa532081ecd692d2f1f135be9b2bb0d872766c299c6516917850f1eb3aea46c478bf9bf94eb960147577aee548a7bc76a4d9f63c9100bcc
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.24.0
|
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_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.
|
27
|
+
gem install ./pulp_rpm_client-3.24.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.24.0.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_rpm_client', '~> 3.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.24.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -33,7 +33,8 @@ end
|
|
33
33
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
34
34
|
opts = {
|
35
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
file: File.new('/path/to/file') # File | An uploaded file that may be turned into the
|
36
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
37
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
37
38
|
}
|
38
39
|
|
39
40
|
begin
|
@@ -51,7 +52,8 @@ end
|
|
51
52
|
Name | Type | Description | Notes
|
52
53
|
------------- | ------------- | ------------- | -------------
|
53
54
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
54
|
-
**file** | **File**| An uploaded file that may be turned into the
|
55
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
56
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
55
57
|
|
56
58
|
### Return type
|
57
59
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -35,8 +35,8 @@ opts = {
|
|
35
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
37
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the
|
39
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the
|
38
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
|
|
56
56
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
57
57
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
58
58
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
59
|
-
**file** | **File**| An uploaded file that may be turned into the
|
60
|
-
**upload** | **String**| An uncommitted upload that may be turned into the
|
59
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
63
63
|
|
@@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
15
15
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
22
23
|
|
@@ -35,7 +36,8 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
|
|
35
36
|
package_checksum_type: null,
|
36
37
|
gpgcheck: null,
|
37
38
|
repo_gpgcheck: null,
|
38
|
-
sqlite_metadata: null
|
39
|
+
sqlite_metadata: null,
|
40
|
+
repo_config: null)
|
39
41
|
```
|
40
42
|
|
41
43
|
|
data/docs/RpmPackage.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
10
|
-
**file** | **File** | An uploaded file that may be turned into the
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the
|
10
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -8,9 +8,10 @@ Name | Type | Description | Notes
|
|
8
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
9
9
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
10
10
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
11
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
11
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
13
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
14
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
14
15
|
|
15
16
|
## Code Sample
|
16
17
|
|
@@ -23,7 +24,8 @@ instance = PulpRpmClient::RpmRpmPublication.new(repository_version: null,
|
|
23
24
|
package_checksum_type: null,
|
24
25
|
gpgcheck: null,
|
25
26
|
repo_gpgcheck: null,
|
26
|
-
sqlite_metadata: null
|
27
|
+
sqlite_metadata: null,
|
28
|
+
repo_config: null)
|
27
29
|
```
|
28
30
|
|
29
31
|
|
@@ -10,9 +10,10 @@ Name | Type | Description | Notes
|
|
10
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
11
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
12
12
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
13
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
15
15
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
16
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
16
17
|
|
17
18
|
## Code Sample
|
18
19
|
|
@@ -27,7 +28,8 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(pulp_href: null,
|
|
27
28
|
package_checksum_type: null,
|
28
29
|
gpgcheck: null,
|
29
30
|
repo_gpgcheck: null,
|
30
|
-
sqlite_metadata: null
|
31
|
+
sqlite_metadata: null,
|
32
|
+
repo_config: null)
|
31
33
|
```
|
32
34
|
|
33
35
|
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
15
15
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
22
23
|
|
@@ -35,7 +36,8 @@ instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
|
|
35
36
|
package_checksum_type: null,
|
36
37
|
gpgcheck: null,
|
37
38
|
repo_gpgcheck: null,
|
38
|
-
sqlite_metadata: null
|
39
|
+
sqlite_metadata: null,
|
40
|
+
repo_config: null)
|
39
41
|
```
|
40
42
|
|
41
43
|
|
@@ -18,9 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
19
19
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
20
20
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
21
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
22
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
21
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
22
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
23
23
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
24
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
24
25
|
|
25
26
|
## Code Sample
|
26
27
|
|
@@ -43,7 +44,8 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
|
|
43
44
|
package_checksum_type: null,
|
44
45
|
gpgcheck: null,
|
45
46
|
repo_gpgcheck: null,
|
46
|
-
sqlite_metadata: null
|
47
|
+
sqlite_metadata: null,
|
48
|
+
repo_config: null)
|
47
49
|
```
|
48
50
|
|
49
51
|
|
data/docs/RpmUpdateRecord.md
CHANGED
@@ -5,7 +5,8 @@
|
|
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
|
-
**file** | **File** | An uploaded file that may be turned into the
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
9
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpRpmClient'
|
14
15
|
|
15
16
|
instance = PulpRpmClient::RpmUpdateRecord.new(repository: null,
|
16
|
-
file: null
|
17
|
+
file: null,
|
18
|
+
upload: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
@@ -23,7 +23,8 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
26
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
27
28
|
# @return [AsyncOperationResponse]
|
28
29
|
def create(opts = {})
|
29
30
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -34,7 +35,8 @@ module PulpRpmClient
|
|
34
35
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
35
36
|
# @param [Hash] opts the optional parameters
|
36
37
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
37
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
38
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
39
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
38
40
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
41
|
def create_with_http_info(opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpRpmClient
|
|
57
59
|
form_params = opts[:form_params] || {}
|
58
60
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
59
61
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
62
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
60
63
|
|
61
64
|
# http body (model)
|
62
65
|
post_body = opts[:body]
|
@@ -25,8 +25,8 @@ module PulpRpmClient
|
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
29
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(opts = {})
|
32
32
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -39,8 +39,8 @@ module PulpRpmClient
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -44,15 +44,18 @@ module PulpRpmClient
|
|
44
44
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
47
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
48
48
|
attr_accessor :gpgcheck
|
49
49
|
|
50
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
50
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
51
51
|
attr_accessor :repo_gpgcheck
|
52
52
|
|
53
53
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
54
54
|
attr_accessor :sqlite_metadata
|
55
55
|
|
56
|
+
# A JSON document describing config.repo file
|
57
|
+
attr_accessor :repo_config
|
58
|
+
|
56
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
60
|
def self.attribute_map
|
58
61
|
{
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'package_checksum_type' => :'package_checksum_type',
|
69
72
|
:'gpgcheck' => :'gpgcheck',
|
70
73
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
71
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
74
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
75
|
+
:'repo_config' => :'repo_config'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -87,7 +91,8 @@ module PulpRpmClient
|
|
87
91
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
88
92
|
:'gpgcheck' => :'Integer',
|
89
93
|
:'repo_gpgcheck' => :'Integer',
|
90
|
-
:'sqlite_metadata' => :'Boolean'
|
94
|
+
:'sqlite_metadata' => :'Boolean',
|
95
|
+
:'repo_config' => :'Object'
|
91
96
|
}
|
92
97
|
end
|
93
98
|
|
@@ -100,6 +105,8 @@ module PulpRpmClient
|
|
100
105
|
:'metadata_signing_service',
|
101
106
|
:'metadata_checksum_type',
|
102
107
|
:'package_checksum_type',
|
108
|
+
:'gpgcheck',
|
109
|
+
:'repo_gpgcheck',
|
103
110
|
])
|
104
111
|
end
|
105
112
|
|
@@ -164,14 +171,10 @@ module PulpRpmClient
|
|
164
171
|
|
165
172
|
if attributes.key?(:'gpgcheck')
|
166
173
|
self.gpgcheck = attributes[:'gpgcheck']
|
167
|
-
else
|
168
|
-
self.gpgcheck = 0
|
169
174
|
end
|
170
175
|
|
171
176
|
if attributes.key?(:'repo_gpgcheck')
|
172
177
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
173
|
-
else
|
174
|
-
self.repo_gpgcheck = 0
|
175
178
|
end
|
176
179
|
|
177
180
|
if attributes.key?(:'sqlite_metadata')
|
@@ -179,6 +182,10 @@ module PulpRpmClient
|
|
179
182
|
else
|
180
183
|
self.sqlite_metadata = false
|
181
184
|
end
|
185
|
+
|
186
|
+
if attributes.key?(:'repo_config')
|
187
|
+
self.repo_config = attributes[:'repo_config']
|
188
|
+
end
|
182
189
|
end
|
183
190
|
|
184
191
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -319,7 +326,8 @@ module PulpRpmClient
|
|
319
326
|
package_checksum_type == o.package_checksum_type &&
|
320
327
|
gpgcheck == o.gpgcheck &&
|
321
328
|
repo_gpgcheck == o.repo_gpgcheck &&
|
322
|
-
sqlite_metadata == o.sqlite_metadata
|
329
|
+
sqlite_metadata == o.sqlite_metadata &&
|
330
|
+
repo_config == o.repo_config
|
323
331
|
end
|
324
332
|
|
325
333
|
# @see the `==` method
|
@@ -331,7 +339,7 @@ module PulpRpmClient
|
|
331
339
|
# Calculates hash code according to all attributes.
|
332
340
|
# @return [Integer] Hash code
|
333
341
|
def hash
|
334
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
342
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
335
343
|
end
|
336
344
|
|
337
345
|
# Builds the object from hash
|
@@ -24,10 +24,10 @@ module PulpRpmClient
|
|
24
24
|
# Path where the artifact is located relative to distributions base_path
|
25
25
|
attr_accessor :relative_path
|
26
26
|
|
27
|
-
# An uploaded file that may be turned into the
|
27
|
+
# An uploaded file that may be turned into the content unit.
|
28
28
|
attr_accessor :file
|
29
29
|
|
30
|
-
# An uncommitted upload that may be turned into the
|
30
|
+
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -26,15 +26,18 @@ module PulpRpmClient
|
|
26
26
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
27
27
|
attr_accessor :package_checksum_type
|
28
28
|
|
29
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
29
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
30
30
|
attr_accessor :gpgcheck
|
31
31
|
|
32
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
32
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
33
33
|
attr_accessor :repo_gpgcheck
|
34
34
|
|
35
35
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
36
36
|
attr_accessor :sqlite_metadata
|
37
37
|
|
38
|
+
# A JSON document describing config.repo file
|
39
|
+
attr_accessor :repo_config
|
40
|
+
|
38
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
@@ -44,7 +47,8 @@ module PulpRpmClient
|
|
44
47
|
:'package_checksum_type' => :'package_checksum_type',
|
45
48
|
:'gpgcheck' => :'gpgcheck',
|
46
49
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
47
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
50
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
51
|
+
:'repo_config' => :'repo_config'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -57,13 +61,16 @@ module PulpRpmClient
|
|
57
61
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
58
62
|
:'gpgcheck' => :'Integer',
|
59
63
|
:'repo_gpgcheck' => :'Integer',
|
60
|
-
:'sqlite_metadata' => :'Boolean'
|
64
|
+
:'sqlite_metadata' => :'Boolean',
|
65
|
+
:'repo_config' => :'Object'
|
61
66
|
}
|
62
67
|
end
|
63
68
|
|
64
69
|
# List of attributes with nullable: true
|
65
70
|
def self.openapi_nullable
|
66
71
|
Set.new([
|
72
|
+
:'gpgcheck',
|
73
|
+
:'repo_gpgcheck',
|
67
74
|
])
|
68
75
|
end
|
69
76
|
|
@@ -111,6 +118,10 @@ module PulpRpmClient
|
|
111
118
|
else
|
112
119
|
self.sqlite_metadata = false
|
113
120
|
end
|
121
|
+
|
122
|
+
if attributes.key?(:'repo_config')
|
123
|
+
self.repo_config = attributes[:'repo_config']
|
124
|
+
end
|
114
125
|
end
|
115
126
|
|
116
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -185,7 +196,8 @@ module PulpRpmClient
|
|
185
196
|
package_checksum_type == o.package_checksum_type &&
|
186
197
|
gpgcheck == o.gpgcheck &&
|
187
198
|
repo_gpgcheck == o.repo_gpgcheck &&
|
188
|
-
sqlite_metadata == o.sqlite_metadata
|
199
|
+
sqlite_metadata == o.sqlite_metadata &&
|
200
|
+
repo_config == o.repo_config
|
189
201
|
end
|
190
202
|
|
191
203
|
# @see the `==` method
|
@@ -197,7 +209,7 @@ module PulpRpmClient
|
|
197
209
|
# Calculates hash code according to all attributes.
|
198
210
|
# @return [Integer] Hash code
|
199
211
|
def hash
|
200
|
-
[repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
212
|
+
[repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
201
213
|
end
|
202
214
|
|
203
215
|
# Builds the object from hash
|
@@ -31,15 +31,18 @@ module PulpRpmClient
|
|
31
31
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
32
32
|
attr_accessor :package_checksum_type
|
33
33
|
|
34
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
34
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
35
35
|
attr_accessor :gpgcheck
|
36
36
|
|
37
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
37
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
38
38
|
attr_accessor :repo_gpgcheck
|
39
39
|
|
40
40
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
41
41
|
attr_accessor :sqlite_metadata
|
42
42
|
|
43
|
+
# A JSON document describing config.repo file
|
44
|
+
attr_accessor :repo_config
|
45
|
+
|
43
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
47
|
def self.attribute_map
|
45
48
|
{
|
@@ -51,7 +54,8 @@ module PulpRpmClient
|
|
51
54
|
:'package_checksum_type' => :'package_checksum_type',
|
52
55
|
:'gpgcheck' => :'gpgcheck',
|
53
56
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
54
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
57
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
58
|
+
:'repo_config' => :'repo_config'
|
55
59
|
}
|
56
60
|
end
|
57
61
|
|
@@ -66,13 +70,16 @@ module PulpRpmClient
|
|
66
70
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
67
71
|
:'gpgcheck' => :'Integer',
|
68
72
|
:'repo_gpgcheck' => :'Integer',
|
69
|
-
:'sqlite_metadata' => :'Boolean'
|
73
|
+
:'sqlite_metadata' => :'Boolean',
|
74
|
+
:'repo_config' => :'Object'
|
70
75
|
}
|
71
76
|
end
|
72
77
|
|
73
78
|
# List of attributes with nullable: true
|
74
79
|
def self.openapi_nullable
|
75
80
|
Set.new([
|
81
|
+
:'gpgcheck',
|
82
|
+
:'repo_gpgcheck',
|
76
83
|
])
|
77
84
|
end
|
78
85
|
|
@@ -128,6 +135,10 @@ module PulpRpmClient
|
|
128
135
|
else
|
129
136
|
self.sqlite_metadata = false
|
130
137
|
end
|
138
|
+
|
139
|
+
if attributes.key?(:'repo_config')
|
140
|
+
self.repo_config = attributes[:'repo_config']
|
141
|
+
end
|
131
142
|
end
|
132
143
|
|
133
144
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -204,7 +215,8 @@ module PulpRpmClient
|
|
204
215
|
package_checksum_type == o.package_checksum_type &&
|
205
216
|
gpgcheck == o.gpgcheck &&
|
206
217
|
repo_gpgcheck == o.repo_gpgcheck &&
|
207
|
-
sqlite_metadata == o.sqlite_metadata
|
218
|
+
sqlite_metadata == o.sqlite_metadata &&
|
219
|
+
repo_config == o.repo_config
|
208
220
|
end
|
209
221
|
|
210
222
|
# @see the `==` method
|
@@ -216,7 +228,7 @@ module PulpRpmClient
|
|
216
228
|
# Calculates hash code according to all attributes.
|
217
229
|
# @return [Integer] Hash code
|
218
230
|
def hash
|
219
|
-
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
231
|
+
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
220
232
|
end
|
221
233
|
|
222
234
|
# Builds the object from hash
|
@@ -44,15 +44,18 @@ module PulpRpmClient
|
|
44
44
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
47
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
48
48
|
attr_accessor :gpgcheck
|
49
49
|
|
50
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
50
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
51
51
|
attr_accessor :repo_gpgcheck
|
52
52
|
|
53
53
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
54
54
|
attr_accessor :sqlite_metadata
|
55
55
|
|
56
|
+
# A JSON document describing config.repo file
|
57
|
+
attr_accessor :repo_config
|
58
|
+
|
56
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
60
|
def self.attribute_map
|
58
61
|
{
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'package_checksum_type' => :'package_checksum_type',
|
69
72
|
:'gpgcheck' => :'gpgcheck',
|
70
73
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
71
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
74
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
75
|
+
:'repo_config' => :'repo_config'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -87,7 +91,8 @@ module PulpRpmClient
|
|
87
91
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
88
92
|
:'gpgcheck' => :'Integer',
|
89
93
|
:'repo_gpgcheck' => :'Integer',
|
90
|
-
:'sqlite_metadata' => :'Boolean'
|
94
|
+
:'sqlite_metadata' => :'Boolean',
|
95
|
+
:'repo_config' => :'Object'
|
91
96
|
}
|
92
97
|
end
|
93
98
|
|
@@ -100,6 +105,8 @@ module PulpRpmClient
|
|
100
105
|
:'metadata_signing_service',
|
101
106
|
:'metadata_checksum_type',
|
102
107
|
:'package_checksum_type',
|
108
|
+
:'gpgcheck',
|
109
|
+
:'repo_gpgcheck',
|
103
110
|
])
|
104
111
|
end
|
105
112
|
|
@@ -164,14 +171,10 @@ module PulpRpmClient
|
|
164
171
|
|
165
172
|
if attributes.key?(:'gpgcheck')
|
166
173
|
self.gpgcheck = attributes[:'gpgcheck']
|
167
|
-
else
|
168
|
-
self.gpgcheck = 0
|
169
174
|
end
|
170
175
|
|
171
176
|
if attributes.key?(:'repo_gpgcheck')
|
172
177
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
173
|
-
else
|
174
|
-
self.repo_gpgcheck = 0
|
175
178
|
end
|
176
179
|
|
177
180
|
if attributes.key?(:'sqlite_metadata')
|
@@ -179,6 +182,10 @@ module PulpRpmClient
|
|
179
182
|
else
|
180
183
|
self.sqlite_metadata = false
|
181
184
|
end
|
185
|
+
|
186
|
+
if attributes.key?(:'repo_config')
|
187
|
+
self.repo_config = attributes[:'repo_config']
|
188
|
+
end
|
182
189
|
end
|
183
190
|
|
184
191
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -328,7 +335,8 @@ module PulpRpmClient
|
|
328
335
|
package_checksum_type == o.package_checksum_type &&
|
329
336
|
gpgcheck == o.gpgcheck &&
|
330
337
|
repo_gpgcheck == o.repo_gpgcheck &&
|
331
|
-
sqlite_metadata == o.sqlite_metadata
|
338
|
+
sqlite_metadata == o.sqlite_metadata &&
|
339
|
+
repo_config == o.repo_config
|
332
340
|
end
|
333
341
|
|
334
342
|
# @see the `==` method
|
@@ -340,7 +348,7 @@ module PulpRpmClient
|
|
340
348
|
# Calculates hash code according to all attributes.
|
341
349
|
# @return [Integer] Hash code
|
342
350
|
def hash
|
343
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
351
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
344
352
|
end
|
345
353
|
|
346
354
|
# Builds the object from hash
|
@@ -53,15 +53,18 @@ module PulpRpmClient
|
|
53
53
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
54
54
|
attr_accessor :package_checksum_type
|
55
55
|
|
56
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
56
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
57
57
|
attr_accessor :gpgcheck
|
58
58
|
|
59
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
59
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
60
60
|
attr_accessor :repo_gpgcheck
|
61
61
|
|
62
62
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
63
63
|
attr_accessor :sqlite_metadata
|
64
64
|
|
65
|
+
# A JSON document describing config.repo file
|
66
|
+
attr_accessor :repo_config
|
67
|
+
|
65
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
66
69
|
def self.attribute_map
|
67
70
|
{
|
@@ -81,7 +84,8 @@ module PulpRpmClient
|
|
81
84
|
:'package_checksum_type' => :'package_checksum_type',
|
82
85
|
:'gpgcheck' => :'gpgcheck',
|
83
86
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
84
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
87
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
88
|
+
:'repo_config' => :'repo_config'
|
85
89
|
}
|
86
90
|
end
|
87
91
|
|
@@ -104,7 +108,8 @@ module PulpRpmClient
|
|
104
108
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
105
109
|
:'gpgcheck' => :'Integer',
|
106
110
|
:'repo_gpgcheck' => :'Integer',
|
107
|
-
:'sqlite_metadata' => :'Boolean'
|
111
|
+
:'sqlite_metadata' => :'Boolean',
|
112
|
+
:'repo_config' => :'Object'
|
108
113
|
}
|
109
114
|
end
|
110
115
|
|
@@ -117,6 +122,8 @@ module PulpRpmClient
|
|
117
122
|
:'metadata_signing_service',
|
118
123
|
:'metadata_checksum_type',
|
119
124
|
:'package_checksum_type',
|
125
|
+
:'gpgcheck',
|
126
|
+
:'repo_gpgcheck',
|
120
127
|
])
|
121
128
|
end
|
122
129
|
|
@@ -197,14 +204,10 @@ module PulpRpmClient
|
|
197
204
|
|
198
205
|
if attributes.key?(:'gpgcheck')
|
199
206
|
self.gpgcheck = attributes[:'gpgcheck']
|
200
|
-
else
|
201
|
-
self.gpgcheck = 0
|
202
207
|
end
|
203
208
|
|
204
209
|
if attributes.key?(:'repo_gpgcheck')
|
205
210
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
206
|
-
else
|
207
|
-
self.repo_gpgcheck = 0
|
208
211
|
end
|
209
212
|
|
210
213
|
if attributes.key?(:'sqlite_metadata')
|
@@ -212,6 +215,10 @@ module PulpRpmClient
|
|
212
215
|
else
|
213
216
|
self.sqlite_metadata = false
|
214
217
|
end
|
218
|
+
|
219
|
+
if attributes.key?(:'repo_config')
|
220
|
+
self.repo_config = attributes[:'repo_config']
|
221
|
+
end
|
215
222
|
end
|
216
223
|
|
217
224
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -331,7 +338,8 @@ module PulpRpmClient
|
|
331
338
|
package_checksum_type == o.package_checksum_type &&
|
332
339
|
gpgcheck == o.gpgcheck &&
|
333
340
|
repo_gpgcheck == o.repo_gpgcheck &&
|
334
|
-
sqlite_metadata == o.sqlite_metadata
|
341
|
+
sqlite_metadata == o.sqlite_metadata &&
|
342
|
+
repo_config == o.repo_config
|
335
343
|
end
|
336
344
|
|
337
345
|
# @see the `==` method
|
@@ -343,7 +351,7 @@ module PulpRpmClient
|
|
343
351
|
# Calculates hash code according to all attributes.
|
344
352
|
# @return [Integer] Hash code
|
345
353
|
def hash
|
346
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
354
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
347
355
|
end
|
348
356
|
|
349
357
|
# Builds the object from hash
|
@@ -18,14 +18,18 @@ module PulpRpmClient
|
|
18
18
|
# A URI of a repository the new content unit should be associated with.
|
19
19
|
attr_accessor :repository
|
20
20
|
|
21
|
-
# An uploaded file that may be turned into the
|
21
|
+
# An uploaded file that may be turned into the content unit.
|
22
22
|
attr_accessor :file
|
23
23
|
|
24
|
+
# An uncommitted upload that may be turned into the content unit.
|
25
|
+
attr_accessor :upload
|
26
|
+
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'repository' => :'repository',
|
28
|
-
:'file' => :'file'
|
31
|
+
:'file' => :'file',
|
32
|
+
:'upload' => :'upload'
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
@@ -33,7 +37,8 @@ module PulpRpmClient
|
|
33
37
|
def self.openapi_types
|
34
38
|
{
|
35
39
|
:'repository' => :'String',
|
36
|
-
:'file' => :'File'
|
40
|
+
:'file' => :'File',
|
41
|
+
:'upload' => :'String'
|
37
42
|
}
|
38
43
|
end
|
39
44
|
|
@@ -65,6 +70,10 @@ module PulpRpmClient
|
|
65
70
|
if attributes.key?(:'file')
|
66
71
|
self.file = attributes[:'file']
|
67
72
|
end
|
73
|
+
|
74
|
+
if attributes.key?(:'upload')
|
75
|
+
self.upload = attributes[:'upload']
|
76
|
+
end
|
68
77
|
end
|
69
78
|
|
70
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -86,7 +95,8 @@ module PulpRpmClient
|
|
86
95
|
return true if self.equal?(o)
|
87
96
|
self.class == o.class &&
|
88
97
|
repository == o.repository &&
|
89
|
-
file == o.file
|
98
|
+
file == o.file &&
|
99
|
+
upload == o.upload
|
90
100
|
end
|
91
101
|
|
92
102
|
# @see the `==` method
|
@@ -98,7 +108,7 @@ module PulpRpmClient
|
|
98
108
|
# Calculates hash code according to all attributes.
|
99
109
|
# @return [Integer] Hash code
|
100
110
|
def hash
|
101
|
-
[repository, file].hash
|
111
|
+
[repository, file, upload].hash
|
102
112
|
end
|
103
113
|
|
104
114
|
# Builds the object from hash
|
@@ -37,7 +37,8 @@ describe 'ContentAdvisoriesApi' do
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
40
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
41
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
41
42
|
# @return [AsyncOperationResponse]
|
42
43
|
describe 'create test' do
|
43
44
|
it 'should work' do
|
@@ -39,8 +39,8 @@ describe 'ContentPackagesApi' do
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [AsyncOperationResponse]
|
45
45
|
describe 'create test' do
|
46
46
|
it 'should work' do
|
@@ -110,4 +110,10 @@ describe 'PatchedrpmRpmRepository' do
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
+
describe 'test attribute "repo_config"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
113
119
|
end
|
@@ -134,4 +134,10 @@ describe 'RpmRpmRepositoryResponse' do
|
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
|
+
describe 'test attribute "repo_config"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
137
143
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -416,107 +416,107 @@ signing_key:
|
|
416
416
|
specification_version: 4
|
417
417
|
summary: Pulp 3 API Ruby Gem
|
418
418
|
test_files:
|
419
|
-
- spec/api/content_packagecategories_api_spec.rb
|
420
|
-
- spec/api/content_advisories_api_spec.rb
|
421
|
-
- spec/api/content_repo_metadata_files_api_spec.rb
|
422
|
-
- spec/api/remotes_rpm_api_spec.rb
|
423
|
-
- spec/api/content_modulemd_obsoletes_api_spec.rb
|
424
|
-
- spec/api/content_modulemd_defaults_api_spec.rb
|
425
|
-
- spec/api/remotes_uln_api_spec.rb
|
426
419
|
- spec/api/content_packageenvironments_api_spec.rb
|
427
420
|
- spec/api/content_modulemds_api_spec.rb
|
421
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
422
|
+
- spec/api/remotes_rpm_api_spec.rb
|
423
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
428
424
|
- spec/api/distributions_rpm_api_spec.rb
|
425
|
+
- spec/api/remotes_uln_api_spec.rb
|
426
|
+
- spec/api/content_packagecategories_api_spec.rb
|
427
|
+
- spec/api/content_packages_api_spec.rb
|
428
|
+
- spec/api/content_advisories_api_spec.rb
|
429
|
+
- spec/api/rpm_comps_api_spec.rb
|
430
|
+
- spec/api/content_modulemd_defaults_api_spec.rb
|
431
|
+
- spec/api/content_modulemd_obsoletes_api_spec.rb
|
429
432
|
- spec/api/content_distribution_trees_api_spec.rb
|
430
433
|
- spec/api/repositories_rpm_versions_api_spec.rb
|
434
|
+
- spec/api/content_packagegroups_api_spec.rb
|
435
|
+
- spec/api/acs_rpm_api_spec.rb
|
431
436
|
- spec/api/publications_rpm_api_spec.rb
|
432
|
-
- spec/api/content_packagelangpacks_api_spec.rb
|
433
437
|
- spec/api/rpm_copy_api_spec.rb
|
434
|
-
- spec/api/content_packages_api_spec.rb
|
435
438
|
- spec/api/repositories_rpm_api_spec.rb
|
436
|
-
- spec/api/acs_rpm_api_spec.rb
|
437
|
-
- spec/api/rpm_comps_api_spec.rb
|
438
|
-
- spec/api/content_packagegroups_api_spec.rb
|
439
439
|
- spec/api_client_spec.rb
|
440
440
|
- spec/configuration_spec.rb
|
441
|
-
- spec/models/
|
442
|
-
- spec/models/
|
441
|
+
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
442
|
+
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
443
443
|
- spec/models/rpm_uln_remote_response_spec.rb
|
444
|
-
- spec/models/
|
445
|
-
- spec/models/
|
446
|
-
- spec/models/
|
447
|
-
- spec/models/
|
448
|
-
- spec/models/
|
449
|
-
- spec/models/
|
450
|
-
- spec/models/repository_add_remove_content_spec.rb
|
444
|
+
- spec/models/my_permissions_response_spec.rb
|
445
|
+
- spec/models/comps_xml_spec.rb
|
446
|
+
- spec/models/rpm_update_collection_response_spec.rb
|
447
|
+
- spec/models/checksum_response_spec.rb
|
448
|
+
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
449
|
+
- spec/models/variant_response_spec.rb
|
451
450
|
- spec/models/metadata_checksum_type_enum_spec.rb
|
452
|
-
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
453
|
-
- spec/models/rpm_rpm_repository_spec.rb
|
454
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
455
451
|
- spec/models/nested_role_response_spec.rb
|
456
|
-
- spec/models/
|
457
|
-
- spec/models/repair_spec.rb
|
458
|
-
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
459
|
-
- spec/models/my_permissions_response_spec.rb
|
460
|
-
- spec/models/rpm_rpm_publication_spec.rb
|
461
|
-
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
462
|
-
- spec/models/rpm_package_response_spec.rb
|
463
|
-
- spec/models/image_response_spec.rb
|
464
|
-
- spec/models/policy_enum_spec.rb
|
465
|
-
- spec/models/rpm_distribution_tree_response_spec.rb
|
452
|
+
- spec/models/rpm_update_record_response_spec.rb
|
466
453
|
- spec/models/paginatedrpm_package_response_list_spec.rb
|
467
|
-
- spec/models/
|
468
|
-
- spec/models/
|
454
|
+
- spec/models/rpm_rpm_alternate_content_source_response_spec.rb
|
455
|
+
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
456
|
+
- spec/models/package_checksum_type_enum_spec.rb
|
469
457
|
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
458
|
+
- spec/models/rpm_package_environment_response_spec.rb
|
459
|
+
- spec/models/rpm_update_record_spec.rb
|
460
|
+
- spec/models/task_group_operation_response_spec.rb
|
461
|
+
- spec/models/unset_label_spec.rb
|
462
|
+
- spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
|
463
|
+
- spec/models/rpm_uln_remote_spec.rb
|
464
|
+
- spec/models/rpm_distribution_tree_response_spec.rb
|
465
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
466
|
+
- spec/models/rpm_package_spec.rb
|
467
|
+
- spec/models/repository_version_response_spec.rb
|
468
|
+
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
469
|
+
- spec/models/nested_role_spec.rb
|
470
|
+
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
471
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
472
|
+
- spec/models/set_label_spec.rb
|
473
|
+
- spec/models/content_summary_response_spec.rb
|
470
474
|
- spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
|
475
|
+
- spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
|
476
|
+
- spec/models/patchedrpm_rpm_remote_spec.rb
|
471
477
|
- spec/models/object_roles_response_spec.rb
|
472
|
-
- spec/models/
|
473
|
-
- spec/models/
|
474
|
-
- spec/models/
|
478
|
+
- spec/models/skip_types_enum_spec.rb
|
479
|
+
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
480
|
+
- spec/models/rpm_modulemd_spec.rb
|
481
|
+
- spec/models/rpm_rpm_distribution_response_spec.rb
|
482
|
+
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
475
483
|
- spec/models/patchedrpm_rpm_repository_spec.rb
|
476
|
-
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
477
|
-
- spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
|
478
484
|
- spec/models/async_operation_response_spec.rb
|
479
|
-
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
480
|
-
- spec/models/rpm_rpm_distribution_response_spec.rb
|
481
|
-
- spec/models/artifact_response_spec.rb
|
482
|
-
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
483
|
-
- spec/models/rpm_rpm_alternate_content_source_spec.rb
|
484
|
-
- spec/models/set_label_response_spec.rb
|
485
|
-
- spec/models/unset_label_spec.rb
|
486
|
-
- spec/models/rpm_rpm_remote_response_spec.rb
|
487
|
-
- spec/models/skip_types_enum_spec.rb
|
488
|
-
- spec/models/rpm_update_record_response_spec.rb
|
489
|
-
- spec/models/variant_response_spec.rb
|
490
|
-
- spec/models/package_checksum_type_enum_spec.rb
|
491
|
-
- spec/models/rpm_modulemd_defaults_spec.rb
|
492
|
-
- spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
|
493
|
-
- spec/models/rpm_modulemd_obsolete_spec.rb
|
494
|
-
- spec/models/task_group_operation_response_spec.rb
|
495
|
-
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
496
|
-
- spec/models/patchedrpm_uln_remote_spec.rb
|
497
|
-
- spec/models/rpm_repository_sync_url_spec.rb
|
498
|
-
- spec/models/copy_spec.rb
|
499
485
|
- spec/models/rpm_package_group_response_spec.rb
|
500
|
-
- spec/models/unset_label_response_spec.rb
|
501
|
-
- spec/models/rpm_modulemd_obsolete_response_spec.rb
|
502
|
-
- spec/models/rpm_package_category_response_spec.rb
|
503
|
-
- spec/models/nested_role_spec.rb
|
504
|
-
- spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
|
505
|
-
- spec/models/rpm_modulemd_response_spec.rb
|
506
|
-
- spec/models/rpm_update_record_spec.rb
|
507
|
-
- spec/models/patchedrpm_rpm_remote_spec.rb
|
508
486
|
- spec/models/rpm_rpm_distribution_spec.rb
|
509
|
-
- spec/models/
|
510
|
-
- spec/models/
|
487
|
+
- spec/models/rpm_rpm_remote_response_spec.rb
|
488
|
+
- spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
|
489
|
+
- spec/models/paginatedrpm_package_group_response_list_spec.rb
|
511
490
|
- spec/models/rpm_package_langpacks_response_spec.rb
|
512
|
-
- spec/models/
|
491
|
+
- spec/models/sync_policy_enum_spec.rb
|
492
|
+
- spec/models/policy_enum_spec.rb
|
493
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
494
|
+
- spec/models/rpm_update_collection_spec.rb
|
495
|
+
- spec/models/copy_spec.rb
|
496
|
+
- spec/models/artifact_response_spec.rb
|
497
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
498
|
+
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
499
|
+
- spec/models/rpm_package_category_response_spec.rb
|
513
500
|
- spec/models/rpm_rpm_remote_spec.rb
|
514
|
-
- spec/models/
|
515
|
-
- spec/models/
|
501
|
+
- spec/models/unset_label_response_spec.rb
|
502
|
+
- spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb
|
503
|
+
- spec/models/rpm_modulemd_obsolete_response_spec.rb
|
504
|
+
- spec/models/image_response_spec.rb
|
505
|
+
- spec/models/repair_spec.rb
|
516
506
|
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
517
|
-
- spec/models/
|
507
|
+
- spec/models/rpm_package_response_spec.rb
|
508
|
+
- spec/models/rpm_modulemd_obsolete_spec.rb
|
509
|
+
- spec/models/rpm_rpm_alternate_content_source_spec.rb
|
510
|
+
- spec/models/rpm_rpm_publication_response_spec.rb
|
518
511
|
- spec/models/rpm_rpm_repository_response_spec.rb
|
512
|
+
- spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
|
513
|
+
- spec/models/repository_add_remove_content_spec.rb
|
514
|
+
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
515
|
+
- spec/models/rpm_rpm_repository_spec.rb
|
516
|
+
- spec/models/patchedrpm_uln_remote_spec.rb
|
519
517
|
- spec/models/addon_response_spec.rb
|
520
|
-
- spec/models/
|
521
|
-
- spec/models/
|
518
|
+
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
519
|
+
- spec/models/set_label_response_spec.rb
|
520
|
+
- spec/models/rpm_modulemd_response_spec.rb
|
521
|
+
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
522
522
|
- spec/spec_helper.rb
|