pulp_rpm_client 3.17.22 → 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/docs/AcsRpmApi.md +11 -13
- data/docs/ContentAdvisoriesApi.md +8 -8
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +13 -29
- data/docs/ContentModulemdObsoletesApi.md +192 -0
- data/docs/ContentModulemdsApi.md +13 -41
- data/docs/ContentPackagecategoriesApi.md +8 -8
- data/docs/ContentPackageenvironmentsApi.md +8 -8
- data/docs/ContentPackagegroupsApi.md +8 -8
- data/docs/ContentPackagelangpacksApi.md +8 -8
- data/docs/ContentPackagesApi.md +12 -12
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/DistributionsRpmApi.md +8 -8
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +23 -0
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +8 -8
- data/docs/RemotesRpmApi.md +8 -8
- data/docs/RemotesUlnApi.md +8 -8
- data/docs/RepositoriesRpmApi.md +8 -8
- data/docs/RepositoriesRpmVersionsApi.md +8 -8
- data/docs/RpmModulemd.md +8 -12
- data/docs/RpmModulemdDefaults.md +4 -12
- data/docs/RpmModulemdDefaultsResponse.md +0 -14
- data/docs/RpmModulemdObsolete.md +35 -0
- data/docs/RpmModulemdObsoleteResponse.md +37 -0
- data/docs/RpmModulemdResponse.md +5 -15
- data/docs/RpmPackage.md +1 -1
- 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/lib/pulp_rpm_client/api/acs_rpm_api.rb +16 -24
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +23 -69
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +238 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +23 -107
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -24
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +12 -12
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -12
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +237 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +83 -78
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +38 -78
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -71
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +464 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +332 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +30 -74
- data/lib/pulp_rpm_client/models/rpm_package.rb +3 -12
- 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_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +4 -5
- data/spec/api/content_advisories_api_spec.rb +4 -4
- data/spec/api/content_distribution_trees_api_spec.rb +4 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -12
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +80 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -18
- data/spec/api/content_packagecategories_api_spec.rb +4 -4
- data/spec/api/content_packageenvironments_api_spec.rb +4 -4
- data/spec/api/content_packagegroups_api_spec.rb +4 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +5 -5
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
- data/spec/api/distributions_rpm_api_spec.rb +4 -4
- data/spec/api/publications_rpm_api_spec.rb +4 -4
- data/spec/api/remotes_rpm_api_spec.rb +4 -4
- data/spec/api/remotes_uln_api_spec.rb +4 -4
- data/spec/api/repositories_rpm_api_spec.rb +4 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -4
- data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +59 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -42
- data/spec/models/rpm_modulemd_defaults_spec.rb +4 -28
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +101 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +95 -0
- data/spec/models/rpm_modulemd_response_spec.rb +11 -41
- data/spec/models/rpm_modulemd_spec.rb +12 -24
- metadata +85 -69
data/docs/RpmModulemd.md
CHANGED
@@ -4,11 +4,6 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
12
7
|
**name** | **String** | Modulemd name. |
|
13
8
|
**stream** | **String** | Stream name. |
|
14
9
|
**version** | **String** | Modulemd version. |
|
@@ -18,18 +13,16 @@ Name | Type | Description | Notes
|
|
18
13
|
**artifacts** | [**Object**](.md) | Modulemd artifacts. |
|
19
14
|
**dependencies** | [**Object**](.md) | Modulemd dependencies. |
|
20
15
|
**packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
|
16
|
+
**snippet** | **String** | Modulemd snippet |
|
17
|
+
**profiles** | [**Object**](.md) | Modulemd profiles. |
|
18
|
+
**description** | **String** | Description of module. |
|
21
19
|
|
22
20
|
## Code Sample
|
23
21
|
|
24
22
|
```ruby
|
25
23
|
require 'PulpRpmClient'
|
26
24
|
|
27
|
-
instance = PulpRpmClient::RpmModulemd.new(
|
28
|
-
relative_path: null,
|
29
|
-
file: null,
|
30
|
-
repository: null,
|
31
|
-
upload: null,
|
32
|
-
name: null,
|
25
|
+
instance = PulpRpmClient::RpmModulemd.new(name: null,
|
33
26
|
stream: null,
|
34
27
|
version: null,
|
35
28
|
static_context: null,
|
@@ -37,7 +30,10 @@ instance = PulpRpmClient::RpmModulemd.new(artifact: null,
|
|
37
30
|
arch: null,
|
38
31
|
artifacts: null,
|
39
32
|
dependencies: null,
|
40
|
-
packages: null
|
33
|
+
packages: null,
|
34
|
+
snippet: null,
|
35
|
+
profiles: null,
|
36
|
+
description: null)
|
41
37
|
```
|
42
38
|
|
43
39
|
|
data/docs/RpmModulemdDefaults.md
CHANGED
@@ -4,28 +4,20 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
12
7
|
**_module** | **String** | Modulemd name. |
|
13
8
|
**stream** | **String** | Modulemd default stream. |
|
14
9
|
**profiles** | [**Object**](.md) | Default profiles for modulemd streams. |
|
10
|
+
**snippet** | **String** | Modulemd default snippet |
|
15
11
|
|
16
12
|
## Code Sample
|
17
13
|
|
18
14
|
```ruby
|
19
15
|
require 'PulpRpmClient'
|
20
16
|
|
21
|
-
instance = PulpRpmClient::RpmModulemdDefaults.new(
|
22
|
-
relative_path: null,
|
23
|
-
file: null,
|
24
|
-
repository: null,
|
25
|
-
upload: null,
|
26
|
-
_module: null,
|
17
|
+
instance = PulpRpmClient::RpmModulemdDefaults.new(_module: null,
|
27
18
|
stream: null,
|
28
|
-
profiles: null
|
19
|
+
profiles: null,
|
20
|
+
snippet: null)
|
29
21
|
```
|
30
22
|
|
31
23
|
|
@@ -6,13 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
10
|
-
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
11
|
-
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
12
|
-
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
13
|
-
**sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
|
14
|
-
**sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
|
15
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
16
9
|
**_module** | **String** | Modulemd name. |
|
17
10
|
**stream** | **String** | Modulemd default stream. |
|
18
11
|
**profiles** | [**Object**](.md) | Default profiles for modulemd streams. |
|
@@ -24,13 +17,6 @@ require 'PulpRpmClient'
|
|
24
17
|
|
25
18
|
instance = PulpRpmClient::RpmModulemdDefaultsResponse.new(pulp_href: null,
|
26
19
|
pulp_created: null,
|
27
|
-
md5: null,
|
28
|
-
sha1: null,
|
29
|
-
sha224: null,
|
30
|
-
sha256: null,
|
31
|
-
sha384: null,
|
32
|
-
sha512: null,
|
33
|
-
artifact: null,
|
34
20
|
_module: null,
|
35
21
|
stream: null,
|
36
22
|
profiles: null)
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# PulpRpmClient::RpmModulemdObsolete
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**modified** | **DateTime** | Obsolete modified time. |
|
8
|
+
**module_name** | **String** | Modulemd name. |
|
9
|
+
**module_stream** | **String** | Modulemd's stream. |
|
10
|
+
**message** | **String** | Obsolete description. |
|
11
|
+
**override_previous** | **String** | Reset previous obsoletes. |
|
12
|
+
**module_context** | **String** | Modulemd's context. |
|
13
|
+
**eol_date** | **DateTime** | End of Life date. |
|
14
|
+
**obsoleted_by_module_name** | **String** | Obsolete by module name. |
|
15
|
+
**obsoleted_by_module_stream** | **String** | Obsolete by module stream. |
|
16
|
+
**snippet** | **String** | Module Obsolete snippet. |
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'PulpRpmClient'
|
22
|
+
|
23
|
+
instance = PulpRpmClient::RpmModulemdObsolete.new(modified: null,
|
24
|
+
module_name: null,
|
25
|
+
module_stream: null,
|
26
|
+
message: null,
|
27
|
+
override_previous: null,
|
28
|
+
module_context: null,
|
29
|
+
eol_date: null,
|
30
|
+
obsoleted_by_module_name: null,
|
31
|
+
obsoleted_by_module_stream: null,
|
32
|
+
snippet: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# PulpRpmClient::RpmModulemdObsoleteResponse
|
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
|
+
**modified** | **DateTime** | Obsolete modified time. |
|
10
|
+
**module_name** | **String** | Modulemd name. |
|
11
|
+
**module_stream** | **String** | Modulemd's stream. |
|
12
|
+
**message** | **String** | Obsolete description. |
|
13
|
+
**override_previous** | **String** | Reset previous obsoletes. |
|
14
|
+
**module_context** | **String** | Modulemd's context. |
|
15
|
+
**eol_date** | **DateTime** | End of Life date. |
|
16
|
+
**obsoleted_by_module_name** | **String** | Obsolete by module name. |
|
17
|
+
**obsoleted_by_module_stream** | **String** | Obsolete by module stream. |
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'PulpRpmClient'
|
23
|
+
|
24
|
+
instance = PulpRpmClient::RpmModulemdObsoleteResponse.new(pulp_href: null,
|
25
|
+
pulp_created: null,
|
26
|
+
modified: null,
|
27
|
+
module_name: null,
|
28
|
+
module_stream: null,
|
29
|
+
message: null,
|
30
|
+
override_previous: null,
|
31
|
+
module_context: null,
|
32
|
+
eol_date: null,
|
33
|
+
obsoleted_by_module_name: null,
|
34
|
+
obsoleted_by_module_stream: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
data/docs/RpmModulemdResponse.md
CHANGED
@@ -6,13 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
10
|
-
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
11
|
-
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
12
|
-
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
13
|
-
**sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
|
14
|
-
**sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
|
15
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
16
9
|
**name** | **String** | Modulemd name. |
|
17
10
|
**stream** | **String** | Stream name. |
|
18
11
|
**version** | **String** | Modulemd version. |
|
@@ -22,6 +15,8 @@ Name | Type | Description | Notes
|
|
22
15
|
**artifacts** | [**Object**](.md) | Modulemd artifacts. |
|
23
16
|
**dependencies** | [**Object**](.md) | Modulemd dependencies. |
|
24
17
|
**packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
|
18
|
+
**profiles** | [**Object**](.md) | Modulemd profiles. |
|
19
|
+
**description** | **String** | Description of module. |
|
25
20
|
|
26
21
|
## Code Sample
|
27
22
|
|
@@ -30,13 +25,6 @@ require 'PulpRpmClient'
|
|
30
25
|
|
31
26
|
instance = PulpRpmClient::RpmModulemdResponse.new(pulp_href: null,
|
32
27
|
pulp_created: null,
|
33
|
-
md5: null,
|
34
|
-
sha1: null,
|
35
|
-
sha224: null,
|
36
|
-
sha256: null,
|
37
|
-
sha384: null,
|
38
|
-
sha512: null,
|
39
|
-
artifact: null,
|
40
28
|
name: null,
|
41
29
|
stream: null,
|
42
30
|
version: null,
|
@@ -45,7 +33,9 @@ instance = PulpRpmClient::RpmModulemdResponse.new(pulp_href: null,
|
|
45
33
|
arch: null,
|
46
34
|
artifacts: null,
|
47
35
|
dependencies: null,
|
48
|
-
packages: null
|
36
|
+
packages: null,
|
37
|
+
profiles: null,
|
38
|
+
description: null)
|
49
39
|
```
|
50
40
|
|
51
41
|
|
data/docs/RpmPackage.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
|
-
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
8
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
9
9
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
10
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
11
11
|
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
12
|
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
|
-
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
13
|
+
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
13
13
|
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
14
|
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
15
|
-
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
15
|
+
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
17
17
|
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
|
18
18
|
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
|
19
|
-
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
19
|
+
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
20
|
|
21
21
|
## Code Sample
|
22
22
|
|
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
|
|
20
20
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
21
21
|
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
|
22
22
|
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
|
23
|
-
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
23
|
+
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
24
24
|
|
25
25
|
## Code Sample
|
26
26
|
|
@@ -156,8 +156,8 @@ module PulpRpmClient
|
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
|
-
# @option opts [
|
160
|
-
# @option opts [
|
159
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
160
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
161
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
162
162
|
def list(opts = {})
|
163
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,8 +175,8 @@ module PulpRpmClient
|
|
175
175
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
177
|
# @option opts [Array<String>] :ordering Ordering
|
178
|
-
# @option opts [
|
179
|
-
# @option opts [
|
178
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
179
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
180
|
# @return [Array<(PaginatedrpmRpmAlternateContentSourceResponseList, Integer, Hash)>] PaginatedrpmRpmAlternateContentSourceResponseList data, response status code and response headers
|
181
181
|
def list_with_http_info(opts = {})
|
182
182
|
if @api_client.config.debugging
|
@@ -199,8 +199,8 @@ module PulpRpmClient
|
|
199
199
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
200
200
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
201
201
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
202
|
-
query_params[:'fields'] =
|
203
|
-
query_params[:'exclude_fields'] =
|
202
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
204
204
|
|
205
205
|
# header parameters
|
206
206
|
header_params = opts[:header_params] || {}
|
@@ -309,8 +309,8 @@ module PulpRpmClient
|
|
309
309
|
# ViewSet for ACS.
|
310
310
|
# @param rpm_rpm_alternate_content_source_href [String]
|
311
311
|
# @param [Hash] opts the optional parameters
|
312
|
-
# @option opts [
|
313
|
-
# @option opts [
|
312
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
313
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
314
314
|
# @return [RpmRpmAlternateContentSourceResponse]
|
315
315
|
def read(rpm_rpm_alternate_content_source_href, opts = {})
|
316
316
|
data, _status_code, _headers = read_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
@@ -321,8 +321,8 @@ module PulpRpmClient
|
|
321
321
|
# ViewSet for ACS.
|
322
322
|
# @param rpm_rpm_alternate_content_source_href [String]
|
323
323
|
# @param [Hash] opts the optional parameters
|
324
|
-
# @option opts [
|
325
|
-
# @option opts [
|
324
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
325
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
326
326
|
# @return [Array<(RpmRpmAlternateContentSourceResponse, Integer, Hash)>] RpmRpmAlternateContentSourceResponse data, response status code and response headers
|
327
327
|
def read_with_http_info(rpm_rpm_alternate_content_source_href, opts = {})
|
328
328
|
if @api_client.config.debugging
|
@@ -337,8 +337,8 @@ module PulpRpmClient
|
|
337
337
|
|
338
338
|
# query parameters
|
339
339
|
query_params = opts[:query_params] || {}
|
340
|
-
query_params[:'fields'] =
|
341
|
-
query_params[:'exclude_fields'] =
|
340
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
341
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
342
342
|
|
343
343
|
# header parameters
|
344
344
|
header_params = opts[:header_params] || {}
|
@@ -375,20 +375,18 @@ module PulpRpmClient
|
|
375
375
|
|
376
376
|
# Trigger an asynchronous task to create Alternate Content Source content.
|
377
377
|
# @param rpm_rpm_alternate_content_source_href [String]
|
378
|
-
# @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
|
379
378
|
# @param [Hash] opts the optional parameters
|
380
379
|
# @return [TaskGroupOperationResponse]
|
381
|
-
def refresh(rpm_rpm_alternate_content_source_href,
|
382
|
-
data, _status_code, _headers = refresh_with_http_info(rpm_rpm_alternate_content_source_href,
|
380
|
+
def refresh(rpm_rpm_alternate_content_source_href, opts = {})
|
381
|
+
data, _status_code, _headers = refresh_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
383
382
|
data
|
384
383
|
end
|
385
384
|
|
386
385
|
# Trigger an asynchronous task to create Alternate Content Source content.
|
387
386
|
# @param rpm_rpm_alternate_content_source_href [String]
|
388
|
-
# @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
|
389
387
|
# @param [Hash] opts the optional parameters
|
390
388
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
391
|
-
def refresh_with_http_info(rpm_rpm_alternate_content_source_href,
|
389
|
+
def refresh_with_http_info(rpm_rpm_alternate_content_source_href, opts = {})
|
392
390
|
if @api_client.config.debugging
|
393
391
|
@api_client.config.logger.debug 'Calling API: AcsRpmApi.refresh ...'
|
394
392
|
end
|
@@ -396,10 +394,6 @@ module PulpRpmClient
|
|
396
394
|
if @api_client.config.client_side_validation && rpm_rpm_alternate_content_source_href.nil?
|
397
395
|
fail ArgumentError, "Missing the required parameter 'rpm_rpm_alternate_content_source_href' when calling AcsRpmApi.refresh"
|
398
396
|
end
|
399
|
-
# verify the required parameter 'rpm_rpm_alternate_content_source' is set
|
400
|
-
if @api_client.config.client_side_validation && rpm_rpm_alternate_content_source.nil?
|
401
|
-
fail ArgumentError, "Missing the required parameter 'rpm_rpm_alternate_content_source' when calling AcsRpmApi.refresh"
|
402
|
-
end
|
403
397
|
# resource path
|
404
398
|
local_var_path = '{rpm_rpm_alternate_content_source_href}refresh/'.sub('{' + 'rpm_rpm_alternate_content_source_href' + '}', CGI.escape(rpm_rpm_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
405
399
|
|
@@ -410,14 +404,12 @@ module PulpRpmClient
|
|
410
404
|
header_params = opts[:header_params] || {}
|
411
405
|
# HTTP header 'Accept' (if needed)
|
412
406
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
413
|
-
# HTTP header 'Content-Type'
|
414
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
415
407
|
|
416
408
|
# form parameters
|
417
409
|
form_params = opts[:form_params] || {}
|
418
410
|
|
419
411
|
# http body (model)
|
420
|
-
post_body = opts[:body]
|
412
|
+
post_body = opts[:body]
|
421
413
|
|
422
414
|
# return_type
|
423
415
|
return_type = opts[:return_type] || 'TaskGroupOperationResponse'
|
@@ -103,8 +103,8 @@ module PulpRpmClient
|
|
103
103
|
# @option opts [String] :type Filter results where type matches value
|
104
104
|
# @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
|
105
105
|
# @option opts [String] :type__ne Filter results where type not equal to value
|
106
|
-
# @option opts [
|
107
|
-
# @option opts [
|
106
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
108
108
|
# @return [PaginatedrpmUpdateRecordResponseList]
|
109
109
|
def list(opts = {})
|
110
110
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -131,8 +131,8 @@ module PulpRpmClient
|
|
131
131
|
# @option opts [String] :type Filter results where type matches value
|
132
132
|
# @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
|
133
133
|
# @option opts [String] :type__ne Filter results where type not equal to value
|
134
|
-
# @option opts [
|
135
|
-
# @option opts [
|
134
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
136
|
# @return [Array<(PaginatedrpmUpdateRecordResponseList, Integer, Hash)>] PaginatedrpmUpdateRecordResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(opts = {})
|
138
138
|
if @api_client.config.debugging
|
@@ -164,8 +164,8 @@ module PulpRpmClient
|
|
164
164
|
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
165
165
|
query_params[:'type__in'] = @api_client.build_collection_param(opts[:'type__in'], :csv) if !opts[:'type__in'].nil?
|
166
166
|
query_params[:'type__ne'] = opts[:'type__ne'] if !opts[:'type__ne'].nil?
|
167
|
-
query_params[:'fields'] =
|
168
|
-
query_params[:'exclude_fields'] =
|
167
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
169
169
|
|
170
170
|
# header parameters
|
171
171
|
header_params = opts[:header_params] || {}
|
@@ -204,8 +204,8 @@ module PulpRpmClient
|
|
204
204
|
# A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
|
205
205
|
# @param rpm_update_record_href [String]
|
206
206
|
# @param [Hash] opts the optional parameters
|
207
|
-
# @option opts [
|
208
|
-
# @option opts [
|
207
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
208
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
209
|
# @return [RpmUpdateRecordResponse]
|
210
210
|
def read(rpm_update_record_href, opts = {})
|
211
211
|
data, _status_code, _headers = read_with_http_info(rpm_update_record_href, opts)
|
@@ -216,8 +216,8 @@ module PulpRpmClient
|
|
216
216
|
# A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
|
217
217
|
# @param rpm_update_record_href [String]
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
|
-
# @option opts [
|
220
|
-
# @option opts [
|
219
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
220
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
221
221
|
# @return [Array<(RpmUpdateRecordResponse, Integer, Hash)>] RpmUpdateRecordResponse data, response status code and response headers
|
222
222
|
def read_with_http_info(rpm_update_record_href, opts = {})
|
223
223
|
if @api_client.config.debugging
|
@@ -232,8 +232,8 @@ module PulpRpmClient
|
|
232
232
|
|
233
233
|
# query parameters
|
234
234
|
query_params = opts[:query_params] || {}
|
235
|
-
query_params[:'fields'] =
|
236
|
-
query_params[:'exclude_fields'] =
|
235
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
236
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
237
237
|
|
238
238
|
# header parameters
|
239
239
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [
|
32
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
33
33
|
# @return [PaginatedrpmDistributionTreeResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [
|
49
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [Array<(PaginatedrpmDistributionTreeResponseList, Integer, Hash)>] PaginatedrpmDistributionTreeResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
70
|
-
query_params[:'fields'] =
|
71
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# Distribution Tree Viewset.
|
108
108
|
# @param rpm_distribution_tree_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [
|
111
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [RpmDistributionTreeResponse]
|
113
113
|
def read(rpm_distribution_tree_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_distribution_tree_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# Distribution Tree Viewset.
|
120
120
|
# @param rpm_distribution_tree_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [
|
123
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
124
124
|
# @return [Array<(RpmDistributionTreeResponse, Integer, Hash)>] RpmDistributionTreeResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_distribution_tree_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] =
|
139
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|