pulp_deb_client 2.20.1 → 2.20.2
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 +8 -8
- data/docs/ContentInstallerFileIndicesApi.md +8 -8
- data/docs/ContentInstallerPackagesApi.md +8 -8
- data/docs/ContentPackageIndicesApi.md +8 -8
- data/docs/ContentPackageReleaseComponentsApi.md +10 -10
- data/docs/ContentPackagesApi.md +8 -8
- data/docs/ContentReleaseArchitecturesApi.md +9 -9
- data/docs/ContentReleaseComponentsApi.md +9 -9
- data/docs/ContentReleaseFilesApi.md +8 -8
- data/docs/ContentReleasesApi.md +8 -8
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +1 -1
- data/docs/DebAptRemoteResponse.md +3 -1
- 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 +16 -12
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +1 -1
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +10 -10
- data/docs/PublicationsVerbatimApi.md +10 -10
- data/docs/RemotesAptApi.md +12 -12
- data/docs/RepositoriesAptApi.md +27 -11
- data/docs/RepositoriesAptVersionsApi.md +12 -12
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_packages_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_release_components_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_release_files_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_releases_api.rb +13 -13
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -15
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -15
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +17 -17
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +39 -15
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +17 -17
- 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 +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +17 -3
- 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 +4 -2
- 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 +4 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
- data/spec/api/content_installer_packages_api_spec.rb +4 -4
- data/spec/api/content_package_indices_api_spec.rb +4 -4
- data/spec/api/content_package_release_components_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_release_architectures_api_spec.rb +4 -4
- data/spec/api/content_release_components_api_spec.rb +4 -4
- data/spec/api/content_release_files_api_spec.rb +4 -4
- data/spec/api/content_releases_api_spec.rb +4 -4
- data/spec/api/distributions_apt_api_spec.rb +8 -6
- data/spec/api/publications_apt_api_spec.rb +5 -5
- data/spec/api/publications_verbatim_api_spec.rb +5 -5
- data/spec/api/remotes_apt_api_spec.rb +6 -6
- data/spec/api/repositories_apt_api_spec.rb +13 -5
- data/spec/api/repositories_apt_versions_api_spec.rb +6 -6
- 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 +54 -50
@@ -111,8 +111,8 @@ module PulpDebClient
|
|
111
111
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
112
112
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
113
113
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
114
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
115
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
115
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
116
|
# @return [PaginateddebGenericContentResponseList]
|
117
117
|
def list(opts = {})
|
118
118
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -130,14 +130,14 @@ module PulpDebClient
|
|
130
130
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
131
131
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
132
132
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
133
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
134
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
133
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
134
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
135
135
|
# @return [Array<(PaginateddebGenericContentResponseList, Integer, Hash)>] PaginateddebGenericContentResponseList data, response status code and response headers
|
136
136
|
def list_with_http_info(opts = {})
|
137
137
|
if @api_client.config.debugging
|
138
138
|
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.list ...'
|
139
139
|
end
|
140
|
-
allowable_values = ["-
|
140
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
141
141
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
142
142
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
143
143
|
end
|
@@ -154,8 +154,8 @@ module PulpDebClient
|
|
154
154
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
155
155
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
156
156
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
157
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
158
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
157
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
158
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
159
159
|
|
160
160
|
# header parameters
|
161
161
|
header_params = opts[:header_params] || {}
|
@@ -194,8 +194,8 @@ module PulpDebClient
|
|
194
194
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
195
195
|
# @param deb_generic_content_href [String]
|
196
196
|
# @param [Hash] opts the optional parameters
|
197
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
198
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
197
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
198
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
199
|
# @return [DebGenericContentResponse]
|
200
200
|
def read(deb_generic_content_href, opts = {})
|
201
201
|
data, _status_code, _headers = read_with_http_info(deb_generic_content_href, opts)
|
@@ -206,8 +206,8 @@ module PulpDebClient
|
|
206
206
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
207
207
|
# @param deb_generic_content_href [String]
|
208
208
|
# @param [Hash] opts the optional parameters
|
209
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
210
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
211
|
# @return [Array<(DebGenericContentResponse, Integer, Hash)>] DebGenericContentResponse data, response status code and response headers
|
212
212
|
def read_with_http_info(deb_generic_content_href, opts = {})
|
213
213
|
if @api_client.config.debugging
|
@@ -222,8 +222,8 @@ module PulpDebClient
|
|
222
222
|
|
223
223
|
# query parameters
|
224
224
|
query_params = opts[:query_params] || {}
|
225
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
226
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
225
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
226
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
227
227
|
|
228
228
|
# header parameters
|
229
229
|
header_params = opts[:header_params] || {}
|
@@ -96,8 +96,8 @@ module PulpDebClient
|
|
96
96
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
97
97
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
98
98
|
# @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.
|
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.
|
101
101
|
# @return [PaginateddebInstallerFileIndexResponseList]
|
102
102
|
def list(opts = {})
|
103
103
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -117,14 +117,14 @@ module PulpDebClient
|
|
117
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
118
118
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
119
119
|
# @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.
|
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.
|
122
122
|
# @return [Array<(PaginateddebInstallerFileIndexResponseList, Integer, Hash)>] PaginateddebInstallerFileIndexResponseList data, response status code and response headers
|
123
123
|
def list_with_http_info(opts = {})
|
124
124
|
if @api_client.config.debugging
|
125
125
|
@api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.list ...'
|
126
126
|
end
|
127
|
-
allowable_values = ["-
|
127
|
+
allowable_values = ["-architecture", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
128
128
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
129
129
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
130
130
|
end
|
@@ -143,8 +143,8 @@ module PulpDebClient
|
|
143
143
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
144
144
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
145
145
|
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?
|
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?
|
148
148
|
|
149
149
|
# header parameters
|
150
150
|
header_params = opts[:header_params] || {}
|
@@ -183,8 +183,8 @@ module PulpDebClient
|
|
183
183
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
184
184
|
# @param deb_installer_file_index_href [String]
|
185
185
|
# @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.
|
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.
|
188
188
|
# @return [DebInstallerFileIndexResponse]
|
189
189
|
def read(deb_installer_file_index_href, opts = {})
|
190
190
|
data, _status_code, _headers = read_with_http_info(deb_installer_file_index_href, opts)
|
@@ -195,8 +195,8 @@ module PulpDebClient
|
|
195
195
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
196
196
|
# @param deb_installer_file_index_href [String]
|
197
197
|
# @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.
|
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.
|
200
200
|
# @return [Array<(DebInstallerFileIndexResponse, Integer, Hash)>] DebInstallerFileIndexResponse data, response status code and response headers
|
201
201
|
def read_with_http_info(deb_installer_file_index_href, opts = {})
|
202
202
|
if @api_client.config.debugging
|
@@ -211,8 +211,8 @@ module PulpDebClient
|
|
211
211
|
|
212
212
|
# query parameters
|
213
213
|
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?
|
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?
|
216
216
|
|
217
217
|
# header parameters
|
218
218
|
header_params = opts[:header_params] || {}
|
@@ -122,8 +122,8 @@ module PulpDebClient
|
|
122
122
|
# @option opts [String] :source Filter results where source matches value
|
123
123
|
# @option opts [String] :tag Filter results where tag matches value
|
124
124
|
# @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.
|
125
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
126
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
127
127
|
# @return [PaginateddebBasePackageResponseList]
|
128
128
|
def list(opts = {})
|
129
129
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -156,8 +156,8 @@ module PulpDebClient
|
|
156
156
|
# @option opts [String] :source Filter results where source matches value
|
157
157
|
# @option opts [String] :tag Filter results where tag matches value
|
158
158
|
# @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.
|
159
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
160
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
161
161
|
# @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
|
162
162
|
def list_with_http_info(opts = {})
|
163
163
|
if @api_client.config.debugging
|
@@ -175,7 +175,7 @@ module PulpDebClient
|
|
175
175
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
176
176
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
177
177
|
end
|
178
|
-
allowable_values = ["-
|
178
|
+
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
179
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
180
180
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
181
181
|
end
|
@@ -207,8 +207,8 @@ module PulpDebClient
|
|
207
207
|
query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
|
208
208
|
query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
|
209
209
|
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?
|
210
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
211
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
212
212
|
|
213
213
|
# header parameters
|
214
214
|
header_params = opts[:header_params] || {}
|
@@ -247,8 +247,8 @@ module PulpDebClient
|
|
247
247
|
# 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
248
|
# @param deb_installer_package_href [String]
|
249
249
|
# @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.
|
250
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
251
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
252
252
|
# @return [DebBasePackageResponse]
|
253
253
|
def read(deb_installer_package_href, opts = {})
|
254
254
|
data, _status_code, _headers = read_with_http_info(deb_installer_package_href, opts)
|
@@ -259,8 +259,8 @@ module PulpDebClient
|
|
259
259
|
# 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
260
|
# @param deb_installer_package_href [String]
|
261
261
|
# @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.
|
262
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
263
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
264
264
|
# @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
|
265
265
|
def read_with_http_info(deb_installer_package_href, opts = {})
|
266
266
|
if @api_client.config.debugging
|
@@ -275,8 +275,8 @@ module PulpDebClient
|
|
275
275
|
|
276
276
|
# query parameters
|
277
277
|
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?
|
278
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
279
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
280
280
|
|
281
281
|
# header parameters
|
282
282
|
header_params = opts[:header_params] || {}
|
@@ -96,8 +96,8 @@ module PulpDebClient
|
|
96
96
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
97
97
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
98
98
|
# @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.
|
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.
|
101
101
|
# @return [PaginateddebPackageIndexResponseList]
|
102
102
|
def list(opts = {})
|
103
103
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -117,14 +117,14 @@ module PulpDebClient
|
|
117
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
118
118
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
119
119
|
# @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.
|
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.
|
122
122
|
# @return [Array<(PaginateddebPackageIndexResponseList, Integer, Hash)>] PaginateddebPackageIndexResponseList data, response status code and response headers
|
123
123
|
def list_with_http_info(opts = {})
|
124
124
|
if @api_client.config.debugging
|
125
125
|
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.list ...'
|
126
126
|
end
|
127
|
-
allowable_values = ["-
|
127
|
+
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
128
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
129
129
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
130
130
|
end
|
@@ -143,8 +143,8 @@ module PulpDebClient
|
|
143
143
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
144
144
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
145
145
|
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?
|
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?
|
148
148
|
|
149
149
|
# header parameters
|
150
150
|
header_params = opts[:header_params] || {}
|
@@ -183,8 +183,8 @@ module PulpDebClient
|
|
183
183
|
# 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
184
|
# @param deb_package_index_href [String]
|
185
185
|
# @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.
|
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.
|
188
188
|
# @return [DebPackageIndexResponse]
|
189
189
|
def read(deb_package_index_href, opts = {})
|
190
190
|
data, _status_code, _headers = read_with_http_info(deb_package_index_href, opts)
|
@@ -195,8 +195,8 @@ module PulpDebClient
|
|
195
195
|
# 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
196
|
# @param deb_package_index_href [String]
|
197
197
|
# @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.
|
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.
|
200
200
|
# @return [Array<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
|
201
201
|
def read_with_http_info(deb_package_index_href, opts = {})
|
202
202
|
if @api_client.config.debugging
|
@@ -211,8 +211,8 @@ module PulpDebClient
|
|
211
211
|
|
212
212
|
# query parameters
|
213
213
|
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?
|
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?
|
216
216
|
|
217
217
|
# header parameters
|
218
218
|
header_params = opts[:header_params] || {}
|
@@ -94,8 +94,8 @@ module PulpDebClient
|
|
94
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
96
|
# @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.
|
97
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
99
|
# @return [PaginateddebPackageReleaseComponentResponseList]
|
100
100
|
def list(opts = {})
|
101
101
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -113,14 +113,14 @@ module PulpDebClient
|
|
113
113
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
114
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
115
|
# @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.
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
118
|
# @return [Array<(PaginateddebPackageReleaseComponentResponseList, Integer, Hash)>] PaginateddebPackageReleaseComponentResponseList data, response status code and response headers
|
119
119
|
def list_with_http_info(opts = {})
|
120
120
|
if @api_client.config.debugging
|
121
121
|
@api_client.config.logger.debug 'Calling API: ContentPackageReleaseComponentsApi.list ...'
|
122
122
|
end
|
123
|
-
allowable_values = ["-
|
123
|
+
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
124
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
125
125
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
126
126
|
end
|
@@ -137,8 +137,8 @@ module PulpDebClient
|
|
137
137
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
138
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
139
|
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?
|
140
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
141
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
142
142
|
|
143
143
|
# header parameters
|
144
144
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +177,8 @@ module PulpDebClient
|
|
177
177
|
# 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
178
|
# @param deb_package_release_component_href [String]
|
179
179
|
# @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.
|
180
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [DebPackageReleaseComponentResponse]
|
183
183
|
def read(deb_package_release_component_href, opts = {})
|
184
184
|
data, _status_code, _headers = read_with_http_info(deb_package_release_component_href, opts)
|
@@ -189,8 +189,8 @@ module PulpDebClient
|
|
189
189
|
# 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
190
|
# @param deb_package_release_component_href [String]
|
191
191
|
# @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.
|
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.
|
194
194
|
# @return [Array<(DebPackageReleaseComponentResponse, Integer, Hash)>] DebPackageReleaseComponentResponse data, response status code and response headers
|
195
195
|
def read_with_http_info(deb_package_release_component_href, opts = {})
|
196
196
|
if @api_client.config.debugging
|
@@ -205,8 +205,8 @@ module PulpDebClient
|
|
205
205
|
|
206
206
|
# query parameters
|
207
207
|
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?
|
208
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
209
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
210
|
|
211
211
|
# header parameters
|
212
212
|
header_params = opts[:header_params] || {}
|
@@ -123,8 +123,8 @@ module PulpDebClient
|
|
123
123
|
# @option opts [String] :source Filter results where source matches value
|
124
124
|
# @option opts [String] :tag Filter results where tag matches value
|
125
125
|
# @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.
|
126
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
127
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
128
128
|
# @return [PaginateddebBasePackageResponseList]
|
129
129
|
def list(opts = {})
|
130
130
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -158,8 +158,8 @@ module PulpDebClient
|
|
158
158
|
# @option opts [String] :source Filter results where source matches value
|
159
159
|
# @option opts [String] :tag Filter results where tag matches value
|
160
160
|
# @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.
|
161
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
162
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
163
|
# @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
|
164
164
|
def list_with_http_info(opts = {})
|
165
165
|
if @api_client.config.debugging
|
@@ -177,7 +177,7 @@ module PulpDebClient
|
|
177
177
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
178
178
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
179
179
|
end
|
180
|
-
allowable_values = ["-
|
180
|
+
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
181
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
182
182
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
183
183
|
end
|
@@ -210,8 +210,8 @@ module PulpDebClient
|
|
210
210
|
query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
|
211
211
|
query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
|
212
212
|
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?
|
213
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
214
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
215
215
|
|
216
216
|
# header parameters
|
217
217
|
header_params = opts[:header_params] || {}
|
@@ -250,8 +250,8 @@ module PulpDebClient
|
|
250
250
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
251
251
|
# @param deb_package_href [String]
|
252
252
|
# @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.
|
253
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
254
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
255
255
|
# @return [DebBasePackageResponse]
|
256
256
|
def read(deb_package_href, opts = {})
|
257
257
|
data, _status_code, _headers = read_with_http_info(deb_package_href, opts)
|
@@ -262,8 +262,8 @@ module PulpDebClient
|
|
262
262
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
263
263
|
# @param deb_package_href [String]
|
264
264
|
# @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.
|
265
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
266
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
267
267
|
# @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
|
268
268
|
def read_with_http_info(deb_package_href, opts = {})
|
269
269
|
if @api_client.config.debugging
|
@@ -278,8 +278,8 @@ module PulpDebClient
|
|
278
278
|
|
279
279
|
# query parameters
|
280
280
|
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?
|
281
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
282
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
283
283
|
|
284
284
|
# header parameters
|
285
285
|
header_params = opts[:header_params] || {}
|
@@ -94,8 +94,8 @@ module PulpDebClient
|
|
94
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
96
|
# @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.
|
97
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
99
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
100
100
|
def list(opts = {})
|
101
101
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -113,14 +113,14 @@ module PulpDebClient
|
|
113
113
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
114
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
115
|
# @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.
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
118
|
# @return [Array<(PaginateddebReleaseArchitectureResponseList, Integer, Hash)>] PaginateddebReleaseArchitectureResponseList data, response status code and response headers
|
119
119
|
def list_with_http_info(opts = {})
|
120
120
|
if @api_client.config.debugging
|
121
121
|
@api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
|
122
122
|
end
|
123
|
-
allowable_values = ["-
|
123
|
+
allowable_values = ["-architecture", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
124
124
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
125
125
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
126
126
|
end
|
@@ -137,8 +137,8 @@ module PulpDebClient
|
|
137
137
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
138
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
139
|
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?
|
140
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
141
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
142
142
|
|
143
143
|
# header parameters
|
144
144
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +177,8 @@ module PulpDebClient
|
|
177
177
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
178
178
|
# @param deb_release_architecture_href [String]
|
179
179
|
# @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.
|
180
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [DebReleaseArchitectureResponse]
|
183
183
|
def read(deb_release_architecture_href, opts = {})
|
184
184
|
data, _status_code, _headers = read_with_http_info(deb_release_architecture_href, opts)
|
@@ -189,8 +189,8 @@ module PulpDebClient
|
|
189
189
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
190
190
|
# @param deb_release_architecture_href [String]
|
191
191
|
# @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.
|
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.
|
194
194
|
# @return [Array<(DebReleaseArchitectureResponse, Integer, Hash)>] DebReleaseArchitectureResponse data, response status code and response headers
|
195
195
|
def read_with_http_info(deb_release_architecture_href, opts = {})
|
196
196
|
if @api_client.config.debugging
|
@@ -205,8 +205,8 @@ module PulpDebClient
|
|
205
205
|
|
206
206
|
# query parameters
|
207
207
|
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?
|
208
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
209
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
210
|
|
211
211
|
# header parameters
|
212
212
|
header_params = opts[:header_params] || {}
|