pulp_rpm_client 3.18.20 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +36 -8
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -10
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -22
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemdObsolete.md +2 -2
- data/docs/RpmModulemdObsoleteResponse.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -14
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -32
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
- data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_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 +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -5
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -11
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- metadata +92 -76
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
|
|
8
8
|
**mirror** | **Boolean** | DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'. | [optional]
|
|
9
|
-
**sync_policy** | [**SyncPolicyEnum**](SyncPolicyEnum.md) | Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
|
|
9
|
+
**sync_policy** | [**SyncPolicyEnum**](SyncPolicyEnum.md) | Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced. | [optional]
|
|
10
10
|
**skip_types** | [**Array<SkipTypesEnum>**](SkipTypesEnum.md) | List of content types to skip during sync. | [optional]
|
|
11
11
|
**optimize** | **Boolean** | Whether or not to optimize sync. | [optional] [default to true]
|
|
12
12
|
|
data/docs/RpmRpmPublication.md
CHANGED
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**repository_version** | **String** | | [optional]
|
|
8
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
9
|
-
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata.
|
|
10
|
-
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages.
|
|
9
|
+
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
|
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
13
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
9
|
**repository_version** | **String** | | [optional]
|
|
10
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
11
|
-
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata.
|
|
12
|
-
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages.
|
|
11
|
+
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
|
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
15
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
data/docs/RpmRpmRemote.md
CHANGED
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
19
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
19
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
20
20
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
21
21
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
22
22
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
data/docs/RpmRpmRepository.md
CHANGED
|
@@ -7,13 +7,13 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
|
13
13
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
14
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
|
15
|
-
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata.
|
|
16
|
-
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages.
|
|
15
|
+
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
|
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
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
|
@@ -11,13 +11,13 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
|
14
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
15
15
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
|
16
16
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
|
17
17
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
18
18
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
|
19
|
-
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata.
|
|
20
|
-
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages.
|
|
19
|
+
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
|
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
23
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
data/docs/RpmUlnRemote.md
CHANGED
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
19
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
19
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
20
20
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
21
21
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
22
22
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
@@ -19,6 +19,74 @@ module PulpRpmClient
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# Add a role for this object to users/groups.
|
|
23
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
24
|
+
# @param nested_role [NestedRole]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [NestedRoleResponse]
|
|
27
|
+
def add_role(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
|
|
28
|
+
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Add a role for this object to users/groups.
|
|
33
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
34
|
+
# @param nested_role [NestedRole]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
37
|
+
def add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: AcsRpmApi.add_role ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'rpm_rpm_alternate_content_source_href' is set
|
|
42
|
+
if @api_client.config.client_side_validation && rpm_rpm_alternate_content_source_href.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_alternate_content_source_href' when calling AcsRpmApi.add_role"
|
|
44
|
+
end
|
|
45
|
+
# verify the required parameter 'nested_role' is set
|
|
46
|
+
if @api_client.config.client_side_validation && nested_role.nil?
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling AcsRpmApi.add_role"
|
|
48
|
+
end
|
|
49
|
+
# resource path
|
|
50
|
+
local_var_path = '{rpm_rpm_alternate_content_source_href}add_role/'.sub('{' + 'rpm_rpm_alternate_content_source_href' + '}', CGI.escape(rpm_rpm_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
|
51
|
+
|
|
52
|
+
# query parameters
|
|
53
|
+
query_params = opts[:query_params] || {}
|
|
54
|
+
|
|
55
|
+
# header parameters
|
|
56
|
+
header_params = opts[:header_params] || {}
|
|
57
|
+
# HTTP header 'Accept' (if needed)
|
|
58
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
59
|
+
# HTTP header 'Content-Type'
|
|
60
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
61
|
+
|
|
62
|
+
# form parameters
|
|
63
|
+
form_params = opts[:form_params] || {}
|
|
64
|
+
|
|
65
|
+
# http body (model)
|
|
66
|
+
post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
|
|
67
|
+
|
|
68
|
+
# return_type
|
|
69
|
+
return_type = opts[:return_type] || 'NestedRoleResponse'
|
|
70
|
+
|
|
71
|
+
# auth_names
|
|
72
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
73
|
+
|
|
74
|
+
new_options = opts.merge(
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => return_type
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug "API called: AcsRpmApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
22
90
|
# Create a rpm alternate content source
|
|
23
91
|
# ViewSet for ACS.
|
|
24
92
|
# @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
|
|
@@ -155,9 +223,7 @@ module PulpRpmClient
|
|
|
155
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
156
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
157
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
226
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
161
227
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
162
228
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
163
229
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
|
@@ -176,9 +242,7 @@ module PulpRpmClient
|
|
|
176
242
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
177
243
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
178
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
179
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
180
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
181
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
245
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
182
246
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
183
247
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
184
248
|
# @return [Array<(PaginatedrpmRpmAlternateContentSourceResponseList, Integer, Hash)>] PaginatedrpmRpmAlternateContentSourceResponseList data, response status code and response headers
|
|
@@ -203,8 +267,6 @@ module PulpRpmClient
|
|
|
203
267
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
204
268
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
205
269
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
206
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
207
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
208
270
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
209
271
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
210
272
|
|
|
@@ -241,6 +303,138 @@ module PulpRpmClient
|
|
|
241
303
|
return data, status_code, headers
|
|
242
304
|
end
|
|
243
305
|
|
|
306
|
+
# List roles assigned to this object.
|
|
307
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
308
|
+
# @param [Hash] opts the optional parameters
|
|
309
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
310
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
311
|
+
# @return [ObjectRolesResponse]
|
|
312
|
+
def list_roles(rpm_rpm_alternate_content_source_href, opts = {})
|
|
313
|
+
data, _status_code, _headers = list_roles_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
|
314
|
+
data
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# List roles assigned to this object.
|
|
318
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
319
|
+
# @param [Hash] opts the optional parameters
|
|
320
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
321
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
322
|
+
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
323
|
+
def list_roles_with_http_info(rpm_rpm_alternate_content_source_href, opts = {})
|
|
324
|
+
if @api_client.config.debugging
|
|
325
|
+
@api_client.config.logger.debug 'Calling API: AcsRpmApi.list_roles ...'
|
|
326
|
+
end
|
|
327
|
+
# verify the required parameter 'rpm_rpm_alternate_content_source_href' is set
|
|
328
|
+
if @api_client.config.client_side_validation && rpm_rpm_alternate_content_source_href.nil?
|
|
329
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_alternate_content_source_href' when calling AcsRpmApi.list_roles"
|
|
330
|
+
end
|
|
331
|
+
# resource path
|
|
332
|
+
local_var_path = '{rpm_rpm_alternate_content_source_href}list_roles/'.sub('{' + 'rpm_rpm_alternate_content_source_href' + '}', CGI.escape(rpm_rpm_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
|
333
|
+
|
|
334
|
+
# query parameters
|
|
335
|
+
query_params = opts[:query_params] || {}
|
|
336
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
337
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
338
|
+
|
|
339
|
+
# header parameters
|
|
340
|
+
header_params = opts[:header_params] || {}
|
|
341
|
+
# HTTP header 'Accept' (if needed)
|
|
342
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
343
|
+
|
|
344
|
+
# form parameters
|
|
345
|
+
form_params = opts[:form_params] || {}
|
|
346
|
+
|
|
347
|
+
# http body (model)
|
|
348
|
+
post_body = opts[:body]
|
|
349
|
+
|
|
350
|
+
# return_type
|
|
351
|
+
return_type = opts[:return_type] || 'ObjectRolesResponse'
|
|
352
|
+
|
|
353
|
+
# auth_names
|
|
354
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
355
|
+
|
|
356
|
+
new_options = opts.merge(
|
|
357
|
+
:header_params => header_params,
|
|
358
|
+
:query_params => query_params,
|
|
359
|
+
:form_params => form_params,
|
|
360
|
+
:body => post_body,
|
|
361
|
+
:auth_names => auth_names,
|
|
362
|
+
:return_type => return_type
|
|
363
|
+
)
|
|
364
|
+
|
|
365
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
366
|
+
if @api_client.config.debugging
|
|
367
|
+
@api_client.config.logger.debug "API called: AcsRpmApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
368
|
+
end
|
|
369
|
+
return data, status_code, headers
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# List permissions available to the current user on this object.
|
|
373
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
374
|
+
# @param [Hash] opts the optional parameters
|
|
375
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
376
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
377
|
+
# @return [MyPermissionsResponse]
|
|
378
|
+
def my_permissions(rpm_rpm_alternate_content_source_href, opts = {})
|
|
379
|
+
data, _status_code, _headers = my_permissions_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
|
380
|
+
data
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# List permissions available to the current user on this object.
|
|
384
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
385
|
+
# @param [Hash] opts the optional parameters
|
|
386
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
387
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
388
|
+
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
389
|
+
def my_permissions_with_http_info(rpm_rpm_alternate_content_source_href, opts = {})
|
|
390
|
+
if @api_client.config.debugging
|
|
391
|
+
@api_client.config.logger.debug 'Calling API: AcsRpmApi.my_permissions ...'
|
|
392
|
+
end
|
|
393
|
+
# verify the required parameter 'rpm_rpm_alternate_content_source_href' is set
|
|
394
|
+
if @api_client.config.client_side_validation && rpm_rpm_alternate_content_source_href.nil?
|
|
395
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_alternate_content_source_href' when calling AcsRpmApi.my_permissions"
|
|
396
|
+
end
|
|
397
|
+
# resource path
|
|
398
|
+
local_var_path = '{rpm_rpm_alternate_content_source_href}my_permissions/'.sub('{' + 'rpm_rpm_alternate_content_source_href' + '}', CGI.escape(rpm_rpm_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
|
399
|
+
|
|
400
|
+
# query parameters
|
|
401
|
+
query_params = opts[:query_params] || {}
|
|
402
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
403
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
404
|
+
|
|
405
|
+
# header parameters
|
|
406
|
+
header_params = opts[:header_params] || {}
|
|
407
|
+
# HTTP header 'Accept' (if needed)
|
|
408
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
409
|
+
|
|
410
|
+
# form parameters
|
|
411
|
+
form_params = opts[:form_params] || {}
|
|
412
|
+
|
|
413
|
+
# http body (model)
|
|
414
|
+
post_body = opts[:body]
|
|
415
|
+
|
|
416
|
+
# return_type
|
|
417
|
+
return_type = opts[:return_type] || 'MyPermissionsResponse'
|
|
418
|
+
|
|
419
|
+
# auth_names
|
|
420
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
421
|
+
|
|
422
|
+
new_options = opts.merge(
|
|
423
|
+
:header_params => header_params,
|
|
424
|
+
:query_params => query_params,
|
|
425
|
+
:form_params => form_params,
|
|
426
|
+
:body => post_body,
|
|
427
|
+
:auth_names => auth_names,
|
|
428
|
+
:return_type => return_type
|
|
429
|
+
)
|
|
430
|
+
|
|
431
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
432
|
+
if @api_client.config.debugging
|
|
433
|
+
@api_client.config.logger.debug "API called: AcsRpmApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
434
|
+
end
|
|
435
|
+
return data, status_code, headers
|
|
436
|
+
end
|
|
437
|
+
|
|
244
438
|
# Update a rpm alternate content source
|
|
245
439
|
# Trigger an asynchronous partial update task
|
|
246
440
|
# @param rpm_rpm_alternate_content_source_href [String]
|
|
@@ -439,6 +633,74 @@ module PulpRpmClient
|
|
|
439
633
|
return data, status_code, headers
|
|
440
634
|
end
|
|
441
635
|
|
|
636
|
+
# Remove a role for this object from users/groups.
|
|
637
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
638
|
+
# @param nested_role [NestedRole]
|
|
639
|
+
# @param [Hash] opts the optional parameters
|
|
640
|
+
# @return [NestedRoleResponse]
|
|
641
|
+
def remove_role(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
|
|
642
|
+
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
|
643
|
+
data
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
# Remove a role for this object from users/groups.
|
|
647
|
+
# @param rpm_rpm_alternate_content_source_href [String]
|
|
648
|
+
# @param nested_role [NestedRole]
|
|
649
|
+
# @param [Hash] opts the optional parameters
|
|
650
|
+
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
651
|
+
def remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
|
|
652
|
+
if @api_client.config.debugging
|
|
653
|
+
@api_client.config.logger.debug 'Calling API: AcsRpmApi.remove_role ...'
|
|
654
|
+
end
|
|
655
|
+
# verify the required parameter 'rpm_rpm_alternate_content_source_href' is set
|
|
656
|
+
if @api_client.config.client_side_validation && rpm_rpm_alternate_content_source_href.nil?
|
|
657
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_alternate_content_source_href' when calling AcsRpmApi.remove_role"
|
|
658
|
+
end
|
|
659
|
+
# verify the required parameter 'nested_role' is set
|
|
660
|
+
if @api_client.config.client_side_validation && nested_role.nil?
|
|
661
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling AcsRpmApi.remove_role"
|
|
662
|
+
end
|
|
663
|
+
# resource path
|
|
664
|
+
local_var_path = '{rpm_rpm_alternate_content_source_href}remove_role/'.sub('{' + 'rpm_rpm_alternate_content_source_href' + '}', CGI.escape(rpm_rpm_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
|
665
|
+
|
|
666
|
+
# query parameters
|
|
667
|
+
query_params = opts[:query_params] || {}
|
|
668
|
+
|
|
669
|
+
# header parameters
|
|
670
|
+
header_params = opts[:header_params] || {}
|
|
671
|
+
# HTTP header 'Accept' (if needed)
|
|
672
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
673
|
+
# HTTP header 'Content-Type'
|
|
674
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
675
|
+
|
|
676
|
+
# form parameters
|
|
677
|
+
form_params = opts[:form_params] || {}
|
|
678
|
+
|
|
679
|
+
# http body (model)
|
|
680
|
+
post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
|
|
681
|
+
|
|
682
|
+
# return_type
|
|
683
|
+
return_type = opts[:return_type] || 'NestedRoleResponse'
|
|
684
|
+
|
|
685
|
+
# auth_names
|
|
686
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
687
|
+
|
|
688
|
+
new_options = opts.merge(
|
|
689
|
+
:header_params => header_params,
|
|
690
|
+
:query_params => query_params,
|
|
691
|
+
:form_params => form_params,
|
|
692
|
+
:body => post_body,
|
|
693
|
+
:auth_names => auth_names,
|
|
694
|
+
:return_type => return_type
|
|
695
|
+
)
|
|
696
|
+
|
|
697
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
698
|
+
if @api_client.config.debugging
|
|
699
|
+
@api_client.config.logger.debug "API called: AcsRpmApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
700
|
+
end
|
|
701
|
+
return data, status_code, headers
|
|
702
|
+
end
|
|
703
|
+
|
|
442
704
|
# Update a rpm alternate content source
|
|
443
705
|
# Trigger an asynchronous update task
|
|
444
706
|
# @param rpm_rpm_alternate_content_source_href [String]
|
|
@@ -90,9 +90,7 @@ module PulpRpmClient
|
|
|
90
90
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
|
91
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
94
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
95
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
96
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
97
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
98
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -120,9 +118,7 @@ module PulpRpmClient
|
|
|
120
118
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
|
121
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
122
120
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
123
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
124
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
125
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
121
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
126
122
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
127
123
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
128
124
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -156,8 +152,6 @@ module PulpRpmClient
|
|
|
156
152
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
157
153
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
158
154
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
159
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
160
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
161
155
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
162
156
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
163
157
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -24,9 +24,7 @@ module PulpRpmClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -43,9 +41,7 @@ module PulpRpmClient
|
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -68,8 +64,6 @@ module PulpRpmClient
|
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -90,9 +90,7 @@ module PulpRpmClient
|
|
|
90
90
|
# @option opts [String] :_module Filter results where module matches value
|
|
91
91
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
94
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
95
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
96
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
97
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
98
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -114,9 +112,7 @@ module PulpRpmClient
|
|
|
114
112
|
# @option opts [String] :_module Filter results where module matches value
|
|
115
113
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
|
116
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
117
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
118
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
119
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
115
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
120
116
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
121
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
122
118
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -144,8 +140,6 @@ module PulpRpmClient
|
|
|
144
140
|
query_params[:'module__in'] = @api_client.build_collection_param(opts[:'module__in'], :csv) if !opts[:'module__in'].nil?
|
|
145
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
146
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
147
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
148
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
149
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
150
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
151
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -88,9 +88,7 @@ module PulpRpmClient
|
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
91
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
92
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
93
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
91
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
94
92
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
95
93
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
96
94
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -107,9 +105,7 @@ module PulpRpmClient
|
|
|
107
105
|
# @param [Hash] opts the optional parameters
|
|
108
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
109
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
111
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
112
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
108
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
113
109
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
114
110
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
115
111
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -132,8 +128,6 @@ module PulpRpmClient
|
|
|
132
128
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
133
129
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
134
130
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
135
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
136
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
137
131
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
138
132
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
139
133
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|