pulp_rpm_client 3.0.0b6 → 3.0.0b7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/Addon.md +1 -3
- data/docs/Artifact.md +5 -5
- data/docs/ContentAdvisoriesApi.md +6 -2
- data/docs/{DistributionTreesDistributionTreesApi.md → ContentDistributionTreesApi.md} +28 -18
- data/docs/ContentModulemdApi.md +8 -4
- data/docs/ContentModulemdDefaultsApi.md +8 -4
- data/docs/ContentPackagesApi.md +8 -4
- data/docs/{RepoMetadataFilesRepoMetadataFilesApi.md → ContentRepoMetadataFilesApi.md} +28 -18
- data/docs/DistributionTree.md +2 -2
- data/docs/DistributionsRpmApi.md +8 -4
- data/docs/InlineResponse2001.md +1 -1
- 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/Modulemd.md +7 -9
- data/docs/ModulemdDefaults.md +6 -8
- data/docs/Package.md +41 -43
- data/docs/PublicationsRpmApi.md +8 -4
- data/docs/RemotesRpmApi.md +20 -16
- data/docs/RepoMetadataFile.md +5 -7
- data/docs/RpmDistribution.md +5 -5
- data/docs/RpmPublication.md +4 -6
- data/docs/RpmRemote.md +6 -8
- data/docs/UpdateRecord.md +6 -8
- data/docs/Variant.md +0 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +7 -1
- data/lib/pulp_rpm_client/api/{distribution_trees_distribution_trees_api.rb → content_distribution_trees_api.rb} +33 -18
- data/lib/pulp_rpm_client/api/content_modulemd_api.rb +10 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +10 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -4
- data/lib/pulp_rpm_client/api/{repo_metadata_files_repo_metadata_files_api.rb → content_repo_metadata_files_api.rb} +33 -18
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +10 -4
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +10 -4
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +28 -22
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
- 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 +5 -20
- data/lib/pulp_rpm_client/models/artifact.rb +14 -14
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum.rb +1 -1
- data/lib/pulp_rpm_client/models/distribution_tree.rb +8 -8
- data/lib/pulp_rpm_client/models/image.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2002.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2003.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2004.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2005.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2006.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2007.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response2008.rb +2 -2
- data/lib/pulp_rpm_client/models/modulemd.rb +16 -78
- data/lib/pulp_rpm_client/models/modulemd_defaults.rb +15 -58
- data/lib/pulp_rpm_client/models/package.rb +24 -218
- data/lib/pulp_rpm_client/models/repo_metadata_file.rb +14 -38
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution.rb +14 -14
- data/lib/pulp_rpm_client/models/rpm_publication.rb +14 -38
- data/lib/pulp_rpm_client/models/rpm_remote.rb +20 -44
- data/lib/pulp_rpm_client/models/update_record.rb +14 -38
- data/lib/pulp_rpm_client/models/variant.rb +2 -17
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +3 -3
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +3 -1
- data/spec/api/{distribution_trees_distribution_trees_api_spec.rb → content_distribution_trees_api_spec.rb} +15 -10
- data/spec/api/content_modulemd_api_spec.rb +4 -2
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -2
- data/spec/api/content_packages_api_spec.rb +4 -2
- data/spec/api/{repo_metadata_files_repo_metadata_files_api_spec.rb → content_repo_metadata_files_api_spec.rb} +15 -10
- data/spec/api/distributions_rpm_api_spec.rb +4 -2
- data/spec/api/publications_rpm_api_spec.rb +4 -2
- data/spec/api/remotes_rpm_api_spec.rb +10 -8
- data/spec/api/rpm_copy_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_spec.rb +1 -7
- data/spec/models/artifact_spec.rb +3 -3
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_spec.rb +1 -1
- data/spec/models/distribution_tree_spec.rb +2 -2
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/modulemd_defaults_spec.rb +3 -9
- data/spec/models/modulemd_spec.rb +3 -9
- data/spec/models/package_spec.rb +3 -9
- data/spec/models/repo_metadata_file_spec.rb +3 -9
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/rpm_distribution_spec.rb +3 -3
- data/spec/models/rpm_publication_spec.rb +3 -9
- data/spec/models/rpm_remote_spec.rb +4 -10
- data/spec/models/update_record_spec.rb +3 -9
- data/spec/models/variant_spec.rb +1 -7
- data/spec/spec_helper.rb +1 -1
- metadata +10 -10
data/docs/InlineResponse2002.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<ModulemdDefaults>**](ModulemdDefaults.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<Modulemd>**](Modulemd.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<Package>**](Package.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2005.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RepoMetadataFile>**](RepoMetadataFile.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2006.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RpmDistribution>**](RpmDistribution.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2007.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RpmPublication>**](RpmPublication.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2008.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RpmRemote>**](RpmRemote.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/Modulemd.md
CHANGED
@@ -4,20 +4,19 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
11
10
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
12
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
|
11
|
+
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
13
12
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
14
13
|
**name** | **String** | Modulemd name. |
|
15
14
|
**stream** | **String** | Stream name. |
|
16
15
|
**version** | **String** | Modulemd version. |
|
17
16
|
**context** | **String** | Modulemd context. |
|
18
17
|
**arch** | **String** | Modulemd architecture. |
|
19
|
-
**artifacts** | **
|
20
|
-
**dependencies** | **
|
18
|
+
**artifacts** | [**Object**](.md) | Modulemd artifacts. |
|
19
|
+
**dependencies** | [**Object**](.md) | Modulemd dependencies. |
|
21
20
|
**packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
|
22
21
|
|
23
22
|
## Code Sample
|
@@ -25,9 +24,8 @@ Name | Type | Description | Notes
|
|
25
24
|
```ruby
|
26
25
|
require 'PulpRpmClient'
|
27
26
|
|
28
|
-
instance = PulpRpmClient::Modulemd.new(
|
29
|
-
|
30
|
-
_type: null,
|
27
|
+
instance = PulpRpmClient::Modulemd.new(pulp_href: null,
|
28
|
+
pulp_created: null,
|
31
29
|
artifact: null,
|
32
30
|
relative_path: null,
|
33
31
|
file: null,
|
data/docs/ModulemdDefaults.md
CHANGED
@@ -4,25 +4,23 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
11
10
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
12
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
|
11
|
+
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
13
12
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
14
13
|
**_module** | **String** | Modulemd name. |
|
15
14
|
**stream** | **String** | Modulemd default stream. |
|
16
|
-
**profiles** | **
|
15
|
+
**profiles** | [**Object**](.md) | Default profiles for modulemd streams. |
|
17
16
|
|
18
17
|
## Code Sample
|
19
18
|
|
20
19
|
```ruby
|
21
20
|
require 'PulpRpmClient'
|
22
21
|
|
23
|
-
instance = PulpRpmClient::ModulemdDefaults.new(
|
24
|
-
|
25
|
-
_type: null,
|
22
|
+
instance = PulpRpmClient::ModulemdDefaults.new(pulp_href: null,
|
23
|
+
pulp_created: null,
|
26
24
|
artifact: null,
|
27
25
|
relative_path: null,
|
28
26
|
file: null,
|
data/docs/Package.md
CHANGED
@@ -4,58 +4,56 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
11
10
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
12
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
|
11
|
+
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
13
12
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
14
|
-
**name** | **String** | Name of the package | [optional]
|
15
|
-
**epoch** | **String** | The package's epoch | [optional]
|
16
|
-
**version** | **String** | The version of the package. For example, '2.8.0' | [optional]
|
17
|
-
**release** | **String** | The release of a particular version of the package. e.g. '1.el7' or '3.f24' | [optional]
|
18
|
-
**arch** | **String** | The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' | [optional]
|
19
|
-
**pkg_id** | **String** | Checksum of the package file | [optional]
|
20
|
-
**checksum_type** | **String** | Type of checksum, e.g. 'sha256', 'md5' | [optional]
|
21
|
-
**summary** | **String** | Short description of the packaged software | [optional]
|
22
|
-
**description** | **String** | In-depth description of the packaged software | [optional]
|
23
|
-
**url** | **String** | URL with more information about the packaged software | [optional]
|
24
|
-
**changelogs** | **
|
25
|
-
**files** | **
|
26
|
-
**requires** | **
|
27
|
-
**provides** | **
|
28
|
-
**conflicts** | **
|
29
|
-
**obsoletes** | **
|
30
|
-
**suggests** | **
|
31
|
-
**enhances** | **
|
32
|
-
**recommends** | **
|
33
|
-
**supplements** | **
|
34
|
-
**location_base** | **String** | Base location of this package | [optional]
|
35
|
-
**location_href** | **String** | Relative location of package to the repodata | [optional]
|
36
|
-
**rpm_buildhost** | **String** | Hostname of the system that built the package | [optional]
|
37
|
-
**rpm_group** | **String** | RPM group (See: http://fedoraproject.org/wiki/RPMGroups) | [optional]
|
38
|
-
**rpm_license** | **String** | License term applicable to the package software (GPLv2, etc.) | [optional]
|
39
|
-
**rpm_packager** | **String** | Person or persons responsible for creating the package | [optional]
|
40
|
-
**rpm_sourcerpm** | **String** | Name of the source package (srpm) the package was built from | [optional]
|
41
|
-
**rpm_vendor** | **String** | Name of the organization that produced the package | [optional]
|
42
|
-
**rpm_header_start** | **Integer** | First byte of the header | [optional]
|
43
|
-
**rpm_header_end** | **Integer** | Last byte of the header | [optional]
|
44
|
-
**is_modular** | **Boolean** | Flag to identify if the package is modular | [optional]
|
45
|
-
**size_archive** | **Integer** | Size, in bytes, of the archive portion of the original package file | [optional]
|
46
|
-
**size_installed** | **Integer** | Total size, in bytes, of every file installed by this package | [optional]
|
47
|
-
**size_package** | **Integer** | Size, in bytes, of the package | [optional]
|
48
|
-
**time_build** | **Integer** | Time the package was built in seconds since the epoch | [optional]
|
49
|
-
**time_file** | **Integer** | The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. | [optional]
|
13
|
+
**name** | **String** | Name of the package | [optional] [readonly]
|
14
|
+
**epoch** | **String** | The package's epoch | [optional] [readonly]
|
15
|
+
**version** | **String** | The version of the package. For example, '2.8.0' | [optional] [readonly]
|
16
|
+
**release** | **String** | The release of a particular version of the package. e.g. '1.el7' or '3.f24' | [optional] [readonly]
|
17
|
+
**arch** | **String** | The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' | [optional] [readonly]
|
18
|
+
**pkg_id** | **String** | Checksum of the package file | [optional] [readonly]
|
19
|
+
**checksum_type** | **String** | Type of checksum, e.g. 'sha256', 'md5' | [optional] [readonly]
|
20
|
+
**summary** | **String** | Short description of the packaged software | [optional] [readonly]
|
21
|
+
**description** | **String** | In-depth description of the packaged software | [optional] [readonly]
|
22
|
+
**url** | **String** | URL with more information about the packaged software | [optional] [readonly]
|
23
|
+
**changelogs** | [**Object**](.md) | Changelogs that package contains | [optional] [readonly]
|
24
|
+
**files** | [**Object**](.md) | Files that package contains | [optional] [readonly]
|
25
|
+
**requires** | [**Object**](.md) | Capabilities the package requires | [optional] [readonly]
|
26
|
+
**provides** | [**Object**](.md) | Capabilities the package provides | [optional] [readonly]
|
27
|
+
**conflicts** | [**Object**](.md) | Capabilities the package conflicts | [optional] [readonly]
|
28
|
+
**obsoletes** | [**Object**](.md) | Capabilities the package obsoletes | [optional] [readonly]
|
29
|
+
**suggests** | [**Object**](.md) | Capabilities the package suggests | [optional] [readonly]
|
30
|
+
**enhances** | [**Object**](.md) | Capabilities the package enhances | [optional] [readonly]
|
31
|
+
**recommends** | [**Object**](.md) | Capabilities the package recommends | [optional] [readonly]
|
32
|
+
**supplements** | [**Object**](.md) | Capabilities the package supplements | [optional] [readonly]
|
33
|
+
**location_base** | **String** | Base location of this package | [optional] [readonly]
|
34
|
+
**location_href** | **String** | Relative location of package to the repodata | [optional] [readonly]
|
35
|
+
**rpm_buildhost** | **String** | Hostname of the system that built the package | [optional] [readonly]
|
36
|
+
**rpm_group** | **String** | RPM group (See: http://fedoraproject.org/wiki/RPMGroups) | [optional] [readonly]
|
37
|
+
**rpm_license** | **String** | License term applicable to the package software (GPLv2, etc.) | [optional] [readonly]
|
38
|
+
**rpm_packager** | **String** | Person or persons responsible for creating the package | [optional] [readonly]
|
39
|
+
**rpm_sourcerpm** | **String** | Name of the source package (srpm) the package was built from | [optional] [readonly]
|
40
|
+
**rpm_vendor** | **String** | Name of the organization that produced the package | [optional] [readonly]
|
41
|
+
**rpm_header_start** | **Integer** | First byte of the header | [optional] [readonly]
|
42
|
+
**rpm_header_end** | **Integer** | Last byte of the header | [optional] [readonly]
|
43
|
+
**is_modular** | **Boolean** | Flag to identify if the package is modular | [optional] [readonly]
|
44
|
+
**size_archive** | **Integer** | Size, in bytes, of the archive portion of the original package file | [optional] [readonly]
|
45
|
+
**size_installed** | **Integer** | Total size, in bytes, of every file installed by this package | [optional] [readonly]
|
46
|
+
**size_package** | **Integer** | Size, in bytes, of the package | [optional] [readonly]
|
47
|
+
**time_build** | **Integer** | Time the package was built in seconds since the epoch | [optional] [readonly]
|
48
|
+
**time_file** | **Integer** | The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. | [optional] [readonly]
|
50
49
|
|
51
50
|
## Code Sample
|
52
51
|
|
53
52
|
```ruby
|
54
53
|
require 'PulpRpmClient'
|
55
54
|
|
56
|
-
instance = PulpRpmClient::Package.new(
|
57
|
-
|
58
|
-
_type: null,
|
55
|
+
instance = PulpRpmClient::Package.new(pulp_href: null,
|
56
|
+
pulp_created: null,
|
59
57
|
artifact: null,
|
60
58
|
relative_path: null,
|
61
59
|
file: null,
|
data/docs/PublicationsRpmApi.md
CHANGED
@@ -118,7 +118,7 @@ nil (empty response body)
|
|
118
118
|
|
119
119
|
## list
|
120
120
|
|
121
|
-
>
|
121
|
+
> InlineResponse2007 list(opts)
|
122
122
|
|
123
123
|
List rpm publications
|
124
124
|
|
@@ -141,7 +141,8 @@ opts = {
|
|
141
141
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
142
142
|
limit: 56, # Integer | Number of results to return per page.
|
143
143
|
offset: 56, # Integer | The initial index from which to return the results.
|
144
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
144
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
145
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
145
146
|
}
|
146
147
|
|
147
148
|
begin
|
@@ -162,10 +163,11 @@ Name | Type | Description | Notes
|
|
162
163
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
163
164
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
164
165
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
166
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
165
167
|
|
166
168
|
### Return type
|
167
169
|
|
168
|
-
[**
|
170
|
+
[**InlineResponse2007**](InlineResponse2007.md)
|
169
171
|
|
170
172
|
### Authorization
|
171
173
|
|
@@ -200,7 +202,8 @@ end
|
|
200
202
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
201
203
|
rpm_publication_href = 'rpm_publication_href_example' # String | URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
|
202
204
|
opts = {
|
203
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
205
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
206
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
204
207
|
}
|
205
208
|
|
206
209
|
begin
|
@@ -219,6 +222,7 @@ Name | Type | Description | Notes
|
|
219
222
|
------------- | ------------- | ------------- | -------------
|
220
223
|
**rpm_publication_href** | **String**| URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/ |
|
221
224
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
225
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
222
226
|
|
223
227
|
### Return type
|
224
228
|
|
data/docs/RemotesRpmApi.md
CHANGED
@@ -122,7 +122,7 @@ Name | Type | Description | Notes
|
|
122
122
|
|
123
123
|
## list
|
124
124
|
|
125
|
-
>
|
125
|
+
> InlineResponse2008 list(opts)
|
126
126
|
|
127
127
|
List rpm remotes
|
128
128
|
|
@@ -144,15 +144,16 @@ api_instance = PulpRpmClient::RemotesRpmApi.new
|
|
144
144
|
opts = {
|
145
145
|
name: 'name_example', # String |
|
146
146
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
147
|
+
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
|
148
|
+
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
|
149
|
+
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
|
150
|
+
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
|
151
|
+
pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
|
152
|
+
pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
|
153
153
|
limit: 56, # Integer | Number of results to return per page.
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
155
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
157
|
}
|
157
158
|
|
158
159
|
begin
|
@@ -171,19 +172,20 @@ Name | Type | Description | Notes
|
|
171
172
|
------------- | ------------- | ------------- | -------------
|
172
173
|
**name** | **String**| | [optional]
|
173
174
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
174
|
-
**
|
175
|
-
**
|
176
|
-
**
|
177
|
-
**
|
178
|
-
**
|
179
|
-
**
|
175
|
+
**pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
|
176
|
+
**pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
177
|
+
**pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
|
178
|
+
**pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
179
|
+
**pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
180
|
+
**pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
180
181
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
181
182
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
182
183
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
185
|
|
184
186
|
### Return type
|
185
187
|
|
186
|
-
[**
|
188
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
187
189
|
|
188
190
|
### Authorization
|
189
191
|
|
@@ -273,7 +275,8 @@ end
|
|
273
275
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
274
276
|
rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
|
275
277
|
opts = {
|
276
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
278
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
279
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
277
280
|
}
|
278
281
|
|
279
282
|
begin
|
@@ -292,6 +295,7 @@ Name | Type | Description | Notes
|
|
292
295
|
------------- | ------------- | ------------- | -------------
|
293
296
|
**rpm_remote_href** | **String**| URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/ |
|
294
297
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
298
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
295
299
|
|
296
300
|
### Return type
|
297
301
|
|
data/docs/RepoMetadataFile.md
CHANGED
@@ -4,12 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
11
10
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
12
|
-
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
|
11
|
+
**file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
|
13
12
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
14
13
|
**data_type** | **String** | Metadata type. |
|
15
14
|
**checksum_type** | **String** | Checksum type for the file. |
|
@@ -20,9 +19,8 @@ Name | Type | Description | Notes
|
|
20
19
|
```ruby
|
21
20
|
require 'PulpRpmClient'
|
22
21
|
|
23
|
-
instance = PulpRpmClient::RepoMetadataFile.new(
|
24
|
-
|
25
|
-
_type: null,
|
22
|
+
instance = PulpRpmClient::RepoMetadataFile.new(pulp_href: null,
|
23
|
+
pulp_created: null,
|
26
24
|
artifact: null,
|
27
25
|
relative_path: null,
|
28
26
|
file: null,
|
data/docs/RpmDistribution.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional]
|
10
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
13
|
**publication** | **String** | Publication to be served | [optional]
|
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpRpmClient'
|
19
19
|
|
20
|
-
instance = PulpRpmClient::RpmDistribution.new(
|
21
|
-
|
20
|
+
instance = PulpRpmClient::RpmDistribution.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
22
|
base_path: null,
|
23
23
|
base_url: null,
|
24
24
|
content_guard: null,
|
data/docs/RpmPublication.md
CHANGED
@@ -4,9 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**publisher** | **String** | | [optional]
|
11
10
|
**repository_version** | **String** | | [optional]
|
12
11
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
@@ -16,9 +15,8 @@ Name | Type | Description | Notes
|
|
16
15
|
```ruby
|
17
16
|
require 'PulpRpmClient'
|
18
17
|
|
19
|
-
instance = PulpRpmClient::RpmPublication.new(
|
20
|
-
|
21
|
-
_type: null,
|
18
|
+
instance = PulpRpmClient::RpmPublication.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
22
20
|
publisher: null,
|
23
21
|
repository_version: null,
|
24
22
|
repository: null)
|
data/docs/RpmRemote.md
CHANGED
@@ -4,9 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**name** | **String** | A unique name for this remote. |
|
11
10
|
**url** | **String** | The URL of an external content source. |
|
12
11
|
**ssl_ca_certificate** | **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]
|
@@ -16,7 +15,7 @@ Name | Type | Description | Notes
|
|
16
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
17
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
18
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
19
|
-
**
|
18
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
20
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
21
20
|
**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']
|
22
21
|
|
@@ -25,9 +24,8 @@ Name | Type | Description | Notes
|
|
25
24
|
```ruby
|
26
25
|
require 'PulpRpmClient'
|
27
26
|
|
28
|
-
instance = PulpRpmClient::RpmRemote.new(
|
29
|
-
|
30
|
-
_type: null,
|
27
|
+
instance = PulpRpmClient::RpmRemote.new(pulp_href: null,
|
28
|
+
pulp_created: null,
|
31
29
|
name: null,
|
32
30
|
url: null,
|
33
31
|
ssl_ca_certificate: null,
|
@@ -37,7 +35,7 @@ instance = PulpRpmClient::RpmRemote.new(_href: null,
|
|
37
35
|
proxy_url: null,
|
38
36
|
username: null,
|
39
37
|
password: null,
|
40
|
-
|
38
|
+
pulp_last_updated: null,
|
41
39
|
download_concurrency: null,
|
42
40
|
policy: null)
|
43
41
|
```
|
data/docs/UpdateRecord.md
CHANGED
@@ -4,9 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**_type** | **String** | | [optional]
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
9
|
**id** | **String** | Update id (short update name, e.g. RHEA-2013:1777) |
|
11
10
|
**updated_date** | **String** | Date when the update was updated (e.g. '2013-12-02 00:00:00') |
|
12
11
|
**description** | **String** | Update description |
|
@@ -22,17 +21,16 @@ Name | Type | Description | Notes
|
|
22
21
|
**release** | **String** | Update release |
|
23
22
|
**rights** | **String** | Copyrights |
|
24
23
|
**pushcount** | **String** | Push count |
|
25
|
-
**pkglist** | **Array<String>** | List of packages | [optional]
|
26
|
-
**references** | **Array<String>** | List of references | [optional]
|
24
|
+
**pkglist** | **Array<String>** | List of packages | [optional] [readonly]
|
25
|
+
**references** | **Array<String>** | List of references | [optional] [readonly]
|
27
26
|
|
28
27
|
## Code Sample
|
29
28
|
|
30
29
|
```ruby
|
31
30
|
require 'PulpRpmClient'
|
32
31
|
|
33
|
-
instance = PulpRpmClient::UpdateRecord.new(
|
34
|
-
|
35
|
-
_type: null,
|
32
|
+
instance = PulpRpmClient::UpdateRecord.new(pulp_href: null,
|
33
|
+
pulp_created: null,
|
36
34
|
id: null,
|
37
35
|
updated_date: null,
|
38
36
|
description: null,
|
data/docs/Variant.md
CHANGED
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
9
9
|
**name** | **String** | Variant name. |
|
10
10
|
**type** | **String** | Variant type. |
|
11
11
|
**packages** | **String** | Relative path to directory with binary RPMs. |
|
12
|
-
**repository** | **String** | A URI of the repository containing the content for this Variant. |
|
13
12
|
**source_packages** | **String** | Relative path to directory with source RPMs. |
|
14
13
|
**source_repository** | **String** | Relative path to YUM repository with source RPMs. |
|
15
14
|
**debug_packages** | **String** | Relative path to directory with debug RPMs. |
|
@@ -26,7 +25,6 @@ instance = PulpRpmClient::Variant.new(variant_id: null,
|
|
26
25
|
name: null,
|
27
26
|
type: null,
|
28
27
|
packages: null,
|
29
|
-
repository: null,
|
30
28
|
source_packages: null,
|
31
29
|
source_repository: null,
|
32
30
|
debug_packages: null,
|
@@ -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.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -100,6 +100,7 @@ module PulpRpmClient
|
|
100
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
102
|
# @option opts [String] :fields A list of fields to include in the response.
|
103
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
104
|
# @return [InlineResponse200]
|
104
105
|
def list(opts = {})
|
105
106
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -123,6 +124,7 @@ module PulpRpmClient
|
|
123
124
|
# @option opts [Integer] :limit Number of results to return per page.
|
124
125
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
125
126
|
# @option opts [String] :fields A list of fields to include in the response.
|
127
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
126
128
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
127
129
|
def list_with_http_info(opts = {})
|
128
130
|
if @api_client.config.debugging
|
@@ -147,6 +149,7 @@ module PulpRpmClient
|
|
147
149
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
148
150
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
149
151
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
152
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
150
153
|
|
151
154
|
# header parameters
|
152
155
|
header_params = opts[:header_params] || {}
|
@@ -186,6 +189,7 @@ module PulpRpmClient
|
|
186
189
|
# @param update_record_href [String] URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
|
187
190
|
# @param [Hash] opts the optional parameters
|
188
191
|
# @option opts [String] :fields A list of fields to include in the response.
|
192
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
189
193
|
# @return [UpdateRecord]
|
190
194
|
def read(update_record_href, opts = {})
|
191
195
|
data, _status_code, _headers = read_with_http_info(update_record_href, opts)
|
@@ -197,6 +201,7 @@ module PulpRpmClient
|
|
197
201
|
# @param update_record_href [String] URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
|
198
202
|
# @param [Hash] opts the optional parameters
|
199
203
|
# @option opts [String] :fields A list of fields to include in the response.
|
204
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
200
205
|
# @return [Array<(UpdateRecord, Integer, Hash)>] UpdateRecord data, response status code and response headers
|
201
206
|
def read_with_http_info(update_record_href, opts = {})
|
202
207
|
if @api_client.config.debugging
|
@@ -212,6 +217,7 @@ module PulpRpmClient
|
|
212
217
|
# query parameters
|
213
218
|
query_params = opts[:query_params] || {}
|
214
219
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
220
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
215
221
|
|
216
222
|
# header parameters
|
217
223
|
header_params = opts[:header_params] || {}
|