pulp_deb_client 2.20.1 → 2.20.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -10
- data/docs/ContentInstallerPackagesApi.md +20 -16
- data/docs/ContentPackageIndicesApi.md +14 -10
- data/docs/ContentPackageReleaseComponentsApi.md +16 -12
- data/docs/ContentPackagesApi.md +20 -16
- data/docs/ContentReleaseArchitecturesApi.md +15 -11
- data/docs/ContentReleaseComponentsApi.md +15 -11
- data/docs/ContentReleaseFilesApi.md +14 -10
- data/docs/ContentReleasesApi.md +14 -10
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebAptRemoteResponse.md +4 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
- data/docs/DebAptRepository.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -2
- data/docs/DebInstallerFileIndex.md +0 -2
- data/docs/DebInstallerFileIndexResponse.md +0 -2
- data/docs/DebPackageIndex.md +0 -2
- data/docs/DebPackageIndexResponse.md +0 -2
- data/docs/DistributionsAptApi.md +22 -14
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +16 -12
- data/docs/PublicationsVerbatimApi.md +16 -12
- data/docs/RemotesAptApi.md +18 -14
- data/docs/RepositoriesAptApi.md +33 -13
- data/docs/RepositoriesAptVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
- data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -0
- data/spec/api/content_generic_contents_api_spec.rb +7 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
- data/spec/api/content_installer_packages_api_spec.rb +10 -8
- data/spec/api/content_package_indices_api_spec.rb +7 -5
- data/spec/api/content_package_release_components_api_spec.rb +7 -5
- data/spec/api/content_packages_api_spec.rb +10 -8
- data/spec/api/content_release_architectures_api_spec.rb +7 -5
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_release_files_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +7 -5
- data/spec/api/distributions_apt_api_spec.rb +11 -7
- data/spec/api/publications_apt_api_spec.rb +8 -6
- data/spec/api/publications_verbatim_api_spec.rb +8 -6
- data/spec/api/remotes_apt_api_spec.rb +9 -7
- data/spec/api/repositories_apt_api_spec.rb +16 -6
- data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
- data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
- data/spec/models/deb_installer_file_index_spec.rb +0 -6
- data/spec/models/deb_package_index_response_spec.rb +0 -6
- data/spec/models/deb_package_index_spec.rb +0 -6
- metadata +57 -53
@@ -101,19 +101,21 @@ module PulpDebClient
|
|
101
101
|
# @param [Hash] opts the optional parameters
|
102
102
|
# @option opts [String] :architecture Filter results where architecture matches value
|
103
103
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
104
|
-
# @option opts [Boolean] :build_essential Filter results where build_essential matches value
|
104
|
+
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
105
105
|
# @option opts [String] :built_using Filter results where built_using matches value
|
106
|
-
# @option opts [Boolean] :essential Filter results where essential matches value
|
106
|
+
# @option opts [Boolean] :essential Filter results where essential matches value * `True` - yes * `False` - no
|
107
107
|
# @option opts [Integer] :installed_size Filter results where installed_size matches value
|
108
108
|
# @option opts [Integer] :limit Number of results to return per page.
|
109
109
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
110
|
-
# @option opts [String] :multi_arch Filter results where multi_arch matches value
|
110
|
+
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
111
111
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
112
|
-
# @option opts [Array<String>] :ordering Ordering
|
112
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
113
113
|
# @option opts [String] :origin Filter results where origin matches value
|
114
114
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
115
115
|
# @option opts [String] :package Filter results where package matches value
|
116
116
|
# @option opts [String] :priority Filter results where priority matches value
|
117
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
117
119
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
118
120
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
119
121
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -122,8 +124,8 @@ module PulpDebClient
|
|
122
124
|
# @option opts [String] :source Filter results where source matches value
|
123
125
|
# @option opts [String] :tag Filter results where tag matches value
|
124
126
|
# @option opts [String] :version Filter results where version matches value
|
125
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
126
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
127
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
128
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
127
129
|
# @return [PaginateddebBasePackageResponseList]
|
128
130
|
def list(opts = {})
|
129
131
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -135,19 +137,21 @@ module PulpDebClient
|
|
135
137
|
# @param [Hash] opts the optional parameters
|
136
138
|
# @option opts [String] :architecture Filter results where architecture matches value
|
137
139
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
138
|
-
# @option opts [Boolean] :build_essential Filter results where build_essential matches value
|
140
|
+
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
139
141
|
# @option opts [String] :built_using Filter results where built_using matches value
|
140
|
-
# @option opts [Boolean] :essential Filter results where essential matches value
|
142
|
+
# @option opts [Boolean] :essential Filter results where essential matches value * `True` - yes * `False` - no
|
141
143
|
# @option opts [Integer] :installed_size Filter results where installed_size matches value
|
142
144
|
# @option opts [Integer] :limit Number of results to return per page.
|
143
145
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
144
|
-
# @option opts [String] :multi_arch Filter results where multi_arch matches value
|
146
|
+
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
145
147
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
146
|
-
# @option opts [Array<String>] :ordering Ordering
|
148
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
147
149
|
# @option opts [String] :origin Filter results where origin matches value
|
148
150
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
149
151
|
# @option opts [String] :package Filter results where package matches value
|
150
152
|
# @option opts [String] :priority Filter results where priority matches value
|
153
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
154
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
151
155
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
152
156
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
153
157
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -156,8 +160,8 @@ module PulpDebClient
|
|
156
160
|
# @option opts [String] :source Filter results where source matches value
|
157
161
|
# @option opts [String] :tag Filter results where tag matches value
|
158
162
|
# @option opts [String] :version Filter results where version matches value
|
159
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
160
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
163
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
164
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
161
165
|
# @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
|
162
166
|
def list_with_http_info(opts = {})
|
163
167
|
if @api_client.config.debugging
|
@@ -175,7 +179,7 @@ module PulpDebClient
|
|
175
179
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
176
180
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
177
181
|
end
|
178
|
-
allowable_values = ["-
|
182
|
+
allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
179
183
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
180
184
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
181
185
|
end
|
@@ -199,6 +203,8 @@ module PulpDebClient
|
|
199
203
|
query_params[:'original_maintainer'] = opts[:'original_maintainer'] if !opts[:'original_maintainer'].nil?
|
200
204
|
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
201
205
|
query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
|
206
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
207
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
202
208
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
203
209
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
204
210
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -207,8 +213,8 @@ module PulpDebClient
|
|
207
213
|
query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
|
208
214
|
query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
|
209
215
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
210
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
211
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
216
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
217
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
212
218
|
|
213
219
|
# header parameters
|
214
220
|
header_params = opts[:header_params] || {}
|
@@ -247,8 +253,8 @@ module PulpDebClient
|
|
247
253
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
248
254
|
# @param deb_installer_package_href [String]
|
249
255
|
# @param [Hash] opts the optional parameters
|
250
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
251
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
256
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
257
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
252
258
|
# @return [DebBasePackageResponse]
|
253
259
|
def read(deb_installer_package_href, opts = {})
|
254
260
|
data, _status_code, _headers = read_with_http_info(deb_installer_package_href, opts)
|
@@ -259,8 +265,8 @@ module PulpDebClient
|
|
259
265
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
260
266
|
# @param deb_installer_package_href [String]
|
261
267
|
# @param [Hash] opts the optional parameters
|
262
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
263
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
268
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
269
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
264
270
|
# @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
|
265
271
|
def read_with_http_info(deb_installer_package_href, opts = {})
|
266
272
|
if @api_client.config.debugging
|
@@ -275,8 +281,8 @@ module PulpDebClient
|
|
275
281
|
|
276
282
|
# query parameters
|
277
283
|
query_params = opts[:query_params] || {}
|
278
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
279
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
284
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
285
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
280
286
|
|
281
287
|
# header parameters
|
282
288
|
header_params = opts[:header_params] || {}
|
@@ -90,14 +90,16 @@ module PulpDebClient
|
|
90
90
|
# @option opts [String] :component Filter results where component matches value
|
91
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
93
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
96
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
95
97
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
97
99
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
98
100
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
99
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
100
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
103
|
# @return [PaginateddebPackageIndexResponseList]
|
102
104
|
def list(opts = {})
|
103
105
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -111,20 +113,22 @@ module PulpDebClient
|
|
111
113
|
# @option opts [String] :component Filter results where component matches value
|
112
114
|
# @option opts [Integer] :limit Number of results to return per page.
|
113
115
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
114
|
-
# @option opts [Array<String>] :ordering Ordering
|
116
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
115
119
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
116
120
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
117
121
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
118
122
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
119
123
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
120
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
121
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
124
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
122
126
|
# @return [Array<(PaginateddebPackageIndexResponseList, Integer, Hash)>] PaginateddebPackageIndexResponseList data, response status code and response headers
|
123
127
|
def list_with_http_info(opts = {})
|
124
128
|
if @api_client.config.debugging
|
125
129
|
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.list ...'
|
126
130
|
end
|
127
|
-
allowable_values = ["-
|
131
|
+
allowable_values = ["-architecture", "-artifact_set_sha256", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "artifact_set_sha256", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
128
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
129
133
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
130
134
|
end
|
@@ -138,13 +142,15 @@ module PulpDebClient
|
|
138
142
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
139
143
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
140
144
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
145
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
146
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
141
147
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
142
148
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
143
149
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
144
150
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
145
151
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
146
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
147
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
152
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
153
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
148
154
|
|
149
155
|
# header parameters
|
150
156
|
header_params = opts[:header_params] || {}
|
@@ -183,8 +189,8 @@ module PulpDebClient
|
|
183
189
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
184
190
|
# @param deb_package_index_href [String]
|
185
191
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
194
|
# @return [DebPackageIndexResponse]
|
189
195
|
def read(deb_package_index_href, opts = {})
|
190
196
|
data, _status_code, _headers = read_with_http_info(deb_package_index_href, opts)
|
@@ -195,8 +201,8 @@ module PulpDebClient
|
|
195
201
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
196
202
|
# @param deb_package_index_href [String]
|
197
203
|
# @param [Hash] opts the optional parameters
|
198
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
199
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
204
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
205
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
200
206
|
# @return [Array<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
|
201
207
|
def read_with_http_info(deb_package_index_href, opts = {})
|
202
208
|
if @api_client.config.debugging
|
@@ -211,8 +217,8 @@ module PulpDebClient
|
|
211
217
|
|
212
218
|
# query parameters
|
213
219
|
query_params = opts[:query_params] || {}
|
214
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
215
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
220
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
216
222
|
|
217
223
|
# header parameters
|
218
224
|
header_params = opts[:header_params] || {}
|
@@ -88,14 +88,16 @@ module PulpDebClient
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @option opts [Array<String>] :ordering Ordering
|
91
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
92
|
# @option opts [String] :package Filter results where package matches value
|
93
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
93
95
|
# @option opts [String] :release_component Filter results where release_component matches value
|
94
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
98
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
99
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
101
|
# @return [PaginateddebPackageReleaseComponentResponseList]
|
100
102
|
def list(opts = {})
|
101
103
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -107,20 +109,22 @@ module PulpDebClient
|
|
107
109
|
# @param [Hash] opts the optional parameters
|
108
110
|
# @option opts [Integer] :limit Number of results to return per page.
|
109
111
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
112
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
111
113
|
# @option opts [String] :package Filter results where package matches value
|
114
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
112
116
|
# @option opts [String] :release_component Filter results where release_component matches value
|
113
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
119
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
116
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
120
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
121
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
122
|
# @return [Array<(PaginateddebPackageReleaseComponentResponseList, Integer, Hash)>] PaginateddebPackageReleaseComponentResponseList data, response status code and response headers
|
119
123
|
def list_with_http_info(opts = {})
|
120
124
|
if @api_client.config.debugging
|
121
125
|
@api_client.config.logger.debug 'Calling API: ContentPackageReleaseComponentsApi.list ...'
|
122
126
|
end
|
123
|
-
allowable_values = ["-
|
127
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
124
128
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
125
129
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
126
130
|
end
|
@@ -133,12 +137,14 @@ module PulpDebClient
|
|
133
137
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
134
138
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
135
139
|
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
140
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
141
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
136
142
|
query_params[:'release_component'] = opts[:'release_component'] if !opts[:'release_component'].nil?
|
137
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
140
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
141
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
147
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
142
148
|
|
143
149
|
# header parameters
|
144
150
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +183,8 @@ module PulpDebClient
|
|
177
183
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
178
184
|
# @param deb_package_release_component_href [String]
|
179
185
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
181
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
188
|
# @return [DebPackageReleaseComponentResponse]
|
183
189
|
def read(deb_package_release_component_href, opts = {})
|
184
190
|
data, _status_code, _headers = read_with_http_info(deb_package_release_component_href, opts)
|
@@ -189,8 +195,8 @@ module PulpDebClient
|
|
189
195
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
190
196
|
# @param deb_package_release_component_href [String]
|
191
197
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
199
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
200
|
# @return [Array<(DebPackageReleaseComponentResponse, Integer, Hash)>] DebPackageReleaseComponentResponse data, response status code and response headers
|
195
201
|
def read_with_http_info(deb_package_release_component_href, opts = {})
|
196
202
|
if @api_client.config.debugging
|
@@ -205,8 +211,8 @@ module PulpDebClient
|
|
205
211
|
|
206
212
|
# query parameters
|
207
213
|
query_params = opts[:query_params] || {}
|
208
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
209
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
214
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
215
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
216
|
|
211
217
|
# header parameters
|
212
218
|
header_params = opts[:header_params] || {}
|
@@ -101,19 +101,21 @@ module PulpDebClient
|
|
101
101
|
# @param [Hash] opts the optional parameters
|
102
102
|
# @option opts [String] :architecture Filter results where architecture matches value
|
103
103
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
104
|
-
# @option opts [Boolean] :build_essential Filter results where build_essential matches value
|
104
|
+
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
105
105
|
# @option opts [String] :built_using Filter results where built_using matches value
|
106
|
-
# @option opts [Boolean] :essential Filter results where essential matches value
|
106
|
+
# @option opts [Boolean] :essential Filter results where essential matches value * `True` - yes * `False` - no
|
107
107
|
# @option opts [Integer] :installed_size Filter results where installed_size matches value
|
108
108
|
# @option opts [Integer] :limit Number of results to return per page.
|
109
109
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
110
|
-
# @option opts [String] :multi_arch Filter results where multi_arch matches value
|
110
|
+
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
111
111
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
112
|
-
# @option opts [Array<String>] :ordering Ordering
|
112
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
113
113
|
# @option opts [String] :origin Filter results where origin matches value
|
114
114
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
115
115
|
# @option opts [String] :package Filter results where package matches value
|
116
116
|
# @option opts [String] :priority Filter results where priority matches value
|
117
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
117
119
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
118
120
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
119
121
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -123,8 +125,8 @@ module PulpDebClient
|
|
123
125
|
# @option opts [String] :source Filter results where source matches value
|
124
126
|
# @option opts [String] :tag Filter results where tag matches value
|
125
127
|
# @option opts [String] :version Filter results where version matches value
|
126
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
127
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
128
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
128
130
|
# @return [PaginateddebBasePackageResponseList]
|
129
131
|
def list(opts = {})
|
130
132
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -136,19 +138,21 @@ module PulpDebClient
|
|
136
138
|
# @param [Hash] opts the optional parameters
|
137
139
|
# @option opts [String] :architecture Filter results where architecture matches value
|
138
140
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
139
|
-
# @option opts [Boolean] :build_essential Filter results where build_essential matches value
|
141
|
+
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
140
142
|
# @option opts [String] :built_using Filter results where built_using matches value
|
141
|
-
# @option opts [Boolean] :essential Filter results where essential matches value
|
143
|
+
# @option opts [Boolean] :essential Filter results where essential matches value * `True` - yes * `False` - no
|
142
144
|
# @option opts [Integer] :installed_size Filter results where installed_size matches value
|
143
145
|
# @option opts [Integer] :limit Number of results to return per page.
|
144
146
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
145
|
-
# @option opts [String] :multi_arch Filter results where multi_arch matches value
|
147
|
+
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
146
148
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
147
|
-
# @option opts [Array<String>] :ordering Ordering
|
149
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
148
150
|
# @option opts [String] :origin Filter results where origin matches value
|
149
151
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
150
152
|
# @option opts [String] :package Filter results where package matches value
|
151
153
|
# @option opts [String] :priority Filter results where priority matches value
|
154
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
155
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
152
156
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
153
157
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
154
158
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -158,8 +162,8 @@ module PulpDebClient
|
|
158
162
|
# @option opts [String] :source Filter results where source matches value
|
159
163
|
# @option opts [String] :tag Filter results where tag matches value
|
160
164
|
# @option opts [String] :version Filter results where version matches value
|
161
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
162
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
167
|
# @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
|
164
168
|
def list_with_http_info(opts = {})
|
165
169
|
if @api_client.config.debugging
|
@@ -177,7 +181,7 @@ module PulpDebClient
|
|
177
181
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
178
182
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
179
183
|
end
|
180
|
-
allowable_values = ["-
|
184
|
+
allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
181
185
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
182
186
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
183
187
|
end
|
@@ -201,6 +205,8 @@ module PulpDebClient
|
|
201
205
|
query_params[:'original_maintainer'] = opts[:'original_maintainer'] if !opts[:'original_maintainer'].nil?
|
202
206
|
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
203
207
|
query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
|
208
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
209
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
204
210
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
205
211
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
206
212
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -210,8 +216,8 @@ module PulpDebClient
|
|
210
216
|
query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
|
211
217
|
query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
|
212
218
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
213
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
214
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
219
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
220
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
215
221
|
|
216
222
|
# header parameters
|
217
223
|
header_params = opts[:header_params] || {}
|
@@ -250,8 +256,8 @@ module PulpDebClient
|
|
250
256
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
251
257
|
# @param deb_package_href [String]
|
252
258
|
# @param [Hash] opts the optional parameters
|
253
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
254
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
259
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
260
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
255
261
|
# @return [DebBasePackageResponse]
|
256
262
|
def read(deb_package_href, opts = {})
|
257
263
|
data, _status_code, _headers = read_with_http_info(deb_package_href, opts)
|
@@ -262,8 +268,8 @@ module PulpDebClient
|
|
262
268
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
263
269
|
# @param deb_package_href [String]
|
264
270
|
# @param [Hash] opts the optional parameters
|
265
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
266
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
271
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
272
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
267
273
|
# @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
|
268
274
|
def read_with_http_info(deb_package_href, opts = {})
|
269
275
|
if @api_client.config.debugging
|
@@ -278,8 +284,8 @@ module PulpDebClient
|
|
278
284
|
|
279
285
|
# query parameters
|
280
286
|
query_params = opts[:query_params] || {}
|
281
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
282
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
287
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
288
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
283
289
|
|
284
290
|
# header parameters
|
285
291
|
header_params = opts[:header_params] || {}
|