pulp_rpm_client 3.11.1 → 3.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +19 -20
- data/docs/ContentAdvisoriesApi.md +30 -30
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +18 -18
- data/docs/ContentModulemdsApi.md +18 -18
- 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 +50 -50
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsRpmApi.md +14 -22
- data/docs/{PaginatedrpmUpdateRecordResponseList.md → InlineResponse200.md} +4 -4
- data/docs/{PaginatedrpmDistributionTreeResponseList.md → InlineResponse2001.md} +4 -4
- data/docs/{PaginatedrpmRpmDistributionResponseList.md → InlineResponse20010.md} +4 -4
- data/docs/{PaginatedrpmRpmPublicationResponseList.md → InlineResponse20011.md} +4 -4
- data/docs/{PaginatedrpmRpmRemoteResponseList.md → InlineResponse20012.md} +4 -4
- data/docs/{PaginatedrpmRpmRepositoryResponseList.md → InlineResponse20013.md} +4 -4
- data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse20014.md} +4 -4
- data/docs/{PaginatedrpmModulemdDefaultsResponseList.md → InlineResponse2002.md} +4 -4
- data/docs/{PaginatedrpmModulemdResponseList.md → InlineResponse2003.md} +4 -4
- data/docs/{PaginatedrpmPackageCategoryResponseList.md → InlineResponse2004.md} +4 -4
- data/docs/{PaginatedrpmPackageEnvironmentResponseList.md → InlineResponse2005.md} +4 -4
- data/docs/{PaginatedrpmPackageGroupResponseList.md → InlineResponse2006.md} +4 -4
- data/docs/{PaginatedrpmPackageLangpacksResponseList.md → InlineResponse2007.md} +4 -4
- data/docs/{PaginatedrpmPackageResponseList.md → InlineResponse2008.md} +4 -4
- data/docs/{PaginatedrpmRepoMetadataFileResponseList.md → InlineResponse2009.md} +4 -4
- data/docs/PatchedrpmRpmDistribution.md +0 -2
- data/docs/PatchedrpmRpmRemote.md +1 -19
- data/docs/PatchedrpmRpmRepository.md +1 -3
- data/docs/PublicationsRpmApi.md +16 -16
- data/docs/RemotesRpmApi.md +18 -26
- data/docs/RepositoriesRpmApi.md +6 -14
- data/docs/RepositoriesRpmVersionsApi.md +32 -32
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -2
- data/docs/RpmRpmRemote.md +1 -19
- data/docs/RpmRpmRemoteResponse.md +7 -15
- data/docs/RpmRpmRepository.md +1 -3
- data/docs/RpmRpmRepositoryResponse.md +0 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +22 -22
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +22 -22
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packages_api.rb +60 -60
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +10 -10
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +18 -30
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +19 -19
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +22 -34
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -21
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +38 -38
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
- data/lib/pulp_rpm_client/api_client.rb +12 -8
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +8 -1
- data/lib/pulp_rpm_client/models/addon_response.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact_response.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum_response.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +7 -13
- data/lib/pulp_rpm_client/models/content_summary_response.rb +7 -13
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/image_response.rb +1 -1
- data/lib/pulp_rpm_client/models/{paginatedrpm_update_record_response_list.rb → inline_response200.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_distribution_tree_response_list.rb → inline_response2001.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_distribution_response_list.rb → inline_response20010.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_publication_response_list.rb → inline_response20011.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_remote_response_list.rb → inline_response20012.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_repository_response_list.rb → inline_response20013.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginated_repository_version_response_list.rb → inline_response20014.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_defaults_response_list.rb → inline_response2002.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_response_list.rb → inline_response2003.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_category_response_list.rb → inline_response2004.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_environment_response_list.rb → inline_response2005.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_group_response_list.rb → inline_response2006.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_langpacks_response_list.rb → inline_response2007.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_response_list.rb → inline_response2008.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_repo_metadata_file_response_list.rb → inline_response2009.rb} +4 -4
- data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -11
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -161
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -11
- data/lib/pulp_rpm_client/models/policy_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -161
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +33 -136
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -1
- data/lib/pulp_rpm_client/models/variant_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +16 -17
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +16 -16
- data/spec/api/content_distribution_trees_api_spec.rb +5 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +10 -10
- data/spec/api/content_modulemds_api_spec.rb +10 -10
- data/spec/api/content_packagecategories_api_spec.rb +5 -5
- data/spec/api/content_packageenvironments_api_spec.rb +5 -5
- data/spec/api/content_packagegroups_api_spec.rb +5 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -5
- data/spec/api/content_packages_api_spec.rb +26 -26
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -5
- data/spec/api/distributions_rpm_api_spec.rb +8 -12
- data/spec/api/publications_rpm_api_spec.rb +9 -9
- data/spec/api/remotes_rpm_api_spec.rb +10 -14
- data/spec/api/repositories_rpm_api_spec.rb +4 -8
- data/spec/api/repositories_rpm_versions_api_spec.rb +18 -18
- 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_response_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/image_response_spec.rb +1 -1
- data/spec/models/{paginatedrpm_package_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_modulemd_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_rpm_remote_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_package_group_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/metadata_checksum_type_enum_spec.rb +1 -1
- data/spec/models/package_checksum_type_enum_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +1 -7
- data/spec/models/patchedrpm_rpm_remote_spec.rb +1 -55
- data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -7
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_response_spec.rb +1 -1
- data/spec/models/rpm_package_environment_response_spec.rb +1 -1
- data/spec/models/rpm_package_group_response_spec.rb +1 -1
- data/spec/models/rpm_package_langpacks_response_spec.rb +1 -1
- data/spec/models/rpm_package_response_spec.rb +1 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +1 -1
- data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_response_spec.rb +1 -7
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -7
- data/spec/models/rpm_rpm_publication_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_response_spec.rb +9 -33
- data/spec/models/rpm_rpm_remote_spec.rb +1 -55
- data/spec/models/rpm_rpm_repository_response_spec.rb +1 -7
- data/spec/models/rpm_rpm_repository_spec.rb +1 -7
- data/spec/models/rpm_update_collection_response_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_response_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +104 -108
- data/docs/SkipTypesEnum.md +0 -16
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -35
- data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +0 -59
- data/spec/models/skip_types_enum_spec.rb +0 -35
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -149,16 +149,16 @@ module PulpRpmClient
|
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
150
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
151
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
152
|
-
# @option opts [
|
153
|
-
# @option opts [
|
154
|
-
# @option opts [
|
155
|
-
# @option opts [
|
156
|
-
# @option opts [
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [String] :repository_version
|
152
|
+
# @option opts [String] :pulp_created pulp_created
|
153
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
154
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
155
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
156
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
157
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
158
|
+
# @option opts [String] :repository_version repository_version
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
|
-
# @return [
|
161
|
+
# @return [InlineResponse20011]
|
162
162
|
def list(opts = {})
|
163
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
164
164
|
data
|
@@ -170,16 +170,16 @@ module PulpRpmClient
|
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
172
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
173
|
-
# @option opts [
|
174
|
-
# @option opts [
|
175
|
-
# @option opts [
|
176
|
-
# @option opts [
|
177
|
-
# @option opts [
|
178
|
-
# @option opts [
|
179
|
-
# @option opts [String] :repository_version
|
173
|
+
# @option opts [String] :pulp_created pulp_created
|
174
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
175
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
176
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
177
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
178
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
179
|
+
# @option opts [String] :repository_version repository_version
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
|
-
# @return [Array<(
|
182
|
+
# @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
|
183
183
|
def list_with_http_info(opts = {})
|
184
184
|
if @api_client.config.debugging
|
185
185
|
@api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
|
@@ -197,7 +197,7 @@ module PulpRpmClient
|
|
197
197
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
198
198
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
199
199
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
200
|
-
query_params[:'pulp_created__range'] =
|
200
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
201
201
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
202
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
203
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
@@ -214,7 +214,7 @@ module PulpRpmClient
|
|
214
214
|
post_body = opts[:body]
|
215
215
|
|
216
216
|
# return_type
|
217
|
-
return_type = opts[:return_type] || '
|
217
|
+
return_type = opts[:return_type] || 'InlineResponse20011'
|
218
218
|
|
219
219
|
# auth_names
|
220
220
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -149,23 +149,19 @@ module PulpRpmClient
|
|
149
149
|
# A ViewSet for RpmRemote.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
153
|
-
# @option opts [String] :
|
154
|
-
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
-
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
-
# @option opts [String] :name__startswith Filter results where name starts with value
|
152
|
+
# @option opts [String] :name name
|
153
|
+
# @option opts [String] :name__in name__in
|
157
154
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
155
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
-
# @option opts [String] :
|
160
|
-
# @option opts [
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
-
# @option opts [
|
164
|
-
# @option opts [
|
165
|
-
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
156
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
157
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
158
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
159
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
160
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
161
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
166
162
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
163
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [
|
164
|
+
# @return [InlineResponse20012]
|
169
165
|
def list(opts = {})
|
170
166
|
data, _status_code, _headers = list_with_http_info(opts)
|
171
167
|
data
|
@@ -175,23 +171,19 @@ module PulpRpmClient
|
|
175
171
|
# A ViewSet for RpmRemote.
|
176
172
|
# @param [Hash] opts the optional parameters
|
177
173
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
179
|
-
# @option opts [String] :
|
180
|
-
# @option opts [String] :name__icontains Filter results where name contains value
|
181
|
-
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
|
-
# @option opts [String] :name__startswith Filter results where name starts with value
|
174
|
+
# @option opts [String] :name name
|
175
|
+
# @option opts [String] :name__in name__in
|
183
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
177
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
185
|
-
# @option opts [String] :
|
186
|
-
# @option opts [
|
187
|
-
# @option opts [
|
188
|
-
# @option opts [
|
189
|
-
# @option opts [
|
190
|
-
# @option opts [
|
191
|
-
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
178
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
179
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
180
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
181
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
182
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
183
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
192
184
|
# @option opts [String] :fields A list of fields to include in the response.
|
193
185
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
194
|
-
# @return [Array<(
|
186
|
+
# @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
|
195
187
|
def list_with_http_info(opts = {})
|
196
188
|
if @api_client.config.debugging
|
197
189
|
@api_client.config.logger.debug 'Calling API: RemotesRpmApi.list ...'
|
@@ -203,19 +195,15 @@ module PulpRpmClient
|
|
203
195
|
query_params = opts[:query_params] || {}
|
204
196
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
205
197
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
|
-
query_params[:'
|
207
|
-
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
-
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
|
-
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
198
|
+
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
210
199
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
200
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
-
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
213
201
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
214
202
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
215
203
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
216
204
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
217
205
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
218
|
-
query_params[:'pulp_last_updated__range'] =
|
206
|
+
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
219
207
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
220
208
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
221
209
|
|
@@ -231,7 +219,7 @@ module PulpRpmClient
|
|
231
219
|
post_body = opts[:body]
|
232
220
|
|
233
221
|
# return_type
|
234
|
-
return_type = opts[:return_type] || '
|
222
|
+
return_type = opts[:return_type] || 'InlineResponse20012'
|
235
223
|
|
236
224
|
# auth_names
|
237
225
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -149,17 +149,13 @@ module PulpRpmClient
|
|
149
149
|
# A ViewSet for RpmRepository.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
153
|
-
# @option opts [String] :
|
154
|
-
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
-
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
-
# @option opts [String] :name__startswith Filter results where name starts with value
|
152
|
+
# @option opts [String] :name name
|
153
|
+
# @option opts [String] :name__in name__in
|
157
154
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
155
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
-
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
156
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
157
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
|
-
# @return [
|
158
|
+
# @return [InlineResponse20013]
|
163
159
|
def list(opts = {})
|
164
160
|
data, _status_code, _headers = list_with_http_info(opts)
|
165
161
|
data
|
@@ -169,17 +165,13 @@ module PulpRpmClient
|
|
169
165
|
# A ViewSet for RpmRepository.
|
170
166
|
# @param [Hash] opts the optional parameters
|
171
167
|
# @option opts [Integer] :limit Number of results to return per page.
|
172
|
-
# @option opts [String] :name
|
173
|
-
# @option opts [String] :
|
174
|
-
# @option opts [String] :name__icontains Filter results where name contains value
|
175
|
-
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
176
|
-
# @option opts [String] :name__startswith Filter results where name starts with value
|
168
|
+
# @option opts [String] :name name
|
169
|
+
# @option opts [String] :name__in name__in
|
177
170
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
178
171
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
179
|
-
# @option opts [String] :pulp_label_select Filter labels by search string
|
180
172
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
173
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
|
-
# @return [Array<(
|
174
|
+
# @return [Array<(InlineResponse20013, Integer, Hash)>] InlineResponse20013 data, response status code and response headers
|
183
175
|
def list_with_http_info(opts = {})
|
184
176
|
if @api_client.config.debugging
|
185
177
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.list ...'
|
@@ -191,13 +183,9 @@ module PulpRpmClient
|
|
191
183
|
query_params = opts[:query_params] || {}
|
192
184
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
193
185
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
194
|
-
query_params[:'
|
195
|
-
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
196
|
-
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
197
|
-
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
186
|
+
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
198
187
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
199
188
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
200
|
-
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
201
189
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
202
190
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
203
191
|
|
@@ -213,7 +201,7 @@ module PulpRpmClient
|
|
213
201
|
post_body = opts[:body]
|
214
202
|
|
215
203
|
# return_type
|
216
|
-
return_type = opts[:return_type] || '
|
204
|
+
return_type = opts[:return_type] || 'InlineResponse20013'
|
217
205
|
|
218
206
|
# auth_names
|
219
207
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -20,7 +20,7 @@ module PulpRpmClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Delete a repository version
|
23
|
-
# Trigger an asynchronous task to delete a
|
23
|
+
# Trigger an asynchronous task to delete a repositroy version.
|
24
24
|
# @param rpm_rpm_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
@@ -30,7 +30,7 @@ module PulpRpmClient
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Delete a repository version
|
33
|
-
# Trigger an asynchronous task to delete a
|
33
|
+
# Trigger an asynchronous task to delete a repositroy version.
|
34
34
|
# @param rpm_rpm_repository_version_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -85,26 +85,26 @@ module PulpRpmClient
|
|
85
85
|
# RpmRepositoryVersion represents a single rpm repository version.
|
86
86
|
# @param rpm_rpm_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content content
|
89
|
+
# @option opts [String] :content__in content__in
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
|
-
# @option opts [
|
92
|
-
# @option opts [
|
93
|
-
# @option opts [
|
94
|
-
# @option opts [
|
95
|
-
# @option opts [
|
96
|
-
# @option opts [
|
91
|
+
# @option opts [String] :number number
|
92
|
+
# @option opts [String] :number__gt number__gt
|
93
|
+
# @option opts [String] :number__gte number__gte
|
94
|
+
# @option opts [String] :number__lt number__lt
|
95
|
+
# @option opts [String] :number__lte number__lte
|
96
|
+
# @option opts [String] :number__range number__range
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
99
|
-
# @option opts [
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
104
|
-
# @option opts [
|
99
|
+
# @option opts [String] :pulp_created pulp_created
|
100
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
101
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
102
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
103
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
104
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
105
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
106
106
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
|
-
# @return [
|
107
|
+
# @return [InlineResponse20014]
|
108
108
|
def list(rpm_rpm_repository_href, opts = {})
|
109
109
|
data, _status_code, _headers = list_with_http_info(rpm_rpm_repository_href, opts)
|
110
110
|
data
|
@@ -114,26 +114,26 @@ module PulpRpmClient
|
|
114
114
|
# RpmRepositoryVersion represents a single rpm repository version.
|
115
115
|
# @param rpm_rpm_repository_href [String]
|
116
116
|
# @param [Hash] opts the optional parameters
|
117
|
-
# @option opts [String] :content
|
118
|
-
# @option opts [String] :content__in
|
117
|
+
# @option opts [String] :content content
|
118
|
+
# @option opts [String] :content__in content__in
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [
|
121
|
-
# @option opts [
|
122
|
-
# @option opts [
|
123
|
-
# @option opts [
|
124
|
-
# @option opts [
|
125
|
-
# @option opts [
|
120
|
+
# @option opts [String] :number number
|
121
|
+
# @option opts [String] :number__gt number__gt
|
122
|
+
# @option opts [String] :number__gte number__gte
|
123
|
+
# @option opts [String] :number__lt number__lt
|
124
|
+
# @option opts [String] :number__lte number__lte
|
125
|
+
# @option opts [String] :number__range number__range
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
130
|
-
# @option opts [
|
131
|
-
# @option opts [
|
132
|
-
# @option opts [
|
133
|
-
# @option opts [
|
128
|
+
# @option opts [String] :pulp_created pulp_created
|
129
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
130
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
131
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
132
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
133
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
134
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
135
135
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
|
-
# @return [Array<(
|
136
|
+
# @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
|
137
137
|
def list_with_http_info(rpm_rpm_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
139
139
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmVersionsApi.list ...'
|
@@ -155,7 +155,7 @@ module PulpRpmClient
|
|
155
155
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
156
156
|
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
157
157
|
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
158
|
-
query_params[:'number__range'] =
|
158
|
+
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
159
159
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
160
160
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
161
161
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
@@ -163,7 +163,7 @@ module PulpRpmClient
|
|
163
163
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
164
164
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
165
165
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
166
|
-
query_params[:'pulp_created__range'] =
|
166
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
167
167
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
168
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
169
169
|
|
@@ -179,7 +179,7 @@ module PulpRpmClient
|
|
179
179
|
post_body = opts[:body]
|
180
180
|
|
181
181
|
# return_type
|
182
|
-
return_type = opts[:return_type] || '
|
182
|
+
return_type = opts[:return_type] || 'InlineResponse20014'
|
183
183
|
|
184
184
|
# auth_names
|
185
185
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -268,7 +268,7 @@ module PulpRpmClient
|
|
268
268
|
return data, status_code, headers
|
269
269
|
end
|
270
270
|
|
271
|
-
# Trigger an asynchronous task to repair a
|
271
|
+
# Trigger an asynchronous task to repair a repositroy version.
|
272
272
|
# @param rpm_rpm_repository_version_href [String]
|
273
273
|
# @param repository_version [RepositoryVersion]
|
274
274
|
# @param [Hash] opts the optional parameters
|
@@ -278,7 +278,7 @@ module PulpRpmClient
|
|
278
278
|
data
|
279
279
|
end
|
280
280
|
|
281
|
-
# Trigger an asynchronous task to repair a
|
281
|
+
# Trigger an asynchronous task to repair a repositroy version.
|
282
282
|
# @param rpm_rpm_repository_version_href [String]
|
283
283
|
# @param repository_version [RepositoryVersion]
|
284
284
|
# @param [Hash] opts the optional parameters
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,8 +53,10 @@ module PulpRpmClient
|
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
54
54
|
:client_key => @config.ssl_client_key
|
55
55
|
}
|
56
|
-
|
57
|
-
|
56
|
+
request_options = {
|
57
|
+
:params_encoder => @config.params_encoder
|
58
|
+
}
|
59
|
+
connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
|
58
60
|
conn.basic_auth(config.username, config.password)
|
59
61
|
if opts[:header_params]["Content-Type"] == "multipart/form-data"
|
60
62
|
conn.request :multipart
|
@@ -285,11 +287,13 @@ module PulpRpmClient
|
|
285
287
|
tempfile.write(chunk)
|
286
288
|
end
|
287
289
|
request.on_complete do |response|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
290
|
+
if tempfile
|
291
|
+
tempfile.close
|
292
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
293
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
294
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
295
|
+
"explicitly with `tempfile.delete`"
|
296
|
+
end
|
293
297
|
end
|
294
298
|
end
|
295
299
|
|