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
@@ -149,7 +149,7 @@ module PulpDebClient
|
|
149
149
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -157,14 +157,14 @@ module PulpDebClient
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
166
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
167
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
168
|
# @return [PaginateddebAptRemoteResponseList]
|
169
169
|
def list(opts = {})
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,7 +175,7 @@ module PulpDebClient
|
|
175
175
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name Filter results where name matches value
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -183,20 +183,20 @@ module PulpDebClient
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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<(PaginateddebAptRemoteResponseList, Integer, Hash)>] PaginateddebAptRemoteResponseList data, response status code and response headers
|
195
195
|
def list_with_http_info(opts = {})
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesAptApi.list ...'
|
198
198
|
end
|
199
|
-
allowable_values = ["-
|
199
|
+
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
202
|
end
|
@@ -220,8 +220,8 @@ module PulpDebClient
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
223
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
223
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
224
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
225
|
|
226
226
|
# header parameters
|
227
227
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +330,8 @@ module PulpDebClient
|
|
330
330
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
331
331
|
# @param deb_apt_remote_href [String]
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
334
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
333
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
335
|
# @return [DebAptRemoteResponse]
|
336
336
|
def read(deb_apt_remote_href, opts = {})
|
337
337
|
data, _status_code, _headers = read_with_http_info(deb_apt_remote_href, opts)
|
@@ -342,8 +342,8 @@ module PulpDebClient
|
|
342
342
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
343
343
|
# @param deb_apt_remote_href [String]
|
344
344
|
# @param [Hash] opts the optional parameters
|
345
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
346
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
345
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
346
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
347
|
# @return [Array<(DebAptRemoteResponse, Integer, Hash)>] DebAptRemoteResponse data, response status code and response headers
|
348
348
|
def read_with_http_info(deb_apt_remote_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
@@ -358,8 +358,8 @@ module PulpDebClient
|
|
358
358
|
|
359
359
|
# query parameters
|
360
360
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
361
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
362
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
363
363
|
|
364
364
|
# header parameters
|
365
365
|
header_params = opts[:header_params] || {}
|
@@ -149,7 +149,7 @@ module PulpDebClient
|
|
149
149
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -158,8 +158,16 @@ module PulpDebClient
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
161
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
162
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
163
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
164
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
165
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
166
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
167
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
168
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
169
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
170
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
171
|
# @return [PaginateddebAptRepositoryResponseList]
|
164
172
|
def list(opts = {})
|
165
173
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -170,7 +178,7 @@ module PulpDebClient
|
|
170
178
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
171
179
|
# @param [Hash] opts the optional parameters
|
172
180
|
# @option opts [Integer] :limit Number of results to return per page.
|
173
|
-
# @option opts [String] :name
|
181
|
+
# @option opts [String] :name Filter results where name matches value
|
174
182
|
# @option opts [String] :name__contains Filter results where name contains value
|
175
183
|
# @option opts [String] :name__icontains Filter results where name contains value
|
176
184
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -179,14 +187,22 @@ module PulpDebClient
|
|
179
187
|
# @option opts [Array<String>] :ordering Ordering
|
180
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
189
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
182
|
-
# @option opts [
|
183
|
-
# @option opts [
|
190
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
191
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
192
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
193
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
194
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
195
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
196
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
197
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
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.
|
184
200
|
# @return [Array<(PaginateddebAptRepositoryResponseList, Integer, Hash)>] PaginateddebAptRepositoryResponseList data, response status code and response headers
|
185
201
|
def list_with_http_info(opts = {})
|
186
202
|
if @api_client.config.debugging
|
187
203
|
@api_client.config.logger.debug 'Calling API: RepositoriesAptApi.list ...'
|
188
204
|
end
|
189
|
-
allowable_values = ["-
|
205
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
190
206
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
191
207
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
192
208
|
end
|
@@ -205,8 +221,16 @@ module PulpDebClient
|
|
205
221
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
206
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
223
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
208
|
-
query_params[:'
|
209
|
-
query_params[:'
|
224
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
225
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
226
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
227
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
228
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
229
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
230
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
231
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
232
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
233
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
234
|
|
211
235
|
# header parameters
|
212
236
|
header_params = opts[:header_params] || {}
|
@@ -385,8 +409,8 @@ module PulpDebClient
|
|
385
409
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
386
410
|
# @param deb_apt_repository_href [String]
|
387
411
|
# @param [Hash] opts the optional parameters
|
388
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
389
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
412
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
413
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
390
414
|
# @return [DebAptRepositoryResponse]
|
391
415
|
def read(deb_apt_repository_href, opts = {})
|
392
416
|
data, _status_code, _headers = read_with_http_info(deb_apt_repository_href, opts)
|
@@ -397,8 +421,8 @@ module PulpDebClient
|
|
397
421
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
398
422
|
# @param deb_apt_repository_href [String]
|
399
423
|
# @param [Hash] opts the optional parameters
|
400
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
401
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
424
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
425
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
402
426
|
# @return [Array<(DebAptRepositoryResponse, Integer, Hash)>] DebAptRepositoryResponse data, response status code and response headers
|
403
427
|
def read_with_http_info(deb_apt_repository_href, opts = {})
|
404
428
|
if @api_client.config.debugging
|
@@ -413,8 +437,8 @@ module PulpDebClient
|
|
413
437
|
|
414
438
|
# query parameters
|
415
439
|
query_params = opts[:query_params] || {}
|
416
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
417
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
440
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
441
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
418
442
|
|
419
443
|
# header parameters
|
420
444
|
header_params = opts[:header_params] || {}
|
@@ -88,7 +88,7 @@ module PulpDebClient
|
|
88
88
|
# @option opts [String] :content Content Unit referenced by HREF
|
89
89
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
|
-
# @option opts [Integer] :number
|
91
|
+
# @option opts [Integer] :number Filter results where number matches value
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
93
93
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
94
94
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -96,14 +96,14 @@ module PulpDebClient
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [Array<String>] :ordering Ordering
|
99
|
-
# @option opts [DateTime] :pulp_created
|
99
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
108
108
|
def list(deb_apt_repository_href, opts = {})
|
109
109
|
data, _status_code, _headers = list_with_http_info(deb_apt_repository_href, opts)
|
@@ -117,7 +117,7 @@ module PulpDebClient
|
|
117
117
|
# @option opts [String] :content Content Unit referenced by HREF
|
118
118
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [Integer] :number
|
120
|
+
# @option opts [Integer] :number Filter results where number matches value
|
121
121
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
122
122
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
123
123
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -125,14 +125,14 @@ module PulpDebClient
|
|
125
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [Array<String>] :ordering Ordering
|
128
|
-
# @option opts [DateTime] :pulp_created
|
128
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
129
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(deb_apt_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
@@ -142,7 +142,7 @@ module PulpDebClient
|
|
142
142
|
if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
|
144
144
|
end
|
145
|
-
allowable_values = ["-
|
145
|
+
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
146
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
148
|
end
|
@@ -168,8 +168,8 @@ module PulpDebClient
|
|
168
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
171
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
172
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
171
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
172
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
173
173
|
|
174
174
|
# header parameters
|
175
175
|
header_params = opts[:header_params] || {}
|
@@ -208,8 +208,8 @@ module PulpDebClient
|
|
208
208
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
209
209
|
# @param deb_apt_repository_version_href [String]
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
212
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
211
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
212
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
213
213
|
# @return [RepositoryVersionResponse]
|
214
214
|
def read(deb_apt_repository_version_href, opts = {})
|
215
215
|
data, _status_code, _headers = read_with_http_info(deb_apt_repository_version_href, opts)
|
@@ -220,8 +220,8 @@ module PulpDebClient
|
|
220
220
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
221
221
|
# @param deb_apt_repository_version_href [String]
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
224
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
223
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
224
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
225
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
226
226
|
def read_with_http_info(deb_apt_repository_version_href, opts = {})
|
227
227
|
if @api_client.config.debugging
|
@@ -236,8 +236,8 @@ module PulpDebClient
|
|
236
236
|
|
237
237
|
# query parameters
|
238
238
|
query_params = opts[:query_params] || {}
|
239
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
240
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
239
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
240
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
241
241
|
|
242
242
|
# header parameters
|
243
243
|
header_params = opts[:header_params] || {}
|
@@ -49,7 +49,7 @@ module PulpDebClient
|
|
49
49
|
{
|
50
50
|
:'base_path' => :'String',
|
51
51
|
:'content_guard' => :'String',
|
52
|
-
:'pulp_labels' => :'
|
52
|
+
:'pulp_labels' => :'Hash<String, String>',
|
53
53
|
:'name' => :'String',
|
54
54
|
:'repository' => :'String',
|
55
55
|
:'publication' => :'String'
|
@@ -89,7 +89,9 @@ module PulpDebClient
|
|
89
89
|
end
|
90
90
|
|
91
91
|
if attributes.key?(:'pulp_labels')
|
92
|
-
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
93
95
|
end
|
94
96
|
|
95
97
|
if attributes.key?(:'name')
|
@@ -63,7 +63,7 @@ module PulpDebClient
|
|
63
63
|
:'base_path' => :'String',
|
64
64
|
:'base_url' => :'String',
|
65
65
|
:'content_guard' => :'String',
|
66
|
-
:'pulp_labels' => :'
|
66
|
+
:'pulp_labels' => :'Hash<String, String>',
|
67
67
|
:'name' => :'String',
|
68
68
|
:'repository' => :'String',
|
69
69
|
:'publication' => :'String'
|
@@ -115,7 +115,9 @@ module PulpDebClient
|
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'pulp_labels')
|
118
|
-
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
|
+
self.pulp_labels = value
|
120
|
+
end
|
119
121
|
end
|
120
122
|
|
121
123
|
if attributes.key?(:'name')
|
@@ -150,7 +150,7 @@ module PulpDebClient
|
|
150
150
|
:'proxy_password' => :'String',
|
151
151
|
:'username' => :'String',
|
152
152
|
:'password' => :'String',
|
153
|
-
:'pulp_labels' => :'
|
153
|
+
:'pulp_labels' => :'Hash<String, String>',
|
154
154
|
:'download_concurrency' => :'Integer',
|
155
155
|
:'max_retries' => :'Integer',
|
156
156
|
:'policy' => :'PolicyEnum',
|
@@ -255,7 +255,9 @@ module PulpDebClient
|
|
255
255
|
end
|
256
256
|
|
257
257
|
if attributes.key?(:'pulp_labels')
|
258
|
-
|
258
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
259
|
+
self.pulp_labels = value
|
260
|
+
end
|
259
261
|
end
|
260
262
|
|
261
263
|
if attributes.key?(:'download_concurrency')
|
@@ -70,6 +70,9 @@ module PulpDebClient
|
|
70
70
|
# Limits requests per second for each concurrent downloader
|
71
71
|
attr_accessor :rate_limit
|
72
72
|
|
73
|
+
# List of hidden (write only) fields
|
74
|
+
attr_accessor :hidden_fields
|
75
|
+
|
73
76
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
74
77
|
attr_accessor :distributions
|
75
78
|
|
@@ -116,6 +119,7 @@ module PulpDebClient
|
|
116
119
|
:'sock_read_timeout' => :'sock_read_timeout',
|
117
120
|
:'headers' => :'headers',
|
118
121
|
:'rate_limit' => :'rate_limit',
|
122
|
+
:'hidden_fields' => :'hidden_fields',
|
119
123
|
:'distributions' => :'distributions',
|
120
124
|
:'components' => :'components',
|
121
125
|
:'architectures' => :'architectures',
|
@@ -138,7 +142,7 @@ module PulpDebClient
|
|
138
142
|
:'client_cert' => :'String',
|
139
143
|
:'tls_validation' => :'Boolean',
|
140
144
|
:'proxy_url' => :'String',
|
141
|
-
:'pulp_labels' => :'
|
145
|
+
:'pulp_labels' => :'Hash<String, String>',
|
142
146
|
:'pulp_last_updated' => :'DateTime',
|
143
147
|
:'download_concurrency' => :'Integer',
|
144
148
|
:'max_retries' => :'Integer',
|
@@ -149,6 +153,7 @@ module PulpDebClient
|
|
149
153
|
:'sock_read_timeout' => :'Float',
|
150
154
|
:'headers' => :'Array<Object>',
|
151
155
|
:'rate_limit' => :'Integer',
|
156
|
+
:'hidden_fields' => :'Array<DebAptRemoteResponseHiddenFields>',
|
152
157
|
:'distributions' => :'String',
|
153
158
|
:'components' => :'String',
|
154
159
|
:'architectures' => :'String',
|
@@ -227,7 +232,9 @@ module PulpDebClient
|
|
227
232
|
end
|
228
233
|
|
229
234
|
if attributes.key?(:'pulp_labels')
|
230
|
-
|
235
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
236
|
+
self.pulp_labels = value
|
237
|
+
end
|
231
238
|
end
|
232
239
|
|
233
240
|
if attributes.key?(:'pulp_last_updated')
|
@@ -272,6 +279,12 @@ module PulpDebClient
|
|
272
279
|
self.rate_limit = attributes[:'rate_limit']
|
273
280
|
end
|
274
281
|
|
282
|
+
if attributes.key?(:'hidden_fields')
|
283
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
284
|
+
self.hidden_fields = value
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
275
288
|
if attributes.key?(:'distributions')
|
276
289
|
self.distributions = attributes[:'distributions']
|
277
290
|
end
|
@@ -432,6 +445,7 @@ module PulpDebClient
|
|
432
445
|
sock_read_timeout == o.sock_read_timeout &&
|
433
446
|
headers == o.headers &&
|
434
447
|
rate_limit == o.rate_limit &&
|
448
|
+
hidden_fields == o.hidden_fields &&
|
435
449
|
distributions == o.distributions &&
|
436
450
|
components == o.components &&
|
437
451
|
architectures == o.architectures &&
|
@@ -451,7 +465,7 @@ module PulpDebClient
|
|
451
465
|
# Calculates hash code according to all attributes.
|
452
466
|
# @return [Integer] Hash code
|
453
467
|
def hash
|
454
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
468
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
455
469
|
end
|
456
470
|
|
457
471
|
# Builds the object from hash
|