pulp_deb_client 2.5.0b1 → 2.6.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +60 -39
- data/docs/ContentGenericContentsApi.md +26 -26
- data/docs/ContentInstallerFileIndicesApi.md +37 -37
- data/docs/ContentInstallerPackagesApi.md +56 -56
- data/docs/ContentPackageIndicesApi.md +37 -37
- data/docs/ContentPackageReleaseComponentsApi.md +33 -33
- data/docs/ContentPackagesApi.md +58 -58
- data/docs/ContentReleaseArchitecturesApi.md +33 -33
- data/docs/ContentReleaseComponentsApi.md +33 -33
- data/docs/ContentReleaseFilesApi.md +37 -37
- data/docs/ContentReleasesApi.md +35 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DebAptDistribution.md +1 -7
- data/docs/DebAptDistributionResponse.md +29 -0
- data/docs/DebAptPublication.md +1 -5
- data/docs/DebAptPublicationResponse.md +29 -0
- data/docs/DebAptRemote.md +4 -10
- data/docs/DebAptRemoteResponse.md +57 -0
- data/docs/DebAptRepository.md +4 -10
- data/docs/DebAptRepositoryResponse.md +29 -0
- data/docs/DebBasePackage.md +5 -75
- data/docs/DebBasePackageResponse.md +93 -0
- data/docs/DebGenericContent.md +5 -17
- data/docs/DebGenericContentResponse.md +35 -0
- data/docs/DebInstallerFileIndex.md +2 -6
- data/docs/DebInstallerFileIndexResponse.md +29 -0
- data/docs/DebPackageIndex.md +2 -6
- data/docs/DebPackageIndexResponse.md +29 -0
- data/docs/DebPackageReleaseComponent.md +1 -5
- data/docs/DebPackageReleaseComponentResponse.md +23 -0
- data/docs/DebRelease.md +1 -5
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +23 -0
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +23 -0
- data/docs/DebReleaseFile.md +2 -6
- data/docs/DebReleaseFileResponse.md +29 -0
- data/docs/DebReleaseResponse.md +25 -0
- data/docs/DebVerbatimPublication.md +1 -5
- data/docs/DebVerbatimPublicationResponse.md +23 -0
- data/docs/DistributionsAptApi.md +110 -62
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +3 -3
- data/docs/InlineResponse20012.md +3 -3
- data/docs/InlineResponse20013.md +3 -3
- data/docs/InlineResponse20014.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/PatcheddebAptDistribution.md +23 -0
- data/docs/PatcheddebAptRemote.md +51 -0
- data/docs/PatcheddebAptRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsAptApi.md +43 -43
- data/docs/PublicationsVerbatimApi.md +43 -43
- data/docs/RemotesAptApi.md +128 -68
- data/docs/RepositoriesAptApi.md +100 -76
- data/docs/RepositoriesDebVersionsApi.md +96 -64
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +36 -40
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +90 -82
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +50 -50
- data/lib/pulp_deb_client/api/content_packages_api.rb +92 -84
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +51 -51
- data/lib/pulp_deb_client/api/content_release_components_api.rb +51 -51
- data/lib/pulp_deb_client/api/content_release_files_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_releases_api.rb +54 -54
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +157 -94
- data/lib/pulp_deb_client/api/publications_apt_api.rb +65 -65
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +65 -65
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +187 -106
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +151 -124
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +141 -96
- data/lib/pulp_deb_client/api_client.rb +2 -2
- data/lib/pulp_deb_client/api_error.rb +2 -2
- data/lib/pulp_deb_client/configuration.rb +3 -3
- data/lib/pulp_deb_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_deb_client/models/content_summary.rb +9 -15
- data/lib/pulp_deb_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -85
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +279 -0
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +4 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +270 -0
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +7 -263
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +446 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +18 -78
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +271 -0
- data/lib/pulp_deb_client/models/deb_base_package.rb +18 -847
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +558 -0
- data/lib/pulp_deb_client/models/deb_generic_content.rb +18 -185
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +6 -79
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +287 -0
- data/lib/pulp_deb_client/models/deb_package_index.rb +6 -79
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +287 -0
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +4 -22
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release.rb +4 -79
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -41
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -41
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +6 -90
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +277 -0
- data/lib/pulp_deb_client/models/deb_release_response.rb +259 -0
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +4 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +236 -0
- data/lib/pulp_deb_client/models/inline_response200.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20010.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20011.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20012.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20013.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20014.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2009.rb +3 -13
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +240 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +402 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +229 -0
- data/lib/pulp_deb_client/models/policy_enum.rb +37 -0
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_deb_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_deb_client/models/repository_version.rb +7 -43
- data/lib/pulp_deb_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_deb_client/version.rb +3 -3
- data/lib/pulp_deb_client.rb +22 -2
- data/pulp_deb_client.gemspec +4 -4
- data/spec/api/content_generic_contents_api_spec.rb +12 -12
- data/spec/api/content_installer_file_indices_api_spec.rb +17 -17
- data/spec/api/content_installer_packages_api_spec.rb +27 -27
- data/spec/api/content_package_indices_api_spec.rb +17 -17
- data/spec/api/content_package_release_components_api_spec.rb +15 -15
- data/spec/api/content_packages_api_spec.rb +28 -28
- data/spec/api/content_release_architectures_api_spec.rb +15 -15
- data/spec/api/content_release_components_api_spec.rb +15 -15
- data/spec/api/content_release_files_api_spec.rb +17 -17
- data/spec/api/content_releases_api_spec.rb +16 -16
- data/spec/api/distributions_apt_api_spec.rb +41 -20
- data/spec/api/publications_apt_api_spec.rb +17 -17
- data/spec/api/publications_verbatim_api_spec.rb +17 -17
- data/spec/api/remotes_apt_api_spec.rb +51 -24
- data/spec/api/repositories_apt_api_spec.rb +31 -22
- data/spec/api/repositories_deb_versions_api_spec.rb +40 -25
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/deb_apt_distribution_response_spec.rb +77 -0
- data/spec/models/deb_apt_distribution_spec.rb +2 -20
- data/spec/models/deb_apt_publication_response_spec.rb +77 -0
- data/spec/models/deb_apt_publication_spec.rb +2 -14
- data/spec/models/deb_apt_remote_response_spec.rb +161 -0
- data/spec/models/deb_apt_remote_spec.rb +2 -24
- data/spec/models/deb_apt_repository_response_spec.rb +77 -0
- data/spec/models/deb_apt_repository_spec.rb +5 -23
- data/spec/models/deb_base_package_response_spec.rb +269 -0
- data/spec/models/deb_base_package_spec.rb +4 -214
- data/spec/models/deb_generic_content_response_spec.rb +95 -0
- data/spec/models/deb_generic_content_spec.rb +4 -40
- data/spec/models/deb_installer_file_index_response_spec.rb +77 -0
- data/spec/models/deb_installer_file_index_spec.rb +2 -14
- data/spec/models/deb_package_index_response_spec.rb +77 -0
- data/spec/models/deb_package_index_spec.rb +2 -14
- data/spec/models/deb_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_package_release_component_spec.rb +2 -14
- data/spec/models/deb_release_architecture_response_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +2 -14
- data/spec/models/deb_release_component_response_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +2 -14
- data/spec/models/deb_release_file_response_spec.rb +77 -0
- data/spec/models/deb_release_file_spec.rb +2 -14
- data/spec/models/deb_release_response_spec.rb +65 -0
- data/spec/models/deb_release_spec.rb +2 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +59 -0
- data/spec/models/deb_verbatim_publication_spec.rb +2 -14
- data/spec/models/inline_response20010_spec.rb +2 -2
- data/spec/models/inline_response20011_spec.rb +2 -2
- data/spec/models/inline_response20012_spec.rb +2 -2
- data/spec/models/inline_response20013_spec.rb +2 -2
- data/spec/models/inline_response20014_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patcheddeb_apt_distribution_spec.rb +59 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +143 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +120 -40
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -21,32 +21,77 @@ module PulpDebClient
|
|
21
21
|
end
|
22
22
|
# Delete a repository version
|
23
23
|
# Trigger an asynchronous task to delete a repositroy version.
|
24
|
-
# @param
|
24
|
+
# @param deb_apt_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [String] :content content
|
27
|
+
# @option opts [String] :content__in content__in
|
28
|
+
# @option opts [String] :number number
|
29
|
+
# @option opts [String] :number__gt number__gt
|
30
|
+
# @option opts [String] :number__gte number__gte
|
31
|
+
# @option opts [String] :number__lt number__lt
|
32
|
+
# @option opts [String] :number__lte number__lte
|
33
|
+
# @option opts [String] :number__range number__range
|
34
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
35
|
+
# @option opts [String] :pulp_created pulp_created
|
36
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
37
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
38
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
39
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
40
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
26
41
|
# @return [AsyncOperationResponse]
|
27
|
-
def delete(
|
28
|
-
data, _status_code, _headers = delete_with_http_info(
|
42
|
+
def delete(deb_apt_repository_version_href, opts = {})
|
43
|
+
data, _status_code, _headers = delete_with_http_info(deb_apt_repository_version_href, opts)
|
29
44
|
data
|
30
45
|
end
|
31
46
|
|
32
47
|
# Delete a repository version
|
33
48
|
# Trigger an asynchronous task to delete a repositroy version.
|
34
|
-
# @param
|
49
|
+
# @param deb_apt_repository_version_href [String]
|
35
50
|
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :content content
|
52
|
+
# @option opts [String] :content__in content__in
|
53
|
+
# @option opts [String] :number number
|
54
|
+
# @option opts [String] :number__gt number__gt
|
55
|
+
# @option opts [String] :number__gte number__gte
|
56
|
+
# @option opts [String] :number__lt number__lt
|
57
|
+
# @option opts [String] :number__lte number__lte
|
58
|
+
# @option opts [String] :number__range number__range
|
59
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
60
|
+
# @option opts [String] :pulp_created pulp_created
|
61
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
62
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
63
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
64
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
65
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
36
66
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
|
-
def delete_with_http_info(
|
67
|
+
def delete_with_http_info(deb_apt_repository_version_href, opts = {})
|
38
68
|
if @api_client.config.debugging
|
39
69
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.delete ...'
|
40
70
|
end
|
41
|
-
# verify the required parameter '
|
42
|
-
if @api_client.config.client_side_validation &&
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
71
|
+
# verify the required parameter 'deb_apt_repository_version_href' is set
|
72
|
+
if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
|
73
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.delete"
|
44
74
|
end
|
45
75
|
# resource path
|
46
|
-
local_var_path = '{
|
76
|
+
local_var_path = '{deb_apt_repository_version_href}'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
|
47
77
|
|
48
78
|
# query parameters
|
49
79
|
query_params = opts[:query_params] || {}
|
80
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
81
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
82
|
+
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
83
|
+
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
84
|
+
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
85
|
+
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
86
|
+
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
87
|
+
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
88
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
89
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
90
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
91
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
92
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
93
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
94
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
50
95
|
|
51
96
|
# header parameters
|
52
97
|
header_params = opts[:header_params] || {}
|
@@ -63,7 +108,7 @@ module PulpDebClient
|
|
63
108
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
64
109
|
|
65
110
|
# auth_names
|
66
|
-
auth_names = opts[:auth_names] || ['
|
111
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
67
112
|
|
68
113
|
new_options = opts.merge(
|
69
114
|
:header_params => header_params,
|
@@ -82,88 +127,88 @@ module PulpDebClient
|
|
82
127
|
end
|
83
128
|
|
84
129
|
# List repository versions
|
85
|
-
# AptRepositoryVersion represents a single
|
86
|
-
# @param
|
130
|
+
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
131
|
+
# @param deb_apt_repository_href [String]
|
87
132
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :
|
89
|
-
# @option opts [
|
90
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
91
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
92
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
93
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
94
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
95
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
96
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
97
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
98
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
99
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
100
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
101
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
102
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
133
|
+
# @option opts [String] :content content
|
134
|
+
# @option opts [String] :content__in content__in
|
103
135
|
# @option opts [Integer] :limit Number of results to return per page.
|
136
|
+
# @option opts [String] :number number
|
137
|
+
# @option opts [String] :number__gt number__gt
|
138
|
+
# @option opts [String] :number__gte number__gte
|
139
|
+
# @option opts [String] :number__lt number__lt
|
140
|
+
# @option opts [String] :number__lte number__lte
|
141
|
+
# @option opts [String] :number__range number__range
|
104
142
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
143
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
144
|
+
# @option opts [String] :pulp_created pulp_created
|
145
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
146
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
147
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
148
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
149
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
105
150
|
# @option opts [String] :fields A list of fields to include in the response.
|
106
151
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
152
|
# @return [InlineResponse20014]
|
108
|
-
def list(
|
109
|
-
data, _status_code, _headers = list_with_http_info(
|
153
|
+
def list(deb_apt_repository_href, opts = {})
|
154
|
+
data, _status_code, _headers = list_with_http_info(deb_apt_repository_href, opts)
|
110
155
|
data
|
111
156
|
end
|
112
157
|
|
113
158
|
# List repository versions
|
114
|
-
# AptRepositoryVersion represents a single
|
115
|
-
# @param
|
159
|
+
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
160
|
+
# @param deb_apt_repository_href [String]
|
116
161
|
# @param [Hash] opts the optional parameters
|
117
|
-
# @option opts [String] :
|
118
|
-
# @option opts [
|
119
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
120
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
121
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
122
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
123
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
124
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
125
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
126
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
127
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
128
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
129
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
130
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
131
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
162
|
+
# @option opts [String] :content content
|
163
|
+
# @option opts [String] :content__in content__in
|
132
164
|
# @option opts [Integer] :limit Number of results to return per page.
|
165
|
+
# @option opts [String] :number number
|
166
|
+
# @option opts [String] :number__gt number__gt
|
167
|
+
# @option opts [String] :number__gte number__gte
|
168
|
+
# @option opts [String] :number__lt number__lt
|
169
|
+
# @option opts [String] :number__lte number__lte
|
170
|
+
# @option opts [String] :number__range number__range
|
133
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
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
|
134
179
|
# @option opts [String] :fields A list of fields to include in the response.
|
135
180
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
181
|
# @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
|
137
|
-
def list_with_http_info(
|
182
|
+
def list_with_http_info(deb_apt_repository_href, opts = {})
|
138
183
|
if @api_client.config.debugging
|
139
184
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
|
140
185
|
end
|
141
|
-
# verify the required parameter '
|
142
|
-
if @api_client.config.client_side_validation &&
|
143
|
-
fail ArgumentError, "Missing the required parameter '
|
186
|
+
# verify the required parameter 'deb_apt_repository_href' is set
|
187
|
+
if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
|
188
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesDebVersionsApi.list"
|
144
189
|
end
|
145
190
|
# resource path
|
146
|
-
local_var_path = '{
|
191
|
+
local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
|
147
192
|
|
148
193
|
# query parameters
|
149
194
|
query_params = opts[:query_params] || {}
|
150
|
-
query_params[:'
|
195
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
196
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
197
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
151
198
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
152
|
-
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
153
|
-
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
154
199
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
155
200
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
201
|
+
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
202
|
+
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
156
203
|
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
157
|
-
query_params[:'
|
158
|
-
query_params[:'
|
204
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
205
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
206
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
159
207
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
160
208
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
209
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
210
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
161
211
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
162
|
-
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
163
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
164
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
165
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
166
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
167
212
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
213
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
169
214
|
|
@@ -182,7 +227,7 @@ module PulpDebClient
|
|
182
227
|
return_type = opts[:return_type] || 'InlineResponse20014'
|
183
228
|
|
184
229
|
# auth_names
|
185
|
-
auth_names = opts[:auth_names] || ['
|
230
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
186
231
|
|
187
232
|
new_options = opts.merge(
|
188
233
|
:header_params => header_params,
|
@@ -201,34 +246,34 @@ module PulpDebClient
|
|
201
246
|
end
|
202
247
|
|
203
248
|
# Inspect a repository version
|
204
|
-
# AptRepositoryVersion represents a single
|
205
|
-
# @param
|
249
|
+
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
250
|
+
# @param deb_apt_repository_version_href [String]
|
206
251
|
# @param [Hash] opts the optional parameters
|
207
252
|
# @option opts [String] :fields A list of fields to include in the response.
|
208
253
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
|
-
# @return [
|
210
|
-
def read(
|
211
|
-
data, _status_code, _headers = read_with_http_info(
|
254
|
+
# @return [RepositoryVersionResponse]
|
255
|
+
def read(deb_apt_repository_version_href, opts = {})
|
256
|
+
data, _status_code, _headers = read_with_http_info(deb_apt_repository_version_href, opts)
|
212
257
|
data
|
213
258
|
end
|
214
259
|
|
215
260
|
# Inspect a repository version
|
216
|
-
# AptRepositoryVersion represents a single
|
217
|
-
# @param
|
261
|
+
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
262
|
+
# @param deb_apt_repository_version_href [String]
|
218
263
|
# @param [Hash] opts the optional parameters
|
219
264
|
# @option opts [String] :fields A list of fields to include in the response.
|
220
265
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
221
|
-
# @return [Array<(
|
222
|
-
def read_with_http_info(
|
266
|
+
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
267
|
+
def read_with_http_info(deb_apt_repository_version_href, opts = {})
|
223
268
|
if @api_client.config.debugging
|
224
269
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.read ...'
|
225
270
|
end
|
226
|
-
# verify the required parameter '
|
227
|
-
if @api_client.config.client_side_validation &&
|
228
|
-
fail ArgumentError, "Missing the required parameter '
|
271
|
+
# verify the required parameter 'deb_apt_repository_version_href' is set
|
272
|
+
if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
|
273
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.read"
|
229
274
|
end
|
230
275
|
# resource path
|
231
|
-
local_var_path = '{
|
276
|
+
local_var_path = '{deb_apt_repository_version_href}'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
|
232
277
|
|
233
278
|
# query parameters
|
234
279
|
query_params = opts[:query_params] || {}
|
@@ -247,10 +292,10 @@ module PulpDebClient
|
|
247
292
|
post_body = opts[:body]
|
248
293
|
|
249
294
|
# return_type
|
250
|
-
return_type = opts[:return_type] || '
|
295
|
+
return_type = opts[:return_type] || 'RepositoryVersionResponse'
|
251
296
|
|
252
297
|
# auth_names
|
253
|
-
auth_names = opts[:auth_names] || ['
|
298
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
254
299
|
|
255
300
|
new_options = opts.merge(
|
256
301
|
:header_params => header_params,
|
@@ -269,34 +314,34 @@ module PulpDebClient
|
|
269
314
|
end
|
270
315
|
|
271
316
|
# Trigger an asynchronous task to repair a repositroy version.
|
272
|
-
# @param
|
273
|
-
# @param
|
317
|
+
# @param deb_apt_repository_version_href [String]
|
318
|
+
# @param repository_version [RepositoryVersion]
|
274
319
|
# @param [Hash] opts the optional parameters
|
275
320
|
# @return [AsyncOperationResponse]
|
276
|
-
def repair(
|
277
|
-
data, _status_code, _headers = repair_with_http_info(
|
321
|
+
def repair(deb_apt_repository_version_href, repository_version, opts = {})
|
322
|
+
data, _status_code, _headers = repair_with_http_info(deb_apt_repository_version_href, repository_version, opts)
|
278
323
|
data
|
279
324
|
end
|
280
325
|
|
281
326
|
# Trigger an asynchronous task to repair a repositroy version.
|
282
|
-
# @param
|
283
|
-
# @param
|
327
|
+
# @param deb_apt_repository_version_href [String]
|
328
|
+
# @param repository_version [RepositoryVersion]
|
284
329
|
# @param [Hash] opts the optional parameters
|
285
330
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
286
|
-
def repair_with_http_info(
|
331
|
+
def repair_with_http_info(deb_apt_repository_version_href, repository_version, opts = {})
|
287
332
|
if @api_client.config.debugging
|
288
333
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.repair ...'
|
289
334
|
end
|
290
|
-
# verify the required parameter '
|
291
|
-
if @api_client.config.client_side_validation &&
|
292
|
-
fail ArgumentError, "Missing the required parameter '
|
335
|
+
# verify the required parameter 'deb_apt_repository_version_href' is set
|
336
|
+
if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
|
337
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.repair"
|
293
338
|
end
|
294
|
-
# verify the required parameter '
|
295
|
-
if @api_client.config.client_side_validation &&
|
296
|
-
fail ArgumentError, "Missing the required parameter '
|
339
|
+
# verify the required parameter 'repository_version' is set
|
340
|
+
if @api_client.config.client_side_validation && repository_version.nil?
|
341
|
+
fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesDebVersionsApi.repair"
|
297
342
|
end
|
298
343
|
# resource path
|
299
|
-
local_var_path = '{
|
344
|
+
local_var_path = '{deb_apt_repository_version_href}repair/'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
|
300
345
|
|
301
346
|
# query parameters
|
302
347
|
query_params = opts[:query_params] || {}
|
@@ -306,19 +351,19 @@ module PulpDebClient
|
|
306
351
|
# HTTP header 'Accept' (if needed)
|
307
352
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
308
353
|
# HTTP header 'Content-Type'
|
309
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
354
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
310
355
|
|
311
356
|
# form parameters
|
312
357
|
form_params = opts[:form_params] || {}
|
313
358
|
|
314
359
|
# http body (model)
|
315
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
360
|
+
post_body = opts[:body] || @api_client.object_to_http_body(repository_version)
|
316
361
|
|
317
362
|
# return_type
|
318
363
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
319
364
|
|
320
365
|
# auth_names
|
321
|
-
auth_names = opts[:auth_names] || ['
|
366
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
322
367
|
|
323
368
|
new_options = opts.merge(
|
324
369
|
:header_params => header_params,
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -188,7 +188,7 @@ module PulpDebClient
|
|
188
188
|
# Returns Auth Settings hash for api client.
|
189
189
|
def auth_settings
|
190
190
|
{
|
191
|
-
'
|
191
|
+
'basicAuth' =>
|
192
192
|
{
|
193
193
|
type: 'basic',
|
194
194
|
in: 'header',
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
+
# Serializer for asynchronous operations.
|
16
17
|
class AsyncOperationResponse
|
17
18
|
# The href of the task.
|
18
19
|
attr_accessor :task
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
#
|
16
|
+
# Serializer for the RepositoryVersion content summary
|
17
17
|
class ContentSummary
|
18
18
|
attr_accessor :added
|
19
19
|
|
@@ -33,9 +33,9 @@ module PulpDebClient
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'added' => :'
|
37
|
-
:'removed' => :'
|
38
|
-
:'present' => :'
|
36
|
+
:'added' => :'Object',
|
37
|
+
:'removed' => :'Object',
|
38
|
+
:'present' => :'Object'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -61,21 +61,15 @@ module PulpDebClient
|
|
61
61
|
}
|
62
62
|
|
63
63
|
if attributes.key?(:'added')
|
64
|
-
|
65
|
-
self.added = value
|
66
|
-
end
|
64
|
+
self.added = attributes[:'added']
|
67
65
|
end
|
68
66
|
|
69
67
|
if attributes.key?(:'removed')
|
70
|
-
|
71
|
-
self.removed = value
|
72
|
-
end
|
68
|
+
self.removed = attributes[:'removed']
|
73
69
|
end
|
74
70
|
|
75
71
|
if attributes.key?(:'present')
|
76
|
-
|
77
|
-
self.present = value
|
78
|
-
end
|
72
|
+
self.present = attributes[:'present']
|
79
73
|
end
|
80
74
|
end
|
81
75
|
|