pulp_rpm_client 3.24.0 → 3.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72962681e7b3a28ac9dce5d592bca967344f556dc9e52b7197fd89778f0d3434
4
- data.tar.gz: e0c3b3ba221b6950f770f4cef75db1add2e00757dc4552baab87b2de82d657a9
3
+ metadata.gz: 5b54f6bef275d15e1ef554c6c50a130661047124ee2f9c5959c4977101ef4673
4
+ data.tar.gz: 14977bb58d43567565f9541729302938802c518bf31594e2b9103adb7eca0bd4
5
5
  SHA512:
6
- metadata.gz: 053a36c9542e5cea7d379b1c266d51cdb7ffd9bf5419b0334f2629cdabb605ef8ef71329bfd97751f6087b29aba6dc35e4c7ed00283b0a3251b7af34cb6139db
7
- data.tar.gz: f8740e3684c451ededa532081ecd692d2f1f135be9b2bb0d872766c299c6516917850f1eb3aea46c478bf9bf94eb960147577aee548a7bc76a4d9f63c9100bcc
6
+ metadata.gz: 93b6a2ad0395104e62e6efb0971c33db9cb1752a1d7aef34fb8de251a85194a390b9e246a2e6c597b1f00caa479c5f2314ce01f7b0d56e909e69e37d84440ab7
7
+ data.tar.gz: 940e3bd0e68b9cc8be62f0635e6573d6fd9db1b666d51001f2ffaa8d4f88cc4f07e2d9bb0a9ad0ff67b884d3995d973f17fabe776c5968e4a21559f455bdc117
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.24.0
10
+ - Package version: 3.25.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.24.0.gem
27
+ gem install ./pulp_rpm_client-3.25.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.24.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.25.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.24.0'
36
+ gem 'pulp_rpm_client', '~> 3.25.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -194,11 +194,11 @@ Class | Method | HTTP request | Description
194
194
  - [PulpRpmClient::ArtifactResponse](docs/ArtifactResponse.md)
195
195
  - [PulpRpmClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
196
196
  - [PulpRpmClient::ChecksumResponse](docs/ChecksumResponse.md)
197
+ - [PulpRpmClient::CompressionTypeEnum](docs/CompressionTypeEnum.md)
197
198
  - [PulpRpmClient::CompsXml](docs/CompsXml.md)
198
199
  - [PulpRpmClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
199
200
  - [PulpRpmClient::Copy](docs/Copy.md)
200
201
  - [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
201
- - [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
202
202
  - [PulpRpmClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
203
203
  - [PulpRpmClient::NestedRole](docs/NestedRole.md)
204
204
  - [PulpRpmClient::NestedRoleResponse](docs/NestedRoleResponse.md)
@@ -1,4 +1,4 @@
1
- # PulpRpmClient::MetadataChecksumTypeEnum
1
+ # PulpRpmClient::CompressionTypeEnum
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  ```ruby
11
11
  require 'PulpRpmClient'
12
12
 
13
- instance = PulpRpmClient::MetadataChecksumTypeEnum.new()
13
+ instance = PulpRpmClient::CompressionTypeEnum.new()
14
14
  ```
15
15
 
16
16
 
@@ -12,12 +12,13 @@ Name | Type | Description | Notes
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
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
- **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
- **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]
15
+ **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
16
+ **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
17
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
17
18
  **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
18
19
  **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
19
- **sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
20
20
  **repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
21
+ **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
21
22
 
22
23
  ## Code Sample
23
24
 
@@ -32,12 +33,13 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
32
33
  autopublish: null,
33
34
  metadata_signing_service: null,
34
35
  retain_package_versions: null,
36
+ checksum_type: null,
35
37
  metadata_checksum_type: null,
36
38
  package_checksum_type: null,
37
39
  gpgcheck: null,
38
40
  repo_gpgcheck: null,
39
- sqlite_metadata: null,
40
- repo_config: null)
41
+ repo_config: null,
42
+ compression_type: null)
41
43
  ```
42
44
 
43
45
 
@@ -6,12 +6,13 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **repository_version** | **String** | | [optional]
8
8
  **repository** | **String** | A URI of the repository to be published. | [optional]
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
- **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]
9
+ **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
10
+ **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
11
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
11
12
  **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
12
13
  **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
13
- **sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
14
14
  **repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
15
+ **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
15
16
 
16
17
  ## Code Sample
17
18
 
@@ -20,12 +21,13 @@ require 'PulpRpmClient'
20
21
 
21
22
  instance = PulpRpmClient::RpmRpmPublication.new(repository_version: null,
22
23
  repository: null,
24
+ checksum_type: null,
23
25
  metadata_checksum_type: null,
24
26
  package_checksum_type: null,
25
27
  gpgcheck: null,
26
28
  repo_gpgcheck: null,
27
- sqlite_metadata: null,
28
- repo_config: null)
29
+ repo_config: null,
30
+ compression_type: null)
29
31
  ```
30
32
 
31
33
 
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **repository_version** | **String** | | [optional]
10
10
  **repository** | **String** | A URI of the repository to be published. | [optional]
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
- **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
+ **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
12
+ **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
13
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
13
14
  **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
14
15
  **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
15
- **sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
16
+ **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional] [readonly] [default to false]
16
17
  **repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
18
+ **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
17
19
 
18
20
  ## Code Sample
19
21
 
@@ -24,12 +26,14 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(pulp_href: null,
24
26
  pulp_created: null,
25
27
  repository_version: null,
26
28
  repository: null,
29
+ checksum_type: null,
27
30
  metadata_checksum_type: null,
28
31
  package_checksum_type: null,
29
32
  gpgcheck: null,
30
33
  repo_gpgcheck: null,
31
34
  sqlite_metadata: null,
32
- repo_config: null)
35
+ repo_config: null,
36
+ compression_type: null)
33
37
  ```
34
38
 
35
39
 
@@ -12,12 +12,13 @@ Name | Type | Description | Notes
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
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
- **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
- **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]
15
+ **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
16
+ **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
17
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
17
18
  **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
18
19
  **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
19
- **sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
20
20
  **repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
21
+ **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
21
22
 
22
23
  ## Code Sample
23
24
 
@@ -32,12 +33,13 @@ instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
32
33
  autopublish: null,
33
34
  metadata_signing_service: null,
34
35
  retain_package_versions: null,
36
+ checksum_type: null,
35
37
  metadata_checksum_type: null,
36
38
  package_checksum_type: null,
37
39
  gpgcheck: null,
38
40
  repo_gpgcheck: null,
39
- sqlite_metadata: null,
40
- repo_config: null)
41
+ repo_config: null,
42
+ compression_type: null)
41
43
  ```
42
44
 
43
45
 
@@ -16,12 +16,14 @@ Name | Type | Description | Notes
16
16
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
17
17
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
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
- **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
- **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]
19
+ **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
20
+ **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
21
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
21
22
  **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
22
23
  **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
23
- **sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
24
+ **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional] [readonly] [default to false]
24
25
  **repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
26
+ **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
25
27
 
26
28
  ## Code Sample
27
29
 
@@ -40,12 +42,14 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
40
42
  autopublish: null,
41
43
  metadata_signing_service: null,
42
44
  retain_package_versions: null,
45
+ checksum_type: null,
43
46
  metadata_checksum_type: null,
44
47
  package_checksum_type: null,
45
48
  gpgcheck: null,
46
49
  repo_gpgcheck: null,
47
50
  sqlite_metadata: null,
48
- repo_config: null)
51
+ repo_config: null,
52
+ compression_type: null)
49
53
  ```
50
54
 
51
55
 
@@ -13,14 +13,9 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class MetadataChecksumTypeEnum
17
- UNKNOWN = "unknown".freeze
18
- MD5 = "md5".freeze
19
- SHA1 = "sha1".freeze
20
- SHA224 = "sha224".freeze
21
- SHA256 = "sha256".freeze
22
- SHA384 = "sha384".freeze
23
- SHA512 = "sha512".freeze
16
+ class CompressionTypeEnum
17
+ ZSTD = "zstd".freeze
18
+ GZ = "gz".freeze
24
19
 
25
20
  # Builds the enum from string
26
21
  # @param [String] The enum value in the form of the string
@@ -33,8 +28,8 @@ module PulpRpmClient
33
28
  # @param [String] The enum value in the form of the string
34
29
  # @return [String] The enum value
35
30
  def build_from_hash(value)
36
- constantValues = MetadataChecksumTypeEnum.constants.select { |c| MetadataChecksumTypeEnum::const_get(c) == value }
37
- raise "Invalid ENUM value #{value} for class #MetadataChecksumTypeEnum" if constantValues.empty?
31
+ constantValues = CompressionTypeEnum.constants.select { |c| CompressionTypeEnum::const_get(c) == value }
32
+ raise "Invalid ENUM value #{value} for class #CompressionTypeEnum" if constantValues.empty?
38
33
  value
39
34
  end
40
35
  end
@@ -38,10 +38,13 @@ module PulpRpmClient
38
38
  # 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.
39
39
  attr_accessor :retain_package_versions
40
40
 
41
- # The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
41
+ # The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
42
+ attr_accessor :checksum_type
43
+
44
+ # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
42
45
  attr_accessor :metadata_checksum_type
43
46
 
44
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
47
+ # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
45
48
  attr_accessor :package_checksum_type
46
49
 
47
50
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
@@ -50,12 +53,12 @@ module PulpRpmClient
50
53
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
51
54
  attr_accessor :repo_gpgcheck
52
55
 
53
- # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
54
- attr_accessor :sqlite_metadata
55
-
56
56
  # A JSON document describing config.repo file
57
57
  attr_accessor :repo_config
58
58
 
59
+ # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
60
+ attr_accessor :compression_type
61
+
59
62
  # Attribute mapping from ruby-style variable name to JSON key.
60
63
  def self.attribute_map
61
64
  {
@@ -67,12 +70,13 @@ module PulpRpmClient
67
70
  :'autopublish' => :'autopublish',
68
71
  :'metadata_signing_service' => :'metadata_signing_service',
69
72
  :'retain_package_versions' => :'retain_package_versions',
73
+ :'checksum_type' => :'checksum_type',
70
74
  :'metadata_checksum_type' => :'metadata_checksum_type',
71
75
  :'package_checksum_type' => :'package_checksum_type',
72
76
  :'gpgcheck' => :'gpgcheck',
73
77
  :'repo_gpgcheck' => :'repo_gpgcheck',
74
- :'sqlite_metadata' => :'sqlite_metadata',
75
- :'repo_config' => :'repo_config'
78
+ :'repo_config' => :'repo_config',
79
+ :'compression_type' => :'compression_type'
76
80
  }
77
81
  end
78
82
 
@@ -87,12 +91,13 @@ module PulpRpmClient
87
91
  :'autopublish' => :'Boolean',
88
92
  :'metadata_signing_service' => :'String',
89
93
  :'retain_package_versions' => :'Integer',
90
- :'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
94
+ :'checksum_type' => :'PackageChecksumTypeEnum',
95
+ :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
91
96
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
92
97
  :'gpgcheck' => :'Integer',
93
98
  :'repo_gpgcheck' => :'Integer',
94
- :'sqlite_metadata' => :'Boolean',
95
- :'repo_config' => :'Object'
99
+ :'repo_config' => :'Object',
100
+ :'compression_type' => :'CompressionTypeEnum'
96
101
  }
97
102
  end
98
103
 
@@ -103,10 +108,12 @@ module PulpRpmClient
103
108
  :'retain_repo_versions',
104
109
  :'remote',
105
110
  :'metadata_signing_service',
111
+ :'checksum_type',
106
112
  :'metadata_checksum_type',
107
113
  :'package_checksum_type',
108
114
  :'gpgcheck',
109
115
  :'repo_gpgcheck',
116
+ :'compression_type'
110
117
  ])
111
118
  end
112
119
 
@@ -161,6 +168,10 @@ module PulpRpmClient
161
168
  self.retain_package_versions = attributes[:'retain_package_versions']
162
169
  end
163
170
 
171
+ if attributes.key?(:'checksum_type')
172
+ self.checksum_type = attributes[:'checksum_type']
173
+ end
174
+
164
175
  if attributes.key?(:'metadata_checksum_type')
165
176
  self.metadata_checksum_type = attributes[:'metadata_checksum_type']
166
177
  end
@@ -177,15 +188,13 @@ module PulpRpmClient
177
188
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
178
189
  end
179
190
 
180
- if attributes.key?(:'sqlite_metadata')
181
- self.sqlite_metadata = attributes[:'sqlite_metadata']
182
- else
183
- self.sqlite_metadata = false
184
- end
185
-
186
191
  if attributes.key?(:'repo_config')
187
192
  self.repo_config = attributes[:'repo_config']
188
193
  end
194
+
195
+ if attributes.key?(:'compression_type')
196
+ self.compression_type = attributes[:'compression_type']
197
+ end
189
198
  end
190
199
 
191
200
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -322,12 +331,13 @@ module PulpRpmClient
322
331
  autopublish == o.autopublish &&
323
332
  metadata_signing_service == o.metadata_signing_service &&
324
333
  retain_package_versions == o.retain_package_versions &&
334
+ checksum_type == o.checksum_type &&
325
335
  metadata_checksum_type == o.metadata_checksum_type &&
326
336
  package_checksum_type == o.package_checksum_type &&
327
337
  gpgcheck == o.gpgcheck &&
328
338
  repo_gpgcheck == o.repo_gpgcheck &&
329
- sqlite_metadata == o.sqlite_metadata &&
330
- repo_config == o.repo_config
339
+ repo_config == o.repo_config &&
340
+ compression_type == o.compression_type
331
341
  end
332
342
 
333
343
  # @see the `==` method
@@ -339,7 +349,7 @@ module PulpRpmClient
339
349
  # Calculates hash code according to all attributes.
340
350
  # @return [Integer] Hash code
341
351
  def 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
352
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
343
353
  end
344
354
 
345
355
  # Builds the object from hash
@@ -20,10 +20,13 @@ module PulpRpmClient
20
20
  # A URI of the repository to be published.
21
21
  attr_accessor :repository
22
22
 
23
- # The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
23
+ # The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
24
+ attr_accessor :checksum_type
25
+
26
+ # DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
24
27
  attr_accessor :metadata_checksum_type
25
28
 
26
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
29
+ # DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
27
30
  attr_accessor :package_checksum_type
28
31
 
29
32
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
@@ -32,23 +35,24 @@ module PulpRpmClient
32
35
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
33
36
  attr_accessor :repo_gpgcheck
34
37
 
35
- # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
36
- attr_accessor :sqlite_metadata
37
-
38
38
  # A JSON document describing config.repo file
39
39
  attr_accessor :repo_config
40
40
 
41
+ # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
42
+ attr_accessor :compression_type
43
+
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
44
47
  :'repository_version' => :'repository_version',
45
48
  :'repository' => :'repository',
49
+ :'checksum_type' => :'checksum_type',
46
50
  :'metadata_checksum_type' => :'metadata_checksum_type',
47
51
  :'package_checksum_type' => :'package_checksum_type',
48
52
  :'gpgcheck' => :'gpgcheck',
49
53
  :'repo_gpgcheck' => :'repo_gpgcheck',
50
- :'sqlite_metadata' => :'sqlite_metadata',
51
- :'repo_config' => :'repo_config'
54
+ :'repo_config' => :'repo_config',
55
+ :'compression_type' => :'compression_type'
52
56
  }
53
57
  end
54
58
 
@@ -57,12 +61,13 @@ module PulpRpmClient
57
61
  {
58
62
  :'repository_version' => :'String',
59
63
  :'repository' => :'String',
60
- :'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
64
+ :'checksum_type' => :'PackageChecksumTypeEnum',
65
+ :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
61
66
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
62
67
  :'gpgcheck' => :'Integer',
63
68
  :'repo_gpgcheck' => :'Integer',
64
- :'sqlite_metadata' => :'Boolean',
65
- :'repo_config' => :'Object'
69
+ :'repo_config' => :'Object',
70
+ :'compression_type' => :'CompressionTypeEnum'
66
71
  }
67
72
  end
68
73
 
@@ -97,6 +102,10 @@ module PulpRpmClient
97
102
  self.repository = attributes[:'repository']
98
103
  end
99
104
 
105
+ if attributes.key?(:'checksum_type')
106
+ self.checksum_type = attributes[:'checksum_type']
107
+ end
108
+
100
109
  if attributes.key?(:'metadata_checksum_type')
101
110
  self.metadata_checksum_type = attributes[:'metadata_checksum_type']
102
111
  end
@@ -113,15 +122,13 @@ module PulpRpmClient
113
122
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
114
123
  end
115
124
 
116
- if attributes.key?(:'sqlite_metadata')
117
- self.sqlite_metadata = attributes[:'sqlite_metadata']
118
- else
119
- self.sqlite_metadata = false
120
- end
121
-
122
125
  if attributes.key?(:'repo_config')
123
126
  self.repo_config = attributes[:'repo_config']
124
127
  end
128
+
129
+ if attributes.key?(:'compression_type')
130
+ self.compression_type = attributes[:'compression_type']
131
+ end
125
132
  end
126
133
 
127
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -192,12 +199,13 @@ module PulpRpmClient
192
199
  self.class == o.class &&
193
200
  repository_version == o.repository_version &&
194
201
  repository == o.repository &&
202
+ checksum_type == o.checksum_type &&
195
203
  metadata_checksum_type == o.metadata_checksum_type &&
196
204
  package_checksum_type == o.package_checksum_type &&
197
205
  gpgcheck == o.gpgcheck &&
198
206
  repo_gpgcheck == o.repo_gpgcheck &&
199
- sqlite_metadata == o.sqlite_metadata &&
200
- repo_config == o.repo_config
207
+ repo_config == o.repo_config &&
208
+ compression_type == o.compression_type
201
209
  end
202
210
 
203
211
  # @see the `==` method
@@ -209,7 +217,7 @@ module PulpRpmClient
209
217
  # Calculates hash code according to all attributes.
210
218
  # @return [Integer] Hash code
211
219
  def hash
212
- [repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
220
+ [repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
213
221
  end
214
222
 
215
223
  # Builds the object from hash