pulp_rpm_client 3.0.0b71572533171 → 3.0.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +63 -22
- data/docs/ContentAdvisoriesApi.md +15 -7
- data/docs/ContentDistributionTreesApi.md +2 -2
- data/docs/ContentModulemdDefaultsApi.md +6 -6
- data/docs/{ContentModulemdApi.md → ContentModulemdsApi.md} +14 -14
- data/docs/ContentPackagecategoriesApi.md +189 -0
- data/docs/ContentPackageenvironmentsApi.md +189 -0
- data/docs/ContentPackagegroupsApi.md +189 -0
- data/docs/ContentPackagelangpacksApi.md +189 -0
- data/docs/ContentPackagesApi.md +4 -4
- data/docs/ContentRepoMetadataFilesApi.md +4 -4
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsRpmApi.md +10 -10
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +23 -0
- data/docs/PublicationsRpmApi.md +6 -6
- data/docs/RemotesRpmApi.md +12 -68
- data/docs/RepositoriesRpmApi.md +465 -0
- data/docs/RepositoriesRpmVersionsApi.md +214 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/docs/{DistributionTree.md → RpmDistributionTree.md} +2 -2
- data/docs/{Modulemd.md → RpmModulemd.md} +2 -8
- data/docs/{ModulemdDefaults.md → RpmModulemdDefaults.md} +2 -8
- data/docs/{Package.md → RpmPackage.md} +2 -8
- data/docs/RpmPackageCategory.md +33 -0
- data/docs/RpmPackageEnvironment.md +37 -0
- data/docs/RpmPackageGroup.md +39 -0
- data/docs/RpmPackageLangpacks.md +19 -0
- data/docs/{RepoMetadataFile.md → RpmRepoMetadataFile.md} +2 -8
- data/docs/{RpmDistribution.md → RpmRpmDistribution.md} +2 -2
- data/docs/{RpmPublication.md → RpmRpmPublication.md} +2 -2
- data/docs/{RpmRemote.md → RpmRpmRemote.md} +10 -14
- data/docs/RpmRpmRepository.md +27 -0
- data/docs/RpmUpdateCollection.md +21 -0
- data/docs/{UpdateRecord.md → RpmUpdateRecord.md} +24 -20
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +28 -14
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +4 -4
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -8
- data/lib/pulp_rpm_client/api/{content_modulemd_api.rb → content_modulemds_api.rb} +30 -30
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +7 -7
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -7
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +13 -13
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +9 -9
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +16 -86
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +568 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +268 -0
- data/lib/pulp_rpm_client/api_client.rb +1 -1
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +1 -1
- data/lib/pulp_rpm_client/models/addon.rb +12 -2
- data/lib/pulp_rpm_client/models/artifact.rb +18 -2
- data/lib/pulp_rpm_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_rpm_client/models/checksum.rb +12 -2
- data/lib/pulp_rpm_client/models/content_summary.rb +246 -0
- data/lib/pulp_rpm_client/models/image.rb +12 -2
- data/lib/pulp_rpm_client/models/inline_response200.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2009.rb +247 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_rpm_client/models/repository_version.rb +244 -0
- data/lib/pulp_rpm_client/models/{distribution_tree.rb → rpm_distribution_tree.rb} +15 -5
- data/lib/pulp_rpm_client/models/{modulemd.rb → rpm_modulemd.rb} +16 -60
- data/lib/pulp_rpm_client/models/{modulemd_defaults.rb → rpm_modulemd_defaults.rb} +16 -60
- data/lib/pulp_rpm_client/models/{package.rb → rpm_package.rb} +16 -60
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +405 -0
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +432 -0
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +435 -0
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +246 -0
- data/lib/pulp_rpm_client/models/{repo_metadata_file.rb → rpm_repo_metadata_file.rb} +16 -60
- data/lib/pulp_rpm_client/models/{rpm_distribution.rb → rpm_rpm_distribution.rb} +17 -23
- data/lib/pulp_rpm_client/models/{rpm_publication.rb → rpm_rpm_publication.rb} +16 -5
- data/lib/pulp_rpm_client/models/{rpm_remote.rb → rpm_rpm_remote.rb} +69 -105
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +294 -0
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +240 -0
- data/lib/pulp_rpm_client/models/{update_record.rb → rpm_update_record.rb} +49 -239
- data/lib/pulp_rpm_client/models/variant.rb +12 -2
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +32 -12
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +6 -3
- data/spec/api/content_distribution_trees_api_spec.rb +2 -2
- data/spec/api/content_modulemd_defaults_api_spec.rb +3 -3
- data/spec/api/{content_modulemd_api_spec.rb → content_modulemds_api_spec.rb} +9 -9
- data/spec/api/content_packagecategories_api_spec.rb +79 -0
- data/spec/api/content_packageenvironments_api_spec.rb +79 -0
- data/spec/api/content_packagegroups_api_spec.rb +79 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +79 -0
- data/spec/api/content_packages_api_spec.rb +3 -3
- data/spec/api/content_repo_metadata_files_api_spec.rb +3 -3
- data/spec/api/distributions_rpm_api_spec.rb +3 -3
- data/spec/api/publications_rpm_api_spec.rb +3 -3
- data/spec/api/remotes_rpm_api_spec.rb +4 -17
- data/spec/api/repositories_rpm_api_spec.rb +141 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +91 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/models/{distribution_tree_spec.rb → rpm_distribution_tree_spec.rb} +7 -7
- data/spec/models/{modulemd_defaults_spec.rb → rpm_modulemd_defaults_spec.rb} +7 -25
- data/spec/models/{modulemd_spec.rb → rpm_modulemd_spec.rb} +7 -25
- data/spec/models/{repo_metadata_file_spec.rb → rpm_package_category_spec.rb} +16 -16
- data/spec/models/rpm_package_environment_spec.rb +101 -0
- data/spec/models/rpm_package_group_spec.rb +107 -0
- data/spec/models/rpm_package_langpacks_spec.rb +47 -0
- data/spec/models/{package_spec.rb → rpm_package_spec.rb} +7 -25
- data/spec/models/rpm_repo_metadata_file_spec.rb +71 -0
- data/spec/models/{rpm_distribution_spec.rb → rpm_rpm_distribution_spec.rb} +7 -7
- data/spec/models/{rpm_publication_spec.rb → rpm_rpm_publication_spec.rb} +7 -7
- data/spec/models/{rpm_remote_spec.rb → rpm_rpm_remote_spec.rb} +11 -23
- data/spec/models/rpm_rpm_repository_spec.rb +71 -0
- data/spec/models/rpm_update_collection_spec.rb +53 -0
- data/spec/models/{update_record_spec.rb → rpm_update_record_spec.rb} +19 -7
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +126 -46
- data/docs/RpmCopyApi.md +0 -70
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -96
- data/spec/api/rpm_copy_api_spec.rb +0 -50
data/docs/RepositorySyncURL.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**remote** | **String** | A URI of the repository to be synchronized. |
|
8
8
|
**mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
|
9
9
|
|
10
10
|
## Code Sample
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
```ruby
|
13
13
|
require 'PulpRpmClient'
|
14
14
|
|
15
|
-
instance = PulpRpmClient::RepositorySyncURL.new(
|
15
|
+
instance = PulpRpmClient::RepositorySyncURL.new(remote: null,
|
16
16
|
mirror: null)
|
17
17
|
```
|
18
18
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpRpmClient::RepositoryVersion
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**number** | **Integer** | | [optional] [readonly]
|
10
|
+
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
11
|
+
**content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpRpmClient'
|
17
|
+
|
18
|
+
instance = PulpRpmClient::RepositoryVersion.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
number: null,
|
21
|
+
base_version: null,
|
22
|
+
content_summary: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmDistributionTree
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
|
|
29
29
|
```ruby
|
30
30
|
require 'PulpRpmClient'
|
31
31
|
|
32
|
-
instance = PulpRpmClient::
|
32
|
+
instance = PulpRpmClient::RpmDistributionTree.new(pulp_href: null,
|
33
33
|
header_version: null,
|
34
34
|
release_name: null,
|
35
35
|
release_short: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmModulemd
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,9 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
11
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
12
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
13
10
|
**name** | **String** | Modulemd name. |
|
14
11
|
**stream** | **String** | Stream name. |
|
15
12
|
**version** | **String** | Modulemd version. |
|
@@ -24,12 +21,9 @@ Name | Type | Description | Notes
|
|
24
21
|
```ruby
|
25
22
|
require 'PulpRpmClient'
|
26
23
|
|
27
|
-
instance = PulpRpmClient::
|
24
|
+
instance = PulpRpmClient::RpmModulemd.new(pulp_href: null,
|
28
25
|
pulp_created: null,
|
29
26
|
artifact: null,
|
30
|
-
relative_path: null,
|
31
|
-
file: null,
|
32
|
-
repository: null,
|
33
27
|
name: null,
|
34
28
|
stream: null,
|
35
29
|
version: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmModulemdDefaults
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,9 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
11
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
12
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
13
10
|
**_module** | **String** | Modulemd name. |
|
14
11
|
**stream** | **String** | Modulemd default stream. |
|
15
12
|
**profiles** | [**Object**](.md) | Default profiles for modulemd streams. |
|
@@ -19,12 +16,9 @@ Name | Type | Description | Notes
|
|
19
16
|
```ruby
|
20
17
|
require 'PulpRpmClient'
|
21
18
|
|
22
|
-
instance = PulpRpmClient::
|
19
|
+
instance = PulpRpmClient::RpmModulemdDefaults.new(pulp_href: null,
|
23
20
|
pulp_created: null,
|
24
21
|
artifact: null,
|
25
|
-
relative_path: null,
|
26
|
-
file: null,
|
27
|
-
repository: null,
|
28
22
|
_module: null,
|
29
23
|
stream: null,
|
30
24
|
profiles: null)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmPackage
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,9 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
11
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
12
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
13
10
|
**name** | **String** | Name of the package | [optional] [readonly]
|
14
11
|
**epoch** | **String** | The package's epoch | [optional] [readonly]
|
15
12
|
**version** | **String** | The version of the package. For example, '2.8.0' | [optional] [readonly]
|
@@ -52,12 +49,9 @@ Name | Type | Description | Notes
|
|
52
49
|
```ruby
|
53
50
|
require 'PulpRpmClient'
|
54
51
|
|
55
|
-
instance = PulpRpmClient::
|
52
|
+
instance = PulpRpmClient::RpmPackage.new(pulp_href: null,
|
56
53
|
pulp_created: null,
|
57
54
|
artifact: null,
|
58
|
-
relative_path: null,
|
59
|
-
file: null,
|
60
|
-
repository: null,
|
61
55
|
name: null,
|
62
56
|
epoch: null,
|
63
57
|
version: null,
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# PulpRpmClient::RpmPackageCategory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | Category id. |
|
8
|
+
**name** | **String** | Category name. |
|
9
|
+
**description** | **String** | Category description. |
|
10
|
+
**display_order** | **Integer** | Category display order. |
|
11
|
+
**group_ids** | [**Object**](.md) | Category group list. |
|
12
|
+
**desc_by_lang** | [**Object**](.md) | Category description by language. |
|
13
|
+
**name_by_lang** | [**Object**](.md) | Category name by language. |
|
14
|
+
**digest** | **String** | Category digest. |
|
15
|
+
**packagegroups** | **Array<String>** | PackageGroups related to this category. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'PulpRpmClient'
|
21
|
+
|
22
|
+
instance = PulpRpmClient::RpmPackageCategory.new(id: null,
|
23
|
+
name: null,
|
24
|
+
description: null,
|
25
|
+
display_order: null,
|
26
|
+
group_ids: null,
|
27
|
+
desc_by_lang: null,
|
28
|
+
name_by_lang: null,
|
29
|
+
digest: null,
|
30
|
+
packagegroups: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# PulpRpmClient::RpmPackageEnvironment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | Environment id. |
|
8
|
+
**name** | **String** | Environment name. |
|
9
|
+
**description** | **String** | Environment description. |
|
10
|
+
**display_order** | **Integer** | Environment display order. |
|
11
|
+
**group_ids** | [**Object**](.md) | Environment group list. |
|
12
|
+
**option_ids** | [**Object**](.md) | Environment option ids |
|
13
|
+
**desc_by_lang** | [**Object**](.md) | Environment description by language. |
|
14
|
+
**name_by_lang** | [**Object**](.md) | Environment name by language. |
|
15
|
+
**digest** | **String** | Environment digest. |
|
16
|
+
**packagegroups** | **Array<String>** | Groups related to this Environment. | [optional]
|
17
|
+
**optionalgroups** | **Array<String>** | Groups optionally related to this Environment. | [optional]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'PulpRpmClient'
|
23
|
+
|
24
|
+
instance = PulpRpmClient::RpmPackageEnvironment.new(id: null,
|
25
|
+
name: null,
|
26
|
+
description: null,
|
27
|
+
display_order: null,
|
28
|
+
group_ids: null,
|
29
|
+
option_ids: null,
|
30
|
+
desc_by_lang: null,
|
31
|
+
name_by_lang: null,
|
32
|
+
digest: null,
|
33
|
+
packagegroups: null,
|
34
|
+
optionalgroups: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# PulpRpmClient::RpmPackageGroup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | PackageGroup id. |
|
8
|
+
**default** | **Boolean** | PackageGroup default. | [optional]
|
9
|
+
**user_visible** | **Boolean** | PackageGroup user visibility. | [optional]
|
10
|
+
**display_order** | **Integer** | PackageGroup display order. |
|
11
|
+
**name** | **String** | PackageGroup name. |
|
12
|
+
**description** | **String** | PackageGroup description. |
|
13
|
+
**packages** | [**Object**](.md) | PackageGroup package list. |
|
14
|
+
**biarch_only** | **Boolean** | PackageGroup biarch only. | [optional]
|
15
|
+
**desc_by_lang** | [**Object**](.md) | PackageGroup description by language. |
|
16
|
+
**name_by_lang** | [**Object**](.md) | PackageGroup name by language. |
|
17
|
+
**digest** | **String** | PackageGroup digest. |
|
18
|
+
**related_packages** | **Array<String>** | Packages related to this PackageGroup. | [optional]
|
19
|
+
|
20
|
+
## Code Sample
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'PulpRpmClient'
|
24
|
+
|
25
|
+
instance = PulpRpmClient::RpmPackageGroup.new(id: null,
|
26
|
+
default: null,
|
27
|
+
user_visible: null,
|
28
|
+
display_order: null,
|
29
|
+
name: null,
|
30
|
+
description: null,
|
31
|
+
packages: null,
|
32
|
+
biarch_only: null,
|
33
|
+
desc_by_lang: null,
|
34
|
+
name_by_lang: null,
|
35
|
+
digest: null,
|
36
|
+
related_packages: null)
|
37
|
+
```
|
38
|
+
|
39
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpRpmClient::RpmPackageLangpacks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**matches** | [**Object**](.md) | Langpacks matches. |
|
8
|
+
**digest** | **String** | Langpacks digest. |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpRpmClient'
|
14
|
+
|
15
|
+
instance = PulpRpmClient::RpmPackageLangpacks.new(matches: null,
|
16
|
+
digest: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmRepoMetadataFile
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,9 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
11
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
12
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
13
10
|
**data_type** | **String** | Metadata type. |
|
14
11
|
**checksum_type** | **String** | Checksum type for the file. |
|
15
12
|
**checksum** | **String** | Checksum for the file. |
|
@@ -19,12 +16,9 @@ Name | Type | Description | Notes
|
|
19
16
|
```ruby
|
20
17
|
require 'PulpRpmClient'
|
21
18
|
|
22
|
-
instance = PulpRpmClient::
|
19
|
+
instance = PulpRpmClient::RpmRepoMetadataFile.new(pulp_href: null,
|
23
20
|
pulp_created: null,
|
24
21
|
artifact: null,
|
25
|
-
relative_path: null,
|
26
|
-
file: null,
|
27
|
-
repository: null,
|
28
22
|
data_type: null,
|
29
23
|
checksum_type: null,
|
30
24
|
checksum: null)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmRpmDistribution
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpRpmClient'
|
19
19
|
|
20
|
-
instance = PulpRpmClient::
|
20
|
+
instance = PulpRpmClient::RpmRpmDistribution.new(pulp_href: null,
|
21
21
|
pulp_created: null,
|
22
22
|
base_path: null,
|
23
23
|
base_url: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmRpmPublication
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpRpmClient'
|
17
17
|
|
18
|
-
instance = PulpRpmClient::
|
18
|
+
instance = PulpRpmClient::RpmRpmPublication.new(pulp_href: null,
|
19
19
|
pulp_created: null,
|
20
20
|
publisher: null,
|
21
21
|
repository_version: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmRpmRemote
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -8,13 +8,11 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | A unique name for this remote. |
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
11
|
-
**
|
12
|
-
**
|
13
|
-
**
|
14
|
-
**
|
11
|
+
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
|
12
|
+
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
|
13
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
|
14
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
18
|
**policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional] [default to 'immediate']
|
@@ -24,17 +22,15 @@ Name | Type | Description | Notes
|
|
24
22
|
```ruby
|
25
23
|
require 'PulpRpmClient'
|
26
24
|
|
27
|
-
instance = PulpRpmClient::
|
25
|
+
instance = PulpRpmClient::RpmRpmRemote.new(pulp_href: null,
|
28
26
|
pulp_created: null,
|
29
27
|
name: null,
|
30
28
|
url: null,
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
29
|
+
ca_cert: null,
|
30
|
+
client_cert: null,
|
31
|
+
client_key: null,
|
32
|
+
tls_validation: null,
|
35
33
|
proxy_url: null,
|
36
|
-
username: null,
|
37
|
-
password: null,
|
38
34
|
pulp_last_updated: null,
|
39
35
|
download_concurrency: null,
|
40
36
|
policy: null)
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# PulpRpmClient::RpmRpmRepository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
11
|
+
**name** | **String** | A unique name for this repository. |
|
12
|
+
**description** | **String** | An optional description. | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'PulpRpmClient'
|
18
|
+
|
19
|
+
instance = PulpRpmClient::RpmRpmRepository.new(pulp_href: null,
|
20
|
+
pulp_created: null,
|
21
|
+
versions_href: null,
|
22
|
+
latest_version_href: null,
|
23
|
+
name: null,
|
24
|
+
description: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpRpmClient::RpmUpdateCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Collection name. |
|
8
|
+
**shortname** | **String** | Collection short name. |
|
9
|
+
**packages** | **Array<Hash<String, String>>** | List of packages | [optional] [readonly]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpRpmClient'
|
15
|
+
|
16
|
+
instance = PulpRpmClient::RpmUpdateCollection.new(name: null,
|
17
|
+
shortname: null,
|
18
|
+
packages: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmUpdateRecord
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,31 +6,34 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**
|
12
|
-
**
|
13
|
-
**
|
14
|
-
**
|
15
|
-
**
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**
|
19
|
-
**
|
20
|
-
**
|
21
|
-
**
|
22
|
-
**
|
23
|
-
**
|
24
|
-
**
|
25
|
-
**
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
+
**id** | **String** | Update id (short update name, e.g. RHEA-2013:1777) | [optional] [readonly]
|
11
|
+
**updated_date** | **String** | Date when the update was updated (e.g. '2013-12-02 00:00:00') | [optional] [readonly]
|
12
|
+
**description** | **String** | Update description | [optional] [readonly]
|
13
|
+
**issued_date** | **String** | Date when the update was issued (e.g. '2013-12-02 00:00:00') | [optional] [readonly]
|
14
|
+
**fromstr** | **String** | Source of the update (e.g. security@redhat.com) | [optional] [readonly]
|
15
|
+
**status** | **String** | Update status ('final', ...) | [optional] [readonly]
|
16
|
+
**title** | **String** | Update name | [optional] [readonly]
|
17
|
+
**summary** | **String** | Short summary | [optional] [readonly]
|
18
|
+
**version** | **String** | Update version (probably always an integer number) | [optional] [readonly]
|
19
|
+
**type** | **String** | Update type ('enhancement', 'bugfix', ...) | [optional] [readonly]
|
20
|
+
**severity** | **String** | Severity | [optional] [readonly]
|
21
|
+
**solution** | **String** | Solution | [optional] [readonly]
|
22
|
+
**release** | **String** | Update release | [optional] [readonly]
|
23
|
+
**rights** | **String** | Copyrights | [optional] [readonly]
|
24
|
+
**pushcount** | **String** | Push count | [optional] [readonly]
|
25
|
+
**pkglist** | [**Array<RpmUpdateCollection>**](RpmUpdateCollection.md) | List of packages | [optional] [readonly]
|
26
|
+
**references** | **Array<Hash<String, String>>** | List of references | [optional] [readonly]
|
27
|
+
**reboot_suggested** | **Boolean** | Reboot suggested | [optional] [readonly]
|
26
28
|
|
27
29
|
## Code Sample
|
28
30
|
|
29
31
|
```ruby
|
30
32
|
require 'PulpRpmClient'
|
31
33
|
|
32
|
-
instance = PulpRpmClient::
|
34
|
+
instance = PulpRpmClient::RpmUpdateRecord.new(pulp_href: null,
|
33
35
|
pulp_created: null,
|
36
|
+
artifact: null,
|
34
37
|
id: null,
|
35
38
|
updated_date: null,
|
36
39
|
description: null,
|
@@ -47,7 +50,8 @@ instance = PulpRpmClient::UpdateRecord.new(pulp_href: null,
|
|
47
50
|
rights: null,
|
48
51
|
pushcount: null,
|
49
52
|
pkglist: null,
|
50
|
-
references: null
|
53
|
+
references: null,
|
54
|
+
reboot_suggested: null)
|
51
55
|
```
|
52
56
|
|
53
57
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,27 +21,37 @@ module PulpRpmClient
|
|
21
21
|
end
|
22
22
|
# Create an update record
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
|
-
# @param
|
24
|
+
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
27
|
+
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
28
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
29
|
# @return [AsyncOperationResponse]
|
27
|
-
def create(
|
28
|
-
data, _status_code, _headers = create_with_http_info(
|
30
|
+
def create(relative_path, opts = {})
|
31
|
+
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
29
32
|
data
|
30
33
|
end
|
31
34
|
|
32
35
|
# Create an update record
|
33
36
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
|
-
# @param
|
37
|
+
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
35
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
40
|
+
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
41
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
36
42
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
|
-
def create_with_http_info(
|
43
|
+
def create_with_http_info(relative_path, opts = {})
|
38
44
|
if @api_client.config.debugging
|
39
45
|
@api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.create ...'
|
40
46
|
end
|
41
|
-
# verify the required parameter '
|
42
|
-
if @api_client.config.client_side_validation &&
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
47
|
+
# verify the required parameter 'relative_path' is set
|
48
|
+
if @api_client.config.client_side_validation && relative_path.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentAdvisoriesApi.create"
|
44
50
|
end
|
51
|
+
if @api_client.config.client_side_validation && relative_path.to_s.length < 1
|
52
|
+
fail ArgumentError, 'invalid value for "relative_path" when calling ContentAdvisoriesApi.create, the character length must be great than or equal to 1.'
|
53
|
+
end
|
54
|
+
|
45
55
|
# resource path
|
46
56
|
local_var_path = '/pulp/api/v3/content/rpm/advisories/'
|
47
57
|
|
@@ -53,13 +63,17 @@ module PulpRpmClient
|
|
53
63
|
# HTTP header 'Accept' (if needed)
|
54
64
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
65
|
# HTTP header 'Content-Type'
|
56
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
66
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
57
67
|
|
58
68
|
# form parameters
|
59
69
|
form_params = opts[:form_params] || {}
|
70
|
+
form_params['relative_path'] = relative_path
|
71
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
72
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
73
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
60
74
|
|
61
75
|
# http body (model)
|
62
|
-
post_body = opts[:body]
|
76
|
+
post_body = opts[:body]
|
63
77
|
|
64
78
|
# return_type
|
65
79
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
@@ -190,7 +204,7 @@ module PulpRpmClient
|
|
190
204
|
# @param [Hash] opts the optional parameters
|
191
205
|
# @option opts [String] :fields A list of fields to include in the response.
|
192
206
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
193
|
-
# @return [
|
207
|
+
# @return [RpmUpdateRecord]
|
194
208
|
def read(update_record_href, opts = {})
|
195
209
|
data, _status_code, _headers = read_with_http_info(update_record_href, opts)
|
196
210
|
data
|
@@ -202,7 +216,7 @@ module PulpRpmClient
|
|
202
216
|
# @param [Hash] opts the optional parameters
|
203
217
|
# @option opts [String] :fields A list of fields to include in the response.
|
204
218
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
205
|
-
# @return [Array<(
|
219
|
+
# @return [Array<(RpmUpdateRecord, Integer, Hash)>] RpmUpdateRecord data, response status code and response headers
|
206
220
|
def read_with_http_info(update_record_href, opts = {})
|
207
221
|
if @api_client.config.debugging
|
208
222
|
@api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.read ...'
|
@@ -231,7 +245,7 @@ module PulpRpmClient
|
|
231
245
|
post_body = opts[:body]
|
232
246
|
|
233
247
|
# return_type
|
234
|
-
return_type = opts[:return_type] || '
|
248
|
+
return_type = opts[:return_type] || 'RpmUpdateRecord'
|
235
249
|
|
236
250
|
# auth_names
|
237
251
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -162,7 +162,7 @@ module PulpRpmClient
|
|
162
162
|
# @param [Hash] opts the optional parameters
|
163
163
|
# @option opts [String] :fields A list of fields to include in the response.
|
164
164
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
|
-
# @return [
|
165
|
+
# @return [RpmDistributionTree]
|
166
166
|
def read(distribution_tree_href, opts = {})
|
167
167
|
data, _status_code, _headers = read_with_http_info(distribution_tree_href, opts)
|
168
168
|
data
|
@@ -174,7 +174,7 @@ module PulpRpmClient
|
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
175
|
# @option opts [String] :fields A list of fields to include in the response.
|
176
176
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
177
|
-
# @return [Array<(
|
177
|
+
# @return [Array<(RpmDistributionTree, Integer, Hash)>] RpmDistributionTree data, response status code and response headers
|
178
178
|
def read_with_http_info(distribution_tree_href, opts = {})
|
179
179
|
if @api_client.config.debugging
|
180
180
|
@api_client.config.logger.debug 'Calling API: ContentDistributionTreesApi.read ...'
|
@@ -203,7 +203,7 @@ module PulpRpmClient
|
|
203
203
|
post_body = opts[:body]
|
204
204
|
|
205
205
|
# return_type
|
206
|
-
return_type = opts[:return_type] || '
|
206
|
+
return_type = opts[:return_type] || 'RpmDistributionTree'
|
207
207
|
|
208
208
|
# auth_names
|
209
209
|
auth_names = opts[:auth_names] || ['Basic']
|