pulp_deb_client 2.4.0b1 → 2.5.0b1
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 +35 -48
- data/docs/ContentGenericContentsApi.md +2 -2
- data/docs/ContentInstallerFileIndicesApi.md +4 -4
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackageIndicesApi.md +4 -4
- data/docs/ContentPackageReleaseComponentsApi.md +4 -4
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/ContentReleaseArchitecturesApi.md +4 -4
- data/docs/ContentReleaseComponentsApi.md +4 -4
- data/docs/ContentReleaseFilesApi.md +4 -4
- data/docs/ContentReleasesApi.md +4 -4
- data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
- data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
- data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
- data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
- data/docs/{DebBasePackageRead.md → DebBasePackage.md} +2 -2
- data/docs/{DebGenericContentRead.md → DebGenericContent.md} +2 -2
- data/docs/DistributionsAptApi.md +43 -43
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +26 -26
- data/docs/PublicationsVerbatimApi.md +2 -2
- data/docs/RemotesAptApi.md +46 -46
- data/docs/RepositoriesAptApi.md +56 -56
- data/docs/RepositoriesDebVersionsApi.md +13 -11
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_files_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +61 -61
- data/lib/pulp_deb_client/api/publications_apt_api.rb +37 -37
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +66 -66
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +84 -84
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +22 -19
- data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_publication.rb → deb_apt_publication.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_remote.rb → deb_apt_remote.rb} +6 -3
- data/lib/pulp_deb_client/models/{deb_deb_repository.rb → deb_apt_repository.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_base_package_read.rb → deb_base_package.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_generic_content_read.rb → deb_generic_content.rb} +3 -3
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -19
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +2 -2
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_indices_api_spec.rb +2 -2
- data/spec/api/content_package_release_components_api_spec.rb +2 -2
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +2 -2
- data/spec/api/content_release_components_api_spec.rb +2 -2
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +13 -13
- data/spec/api/publications_apt_api_spec.rb +10 -10
- data/spec/api/publications_verbatim_api_spec.rb +1 -1
- data/spec/api/remotes_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_api_spec.rb +17 -17
- data/spec/api/repositories_deb_versions_api_spec.rb +6 -5
- data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
- data/spec/models/{deb_deb_publication_spec.rb → deb_apt_publication_spec.rb} +6 -6
- data/spec/models/{deb_deb_remote_spec.rb → deb_apt_remote_spec.rb} +6 -6
- data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
- data/spec/models/{deb_base_package_read_spec.rb → deb_base_package_spec.rb} +6 -6
- data/spec/models/{deb_generic_content_read_spec.rb → deb_generic_content_spec.rb} +6 -6
- metadata +26 -78
- data/docs/DebDebDistributionRead.md +0 -29
- data/docs/DebDebPublicationRead.md +0 -29
- data/docs/DebDebRemoteRead.md +0 -57
- data/docs/DebDebRepositoryRead.md +0 -27
- data/docs/DebInstallerFileIndexRead.md +0 -29
- data/docs/DebPackageIndexRead.md +0 -29
- data/docs/DebPackageReleaseComponentRead.md +0 -23
- data/docs/DebReleaseArchitectureRead.md +0 -23
- data/docs/DebReleaseComponentRead.md +0 -23
- data/docs/DebReleaseFileRead.md +0 -29
- data/docs/DebReleaseRead.md +0 -25
- data/docs/DebVerbatimPublicationRead.md +0 -23
- data/docs/RepositoryVersionRead.md +0 -25
- data/lib/pulp_deb_client/models/deb_deb_distribution_read.rb +0 -331
- data/lib/pulp_deb_client/models/deb_deb_publication_read.rb +0 -269
- data/lib/pulp_deb_client/models/deb_deb_remote_read.rb +0 -670
- data/lib/pulp_deb_client/models/deb_deb_repository_read.rb +0 -294
- data/lib/pulp_deb_client/models/deb_installer_file_index_read.rb +0 -341
- data/lib/pulp_deb_client/models/deb_package_index_read.rb +0 -341
- data/lib/pulp_deb_client/models/deb_package_release_component_read.rb +0 -246
- data/lib/pulp_deb_client/models/deb_release_architecture_read.rb +0 -265
- data/lib/pulp_deb_client/models/deb_release_component_read.rb +0 -265
- data/lib/pulp_deb_client/models/deb_release_file_read.rb +0 -342
- data/lib/pulp_deb_client/models/deb_release_read.rb +0 -315
- data/lib/pulp_deb_client/models/deb_verbatim_publication_read.rb +0 -235
- data/lib/pulp_deb_client/models/repository_version_read.rb +0 -244
- data/spec/models/deb_deb_distribution_read_spec.rb +0 -77
- data/spec/models/deb_deb_publication_read_spec.rb +0 -77
- data/spec/models/deb_deb_remote_read_spec.rb +0 -165
- data/spec/models/deb_deb_repository_read_spec.rb +0 -71
- data/spec/models/deb_installer_file_index_read_spec.rb +0 -77
- data/spec/models/deb_package_index_read_spec.rb +0 -77
- data/spec/models/deb_package_release_component_read_spec.rb +0 -59
- data/spec/models/deb_release_architecture_read_spec.rb +0 -59
- data/spec/models/deb_release_component_read_spec.rb +0 -59
- data/spec/models/deb_release_file_read_spec.rb +0 -77
- data/spec/models/deb_release_read_spec.rb +0 -65
- data/spec/models/deb_verbatim_publication_read_spec.rb +0 -59
- data/spec/models/repository_version_read_spec.rb +0 -65
|
@@ -82,8 +82,8 @@ module PulpDebClient
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# List repository versions
|
|
85
|
-
#
|
|
86
|
-
# @param
|
|
85
|
+
# AptRepositoryVersion represents a single deb repository version.
|
|
86
|
+
# @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
89
89
|
# @option opts [Float] :number
|
|
@@ -97,21 +97,22 @@ module PulpDebClient
|
|
|
97
97
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
98
98
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
99
99
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
100
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
101
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
|
|
102
103
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
103
104
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
104
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
105
106
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
106
107
|
# @return [InlineResponse20014]
|
|
107
|
-
def list(
|
|
108
|
-
data, _status_code, _headers = list_with_http_info(
|
|
108
|
+
def list(apt_repository_href, opts = {})
|
|
109
|
+
data, _status_code, _headers = list_with_http_info(apt_repository_href, opts)
|
|
109
110
|
data
|
|
110
111
|
end
|
|
111
112
|
|
|
112
113
|
# List repository versions
|
|
113
|
-
#
|
|
114
|
-
# @param
|
|
114
|
+
# AptRepositoryVersion represents a single deb repository version.
|
|
115
|
+
# @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
115
116
|
# @param [Hash] opts the optional parameters
|
|
116
117
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
117
118
|
# @option opts [Float] :number
|
|
@@ -125,23 +126,24 @@ module PulpDebClient
|
|
|
125
126
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
126
127
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
127
128
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
128
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
129
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
|
|
130
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
131
133
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
132
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
133
135
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
134
136
|
# @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
|
|
135
|
-
def list_with_http_info(
|
|
137
|
+
def list_with_http_info(apt_repository_href, opts = {})
|
|
136
138
|
if @api_client.config.debugging
|
|
137
139
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
|
|
138
140
|
end
|
|
139
|
-
# verify the required parameter '
|
|
140
|
-
if @api_client.config.client_side_validation &&
|
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
|
141
|
+
# verify the required parameter 'apt_repository_href' is set
|
|
142
|
+
if @api_client.config.client_side_validation && apt_repository_href.nil?
|
|
143
|
+
fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesDebVersionsApi.list"
|
|
142
144
|
end
|
|
143
145
|
# resource path
|
|
144
|
-
local_var_path = '
|
|
146
|
+
local_var_path = '{apt_repository_href}versions/'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
|
|
145
147
|
|
|
146
148
|
# query parameters
|
|
147
149
|
query_params = opts[:query_params] || {}
|
|
@@ -157,8 +159,9 @@ module PulpDebClient
|
|
|
157
159
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
158
160
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
159
161
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
|
160
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
161
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?
|
|
162
165
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
163
166
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
164
167
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
@@ -198,24 +201,24 @@ module PulpDebClient
|
|
|
198
201
|
end
|
|
199
202
|
|
|
200
203
|
# Inspect a repository version
|
|
201
|
-
#
|
|
204
|
+
# AptRepositoryVersion represents a single deb repository version.
|
|
202
205
|
# @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
|
|
203
206
|
# @param [Hash] opts the optional parameters
|
|
204
207
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
205
208
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
206
|
-
# @return [
|
|
209
|
+
# @return [RepositoryVersion]
|
|
207
210
|
def read(apt_repository_version_href, opts = {})
|
|
208
211
|
data, _status_code, _headers = read_with_http_info(apt_repository_version_href, opts)
|
|
209
212
|
data
|
|
210
213
|
end
|
|
211
214
|
|
|
212
215
|
# Inspect a repository version
|
|
213
|
-
#
|
|
216
|
+
# AptRepositoryVersion represents a single deb repository version.
|
|
214
217
|
# @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
|
|
215
218
|
# @param [Hash] opts the optional parameters
|
|
216
219
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
217
220
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
218
|
-
# @return [Array<(
|
|
221
|
+
# @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
|
|
219
222
|
def read_with_http_info(apt_repository_version_href, opts = {})
|
|
220
223
|
if @api_client.config.debugging
|
|
221
224
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.read ...'
|
|
@@ -244,7 +247,7 @@ module PulpDebClient
|
|
|
244
247
|
post_body = opts[:body]
|
|
245
248
|
|
|
246
249
|
# return_type
|
|
247
|
-
return_type = opts[:return_type] || '
|
|
250
|
+
return_type = opts[:return_type] || 'RepositoryVersion'
|
|
248
251
|
|
|
249
252
|
# auth_names
|
|
250
253
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpDebClient
|
|
16
|
-
class
|
|
16
|
+
class DebAptDistribution
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -72,13 +72,13 @@ module PulpDebClient
|
|
|
72
72
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
73
73
|
def initialize(attributes = {})
|
|
74
74
|
if (!attributes.is_a?(Hash))
|
|
75
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptDistribution` initialize method"
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
79
79
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
80
80
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
81
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptDistribution`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
82
82
|
end
|
|
83
83
|
h[k.to_sym] = v
|
|
84
84
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpDebClient
|
|
16
|
-
class
|
|
16
|
+
class DebAptPublication
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -69,13 +69,13 @@ module PulpDebClient
|
|
|
69
69
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
70
70
|
def initialize(attributes = {})
|
|
71
71
|
if (!attributes.is_a?(Hash))
|
|
72
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
72
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptPublication` initialize method"
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
76
76
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
77
77
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
78
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
78
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptPublication`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
79
79
|
end
|
|
80
80
|
h[k.to_sym] = v
|
|
81
81
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpDebClient
|
|
16
|
-
class
|
|
16
|
+
class DebAptRemote
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -161,6 +161,9 @@ module PulpDebClient
|
|
|
161
161
|
:'proxy_url',
|
|
162
162
|
:'username',
|
|
163
163
|
:'password',
|
|
164
|
+
:'components',
|
|
165
|
+
:'architectures',
|
|
166
|
+
:'gpgkey'
|
|
164
167
|
])
|
|
165
168
|
end
|
|
166
169
|
|
|
@@ -168,13 +171,13 @@ module PulpDebClient
|
|
|
168
171
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
169
172
|
def initialize(attributes = {})
|
|
170
173
|
if (!attributes.is_a?(Hash))
|
|
171
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
174
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRemote` initialize method"
|
|
172
175
|
end
|
|
173
176
|
|
|
174
177
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
175
178
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
176
179
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
177
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
180
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRemote`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
178
181
|
end
|
|
179
182
|
h[k.to_sym] = v
|
|
180
183
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpDebClient
|
|
16
|
-
class
|
|
16
|
+
class DebAptRepository
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -64,13 +64,13 @@ module PulpDebClient
|
|
|
64
64
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
65
65
|
def initialize(attributes = {})
|
|
66
66
|
if (!attributes.is_a?(Hash))
|
|
67
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
67
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRepository` initialize method"
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
71
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
72
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
73
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRepository`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
74
74
|
end
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpDebClient
|
|
16
|
-
class
|
|
16
|
+
class DebBasePackage
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -201,13 +201,13 @@ module PulpDebClient
|
|
|
201
201
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
202
202
|
def initialize(attributes = {})
|
|
203
203
|
if (!attributes.is_a?(Hash))
|
|
204
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
204
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebBasePackage` initialize method"
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
208
208
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
209
209
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
210
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
210
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebBasePackage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
211
211
|
end
|
|
212
212
|
h[k.to_sym] = v
|
|
213
213
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpDebClient
|
|
16
|
-
class
|
|
16
|
+
class DebGenericContent
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -85,13 +85,13 @@ module PulpDebClient
|
|
|
85
85
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
86
86
|
def initialize(attributes = {})
|
|
87
87
|
if (!attributes.is_a?(Hash))
|
|
88
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
|
88
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebGenericContent` initialize method"
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
92
92
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
93
93
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
94
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
|
94
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebGenericContent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
95
95
|
end
|
|
96
96
|
h[k.to_sym] = v
|
|
97
97
|
}
|
data/lib/pulp_deb_client.rb
CHANGED
|
@@ -19,32 +19,20 @@ require 'pulp_deb_client/configuration'
|
|
|
19
19
|
# Models
|
|
20
20
|
require 'pulp_deb_client/models/async_operation_response'
|
|
21
21
|
require 'pulp_deb_client/models/content_summary'
|
|
22
|
-
require 'pulp_deb_client/models/
|
|
23
|
-
require 'pulp_deb_client/models/
|
|
24
|
-
require 'pulp_deb_client/models/
|
|
25
|
-
require 'pulp_deb_client/models/
|
|
26
|
-
require 'pulp_deb_client/models/
|
|
27
|
-
require 'pulp_deb_client/models/
|
|
28
|
-
require 'pulp_deb_client/models/deb_deb_remote_read'
|
|
29
|
-
require 'pulp_deb_client/models/deb_deb_repository'
|
|
30
|
-
require 'pulp_deb_client/models/deb_deb_repository_read'
|
|
31
|
-
require 'pulp_deb_client/models/deb_generic_content_read'
|
|
22
|
+
require 'pulp_deb_client/models/deb_apt_distribution'
|
|
23
|
+
require 'pulp_deb_client/models/deb_apt_publication'
|
|
24
|
+
require 'pulp_deb_client/models/deb_apt_remote'
|
|
25
|
+
require 'pulp_deb_client/models/deb_apt_repository'
|
|
26
|
+
require 'pulp_deb_client/models/deb_base_package'
|
|
27
|
+
require 'pulp_deb_client/models/deb_generic_content'
|
|
32
28
|
require 'pulp_deb_client/models/deb_installer_file_index'
|
|
33
|
-
require 'pulp_deb_client/models/deb_installer_file_index_read'
|
|
34
29
|
require 'pulp_deb_client/models/deb_package_index'
|
|
35
|
-
require 'pulp_deb_client/models/deb_package_index_read'
|
|
36
30
|
require 'pulp_deb_client/models/deb_package_release_component'
|
|
37
|
-
require 'pulp_deb_client/models/deb_package_release_component_read'
|
|
38
31
|
require 'pulp_deb_client/models/deb_release'
|
|
39
32
|
require 'pulp_deb_client/models/deb_release_architecture'
|
|
40
|
-
require 'pulp_deb_client/models/deb_release_architecture_read'
|
|
41
33
|
require 'pulp_deb_client/models/deb_release_component'
|
|
42
|
-
require 'pulp_deb_client/models/deb_release_component_read'
|
|
43
34
|
require 'pulp_deb_client/models/deb_release_file'
|
|
44
|
-
require 'pulp_deb_client/models/deb_release_file_read'
|
|
45
|
-
require 'pulp_deb_client/models/deb_release_read'
|
|
46
35
|
require 'pulp_deb_client/models/deb_verbatim_publication'
|
|
47
|
-
require 'pulp_deb_client/models/deb_verbatim_publication_read'
|
|
48
36
|
require 'pulp_deb_client/models/inline_response200'
|
|
49
37
|
require 'pulp_deb_client/models/inline_response2001'
|
|
50
38
|
require 'pulp_deb_client/models/inline_response20010'
|
|
@@ -63,7 +51,6 @@ require 'pulp_deb_client/models/inline_response2009'
|
|
|
63
51
|
require 'pulp_deb_client/models/repository_add_remove_content'
|
|
64
52
|
require 'pulp_deb_client/models/repository_sync_url'
|
|
65
53
|
require 'pulp_deb_client/models/repository_version'
|
|
66
|
-
require 'pulp_deb_client/models/repository_version_read'
|
|
67
54
|
|
|
68
55
|
# APIs
|
|
69
56
|
require 'pulp_deb_client/api/content_generic_contents_api'
|
|
@@ -75,7 +75,7 @@ describe 'ContentGenericContentsApi' do
|
|
|
75
75
|
# @param [Hash] opts the optional parameters
|
|
76
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
77
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
78
|
-
# @return [
|
|
78
|
+
# @return [DebGenericContent]
|
|
79
79
|
describe 'read test' do
|
|
80
80
|
it 'should work' do
|
|
81
81
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
|
37
37
|
# A ViewSet for InstallerFileIndex.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebInstallerFileIndex]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,7 +74,7 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
76
76
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
77
|
-
# @return [
|
|
77
|
+
# @return [DebInstallerFileIndex]
|
|
78
78
|
describe 'read test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -90,7 +90,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
91
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
92
92
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
93
|
-
# @return [
|
|
93
|
+
# @return [DebBasePackage]
|
|
94
94
|
describe 'read test' do
|
|
95
95
|
it 'should work' do
|
|
96
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentPackageIndicesApi' do
|
|
|
37
37
|
# A ViewSet for PackageIndex.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebPackageIndex]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,7 +74,7 @@ describe 'ContentPackageIndicesApi' do
|
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
76
76
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
77
|
-
# @return [
|
|
77
|
+
# @return [DebPackageIndex]
|
|
78
78
|
describe 'read test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
|
37
37
|
# A ViewSet for PackageReleaseComponent.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebPackageReleaseComponent]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
75
|
-
# @return [
|
|
75
|
+
# @return [DebPackageReleaseComponent]
|
|
76
76
|
describe 'read test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -91,7 +91,7 @@ describe 'ContentPackagesApi' do
|
|
|
91
91
|
# @param [Hash] opts the optional parameters
|
|
92
92
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
93
93
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
94
|
-
# @return [
|
|
94
|
+
# @return [DebBasePackage]
|
|
95
95
|
describe 'read test' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
|
37
37
|
# A ViewSet for ReleaseArchitecture.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebReleaseArchitecture]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
75
|
-
# @return [
|
|
75
|
+
# @return [DebReleaseArchitecture]
|
|
76
76
|
describe 'read test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentReleaseComponentsApi' do
|
|
|
37
37
|
# A ViewSet for ReleaseComponent.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebReleaseComponent]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'ContentReleaseComponentsApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
75
|
-
# @return [
|
|
75
|
+
# @return [DebReleaseComponent]
|
|
76
76
|
describe 'read test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|