pulp_rpm_client 3.26.2 → 3.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/Copy.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +1 -1
- data/docs/RpmModulemdResponse.md +3 -3
- data/docs/RpmPackageCategoryResponse.md +3 -3
- data/docs/RpmPackageEnvironmentResponse.md +4 -4
- data/docs/RpmPackageGroupResponse.md +3 -3
- data/docs/RpmPackageLangpacksResponse.md +1 -1
- data/docs/RpmPackageResponse.md +10 -10
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +1 -1
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +1 -1
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +4 -4
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +10 -10
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- metadata +86 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ac539b2b2910613d4d4a205c87c8b510bf703869704a2708789f8ea267deca6
|
4
|
+
data.tar.gz: a20a5f8601e6b49fb280c54fe0b1ad0011b1d0a861f43a2f35e837f226b293f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85305ed7f74b6d8aeb277872426ad9bcb5fb2931a708f9398e8137c08cc853a86b5b1b69074871907eda54745179b2af22888998ef7f4194a3d0d54f9a7c275c
|
7
|
+
data.tar.gz: 408ef6933f4cd90b090199bb7a518f8160cd3b45debdf7836245b5ae25a2212e23a54df1a344b9203e1b3d42b251bc8cb0641e92505e37a60c92a58341fd1e55
|
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.26.
|
10
|
+
- Package version: 3.26.4
|
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.26.
|
27
|
+
gem install ./pulp_rpm_client-3.26.4.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.26.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.26.4.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.26.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.26.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/Copy.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**config** | [**
|
7
|
+
**config** | [**Object**](.md) | A JSON document describing sources, destinations, and content to be copied |
|
8
8
|
**dependency_solving** | **Boolean** | Also copy dependencies of the content being copied. | [optional] [default to true]
|
9
9
|
|
10
10
|
## Code Sample
|
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
|
|
17
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]
|
18
18
|
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
19
19
|
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
20
|
-
**repo_config** | [**
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
21
21
|
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
22
22
|
|
23
23
|
## Code Sample
|
data/docs/RpmModulemd.md
CHANGED
@@ -11,11 +11,11 @@ Name | Type | Description | Notes
|
|
11
11
|
**static_context** | **Boolean** | Modulemd static-context flag. | [optional]
|
12
12
|
**context** | **String** | Modulemd context. |
|
13
13
|
**arch** | **String** | Modulemd architecture. |
|
14
|
-
**artifacts** | [**
|
15
|
-
**dependencies** | [**
|
14
|
+
**artifacts** | [**Object**](.md) | Modulemd artifacts. |
|
15
|
+
**dependencies** | [**Object**](.md) | Modulemd dependencies. |
|
16
16
|
**packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
|
17
17
|
**snippet** | **String** | Modulemd snippet |
|
18
|
-
**profiles** | [**
|
18
|
+
**profiles** | [**Object**](.md) | Modulemd profiles. |
|
19
19
|
**description** | **String** | Description of module. |
|
20
20
|
|
21
21
|
## Code Sample
|
data/docs/RpmModulemdDefaults.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
8
|
**_module** | **String** | Modulemd name. |
|
9
9
|
**stream** | **String** | Modulemd default stream. |
|
10
|
-
**profiles** | [**
|
10
|
+
**profiles** | [**Object**](.md) | Default profiles for modulemd streams. |
|
11
11
|
**snippet** | **String** | Modulemd default snippet |
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
11
11
|
**_module** | **String** | Modulemd name. |
|
12
12
|
**stream** | **String** | Modulemd default stream. |
|
13
|
-
**profiles** | [**
|
13
|
+
**profiles** | [**Object**](.md) | Default profiles for modulemd streams. |
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
data/docs/RpmModulemdResponse.md
CHANGED
@@ -14,10 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**static_context** | **Boolean** | Modulemd static-context flag. | [optional]
|
15
15
|
**context** | **String** | Modulemd context. |
|
16
16
|
**arch** | **String** | Modulemd architecture. |
|
17
|
-
**artifacts** | [**
|
18
|
-
**dependencies** | [**
|
17
|
+
**artifacts** | [**Object**](.md) | Modulemd artifacts. |
|
18
|
+
**dependencies** | [**Object**](.md) | Modulemd dependencies. |
|
19
19
|
**packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
|
20
|
-
**profiles** | [**
|
20
|
+
**profiles** | [**Object**](.md) | Modulemd profiles. |
|
21
21
|
**description** | **String** | Description of module. |
|
22
22
|
|
23
23
|
## Code Sample
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**name** | **String** | Category name. |
|
13
13
|
**description** | **String** | Category description. |
|
14
14
|
**display_order** | **Integer** | Category display order. |
|
15
|
-
**group_ids** | [**
|
16
|
-
**desc_by_lang** | [**
|
17
|
-
**name_by_lang** | [**
|
15
|
+
**group_ids** | [**Object**](.md) | Category group list. |
|
16
|
+
**desc_by_lang** | [**Object**](.md) | Category description by language. |
|
17
|
+
**name_by_lang** | [**Object**](.md) | Category name by language. |
|
18
18
|
**digest** | **String** | Category digest. |
|
19
19
|
|
20
20
|
## Code Sample
|
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
|
|
12
12
|
**name** | **String** | Environment name. |
|
13
13
|
**description** | **String** | Environment description. |
|
14
14
|
**display_order** | **Integer** | Environment display order. |
|
15
|
-
**group_ids** | [**
|
16
|
-
**option_ids** | [**
|
17
|
-
**desc_by_lang** | [**
|
18
|
-
**name_by_lang** | [**
|
15
|
+
**group_ids** | [**Object**](.md) | Environment group list. |
|
16
|
+
**option_ids** | [**Object**](.md) | Environment option ids |
|
17
|
+
**desc_by_lang** | [**Object**](.md) | Environment description by language. |
|
18
|
+
**name_by_lang** | [**Object**](.md) | Environment name by language. |
|
19
19
|
**digest** | **String** | Environment digest. |
|
20
20
|
|
21
21
|
## Code Sample
|
@@ -14,10 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**display_order** | **Integer** | PackageGroup display order. |
|
15
15
|
**name** | **String** | PackageGroup name. |
|
16
16
|
**description** | **String** | PackageGroup description. |
|
17
|
-
**packages** | [**
|
17
|
+
**packages** | [**Object**](.md) | PackageGroup package list. |
|
18
18
|
**biarch_only** | **Boolean** | PackageGroup biarch only. | [optional]
|
19
|
-
**desc_by_lang** | [**
|
20
|
-
**name_by_lang** | [**
|
19
|
+
**desc_by_lang** | [**Object**](.md) | PackageGroup description by language. |
|
20
|
+
**name_by_lang** | [**Object**](.md) | PackageGroup name by language. |
|
21
21
|
**digest** | **String** | PackageGroup digest. |
|
22
22
|
|
23
23
|
## Code Sample
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
9
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
11
|
-
**matches** | [**
|
11
|
+
**matches** | [**Object**](.md) | Langpacks matches. |
|
12
12
|
**digest** | **String** | Langpacks digest. |
|
13
13
|
|
14
14
|
## Code Sample
|
data/docs/RpmPackageResponse.md
CHANGED
@@ -25,16 +25,16 @@ Name | Type | Description | Notes
|
|
25
25
|
**summary** | **String** | Short description of the packaged software | [optional] [readonly]
|
26
26
|
**description** | **String** | In-depth description of the packaged software | [optional] [readonly]
|
27
27
|
**url** | **String** | URL with more information about the packaged software | [optional] [readonly]
|
28
|
-
**changelogs** | [**
|
29
|
-
**files** | [**
|
30
|
-
**requires** | [**
|
31
|
-
**provides** | [**
|
32
|
-
**conflicts** | [**
|
33
|
-
**obsoletes** | [**
|
34
|
-
**suggests** | [**
|
35
|
-
**enhances** | [**
|
36
|
-
**recommends** | [**
|
37
|
-
**supplements** | [**
|
28
|
+
**changelogs** | [**Object**](.md) | Changelogs that package contains | [optional] [readonly]
|
29
|
+
**files** | [**Object**](.md) | Files that package contains | [optional] [readonly]
|
30
|
+
**requires** | [**Object**](.md) | Capabilities the package requires | [optional] [readonly]
|
31
|
+
**provides** | [**Object**](.md) | Capabilities the package provides | [optional] [readonly]
|
32
|
+
**conflicts** | [**Object**](.md) | Capabilities the package conflicts | [optional] [readonly]
|
33
|
+
**obsoletes** | [**Object**](.md) | Capabilities the package obsoletes | [optional] [readonly]
|
34
|
+
**suggests** | [**Object**](.md) | Capabilities the package suggests | [optional] [readonly]
|
35
|
+
**enhances** | [**Object**](.md) | Capabilities the package enhances | [optional] [readonly]
|
36
|
+
**recommends** | [**Object**](.md) | Capabilities the package recommends | [optional] [readonly]
|
37
|
+
**supplements** | [**Object**](.md) | Capabilities the package supplements | [optional] [readonly]
|
38
38
|
**location_base** | **String** | Base location of this package | [optional] [readonly]
|
39
39
|
**location_href** | **String** | Relative location of package to the repodata | [optional] [readonly]
|
40
40
|
**rpm_buildhost** | **String** | Hostname of the system that built the package | [optional] [readonly]
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
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]
|
12
12
|
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
13
13
|
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
14
|
-
**repo_config** | [**
|
14
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
15
15
|
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
17
17
|
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
18
18
|
**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]
|
19
|
-
**repo_config** | [**
|
19
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
20
|
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
21
21
|
|
22
22
|
## Code Sample
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
|
|
17
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]
|
18
18
|
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
19
19
|
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
20
|
-
**repo_config** | [**
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
21
21
|
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
22
22
|
|
23
23
|
## Code Sample
|
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
|
|
24
24
|
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
25
25
|
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
26
26
|
**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]
|
27
|
-
**repo_config** | [**
|
27
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
28
28
|
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
29
29
|
|
30
30
|
## Code Sample
|
data/docs/RpmUpdateCollection.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | Collection name. |
|
8
8
|
**shortname** | **String** | Collection short name. |
|
9
|
-
**_module** | [**
|
9
|
+
**_module** | [**Object**](.md) | Collection modular NSVCA. |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | Collection name. |
|
8
8
|
**shortname** | **String** | Collection short name. |
|
9
|
-
**_module** | [**
|
9
|
+
**_module** | [**Object**](.md) | Collection modular NSVCA. |
|
10
10
|
**packages** | **Array<Object>** | List of packages | [optional] [readonly]
|
11
11
|
|
12
12
|
## Code Sample
|
@@ -314,20 +314,20 @@ module PulpRpmClient
|
|
314
314
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
315
315
|
end
|
316
316
|
|
317
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
318
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
317
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
318
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
319
319
|
end
|
320
320
|
|
321
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
322
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
321
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
322
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
323
323
|
end
|
324
324
|
|
325
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
326
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
325
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
326
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
327
327
|
end
|
328
328
|
|
329
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
330
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
329
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
330
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
331
331
|
end
|
332
332
|
|
333
333
|
if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
@@ -351,10 +351,10 @@ module PulpRpmClient
|
|
351
351
|
return false if !@username.nil? && @username.to_s.length < 1
|
352
352
|
return false if !@password.nil? && @password.to_s.length < 1
|
353
353
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
354
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
355
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
356
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
357
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
354
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
355
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
356
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
357
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
358
358
|
return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
359
359
|
true
|
360
360
|
end
|
@@ -472,8 +472,8 @@ module PulpRpmClient
|
|
472
472
|
# Custom attribute writer method with validation
|
473
473
|
# @param [Object] total_timeout Value to be assigned
|
474
474
|
def total_timeout=(total_timeout)
|
475
|
-
if !total_timeout.nil? && total_timeout < 0
|
476
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
475
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
476
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
477
477
|
end
|
478
478
|
|
479
479
|
@total_timeout = total_timeout
|
@@ -482,8 +482,8 @@ module PulpRpmClient
|
|
482
482
|
# Custom attribute writer method with validation
|
483
483
|
# @param [Object] connect_timeout Value to be assigned
|
484
484
|
def connect_timeout=(connect_timeout)
|
485
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
486
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
485
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
486
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
487
487
|
end
|
488
488
|
|
489
489
|
@connect_timeout = connect_timeout
|
@@ -492,8 +492,8 @@ module PulpRpmClient
|
|
492
492
|
# Custom attribute writer method with validation
|
493
493
|
# @param [Object] sock_connect_timeout Value to be assigned
|
494
494
|
def sock_connect_timeout=(sock_connect_timeout)
|
495
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
496
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
495
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
496
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
497
497
|
end
|
498
498
|
|
499
499
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -502,8 +502,8 @@ module PulpRpmClient
|
|
502
502
|
# Custom attribute writer method with validation
|
503
503
|
# @param [Object] sock_read_timeout Value to be assigned
|
504
504
|
def sock_read_timeout=(sock_read_timeout)
|
505
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
506
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
505
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
506
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
507
507
|
end
|
508
508
|
|
509
509
|
@sock_read_timeout = sock_read_timeout
|
@@ -96,7 +96,7 @@ module PulpRpmClient
|
|
96
96
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
97
97
|
:'gpgcheck' => :'Integer',
|
98
98
|
:'repo_gpgcheck' => :'Integer',
|
99
|
-
:'repo_config' => :'
|
99
|
+
:'repo_config' => :'Object',
|
100
100
|
:'compression_type' => :'CompressionTypeEnum'
|
101
101
|
}
|
102
102
|
end
|
@@ -312,20 +312,20 @@ module PulpRpmClient
|
|
312
312
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
313
313
|
end
|
314
314
|
|
315
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
315
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
316
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
317
317
|
end
|
318
318
|
|
319
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
319
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
320
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
321
321
|
end
|
322
322
|
|
323
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
323
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
324
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
325
325
|
end
|
326
326
|
|
327
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
327
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
328
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
329
329
|
end
|
330
330
|
|
331
331
|
if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
|
@@ -349,10 +349,10 @@ module PulpRpmClient
|
|
349
349
|
return false if !@username.nil? && @username.to_s.length < 1
|
350
350
|
return false if !@password.nil? && @password.to_s.length < 1
|
351
351
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
352
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
353
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
354
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
355
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
352
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
353
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
354
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
355
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
356
356
|
return false if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
|
357
357
|
true
|
358
358
|
end
|
@@ -470,8 +470,8 @@ module PulpRpmClient
|
|
470
470
|
# Custom attribute writer method with validation
|
471
471
|
# @param [Object] total_timeout Value to be assigned
|
472
472
|
def total_timeout=(total_timeout)
|
473
|
-
if !total_timeout.nil? && total_timeout < 0
|
474
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
473
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
474
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
475
475
|
end
|
476
476
|
|
477
477
|
@total_timeout = total_timeout
|
@@ -480,8 +480,8 @@ module PulpRpmClient
|
|
480
480
|
# Custom attribute writer method with validation
|
481
481
|
# @param [Object] connect_timeout Value to be assigned
|
482
482
|
def connect_timeout=(connect_timeout)
|
483
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
484
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
483
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
484
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
485
485
|
end
|
486
486
|
|
487
487
|
@connect_timeout = connect_timeout
|
@@ -490,8 +490,8 @@ module PulpRpmClient
|
|
490
490
|
# Custom attribute writer method with validation
|
491
491
|
# @param [Object] sock_connect_timeout Value to be assigned
|
492
492
|
def sock_connect_timeout=(sock_connect_timeout)
|
493
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
494
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
493
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
494
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
495
495
|
end
|
496
496
|
|
497
497
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -500,8 +500,8 @@ module PulpRpmClient
|
|
500
500
|
# Custom attribute writer method with validation
|
501
501
|
# @param [Object] sock_read_timeout Value to be assigned
|
502
502
|
def sock_read_timeout=(sock_read_timeout)
|
503
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
504
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
503
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
504
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
505
505
|
end
|
506
506
|
|
507
507
|
@sock_read_timeout = sock_read_timeout
|
@@ -83,11 +83,11 @@ module PulpRpmClient
|
|
83
83
|
:'static_context' => :'Boolean',
|
84
84
|
:'context' => :'String',
|
85
85
|
:'arch' => :'String',
|
86
|
-
:'artifacts' => :'
|
87
|
-
:'dependencies' => :'
|
86
|
+
:'artifacts' => :'Object',
|
87
|
+
:'dependencies' => :'Object',
|
88
88
|
:'packages' => :'Array<String>',
|
89
89
|
:'snippet' => :'String',
|
90
|
-
:'profiles' => :'
|
90
|
+
:'profiles' => :'Object',
|
91
91
|
:'description' => :'String'
|
92
92
|
}
|
93
93
|
end
|
@@ -93,10 +93,10 @@ module PulpRpmClient
|
|
93
93
|
:'static_context' => :'Boolean',
|
94
94
|
:'context' => :'String',
|
95
95
|
:'arch' => :'String',
|
96
|
-
:'artifacts' => :'
|
97
|
-
:'dependencies' => :'
|
96
|
+
:'artifacts' => :'Object',
|
97
|
+
:'dependencies' => :'Object',
|
98
98
|
:'packages' => :'Array<String>',
|
99
|
-
:'profiles' => :'
|
99
|
+
:'profiles' => :'Object',
|
100
100
|
:'description' => :'String'
|
101
101
|
}
|
102
102
|
end
|
@@ -79,9 +79,9 @@ module PulpRpmClient
|
|
79
79
|
:'name' => :'String',
|
80
80
|
:'description' => :'String',
|
81
81
|
:'display_order' => :'Integer',
|
82
|
-
:'group_ids' => :'
|
83
|
-
:'desc_by_lang' => :'
|
84
|
-
:'name_by_lang' => :'
|
82
|
+
:'group_ids' => :'Object',
|
83
|
+
:'desc_by_lang' => :'Object',
|
84
|
+
:'name_by_lang' => :'Object',
|
85
85
|
:'digest' => :'String'
|
86
86
|
}
|
87
87
|
end
|
@@ -83,10 +83,10 @@ module PulpRpmClient
|
|
83
83
|
:'name' => :'String',
|
84
84
|
:'description' => :'String',
|
85
85
|
:'display_order' => :'Integer',
|
86
|
-
:'group_ids' => :'
|
87
|
-
:'option_ids' => :'
|
88
|
-
:'desc_by_lang' => :'
|
89
|
-
:'name_by_lang' => :'
|
86
|
+
:'group_ids' => :'Object',
|
87
|
+
:'option_ids' => :'Object',
|
88
|
+
:'desc_by_lang' => :'Object',
|
89
|
+
:'name_by_lang' => :'Object',
|
90
90
|
:'digest' => :'String'
|
91
91
|
}
|
92
92
|
end
|
@@ -93,10 +93,10 @@ module PulpRpmClient
|
|
93
93
|
:'display_order' => :'Integer',
|
94
94
|
:'name' => :'String',
|
95
95
|
:'description' => :'String',
|
96
|
-
:'packages' => :'
|
96
|
+
:'packages' => :'Object',
|
97
97
|
:'biarch_only' => :'Boolean',
|
98
|
-
:'desc_by_lang' => :'
|
99
|
-
:'name_by_lang' => :'
|
98
|
+
:'desc_by_lang' => :'Object',
|
99
|
+
:'name_by_lang' => :'Object',
|
100
100
|
:'digest' => :'String'
|
101
101
|
}
|
102
102
|
end
|
@@ -232,16 +232,16 @@ module PulpRpmClient
|
|
232
232
|
:'summary' => :'String',
|
233
233
|
:'description' => :'String',
|
234
234
|
:'url' => :'String',
|
235
|
-
:'changelogs' => :'
|
236
|
-
:'files' => :'
|
237
|
-
:'requires' => :'
|
238
|
-
:'provides' => :'
|
239
|
-
:'conflicts' => :'
|
240
|
-
:'obsoletes' => :'
|
241
|
-
:'suggests' => :'
|
242
|
-
:'enhances' => :'
|
243
|
-
:'recommends' => :'
|
244
|
-
:'supplements' => :'
|
235
|
+
:'changelogs' => :'Object',
|
236
|
+
:'files' => :'Object',
|
237
|
+
:'requires' => :'Object',
|
238
|
+
:'provides' => :'Object',
|
239
|
+
:'conflicts' => :'Object',
|
240
|
+
:'obsoletes' => :'Object',
|
241
|
+
:'suggests' => :'Object',
|
242
|
+
:'enhances' => :'Object',
|
243
|
+
:'recommends' => :'Object',
|
244
|
+
:'supplements' => :'Object',
|
245
245
|
:'location_base' => :'String',
|
246
246
|
:'location_href' => :'String',
|
247
247
|
:'rpm_buildhost' => :'String',
|
@@ -66,7 +66,7 @@ module PulpRpmClient
|
|
66
66
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
67
67
|
:'gpgcheck' => :'Integer',
|
68
68
|
:'repo_gpgcheck' => :'Integer',
|
69
|
-
:'repo_config' => :'
|
69
|
+
:'repo_config' => :'Object',
|
70
70
|
:'compression_type' => :'CompressionTypeEnum'
|
71
71
|
}
|
72
72
|
end
|