pulp_deb_client 2.20.1 → 2.20.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGenericContentsApi.md +14 -10
  4. data/docs/ContentInstallerFileIndicesApi.md +14 -10
  5. data/docs/ContentInstallerPackagesApi.md +20 -16
  6. data/docs/ContentPackageIndicesApi.md +14 -10
  7. data/docs/ContentPackageReleaseComponentsApi.md +16 -12
  8. data/docs/ContentPackagesApi.md +20 -16
  9. data/docs/ContentReleaseArchitecturesApi.md +15 -11
  10. data/docs/ContentReleaseComponentsApi.md +15 -11
  11. data/docs/ContentReleaseFilesApi.md +14 -10
  12. data/docs/ContentReleasesApi.md +14 -10
  13. data/docs/DebAptDistribution.md +1 -1
  14. data/docs/DebAptDistributionResponse.md +1 -1
  15. data/docs/DebAptRemote.md +2 -2
  16. data/docs/DebAptRemoteResponse.md +4 -2
  17. data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
  18. data/docs/DebAptRepository.md +2 -2
  19. data/docs/DebAptRepositoryResponse.md +2 -2
  20. data/docs/DebInstallerFileIndex.md +0 -2
  21. data/docs/DebInstallerFileIndexResponse.md +0 -2
  22. data/docs/DebPackageIndex.md +0 -2
  23. data/docs/DebPackageIndexResponse.md +0 -2
  24. data/docs/DistributionsAptApi.md +22 -14
  25. data/docs/PatcheddebAptDistribution.md +1 -1
  26. data/docs/PatcheddebAptRemote.md +2 -2
  27. data/docs/PatcheddebAptRepository.md +2 -2
  28. data/docs/PublicationsAptApi.md +16 -12
  29. data/docs/PublicationsVerbatimApi.md +16 -12
  30. data/docs/RemotesAptApi.md +18 -14
  31. data/docs/RepositoriesAptApi.md +33 -13
  32. data/docs/RepositoriesAptVersionsApi.md +16 -14
  33. data/docs/RepositoryAddRemoveContent.md +2 -2
  34. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
  35. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
  36. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
  37. data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
  38. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
  39. data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
  40. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
  41. data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
  42. data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
  43. data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
  44. data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
  45. data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
  46. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
  47. data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
  48. data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
  49. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
  50. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
  51. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
  52. data/lib/pulp_deb_client/models/deb_apt_remote.rb +5 -3
  53. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
  54. data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
  55. data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
  56. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
  57. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
  58. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
  59. data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
  60. data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
  61. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
  62. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +5 -3
  63. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
  64. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
  65. data/lib/pulp_deb_client/version.rb +1 -1
  66. data/lib/pulp_deb_client.rb +1 -0
  67. data/spec/api/content_generic_contents_api_spec.rb +7 -5
  68. data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
  69. data/spec/api/content_installer_packages_api_spec.rb +10 -8
  70. data/spec/api/content_package_indices_api_spec.rb +7 -5
  71. data/spec/api/content_package_release_components_api_spec.rb +7 -5
  72. data/spec/api/content_packages_api_spec.rb +10 -8
  73. data/spec/api/content_release_architectures_api_spec.rb +7 -5
  74. data/spec/api/content_release_components_api_spec.rb +7 -5
  75. data/spec/api/content_release_files_api_spec.rb +7 -5
  76. data/spec/api/content_releases_api_spec.rb +7 -5
  77. data/spec/api/distributions_apt_api_spec.rb +11 -7
  78. data/spec/api/publications_apt_api_spec.rb +8 -6
  79. data/spec/api/publications_verbatim_api_spec.rb +8 -6
  80. data/spec/api/remotes_apt_api_spec.rb +9 -7
  81. data/spec/api/repositories_apt_api_spec.rb +16 -6
  82. data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
  83. data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
  84. data/spec/models/deb_apt_remote_response_spec.rb +6 -0
  85. data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
  86. data/spec/models/deb_installer_file_index_spec.rb +0 -6
  87. data/spec/models/deb_package_index_response_spec.rb +0 -6
  88. data/spec/models/deb_package_index_spec.rb +0 -6
  89. metadata +57 -53
@@ -150,17 +150,19 @@ module PulpDebClient
150
150
  # @option opts [String] :content__in Content Unit referenced by HREF
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
152
  # @option opts [Integer] :offset The initial index from which to return the results.
153
- # @option opts [Array<String>] :ordering Ordering
154
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
153
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
154
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
155
155
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
156
156
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
157
157
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
158
158
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
159
159
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
160
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
161
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
160
162
  # @option opts [String] :repository Repository referenced by HREF
161
163
  # @option opts [String] :repository_version Repository Version referenced by HREF
162
- # @option opts [String] :fields A list of fields to include in the response.
163
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
165
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
164
166
  # @return [PaginateddebAptPublicationResponseList]
165
167
  def list(opts = {})
166
168
  data, _status_code, _headers = list_with_http_info(opts)
@@ -174,23 +176,25 @@ module PulpDebClient
174
176
  # @option opts [String] :content__in Content Unit referenced by HREF
175
177
  # @option opts [Integer] :limit Number of results to return per page.
176
178
  # @option opts [Integer] :offset The initial index from which to return the results.
177
- # @option opts [Array<String>] :ordering Ordering
178
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
179
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
180
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
179
181
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
180
182
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
181
183
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
182
184
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
183
185
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
186
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
187
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
184
188
  # @option opts [String] :repository Repository referenced by HREF
185
189
  # @option opts [String] :repository_version Repository Version referenced by HREF
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.
190
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
191
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
192
  # @return [Array<(PaginateddebAptPublicationResponseList, Integer, Hash)>] PaginateddebAptPublicationResponseList data, response status code and response headers
189
193
  def list_with_http_info(opts = {})
190
194
  if @api_client.config.debugging
191
195
  @api_client.config.logger.debug 'Calling API: PublicationsAptApi.list ...'
192
196
  end
193
- allowable_values = ["-complete", "-deb_aptpublication", "-deb_verbatimpublication", "-distribution", "-group_roles", "-pass_through", "-pk", "-published_artifact", "-published_metadata", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository_version", "-user_roles", "complete", "deb_aptpublication", "deb_verbatimpublication", "distribution", "group_roles", "pass_through", "pk", "published_artifact", "published_metadata", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository_version", "user_roles"]
197
+ allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
194
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
195
199
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
196
200
  end
@@ -210,10 +214,12 @@ module PulpDebClient
210
214
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
211
215
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
212
216
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
217
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
218
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
213
219
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
214
220
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
215
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
216
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
221
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
222
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
217
223
 
218
224
  # header parameters
219
225
  header_params = opts[:header_params] || {}
@@ -252,8 +258,8 @@ module PulpDebClient
252
258
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
253
259
  # @param deb_apt_publication_href [String]
254
260
  # @param [Hash] opts the optional parameters
255
- # @option opts [String] :fields A list of fields to include in the response.
256
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
261
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
262
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
257
263
  # @return [DebAptPublicationResponse]
258
264
  def read(deb_apt_publication_href, opts = {})
259
265
  data, _status_code, _headers = read_with_http_info(deb_apt_publication_href, opts)
@@ -264,8 +270,8 @@ module PulpDebClient
264
270
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
265
271
  # @param deb_apt_publication_href [String]
266
272
  # @param [Hash] opts the optional parameters
267
- # @option opts [String] :fields A list of fields to include in the response.
268
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
273
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
274
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
269
275
  # @return [Array<(DebAptPublicationResponse, Integer, Hash)>] DebAptPublicationResponse data, response status code and response headers
270
276
  def read_with_http_info(deb_apt_publication_href, opts = {})
271
277
  if @api_client.config.debugging
@@ -280,8 +286,8 @@ module PulpDebClient
280
286
 
281
287
  # query parameters
282
288
  query_params = opts[:query_params] || {}
283
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
284
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
289
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
290
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
285
291
 
286
292
  # header parameters
287
293
  header_params = opts[:header_params] || {}
@@ -150,17 +150,19 @@ module PulpDebClient
150
150
  # @option opts [String] :content__in Content Unit referenced by HREF
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
152
  # @option opts [Integer] :offset The initial index from which to return the results.
153
- # @option opts [Array<String>] :ordering Ordering
154
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
153
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
154
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
155
155
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
156
156
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
157
157
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
158
158
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
159
159
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
160
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
161
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
160
162
  # @option opts [String] :repository Repository referenced by HREF
161
163
  # @option opts [String] :repository_version Repository Version referenced by HREF
162
- # @option opts [String] :fields A list of fields to include in the response.
163
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
165
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
164
166
  # @return [PaginateddebVerbatimPublicationResponseList]
165
167
  def list(opts = {})
166
168
  data, _status_code, _headers = list_with_http_info(opts)
@@ -174,23 +176,25 @@ module PulpDebClient
174
176
  # @option opts [String] :content__in Content Unit referenced by HREF
175
177
  # @option opts [Integer] :limit Number of results to return per page.
176
178
  # @option opts [Integer] :offset The initial index from which to return the results.
177
- # @option opts [Array<String>] :ordering Ordering
178
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
179
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
180
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
179
181
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
180
182
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
181
183
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
182
184
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
183
185
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
186
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
187
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
184
188
  # @option opts [String] :repository Repository referenced by HREF
185
189
  # @option opts [String] :repository_version Repository Version referenced by HREF
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.
190
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
191
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
192
  # @return [Array<(PaginateddebVerbatimPublicationResponseList, Integer, Hash)>] PaginateddebVerbatimPublicationResponseList data, response status code and response headers
189
193
  def list_with_http_info(opts = {})
190
194
  if @api_client.config.debugging
191
195
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
192
196
  end
193
- allowable_values = ["-complete", "-deb_aptpublication", "-deb_verbatimpublication", "-distribution", "-group_roles", "-pass_through", "-pk", "-published_artifact", "-published_metadata", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository_version", "-user_roles", "complete", "deb_aptpublication", "deb_verbatimpublication", "distribution", "group_roles", "pass_through", "pk", "published_artifact", "published_metadata", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository_version", "user_roles"]
197
+ allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
194
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
195
199
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
196
200
  end
@@ -210,10 +214,12 @@ module PulpDebClient
210
214
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
211
215
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
212
216
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
217
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
218
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
213
219
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
214
220
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
215
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
216
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
221
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
222
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
217
223
 
218
224
  # header parameters
219
225
  header_params = opts[:header_params] || {}
@@ -252,8 +258,8 @@ module PulpDebClient
252
258
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
253
259
  # @param deb_verbatim_publication_href [String]
254
260
  # @param [Hash] opts the optional parameters
255
- # @option opts [String] :fields A list of fields to include in the response.
256
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
261
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
262
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
257
263
  # @return [DebVerbatimPublicationResponse]
258
264
  def read(deb_verbatim_publication_href, opts = {})
259
265
  data, _status_code, _headers = read_with_http_info(deb_verbatim_publication_href, opts)
@@ -264,8 +270,8 @@ module PulpDebClient
264
270
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
265
271
  # @param deb_verbatim_publication_href [String]
266
272
  # @param [Hash] opts the optional parameters
267
- # @option opts [String] :fields A list of fields to include in the response.
268
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
273
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
274
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
269
275
  # @return [Array<(DebVerbatimPublicationResponse, Integer, Hash)>] DebVerbatimPublicationResponse data, response status code and response headers
270
276
  def read_with_http_info(deb_verbatim_publication_href, opts = {})
271
277
  if @api_client.config.debugging
@@ -280,8 +286,8 @@ module PulpDebClient
280
286
 
281
287
  # query parameters
282
288
  query_params = opts[:query_params] || {}
283
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
284
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
289
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
290
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
285
291
 
286
292
  # header parameters
287
293
  header_params = opts[:header_params] || {}
@@ -149,22 +149,24 @@ 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
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [Array<String>] :ordering Ordering
158
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
159
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
160
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
159
161
  # @option opts [String] :pulp_label_select Filter labels by search string
160
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
162
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
161
163
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
162
164
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
163
165
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
164
166
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
165
167
  # @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.
168
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
169
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
168
170
  # @return [PaginateddebAptRemoteResponseList]
169
171
  def list(opts = {})
170
172
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,28 +177,30 @@ module PulpDebClient
175
177
  # 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
178
  # @param [Hash] opts the optional parameters
177
179
  # @option opts [Integer] :limit Number of results to return per page.
178
- # @option opts [String] :name
180
+ # @option opts [String] :name Filter results where name matches value
179
181
  # @option opts [String] :name__contains Filter results where name contains value
180
182
  # @option opts [String] :name__icontains Filter results where name contains value
181
183
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
182
184
  # @option opts [String] :name__startswith Filter results where name starts with value
183
185
  # @option opts [Integer] :offset The initial index from which to return the results.
184
- # @option opts [Array<String>] :ordering Ordering
186
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
187
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
188
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
185
189
  # @option opts [String] :pulp_label_select Filter labels by search string
186
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
190
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
187
191
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
188
192
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
189
193
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
190
194
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
191
195
  # @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.
196
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
197
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
198
  # @return [Array<(PaginateddebAptRemoteResponseList, Integer, Hash)>] PaginateddebAptRemoteResponseList data, response status code and response headers
195
199
  def list_with_http_info(opts = {})
196
200
  if @api_client.config.debugging
197
201
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.list ...'
198
202
  end
199
- allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-deb_aptremote", "-distribution", "-download_concurrency", "-group_roles", "-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", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "deb_aptremote", "distribution", "download_concurrency", "group_roles", "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", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
203
+ 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
204
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
201
205
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
202
206
  end
@@ -213,6 +217,8 @@ module PulpDebClient
213
217
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
214
218
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
215
219
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
220
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
221
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
216
222
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
217
223
  query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
218
224
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
@@ -220,8 +226,8 @@ module PulpDebClient
220
226
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
221
227
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
222
228
  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?
229
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
230
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
225
231
 
226
232
  # header parameters
227
233
  header_params = opts[:header_params] || {}
@@ -330,8 +336,8 @@ module PulpDebClient
330
336
  # 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
337
  # @param deb_apt_remote_href [String]
332
338
  # @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.
339
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
340
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
335
341
  # @return [DebAptRemoteResponse]
336
342
  def read(deb_apt_remote_href, opts = {})
337
343
  data, _status_code, _headers = read_with_http_info(deb_apt_remote_href, opts)
@@ -342,8 +348,8 @@ module PulpDebClient
342
348
  # 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
349
  # @param deb_apt_remote_href [String]
344
350
  # @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.
351
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
352
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
347
353
  # @return [Array<(DebAptRemoteResponse, Integer, Hash)>] DebAptRemoteResponse data, response status code and response headers
348
354
  def read_with_http_info(deb_apt_remote_href, opts = {})
349
355
  if @api_client.config.debugging
@@ -358,8 +364,8 @@ module PulpDebClient
358
364
 
359
365
  # query parameters
360
366
  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?
367
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
368
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
363
369
 
364
370
  # header parameters
365
371
  header_params = opts[:header_params] || {}
@@ -149,17 +149,27 @@ 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
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [Array<String>] :ordering Ordering
158
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
159
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
160
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
159
161
  # @option opts [String] :pulp_label_select Filter labels by search string
160
162
  # @option opts [String] :remote Foreign Key referenced by HREF
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.
163
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
164
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
165
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
166
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
167
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
168
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
169
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
170
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
171
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
172
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
163
173
  # @return [PaginateddebAptRepositoryResponseList]
164
174
  def list(opts = {})
165
175
  data, _status_code, _headers = list_with_http_info(opts)
@@ -170,23 +180,33 @@ module PulpDebClient
170
180
  # 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
181
  # @param [Hash] opts the optional parameters
172
182
  # @option opts [Integer] :limit Number of results to return per page.
173
- # @option opts [String] :name
183
+ # @option opts [String] :name Filter results where name matches value
174
184
  # @option opts [String] :name__contains Filter results where name contains value
175
185
  # @option opts [String] :name__icontains Filter results where name contains value
176
186
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
177
187
  # @option opts [String] :name__startswith Filter results where name starts with value
178
188
  # @option opts [Integer] :offset The initial index from which to return the results.
179
- # @option opts [Array<String>] :ordering Ordering
189
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
190
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
191
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
180
192
  # @option opts [String] :pulp_label_select Filter labels by search string
181
193
  # @option opts [String] :remote Foreign Key referenced by HREF
182
- # @option opts [String] :fields A list of fields to include in the response.
183
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
194
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
195
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
196
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
197
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
198
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
199
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
200
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
201
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
202
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
203
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
184
204
  # @return [Array<(PaginateddebAptRepositoryResponseList, Integer, Hash)>] PaginateddebAptRepositoryResponseList data, response status code and response headers
185
205
  def list_with_http_info(opts = {})
186
206
  if @api_client.config.debugging
187
207
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.list ...'
188
208
  end
189
- allowable_values = ["-alternatecontentsourcepath", "-content", "-core_pulp_exporter", "-deb_aptrepository", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "content", "core_pulp_exporter", "deb_aptrepository", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
209
+ 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
210
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
191
211
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
192
212
  end
@@ -203,10 +223,20 @@ module PulpDebClient
203
223
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
204
224
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
205
225
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
226
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
227
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
206
228
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
207
229
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
208
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
230
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
231
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
232
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
233
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
234
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
235
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
236
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
237
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
238
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
239
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
210
240
 
211
241
  # header parameters
212
242
  header_params = opts[:header_params] || {}
@@ -385,8 +415,8 @@ module PulpDebClient
385
415
  # 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
416
  # @param deb_apt_repository_href [String]
387
417
  # @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.
418
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
419
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
390
420
  # @return [DebAptRepositoryResponse]
391
421
  def read(deb_apt_repository_href, opts = {})
392
422
  data, _status_code, _headers = read_with_http_info(deb_apt_repository_href, opts)
@@ -397,8 +427,8 @@ module PulpDebClient
397
427
  # 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
428
  # @param deb_apt_repository_href [String]
399
429
  # @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.
430
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
431
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
402
432
  # @return [Array<(DebAptRepositoryResponse, Integer, Hash)>] DebAptRepositoryResponse data, response status code and response headers
403
433
  def read_with_http_info(deb_apt_repository_href, opts = {})
404
434
  if @api_client.config.debugging
@@ -413,8 +443,8 @@ module PulpDebClient
413
443
 
414
444
  # query parameters
415
445
  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?
446
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
447
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
418
448
 
419
449
  # header parameters
420
450
  header_params = opts[:header_params] || {}