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
@@ -111,8 +111,8 @@ module PulpDebClient
111
111
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
112
112
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
113
113
  # @option opts [String] :sha256 Filter results where sha256 matches value
114
- # @option opts [String] :fields A list of fields to include in the response.
115
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
114
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
115
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
116
116
  # @return [PaginateddebGenericContentResponseList]
117
117
  def list(opts = {})
118
118
  data, _status_code, _headers = list_with_http_info(opts)
@@ -130,14 +130,14 @@ module PulpDebClient
130
130
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
131
131
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
132
132
  # @option opts [String] :sha256 Filter results where sha256 matches value
133
- # @option opts [String] :fields A list of fields to include in the response.
134
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
133
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
134
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
135
135
  # @return [Array<(PaginateddebGenericContentResponseList, Integer, Hash)>] PaginateddebGenericContentResponseList data, response status code and response headers
136
136
  def list_with_http_info(opts = {})
137
137
  if @api_client.config.debugging
138
138
  @api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.list ...'
139
139
  end
140
- allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-repositories", "-sha256", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "repositories", "sha256", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
140
+ allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
141
141
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
142
142
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
143
143
  end
@@ -154,8 +154,8 @@ module PulpDebClient
154
154
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
155
155
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
156
156
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
157
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
158
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
157
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
158
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
159
159
 
160
160
  # header parameters
161
161
  header_params = opts[:header_params] || {}
@@ -194,8 +194,8 @@ module PulpDebClient
194
194
  # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
195
195
  # @param deb_generic_content_href [String]
196
196
  # @param [Hash] opts the optional parameters
197
- # @option opts [String] :fields A list of fields to include in the response.
198
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
197
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
198
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
199
199
  # @return [DebGenericContentResponse]
200
200
  def read(deb_generic_content_href, opts = {})
201
201
  data, _status_code, _headers = read_with_http_info(deb_generic_content_href, opts)
@@ -206,8 +206,8 @@ module PulpDebClient
206
206
  # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
207
207
  # @param deb_generic_content_href [String]
208
208
  # @param [Hash] opts the optional parameters
209
- # @option opts [String] :fields A list of fields to include in the response.
210
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
209
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
210
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
211
211
  # @return [Array<(DebGenericContentResponse, Integer, Hash)>] DebGenericContentResponse data, response status code and response headers
212
212
  def read_with_http_info(deb_generic_content_href, opts = {})
213
213
  if @api_client.config.debugging
@@ -222,8 +222,8 @@ module PulpDebClient
222
222
 
223
223
  # query parameters
224
224
  query_params = opts[:query_params] || {}
225
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
226
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
225
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
226
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
227
227
 
228
228
  # header parameters
229
229
  header_params = opts[:header_params] || {}
@@ -96,8 +96,8 @@ module PulpDebClient
96
96
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
97
97
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
98
98
  # @option opts [String] :sha256 Filter results where sha256 matches value
99
- # @option opts [String] :fields A list of fields to include in the response.
100
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
100
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
101
  # @return [PaginateddebInstallerFileIndexResponseList]
102
102
  def list(opts = {})
103
103
  data, _status_code, _headers = list_with_http_info(opts)
@@ -117,14 +117,14 @@ module PulpDebClient
117
117
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
118
118
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
119
119
  # @option opts [String] :sha256 Filter results where sha256 matches value
120
- # @option opts [String] :fields A list of fields to include in the response.
121
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
122
  # @return [Array<(PaginateddebInstallerFileIndexResponseList, Integer, Hash)>] PaginateddebInstallerFileIndexResponseList data, response status code and response headers
123
123
  def list_with_http_info(opts = {})
124
124
  if @api_client.config.debugging
125
125
  @api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.list ...'
126
126
  end
127
- allowable_values = ["-_artifacts", "-architecture", "-component", "-content_ptr", "-contentartifact", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-release", "-repositories", "-sha256", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "architecture", "component", "content_ptr", "contentartifact", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "release", "repositories", "sha256", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
127
+ allowable_values = ["-architecture", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
128
128
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
129
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
130
  end
@@ -143,8 +143,8 @@ module PulpDebClient
143
143
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
144
144
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
145
145
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
146
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
147
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
146
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
148
 
149
149
  # header parameters
150
150
  header_params = opts[:header_params] || {}
@@ -183,8 +183,8 @@ module PulpDebClient
183
183
  # An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
184
184
  # @param deb_installer_file_index_href [String]
185
185
  # @param [Hash] opts the optional parameters
186
- # @option opts [String] :fields A list of fields to include in the response.
187
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [DebInstallerFileIndexResponse]
189
189
  def read(deb_installer_file_index_href, opts = {})
190
190
  data, _status_code, _headers = read_with_http_info(deb_installer_file_index_href, opts)
@@ -195,8 +195,8 @@ module PulpDebClient
195
195
  # An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one &#39;SHA256SUMS&#39; and/or &#39;MD5SUMS&#39; file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
196
196
  # @param deb_installer_file_index_href [String]
197
197
  # @param [Hash] opts the optional parameters
198
- # @option opts [String] :fields A list of fields to include in the response.
199
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
198
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
199
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
200
200
  # @return [Array<(DebInstallerFileIndexResponse, Integer, Hash)>] DebInstallerFileIndexResponse data, response status code and response headers
201
201
  def read_with_http_info(deb_installer_file_index_href, opts = {})
202
202
  if @api_client.config.debugging
@@ -211,8 +211,8 @@ module PulpDebClient
211
211
 
212
212
  # query parameters
213
213
  query_params = opts[:query_params] || {}
214
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
215
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
214
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
215
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
216
216
 
217
217
  # header parameters
218
218
  header_params = opts[:header_params] || {}
@@ -122,8 +122,8 @@ module PulpDebClient
122
122
  # @option opts [String] :source Filter results where source matches value
123
123
  # @option opts [String] :tag Filter results where tag matches value
124
124
  # @option opts [String] :version Filter results where version matches value
125
- # @option opts [String] :fields A list of fields to include in the response.
126
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
125
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
126
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
127
127
  # @return [PaginateddebBasePackageResponseList]
128
128
  def list(opts = {})
129
129
  data, _status_code, _headers = list_with_http_info(opts)
@@ -156,8 +156,8 @@ module PulpDebClient
156
156
  # @option opts [String] :source Filter results where source matches value
157
157
  # @option opts [String] :tag Filter results where tag matches value
158
158
  # @option opts [String] :version Filter results where version matches value
159
- # @option opts [String] :fields A list of fields to include in the response.
160
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
159
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
160
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
161
161
  # @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
162
162
  def list_with_http_info(opts = {})
163
163
  if @api_client.config.debugging
@@ -175,7 +175,7 @@ module PulpDebClient
175
175
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
176
176
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
177
177
  end
178
- allowable_values = ["-_artifacts", "-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-content_ptr", "-contentartifact", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-group_roles", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-repositories", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "content_ptr", "contentartifact", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "group_roles", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "repositories", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
178
+ allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
179
179
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
180
180
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
181
181
  end
@@ -207,8 +207,8 @@ module PulpDebClient
207
207
  query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
208
208
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
209
209
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
210
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
211
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
210
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
211
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
212
212
 
213
213
  # header parameters
214
214
  header_params = opts[:header_params] || {}
@@ -247,8 +247,8 @@ module PulpDebClient
247
247
  # An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
248
248
  # @param deb_installer_package_href [String]
249
249
  # @param [Hash] opts the optional parameters
250
- # @option opts [String] :fields A list of fields to include in the response.
251
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
250
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
251
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
252
252
  # @return [DebBasePackageResponse]
253
253
  def read(deb_installer_package_href, opts = {})
254
254
  data, _status_code, _headers = read_with_http_info(deb_installer_package_href, opts)
@@ -259,8 +259,8 @@ module PulpDebClient
259
259
  # An InstallerPackage represents a &#39;.udeb&#39; installer package. Associated artifacts: Exactly one &#39;.udeb&#39; installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
260
260
  # @param deb_installer_package_href [String]
261
261
  # @param [Hash] opts the optional parameters
262
- # @option opts [String] :fields A list of fields to include in the response.
263
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
262
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
263
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
264
264
  # @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
265
265
  def read_with_http_info(deb_installer_package_href, opts = {})
266
266
  if @api_client.config.debugging
@@ -275,8 +275,8 @@ module PulpDebClient
275
275
 
276
276
  # query parameters
277
277
  query_params = opts[:query_params] || {}
278
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
279
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
278
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
279
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
280
280
 
281
281
  # header parameters
282
282
  header_params = opts[:header_params] || {}
@@ -96,8 +96,8 @@ module PulpDebClient
96
96
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
97
97
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
98
98
  # @option opts [String] :sha256 Filter results where sha256 matches value
99
- # @option opts [String] :fields A list of fields to include in the response.
100
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
100
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
101
  # @return [PaginateddebPackageIndexResponseList]
102
102
  def list(opts = {})
103
103
  data, _status_code, _headers = list_with_http_info(opts)
@@ -117,14 +117,14 @@ module PulpDebClient
117
117
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
118
118
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
119
119
  # @option opts [String] :sha256 Filter results where sha256 matches value
120
- # @option opts [String] :fields A list of fields to include in the response.
121
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
122
  # @return [Array<(PaginateddebPackageIndexResponseList, Integer, Hash)>] PaginateddebPackageIndexResponseList data, response status code and response headers
123
123
  def list_with_http_info(opts = {})
124
124
  if @api_client.config.debugging
125
125
  @api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.list ...'
126
126
  end
127
- allowable_values = ["-_artifacts", "-architecture", "-artifact_set_sha256", "-component", "-content_ptr", "-contentartifact", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-release", "-repositories", "-sha256", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "architecture", "artifact_set_sha256", "component", "content_ptr", "contentartifact", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "release", "repositories", "sha256", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
127
+ allowable_values = ["-architecture", "-artifact_set_sha256", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "artifact_set_sha256", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
128
128
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
129
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
130
  end
@@ -143,8 +143,8 @@ module PulpDebClient
143
143
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
144
144
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
145
145
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
146
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
147
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
146
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
148
 
149
149
  # header parameters
150
150
  header_params = opts[:header_params] || {}
@@ -183,8 +183,8 @@ module PulpDebClient
183
183
  # A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
184
184
  # @param deb_package_index_href [String]
185
185
  # @param [Hash] opts the optional parameters
186
- # @option opts [String] :fields A list of fields to include in the response.
187
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [DebPackageIndexResponse]
189
189
  def read(deb_package_index_href, opts = {})
190
190
  data, _status_code, _headers = read_with_http_info(deb_package_index_href, opts)
@@ -195,8 +195,8 @@ module PulpDebClient
195
195
  # A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one &#39;Packages&#39; file. May optionally include one or more of &#39;Packages.gz&#39;, &#39;Packages.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Packages&#39; files it needs when creating the publication. It does not make use of PackageIndex content.
196
196
  # @param deb_package_index_href [String]
197
197
  # @param [Hash] opts the optional parameters
198
- # @option opts [String] :fields A list of fields to include in the response.
199
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
198
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
199
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
200
200
  # @return [Array<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
201
201
  def read_with_http_info(deb_package_index_href, opts = {})
202
202
  if @api_client.config.debugging
@@ -211,8 +211,8 @@ module PulpDebClient
211
211
 
212
212
  # query parameters
213
213
  query_params = opts[:query_params] || {}
214
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
215
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
214
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
215
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
216
216
 
217
217
  # header parameters
218
218
  header_params = opts[:header_params] || {}
@@ -94,8 +94,8 @@ module PulpDebClient
94
94
  # @option opts [String] :repository_version Repository Version referenced by HREF
95
95
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
96
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
97
- # @option opts [String] :fields A list of fields to include in the response.
98
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
98
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
99
99
  # @return [PaginateddebPackageReleaseComponentResponseList]
100
100
  def list(opts = {})
101
101
  data, _status_code, _headers = list_with_http_info(opts)
@@ -113,14 +113,14 @@ module PulpDebClient
113
113
  # @option opts [String] :repository_version Repository Version referenced by HREF
114
114
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
115
115
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
116
- # @option opts [String] :fields A list of fields to include in the response.
117
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
118
  # @return [Array<(PaginateddebPackageReleaseComponentResponseList, Integer, Hash)>] PaginateddebPackageReleaseComponentResponseList data, response status code and response headers
119
119
  def list_with_http_info(opts = {})
120
120
  if @api_client.config.debugging
121
121
  @api_client.config.logger.debug 'Calling API: ContentPackageReleaseComponentsApi.list ...'
122
122
  end
123
- allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-package", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-release_component", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "package", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "release_component", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
123
+ allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
124
124
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
125
125
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
126
126
  end
@@ -137,8 +137,8 @@ module PulpDebClient
137
137
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
138
138
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
139
139
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
140
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
141
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
140
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
141
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
142
142
 
143
143
  # header parameters
144
144
  header_params = opts[:header_params] || {}
@@ -177,8 +177,8 @@ module PulpDebClient
177
177
  # A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
178
178
  # @param deb_package_release_component_href [String]
179
179
  # @param [Hash] opts the optional parameters
180
- # @option opts [String] :fields A list of fields to include in the response.
181
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
181
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
182
182
  # @return [DebPackageReleaseComponentResponse]
183
183
  def read(deb_package_release_component_href, opts = {})
184
184
  data, _status_code, _headers = read_with_http_info(deb_package_release_component_href, opts)
@@ -189,8 +189,8 @@ module PulpDebClient
189
189
  # A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
190
190
  # @param deb_package_release_component_href [String]
191
191
  # @param [Hash] opts the optional parameters
192
- # @option opts [String] :fields A list of fields to include in the response.
193
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(DebPackageReleaseComponentResponse, Integer, Hash)>] DebPackageReleaseComponentResponse data, response status code and response headers
195
195
  def read_with_http_info(deb_package_release_component_href, opts = {})
196
196
  if @api_client.config.debugging
@@ -205,8 +205,8 @@ module PulpDebClient
205
205
 
206
206
  # query parameters
207
207
  query_params = opts[:query_params] || {}
208
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
208
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
209
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
210
210
 
211
211
  # header parameters
212
212
  header_params = opts[:header_params] || {}
@@ -123,8 +123,8 @@ module PulpDebClient
123
123
  # @option opts [String] :source Filter results where source matches value
124
124
  # @option opts [String] :tag Filter results where tag matches value
125
125
  # @option opts [String] :version Filter results where version matches value
126
- # @option opts [String] :fields A list of fields to include in the response.
127
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
128
  # @return [PaginateddebBasePackageResponseList]
129
129
  def list(opts = {})
130
130
  data, _status_code, _headers = list_with_http_info(opts)
@@ -158,8 +158,8 @@ module PulpDebClient
158
158
  # @option opts [String] :source Filter results where source matches value
159
159
  # @option opts [String] :tag Filter results where tag matches value
160
160
  # @option opts [String] :version Filter results where version matches value
161
- # @option opts [String] :fields A list of fields to include in the response.
162
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
162
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
163
163
  # @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
164
164
  def list_with_http_info(opts = {})
165
165
  if @api_client.config.debugging
@@ -177,7 +177,7 @@ module PulpDebClient
177
177
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
178
178
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
179
179
  end
180
- allowable_values = ["-_artifacts", "-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-content_ptr", "-contentartifact", "-custom_fields", "-deb_packagereleasecomponent", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-group_roles", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-repositories", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "content_ptr", "contentartifact", "custom_fields", "deb_packagereleasecomponent", "depends", "description", "description_md5", "enhances", "essential", "group_roles", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "repositories", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
180
+ allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
181
181
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
182
182
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
183
183
  end
@@ -210,8 +210,8 @@ module PulpDebClient
210
210
  query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
211
211
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
212
212
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
213
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
214
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
213
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
214
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
215
215
 
216
216
  # header parameters
217
217
  header_params = opts[:header_params] || {}
@@ -250,8 +250,8 @@ module PulpDebClient
250
250
  # A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
251
251
  # @param deb_package_href [String]
252
252
  # @param [Hash] opts the optional parameters
253
- # @option opts [String] :fields A list of fields to include in the response.
254
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
253
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
254
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
255
255
  # @return [DebBasePackageResponse]
256
256
  def read(deb_package_href, opts = {})
257
257
  data, _status_code, _headers = read_with_http_info(deb_package_href, opts)
@@ -262,8 +262,8 @@ module PulpDebClient
262
262
  # A Package represents a &#39;.deb&#39; binary package. Associated artifacts: Exactly one &#39;.deb&#39; package file.
263
263
  # @param deb_package_href [String]
264
264
  # @param [Hash] opts the optional parameters
265
- # @option opts [String] :fields A list of fields to include in the response.
266
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
265
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
266
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
267
267
  # @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
268
268
  def read_with_http_info(deb_package_href, opts = {})
269
269
  if @api_client.config.debugging
@@ -278,8 +278,8 @@ module PulpDebClient
278
278
 
279
279
  # query parameters
280
280
  query_params = opts[:query_params] || {}
281
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
282
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
281
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
282
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
283
283
 
284
284
  # header parameters
285
285
  header_params = opts[:header_params] || {}
@@ -94,8 +94,8 @@ module PulpDebClient
94
94
  # @option opts [String] :repository_version Repository Version referenced by HREF
95
95
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
96
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
97
- # @option opts [String] :fields A list of fields to include in the response.
98
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
98
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
99
99
  # @return [PaginateddebReleaseArchitectureResponseList]
100
100
  def list(opts = {})
101
101
  data, _status_code, _headers = list_with_http_info(opts)
@@ -113,14 +113,14 @@ module PulpDebClient
113
113
  # @option opts [String] :repository_version Repository Version referenced by HREF
114
114
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
115
115
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
116
- # @option opts [String] :fields A list of fields to include in the response.
117
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
118
  # @return [Array<(PaginateddebReleaseArchitectureResponseList, Integer, Hash)>] PaginateddebReleaseArchitectureResponseList data, response status code and response headers
119
119
  def list_with_http_info(opts = {})
120
120
  if @api_client.config.debugging
121
121
  @api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
122
122
  end
123
- allowable_values = ["-_artifacts", "-architecture", "-content_ptr", "-contentartifact", "-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", "architecture", "content_ptr", "contentartifact", "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 = ["-architecture", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
124
124
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
125
125
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
126
126
  end
@@ -137,8 +137,8 @@ module PulpDebClient
137
137
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
138
138
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
139
139
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
140
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
141
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
140
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
141
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
142
142
 
143
143
  # header parameters
144
144
  header_params = opts[:header_params] || {}
@@ -177,8 +177,8 @@ module PulpDebClient
177
177
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
178
178
  # @param deb_release_architecture_href [String]
179
179
  # @param [Hash] opts the optional parameters
180
- # @option opts [String] :fields A list of fields to include in the response.
181
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
181
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
182
182
  # @return [DebReleaseArchitectureResponse]
183
183
  def read(deb_release_architecture_href, opts = {})
184
184
  data, _status_code, _headers = read_with_http_info(deb_release_architecture_href, opts)
@@ -189,8 +189,8 @@ module PulpDebClient
189
189
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
190
190
  # @param deb_release_architecture_href [String]
191
191
  # @param [Hash] opts the optional parameters
192
- # @option opts [String] :fields A list of fields to include in the response.
193
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(DebReleaseArchitectureResponse, Integer, Hash)>] DebReleaseArchitectureResponse data, response status code and response headers
195
195
  def read_with_http_info(deb_release_architecture_href, opts = {})
196
196
  if @api_client.config.debugging
@@ -205,8 +205,8 @@ module PulpDebClient
205
205
 
206
206
  # query parameters
207
207
  query_params = opts[:query_params] || {}
208
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
208
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
209
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
210
210
 
211
211
  # header parameters
212
212
  header_params = opts[:header_params] || {}