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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGenericContentsApi.md +8 -8
  4. data/docs/ContentInstallerFileIndicesApi.md +8 -8
  5. data/docs/ContentInstallerPackagesApi.md +8 -8
  6. data/docs/ContentPackageIndicesApi.md +8 -8
  7. data/docs/ContentPackageReleaseComponentsApi.md +10 -10
  8. data/docs/ContentPackagesApi.md +8 -8
  9. data/docs/ContentReleaseArchitecturesApi.md +9 -9
  10. data/docs/ContentReleaseComponentsApi.md +9 -9
  11. data/docs/ContentReleaseFilesApi.md +8 -8
  12. data/docs/ContentReleasesApi.md +8 -8
  13. data/docs/DebAptDistribution.md +1 -1
  14. data/docs/DebAptDistributionResponse.md +1 -1
  15. data/docs/DebAptRemote.md +1 -1
  16. data/docs/DebAptRemoteResponse.md +3 -1
  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 +16 -12
  25. data/docs/PatcheddebAptDistribution.md +1 -1
  26. data/docs/PatcheddebAptRemote.md +1 -1
  27. data/docs/PatcheddebAptRepository.md +2 -2
  28. data/docs/PublicationsAptApi.md +10 -10
  29. data/docs/PublicationsVerbatimApi.md +10 -10
  30. data/docs/RemotesAptApi.md +12 -12
  31. data/docs/RepositoriesAptApi.md +27 -11
  32. data/docs/RepositoriesAptVersionsApi.md +12 -12
  33. data/docs/RepositoryAddRemoveContent.md +2 -2
  34. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +13 -13
  35. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +13 -13
  36. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +13 -13
  37. data/lib/pulp_deb_client/api/content_package_indices_api.rb +13 -13
  38. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +13 -13
  39. data/lib/pulp_deb_client/api/content_packages_api.rb +13 -13
  40. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +13 -13
  41. data/lib/pulp_deb_client/api/content_release_components_api.rb +13 -13
  42. data/lib/pulp_deb_client/api/content_release_files_api.rb +13 -13
  43. data/lib/pulp_deb_client/api/content_releases_api.rb +13 -13
  44. data/lib/pulp_deb_client/api/distributions_apt_api.rb +23 -17
  45. data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -15
  46. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -15
  47. data/lib/pulp_deb_client/api/remotes_apt_api.rb +17 -17
  48. data/lib/pulp_deb_client/api/repositories_apt_api.rb +39 -15
  49. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +17 -17
  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 +4 -2
  53. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +17 -3
  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 +4 -2
  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 +4 -4
  68. data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
  69. data/spec/api/content_installer_packages_api_spec.rb +4 -4
  70. data/spec/api/content_package_indices_api_spec.rb +4 -4
  71. data/spec/api/content_package_release_components_api_spec.rb +4 -4
  72. data/spec/api/content_packages_api_spec.rb +4 -4
  73. data/spec/api/content_release_architectures_api_spec.rb +4 -4
  74. data/spec/api/content_release_components_api_spec.rb +4 -4
  75. data/spec/api/content_release_files_api_spec.rb +4 -4
  76. data/spec/api/content_releases_api_spec.rb +4 -4
  77. data/spec/api/distributions_apt_api_spec.rb +8 -6
  78. data/spec/api/publications_apt_api_spec.rb +5 -5
  79. data/spec/api/publications_verbatim_api_spec.rb +5 -5
  80. data/spec/api/remotes_apt_api_spec.rb +6 -6
  81. data/spec/api/repositories_apt_api_spec.rb +13 -5
  82. data/spec/api/repositories_apt_versions_api_spec.rb +6 -6
  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 +54 -50
@@ -94,8 +94,8 @@ module PulpDebClient
94
94
  # @option opts [String] :repository_version Repository Version referenced by HREF
95
95
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
96
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
97
- # @option opts [String] :fields A list of fields to include in the response.
98
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
98
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
99
99
  # @return [PaginateddebReleaseComponentResponseList]
100
100
  def list(opts = {})
101
101
  data, _status_code, _headers = list_with_http_info(opts)
@@ -113,14 +113,14 @@ module PulpDebClient
113
113
  # @option opts [String] :repository_version Repository Version referenced by HREF
114
114
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
115
115
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
116
- # @option opts [String] :fields A list of fields to include in the response.
117
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
118
  # @return [Array<(PaginateddebReleaseComponentResponseList, Integer, Hash)>] PaginateddebReleaseComponentResponseList data, response status code and response headers
119
119
  def list_with_http_info(opts = {})
120
120
  if @api_client.config.debugging
121
121
  @api_client.config.logger.debug 'Calling API: ContentReleaseComponentsApi.list ...'
122
122
  end
123
- allowable_values = ["-_artifacts", "-component", "-content_ptr", "-contentartifact", "-deb_packagereleasecomponent", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-release", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "component", "content_ptr", "contentartifact", "deb_packagereleasecomponent", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "release", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
123
+ allowable_values = ["-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
124
124
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
125
125
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
126
126
  end
@@ -137,8 +137,8 @@ module PulpDebClient
137
137
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
138
138
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
139
139
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
140
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
141
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
140
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
141
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
142
142
 
143
143
  # header parameters
144
144
  header_params = opts[:header_params] || {}
@@ -177,8 +177,8 @@ module PulpDebClient
177
177
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
178
178
  # @param deb_release_component_href [String]
179
179
  # @param [Hash] opts the optional parameters
180
- # @option opts [String] :fields A list of fields to include in the response.
181
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
181
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
182
182
  # @return [DebReleaseComponentResponse]
183
183
  def read(deb_release_component_href, opts = {})
184
184
  data, _status_code, _headers = read_with_http_info(deb_release_component_href, opts)
@@ -189,8 +189,8 @@ module PulpDebClient
189
189
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
190
190
  # @param deb_release_component_href [String]
191
191
  # @param [Hash] opts the optional parameters
192
- # @option opts [String] :fields A list of fields to include in the response.
193
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(DebReleaseComponentResponse, Integer, Hash)>] DebReleaseComponentResponse data, response status code and response headers
195
195
  def read_with_http_info(deb_release_component_href, opts = {})
196
196
  if @api_client.config.debugging
@@ -205,8 +205,8 @@ module PulpDebClient
205
205
 
206
206
  # query parameters
207
207
  query_params = opts[:query_params] || {}
208
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
208
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
209
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
210
210
 
211
211
  # header parameters
212
212
  header_params = opts[:header_params] || {}
@@ -96,8 +96,8 @@ module PulpDebClient
96
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
97
97
  # @option opts [String] :sha256 Filter results where sha256 matches value
98
98
  # @option opts [String] :suite Filter results where suite matches value
99
- # @option opts [String] :fields A list of fields to include in the response.
100
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
100
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
101
  # @return [PaginateddebReleaseFileResponseList]
102
102
  def list(opts = {})
103
103
  data, _status_code, _headers = list_with_http_info(opts)
@@ -117,14 +117,14 @@ module PulpDebClient
117
117
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
118
118
  # @option opts [String] :sha256 Filter results where sha256 matches value
119
119
  # @option opts [String] :suite Filter results where suite matches value
120
- # @option opts [String] :fields A list of fields to include in the response.
121
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
122
  # @return [Array<(PaginateddebReleaseFileResponseList, Integer, Hash)>] PaginateddebReleaseFileResponseList data, response status code and response headers
123
123
  def list_with_http_info(opts = {})
124
124
  if @api_client.config.debugging
125
125
  @api_client.config.logger.debug 'Calling API: ContentReleaseFilesApi.list ...'
126
126
  end
127
- allowable_values = ["-_artifacts", "-architectures", "-artifact_set_sha256", "-codename", "-components", "-content_ptr", "-contentartifact", "-deb_installerfileindex", "-deb_packageindex", "-distribution", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-repositories", "-sha256", "-suite", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "architectures", "artifact_set_sha256", "codename", "components", "content_ptr", "contentartifact", "deb_installerfileindex", "deb_packageindex", "distribution", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "repositories", "sha256", "suite", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
127
+ allowable_values = ["-architectures", "-artifact_set_sha256", "-codename", "-components", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-suite", "-timestamp_of_interest", "-upstream_id", "architectures", "artifact_set_sha256", "codename", "components", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "suite", "timestamp_of_interest", "upstream_id"]
128
128
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
129
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
130
  end
@@ -143,8 +143,8 @@ module PulpDebClient
143
143
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
144
144
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
145
145
  query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
146
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
147
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
146
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
148
 
149
149
  # header parameters
150
150
  header_params = opts[:header_params] || {}
@@ -183,8 +183,8 @@ module PulpDebClient
183
183
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
184
184
  # @param deb_release_file_href [String]
185
185
  # @param [Hash] opts the optional parameters
186
- # @option opts [String] :fields A list of fields to include in the response.
187
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [DebReleaseFileResponse]
189
189
  def read(deb_release_file_href, opts = {})
190
190
  data, _status_code, _headers = read_with_http_info(deb_release_file_href, opts)
@@ -195,8 +195,8 @@ module PulpDebClient
195
195
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of &#39;Release&#39; and &#39;InRelease&#39; file. If the &#39;Release&#39; file is present, then there may also be a &#39;Release.gpg&#39; detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Release&#39; files it needs when creating the publication. It does not make use of ReleaseFile content.
196
196
  # @param deb_release_file_href [String]
197
197
  # @param [Hash] opts the optional parameters
198
- # @option opts [String] :fields A list of fields to include in the response.
199
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
198
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
199
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
200
200
  # @return [Array<(DebReleaseFileResponse, Integer, Hash)>] DebReleaseFileResponse data, response status code and response headers
201
201
  def read_with_http_info(deb_release_file_href, opts = {})
202
202
  if @api_client.config.debugging
@@ -211,8 +211,8 @@ module PulpDebClient
211
211
 
212
212
  # query parameters
213
213
  query_params = opts[:query_params] || {}
214
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
215
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
214
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
215
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
216
216
 
217
217
  # header parameters
218
218
  header_params = opts[:header_params] || {}
@@ -95,8 +95,8 @@ module PulpDebClient
95
95
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
96
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
97
97
  # @option opts [String] :suite Filter results where suite matches value
98
- # @option opts [String] :fields A list of fields to include in the response.
99
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
98
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
99
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
100
  # @return [PaginateddebReleaseResponseList]
101
101
  def list(opts = {})
102
102
  data, _status_code, _headers = list_with_http_info(opts)
@@ -115,14 +115,14 @@ module PulpDebClient
115
115
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
116
116
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
117
117
  # @option opts [String] :suite Filter results where suite matches value
118
- # @option opts [String] :fields A list of fields to include in the response.
119
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
118
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
119
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
120
120
  # @return [Array<(PaginateddebReleaseResponseList, Integer, Hash)>] PaginateddebReleaseResponseList data, response status code and response headers
121
121
  def list_with_http_info(opts = {})
122
122
  if @api_client.config.debugging
123
123
  @api_client.config.logger.debug 'Calling API: ContentReleasesApi.list ...'
124
124
  end
125
- allowable_values = ["-_artifacts", "-codename", "-content_ptr", "-contentartifact", "-deb_releasearchitecture", "-deb_releasecomponent", "-distribution", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-suite", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "codename", "content_ptr", "contentartifact", "deb_releasearchitecture", "deb_releasecomponent", "distribution", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "suite", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
125
+ allowable_values = ["-codename", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-suite", "-timestamp_of_interest", "-upstream_id", "codename", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "suite", "timestamp_of_interest", "upstream_id"]
126
126
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
127
127
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
128
128
  end
@@ -140,8 +140,8 @@ module PulpDebClient
140
140
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
141
141
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
142
142
  query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
143
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
144
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
143
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
144
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
145
145
 
146
146
  # header parameters
147
147
  header_params = opts[:header_params] || {}
@@ -180,8 +180,8 @@ module PulpDebClient
180
180
  # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
181
181
  # @param deb_release_href [String]
182
182
  # @param [Hash] opts the optional parameters
183
- # @option opts [String] :fields A list of fields to include in the response.
184
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
183
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
184
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
185
185
  # @return [DebReleaseResponse]
186
186
  def read(deb_release_href, opts = {})
187
187
  data, _status_code, _headers = read_with_http_info(deb_release_href, opts)
@@ -192,8 +192,8 @@ module PulpDebClient
192
192
  # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \&quot;Release content\&quot;, the terms \&quot;distribution\&quot; and \&quot;release\&quot; are synonyms. An \&quot;APT repository release/distribution\&quot; is associated with a single &#39;Release&#39; file below the &#39;dists/&#39; folder. The \&quot;distribution\&quot; refers to the path between &#39;dists/&#39; and the &#39;Release&#39; file. The \&quot;distribution\&quot; could be considered the name of the \&quot;release\&quot;. It is often (but not always) equal to the \&quot;codename\&quot; or \&quot;suite\&quot;.
193
193
  # @param deb_release_href [String]
194
194
  # @param [Hash] opts the optional parameters
195
- # @option opts [String] :fields A list of fields to include in the response.
196
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
195
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
196
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
197
197
  # @return [Array<(DebReleaseResponse, Integer, Hash)>] DebReleaseResponse data, response status code and response headers
198
198
  def read_with_http_info(deb_release_href, opts = {})
199
199
  if @api_client.config.debugging
@@ -208,8 +208,8 @@ module PulpDebClient
208
208
 
209
209
  # query parameters
210
210
  query_params = opts[:query_params] || {}
211
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
212
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
211
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
212
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
213
213
 
214
214
  # header parameters
215
215
  header_params = opts[:header_params] || {}
@@ -148,12 +148,12 @@ module PulpDebClient
148
148
  # List apt distributions
149
149
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :base_path
151
+ # @option opts [String] :base_path Filter results where base_path matches value
152
152
  # @option opts [String] :base_path__contains Filter results where base_path contains value
153
153
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
154
154
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
155
155
  # @option opts [Integer] :limit Number of results to return per page.
156
- # @option opts [String] :name
156
+ # @option opts [String] :name Filter results where name matches value
157
157
  # @option opts [String] :name__contains Filter results where name contains value
158
158
  # @option opts [String] :name__icontains Filter results where name contains value
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -161,9 +161,11 @@ module PulpDebClient
161
161
  # @option opts [Integer] :offset The initial index from which to return the results.
162
162
  # @option opts [Array<String>] :ordering Ordering
163
163
  # @option opts [String] :pulp_label_select Filter labels by search string
164
+ # @option opts [String] :repository Filter results where repository matches value
165
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
164
166
  # @option opts [String] :with_content Filter distributions based on the content served by them
165
- # @option opts [String] :fields A list of fields to include in the response.
166
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
167
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
168
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
167
169
  # @return [PaginateddebAptDistributionResponseList]
168
170
  def list(opts = {})
169
171
  data, _status_code, _headers = list_with_http_info(opts)
@@ -173,12 +175,12 @@ module PulpDebClient
173
175
  # List apt distributions
174
176
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
175
177
  # @param [Hash] opts the optional parameters
176
- # @option opts [String] :base_path
178
+ # @option opts [String] :base_path Filter results where base_path matches value
177
179
  # @option opts [String] :base_path__contains Filter results where base_path contains value
178
180
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
179
181
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
180
182
  # @option opts [Integer] :limit Number of results to return per page.
181
- # @option opts [String] :name
183
+ # @option opts [String] :name Filter results where name matches value
182
184
  # @option opts [String] :name__contains Filter results where name contains value
183
185
  # @option opts [String] :name__icontains Filter results where name contains value
184
186
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -186,15 +188,17 @@ module PulpDebClient
186
188
  # @option opts [Integer] :offset The initial index from which to return the results.
187
189
  # @option opts [Array<String>] :ordering Ordering
188
190
  # @option opts [String] :pulp_label_select Filter labels by search string
191
+ # @option opts [String] :repository Filter results where repository matches value
192
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
189
193
  # @option opts [String] :with_content Filter distributions based on the content served by them
190
- # @option opts [String] :fields A list of fields to include in the response.
191
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
194
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
195
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
192
196
  # @return [Array<(PaginateddebAptDistributionResponseList, Integer, Hash)>] PaginateddebAptDistributionResponseList data, response status code and response headers
193
197
  def list_with_http_info(opts = {})
194
198
  if @api_client.config.debugging
195
199
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.list ...'
196
200
  end
197
- allowable_values = ["-base_path", "-content_guard", "-deb_aptdistribution", "-group_roles", "-name", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "deb_aptdistribution", "group_roles", "name", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
201
+ allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
198
202
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
199
203
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
200
204
  end
@@ -216,9 +220,11 @@ module PulpDebClient
216
220
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
217
221
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
218
222
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
223
+ query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
224
+ query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
219
225
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
220
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
221
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
226
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
227
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
222
228
 
223
229
  # header parameters
224
230
  header_params = opts[:header_params] || {}
@@ -327,8 +333,8 @@ module PulpDebClient
327
333
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
328
334
  # @param deb_apt_distribution_href [String]
329
335
  # @param [Hash] opts the optional parameters
330
- # @option opts [String] :fields A list of fields to include in the response.
331
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
336
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
337
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
332
338
  # @return [DebAptDistributionResponse]
333
339
  def read(deb_apt_distribution_href, opts = {})
334
340
  data, _status_code, _headers = read_with_http_info(deb_apt_distribution_href, opts)
@@ -339,8 +345,8 @@ module PulpDebClient
339
345
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
340
346
  # @param deb_apt_distribution_href [String]
341
347
  # @param [Hash] opts the optional parameters
342
- # @option opts [String] :fields A list of fields to include in the response.
343
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
348
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
349
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
344
350
  # @return [Array<(DebAptDistributionResponse, Integer, Hash)>] DebAptDistributionResponse data, response status code and response headers
345
351
  def read_with_http_info(deb_apt_distribution_href, opts = {})
346
352
  if @api_client.config.debugging
@@ -355,8 +361,8 @@ module PulpDebClient
355
361
 
356
362
  # query parameters
357
363
  query_params = opts[:query_params] || {}
358
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
359
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
364
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
365
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
360
366
 
361
367
  # header parameters
362
368
  header_params = opts[:header_params] || {}
@@ -151,7 +151,7 @@ module PulpDebClient
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
153
  # @option opts [Array<String>] :ordering Ordering
154
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
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
@@ -159,8 +159,8 @@ module PulpDebClient
159
159
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
160
160
  # @option opts [String] :repository Repository referenced by HREF
161
161
  # @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.
162
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
163
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
164
164
  # @return [PaginateddebAptPublicationResponseList]
165
165
  def list(opts = {})
166
166
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,7 +175,7 @@ module PulpDebClient
175
175
  # @option opts [Integer] :limit Number of results to return per page.
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
177
  # @option opts [Array<String>] :ordering Ordering
178
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
178
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
179
179
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
180
180
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
181
181
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -183,14 +183,14 @@ module PulpDebClient
183
183
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
184
184
  # @option opts [String] :repository Repository referenced by HREF
185
185
  # @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.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [Array<(PaginateddebAptPublicationResponseList, Integer, Hash)>] PaginateddebAptPublicationResponseList data, response status code and response headers
189
189
  def list_with_http_info(opts = {})
190
190
  if @api_client.config.debugging
191
191
  @api_client.config.logger.debug 'Calling API: PublicationsAptApi.list ...'
192
192
  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"]
193
+ 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
194
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
195
195
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
196
196
  end
@@ -212,8 +212,8 @@ module PulpDebClient
212
212
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
213
213
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
214
214
  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?
215
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
216
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
217
217
 
218
218
  # header parameters
219
219
  header_params = opts[:header_params] || {}
@@ -252,8 +252,8 @@ module PulpDebClient
252
252
  # 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
253
  # @param deb_apt_publication_href [String]
254
254
  # @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.
255
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
256
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
257
257
  # @return [DebAptPublicationResponse]
258
258
  def read(deb_apt_publication_href, opts = {})
259
259
  data, _status_code, _headers = read_with_http_info(deb_apt_publication_href, opts)
@@ -264,8 +264,8 @@ module PulpDebClient
264
264
  # 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
265
  # @param deb_apt_publication_href [String]
266
266
  # @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.
267
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
268
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
269
269
  # @return [Array<(DebAptPublicationResponse, Integer, Hash)>] DebAptPublicationResponse data, response status code and response headers
270
270
  def read_with_http_info(deb_apt_publication_href, opts = {})
271
271
  if @api_client.config.debugging
@@ -280,8 +280,8 @@ module PulpDebClient
280
280
 
281
281
  # query parameters
282
282
  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?
283
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
284
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
285
285
 
286
286
  # header parameters
287
287
  header_params = opts[:header_params] || {}
@@ -151,7 +151,7 @@ module PulpDebClient
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
153
  # @option opts [Array<String>] :ordering Ordering
154
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
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
@@ -159,8 +159,8 @@ module PulpDebClient
159
159
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
160
160
  # @option opts [String] :repository Repository referenced by HREF
161
161
  # @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.
162
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
163
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
164
164
  # @return [PaginateddebVerbatimPublicationResponseList]
165
165
  def list(opts = {})
166
166
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,7 +175,7 @@ module PulpDebClient
175
175
  # @option opts [Integer] :limit Number of results to return per page.
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
177
  # @option opts [Array<String>] :ordering Ordering
178
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
178
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
179
179
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
180
180
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
181
181
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -183,14 +183,14 @@ module PulpDebClient
183
183
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
184
184
  # @option opts [String] :repository Repository referenced by HREF
185
185
  # @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.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [Array<(PaginateddebVerbatimPublicationResponseList, Integer, Hash)>] PaginateddebVerbatimPublicationResponseList data, response status code and response headers
189
189
  def list_with_http_info(opts = {})
190
190
  if @api_client.config.debugging
191
191
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
192
192
  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"]
193
+ 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
194
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
195
195
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
196
196
  end
@@ -212,8 +212,8 @@ module PulpDebClient
212
212
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
213
213
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
214
214
  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?
215
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
216
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
217
217
 
218
218
  # header parameters
219
219
  header_params = opts[:header_params] || {}
@@ -252,8 +252,8 @@ module PulpDebClient
252
252
  # 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
253
  # @param deb_verbatim_publication_href [String]
254
254
  # @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.
255
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
256
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
257
257
  # @return [DebVerbatimPublicationResponse]
258
258
  def read(deb_verbatim_publication_href, opts = {})
259
259
  data, _status_code, _headers = read_with_http_info(deb_verbatim_publication_href, opts)
@@ -264,8 +264,8 @@ module PulpDebClient
264
264
  # 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
265
  # @param deb_verbatim_publication_href [String]
266
266
  # @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.
267
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
268
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
269
269
  # @return [Array<(DebVerbatimPublicationResponse, Integer, Hash)>] DebVerbatimPublicationResponse data, response status code and response headers
270
270
  def read_with_http_info(deb_verbatim_publication_href, opts = {})
271
271
  if @api_client.config.debugging
@@ -280,8 +280,8 @@ module PulpDebClient
280
280
 
281
281
  # query parameters
282
282
  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?
283
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
284
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
285
285
 
286
286
  # header parameters
287
287
  header_params = opts[:header_params] || {}