pulp_rpm_client 3.18.9 → 3.18.10

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/AcsRpmApi.md +10 -10
  4. data/docs/ContentAdvisoriesApi.md +8 -8
  5. data/docs/ContentDistributionTreesApi.md +8 -8
  6. data/docs/ContentModulemdDefaultsApi.md +8 -8
  7. data/docs/ContentModulemdObsoletesApi.md +8 -8
  8. data/docs/ContentModulemdsApi.md +8 -8
  9. data/docs/ContentPackagecategoriesApi.md +8 -8
  10. data/docs/ContentPackageenvironmentsApi.md +8 -8
  11. data/docs/ContentPackagegroupsApi.md +8 -8
  12. data/docs/ContentPackagelangpacksApi.md +8 -8
  13. data/docs/ContentPackagesApi.md +8 -8
  14. data/docs/ContentRepoMetadataFilesApi.md +8 -8
  15. data/docs/DistributionsRpmApi.md +12 -12
  16. data/docs/PatchedrpmRpmDistribution.md +1 -1
  17. data/docs/PatchedrpmRpmRemote.md +1 -1
  18. data/docs/PatchedrpmRpmRepository.md +1 -1
  19. data/docs/PatchedrpmUlnRemote.md +1 -1
  20. data/docs/PublicationsRpmApi.md +10 -10
  21. data/docs/RemotesRpmApi.md +12 -12
  22. data/docs/RemotesUlnApi.md +12 -12
  23. data/docs/RepositoriesRpmApi.md +11 -11
  24. data/docs/RepositoriesRpmVersionsApi.md +12 -12
  25. data/docs/RpmRpmDistribution.md +1 -1
  26. data/docs/RpmRpmDistributionResponse.md +1 -1
  27. data/docs/RpmRpmRemote.md +1 -1
  28. data/docs/RpmRpmRemoteResponse.md +3 -1
  29. data/docs/RpmRpmRemoteResponseHiddenFields.md +19 -0
  30. data/docs/RpmRpmRepository.md +1 -1
  31. data/docs/RpmRpmRepositoryResponse.md +1 -1
  32. data/docs/RpmUlnRemote.md +1 -1
  33. data/docs/RpmUlnRemoteResponse.md +3 -1
  34. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +15 -15
  35. data/lib/pulp_rpm_client/api/content_advisories_api.rb +13 -13
  36. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
  37. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +13 -13
  38. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +12 -12
  39. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +13 -13
  40. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
  41. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
  42. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
  43. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
  44. data/lib/pulp_rpm_client/api/content_packages_api.rb +13 -13
  45. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
  46. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +17 -17
  47. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +15 -15
  48. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +17 -17
  49. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +17 -17
  50. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +15 -15
  51. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +17 -17
  52. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +4 -2
  53. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +4 -2
  54. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +4 -2
  55. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +4 -2
  56. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +4 -2
  57. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +4 -2
  58. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +4 -2
  59. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +17 -3
  60. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +215 -0
  61. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +4 -2
  62. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +4 -2
  63. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +4 -2
  64. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +17 -3
  65. data/lib/pulp_rpm_client/models/skip_types_enum.rb +1 -0
  66. data/lib/pulp_rpm_client/version.rb +1 -1
  67. data/lib/pulp_rpm_client.rb +1 -0
  68. data/spec/api/acs_rpm_api_spec.rb +5 -5
  69. data/spec/api/content_advisories_api_spec.rb +4 -4
  70. data/spec/api/content_distribution_trees_api_spec.rb +4 -4
  71. data/spec/api/content_modulemd_defaults_api_spec.rb +4 -4
  72. data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -4
  73. data/spec/api/content_modulemds_api_spec.rb +4 -4
  74. data/spec/api/content_packagecategories_api_spec.rb +4 -4
  75. data/spec/api/content_packageenvironments_api_spec.rb +4 -4
  76. data/spec/api/content_packagegroups_api_spec.rb +4 -4
  77. data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
  78. data/spec/api/content_packages_api_spec.rb +4 -4
  79. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
  80. data/spec/api/distributions_rpm_api_spec.rb +6 -6
  81. data/spec/api/publications_rpm_api_spec.rb +5 -5
  82. data/spec/api/remotes_rpm_api_spec.rb +6 -6
  83. data/spec/api/remotes_uln_api_spec.rb +6 -6
  84. data/spec/api/repositories_rpm_api_spec.rb +5 -5
  85. data/spec/api/repositories_rpm_versions_api_spec.rb +6 -6
  86. data/spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb +47 -0
  87. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  88. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  89. metadata +81 -77
@@ -149,15 +149,15 @@ module PulpRpmClient
149
149
  # ViewSet for ACS.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name
152
+ # @option opts [String] :name Filter results where name matches value
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
158
  # @option opts [Array<String>] :ordering Ordering
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 [PaginatedrpmRpmAlternateContentSourceResponseList]
162
162
  def list(opts = {})
163
163
  data, _status_code, _headers = list_with_http_info(opts)
@@ -168,21 +168,21 @@ module PulpRpmClient
168
168
  # ViewSet for ACS.
169
169
  # @param [Hash] opts the optional parameters
170
170
  # @option opts [Integer] :limit Number of results to return per page.
171
- # @option opts [String] :name
171
+ # @option opts [String] :name Filter results where name matches value
172
172
  # @option opts [String] :name__contains Filter results where name contains value
173
173
  # @option opts [String] :name__icontains Filter results where name contains value
174
174
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
175
175
  # @option opts [String] :name__startswith Filter results where name starts with value
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 [String] :fields A list of fields to include in the response.
179
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
178
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
179
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
180
180
  # @return [Array<(PaginatedrpmRpmAlternateContentSourceResponseList, Integer, Hash)>] PaginatedrpmRpmAlternateContentSourceResponseList data, response status code and response headers
181
181
  def list_with_http_info(opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: AcsRpmApi.list ...'
184
184
  end
185
- allowable_values = ["-group_roles", "-last_refreshed", "-name", "-paths", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-rpm_rpmalternatecontentsource", "-user_roles", "group_roles", "last_refreshed", "name", "paths", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "rpm_rpmalternatecontentsource", "user_roles"]
185
+ allowable_values = ["-last_refreshed", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "last_refreshed", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
186
186
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
187
187
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
188
188
  end
@@ -199,8 +199,8 @@ module PulpRpmClient
199
199
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
200
200
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
201
201
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
202
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
203
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
202
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
203
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
204
204
 
205
205
  # header parameters
206
206
  header_params = opts[:header_params] || {}
@@ -309,8 +309,8 @@ module PulpRpmClient
309
309
  # ViewSet for ACS.
310
310
  # @param rpm_rpm_alternate_content_source_href [String]
311
311
  # @param [Hash] opts the optional parameters
312
- # @option opts [String] :fields A list of fields to include in the response.
313
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
312
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
313
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
314
314
  # @return [RpmRpmAlternateContentSourceResponse]
315
315
  def read(rpm_rpm_alternate_content_source_href, opts = {})
316
316
  data, _status_code, _headers = read_with_http_info(rpm_rpm_alternate_content_source_href, opts)
@@ -321,8 +321,8 @@ module PulpRpmClient
321
321
  # ViewSet for ACS.
322
322
  # @param rpm_rpm_alternate_content_source_href [String]
323
323
  # @param [Hash] opts the optional parameters
324
- # @option opts [String] :fields A list of fields to include in the response.
325
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
324
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
325
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
326
326
  # @return [Array<(RpmRpmAlternateContentSourceResponse, Integer, Hash)>] RpmRpmAlternateContentSourceResponse data, response status code and response headers
327
327
  def read_with_http_info(rpm_rpm_alternate_content_source_href, opts = {})
328
328
  if @api_client.config.debugging
@@ -337,8 +337,8 @@ module PulpRpmClient
337
337
 
338
338
  # query parameters
339
339
  query_params = opts[:query_params] || {}
340
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
341
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
340
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
341
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
342
342
 
343
343
  # header parameters
344
344
  header_params = opts[:header_params] || {}
@@ -103,8 +103,8 @@ module PulpRpmClient
103
103
  # @option opts [String] :type Filter results where type matches value
104
104
  # @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
105
105
  # @option opts [String] :type__ne Filter results where type not equal to value
106
- # @option opts [String] :fields A list of fields to include in the response.
107
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
106
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
107
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
108
  # @return [PaginatedrpmUpdateRecordResponseList]
109
109
  def list(opts = {})
110
110
  data, _status_code, _headers = list_with_http_info(opts)
@@ -131,14 +131,14 @@ module PulpRpmClient
131
131
  # @option opts [String] :type Filter results where type matches value
132
132
  # @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
133
133
  # @option opts [String] :type__ne Filter results where type not equal to value
134
- # @option opts [String] :fields A list of fields to include in the response.
135
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
135
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
136
  # @return [Array<(PaginatedrpmUpdateRecordResponseList, Integer, Hash)>] PaginatedrpmUpdateRecordResponseList data, response status code and response headers
137
137
  def list_with_http_info(opts = {})
138
138
  if @api_client.config.debugging
139
139
  @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.list ...'
140
140
  end
141
- allowable_values = ["-_artifacts", "-collections", "-content_ptr", "-contentartifact", "-description", "-digest", "-fromstr", "-group_roles", "-id", "-issued_date", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pushcount", "-reboot_suggested", "-references", "-release", "-repositories", "-rights", "-severity", "-solution", "-status", "-summary", "-timestamp_of_interest", "-title", "-type", "-updated_date", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "collections", "content_ptr", "contentartifact", "description", "digest", "fromstr", "group_roles", "id", "issued_date", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pushcount", "reboot_suggested", "references", "release", "repositories", "rights", "severity", "solution", "status", "summary", "timestamp_of_interest", "title", "type", "updated_date", "upstream_id", "user_roles", "version", "version_memberships"]
141
+ allowable_values = ["-description", "-digest", "-fromstr", "-id", "-issued_date", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-pushcount", "-reboot_suggested", "-release", "-rights", "-severity", "-solution", "-status", "-summary", "-timestamp_of_interest", "-title", "-type", "-updated_date", "-upstream_id", "-version", "description", "digest", "fromstr", "id", "issued_date", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "pushcount", "reboot_suggested", "release", "rights", "severity", "solution", "status", "summary", "timestamp_of_interest", "title", "type", "updated_date", "upstream_id", "version"]
142
142
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
143
143
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
144
144
  end
@@ -164,8 +164,8 @@ module PulpRpmClient
164
164
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
165
165
  query_params[:'type__in'] = @api_client.build_collection_param(opts[:'type__in'], :csv) if !opts[:'type__in'].nil?
166
166
  query_params[:'type__ne'] = opts[:'type__ne'] if !opts[:'type__ne'].nil?
167
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
168
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
167
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
168
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
169
169
 
170
170
  # header parameters
171
171
  header_params = opts[:header_params] || {}
@@ -204,8 +204,8 @@ module PulpRpmClient
204
204
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
205
205
  # @param rpm_update_record_href [String]
206
206
  # @param [Hash] opts the optional parameters
207
- # @option opts [String] :fields A list of fields to include in the response.
208
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
207
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
208
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
209
209
  # @return [RpmUpdateRecordResponse]
210
210
  def read(rpm_update_record_href, opts = {})
211
211
  data, _status_code, _headers = read_with_http_info(rpm_update_record_href, opts)
@@ -216,8 +216,8 @@ module PulpRpmClient
216
216
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
217
217
  # @param rpm_update_record_href [String]
218
218
  # @param [Hash] opts the optional parameters
219
- # @option opts [String] :fields A list of fields to include in the response.
220
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
219
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
220
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
221
221
  # @return [Array<(RpmUpdateRecordResponse, Integer, Hash)>] RpmUpdateRecordResponse data, response status code and response headers
222
222
  def read_with_http_info(rpm_update_record_href, opts = {})
223
223
  if @api_client.config.debugging
@@ -232,8 +232,8 @@ module PulpRpmClient
232
232
 
233
233
  # query parameters
234
234
  query_params = opts[:query_params] || {}
235
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
236
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
235
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
236
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
237
237
 
238
238
  # header parameters
239
239
  header_params = opts[:header_params] || {}
@@ -28,8 +28,8 @@ module PulpRpmClient
28
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
29
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
31
- # @option opts [String] :fields A list of fields to include in the response.
32
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
31
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
32
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedrpmDistributionTreeResponseList]
34
34
  def list(opts = {})
35
35
  data, _status_code, _headers = list_with_http_info(opts)
@@ -45,8 +45,8 @@ module PulpRpmClient
45
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
- # @option opts [String] :fields A list of fields to include in the response.
49
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
49
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedrpmDistributionTreeResponseList, Integer, Hash)>] PaginatedrpmDistributionTreeResponseList data, response status code and response headers
51
51
  def list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpRpmClient
67
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
68
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
69
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -107,8 +107,8 @@ module PulpRpmClient
107
107
  # Distribution Tree Viewset.
108
108
  # @param rpm_distribution_tree_href [String]
109
109
  # @param [Hash] opts the optional parameters
110
- # @option opts [String] :fields A list of fields to include in the response.
111
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
111
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [RpmDistributionTreeResponse]
113
113
  def read(rpm_distribution_tree_href, opts = {})
114
114
  data, _status_code, _headers = read_with_http_info(rpm_distribution_tree_href, opts)
@@ -119,8 +119,8 @@ module PulpRpmClient
119
119
  # Distribution Tree Viewset.
120
120
  # @param rpm_distribution_tree_href [String]
121
121
  # @param [Hash] opts the optional parameters
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(RpmDistributionTreeResponse, Integer, Hash)>] RpmDistributionTreeResponse data, response status code and response headers
125
125
  def read_with_http_info(rpm_distribution_tree_href, opts = {})
126
126
  if @api_client.config.debugging
@@ -135,8 +135,8 @@ module PulpRpmClient
135
135
 
136
136
  # query parameters
137
137
  query_params = opts[:query_params] || {}
138
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
139
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
139
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
140
140
 
141
141
  # header parameters
142
142
  header_params = opts[:header_params] || {}
@@ -97,8 +97,8 @@ module PulpRpmClient
97
97
  # @option opts [String] :sha256
98
98
  # @option opts [String] :stream Filter results where stream matches value
99
99
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
100
- # @option opts [String] :fields A list of fields to include in the response.
101
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
101
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
102
  # @return [PaginatedrpmModulemdDefaultsResponseList]
103
103
  def list(opts = {})
104
104
  data, _status_code, _headers = list_with_http_info(opts)
@@ -119,14 +119,14 @@ module PulpRpmClient
119
119
  # @option opts [String] :sha256
120
120
  # @option opts [String] :stream Filter results where stream matches value
121
121
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(PaginatedrpmModulemdDefaultsResponseList, Integer, Hash)>] PaginatedrpmModulemdDefaultsResponseList data, response status code and response headers
125
125
  def list_with_http_info(opts = {})
126
126
  if @api_client.config.debugging
127
127
  @api_client.config.logger.debug 'Calling API: ContentModulemdDefaultsApi.list ...'
128
128
  end
129
- allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-digest", "-group_roles", "-module", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-snippet", "-stream", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "digest", "group_roles", "module", "pk", "profiles", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "snippet", "stream", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
129
+ allowable_values = ["-digest", "-module", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-snippet", "-stream", "-timestamp_of_interest", "-upstream_id", "digest", "module", "pk", "profiles", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "snippet", "stream", "timestamp_of_interest", "upstream_id"]
130
130
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
131
131
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
132
132
  end
@@ -146,8 +146,8 @@ module PulpRpmClient
146
146
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
147
147
  query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
148
148
  query_params[:'stream__in'] = @api_client.build_collection_param(opts[:'stream__in'], :csv) if !opts[:'stream__in'].nil?
149
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
150
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
149
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
151
151
 
152
152
  # header parameters
153
153
  header_params = opts[:header_params] || {}
@@ -186,8 +186,8 @@ module PulpRpmClient
186
186
  # ViewSet for Modulemd.
187
187
  # @param rpm_modulemd_defaults_href [String]
188
188
  # @param [Hash] opts the optional parameters
189
- # @option opts [String] :fields A list of fields to include in the response.
190
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
189
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
190
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
191
191
  # @return [RpmModulemdDefaultsResponse]
192
192
  def read(rpm_modulemd_defaults_href, opts = {})
193
193
  data, _status_code, _headers = read_with_http_info(rpm_modulemd_defaults_href, opts)
@@ -198,8 +198,8 @@ module PulpRpmClient
198
198
  # ViewSet for Modulemd.
199
199
  # @param rpm_modulemd_defaults_href [String]
200
200
  # @param [Hash] opts the optional parameters
201
- # @option opts [String] :fields A list of fields to include in the response.
202
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
201
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
202
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
203
203
  # @return [Array<(RpmModulemdDefaultsResponse, Integer, Hash)>] RpmModulemdDefaultsResponse data, response status code and response headers
204
204
  def read_with_http_info(rpm_modulemd_defaults_href, opts = {})
205
205
  if @api_client.config.debugging
@@ -214,8 +214,8 @@ module PulpRpmClient
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
217
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
218
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
217
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
218
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
219
219
 
220
220
  # header parameters
221
221
  header_params = opts[:header_params] || {}
@@ -92,8 +92,8 @@ module PulpRpmClient
92
92
  # @option opts [String] :repository_version Repository Version referenced by HREF
93
93
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
94
94
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
95
- # @option opts [String] :fields A list of fields to include in the response.
96
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
95
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
96
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
97
97
  # @return [PaginatedrpmModulemdObsoleteResponseList]
98
98
  def list(opts = {})
99
99
  data, _status_code, _headers = list_with_http_info(opts)
@@ -109,8 +109,8 @@ module PulpRpmClient
109
109
  # @option opts [String] :repository_version Repository Version referenced by HREF
110
110
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
111
111
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
112
- # @option opts [String] :fields A list of fields to include in the response.
113
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
112
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
113
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
114
114
  # @return [Array<(PaginatedrpmModulemdObsoleteResponseList, Integer, Hash)>] PaginatedrpmModulemdObsoleteResponseList data, response status code and response headers
115
115
  def list_with_http_info(opts = {})
116
116
  if @api_client.config.debugging
@@ -131,8 +131,8 @@ module PulpRpmClient
131
131
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
132
132
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
133
133
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
134
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
135
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
134
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
135
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
136
136
 
137
137
  # header parameters
138
138
  header_params = opts[:header_params] || {}
@@ -171,8 +171,8 @@ module PulpRpmClient
171
171
  # ViewSet for Modulemd.
172
172
  # @param rpm_modulemd_obsolete_href [String]
173
173
  # @param [Hash] opts the optional parameters
174
- # @option opts [String] :fields A list of fields to include in the response.
175
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
174
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
175
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
176
176
  # @return [RpmModulemdObsoleteResponse]
177
177
  def read(rpm_modulemd_obsolete_href, opts = {})
178
178
  data, _status_code, _headers = read_with_http_info(rpm_modulemd_obsolete_href, opts)
@@ -183,8 +183,8 @@ module PulpRpmClient
183
183
  # ViewSet for Modulemd.
184
184
  # @param rpm_modulemd_obsolete_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 [Array<(RpmModulemdObsoleteResponse, Integer, Hash)>] RpmModulemdObsoleteResponse data, response status code and response headers
189
189
  def read_with_http_info(rpm_modulemd_obsolete_href, opts = {})
190
190
  if @api_client.config.debugging
@@ -199,8 +199,8 @@ module PulpRpmClient
199
199
 
200
200
  # query parameters
201
201
  query_params = opts[:query_params] || {}
202
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
203
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
202
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
203
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
204
204
 
205
205
  # header parameters
206
206
  header_params = opts[:header_params] || {}
@@ -97,8 +97,8 @@ module PulpRpmClient
97
97
  # @option opts [String] :sha256
98
98
  # @option opts [String] :stream Filter results where stream matches value
99
99
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
100
- # @option opts [String] :fields A list of fields to include in the response.
101
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
101
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
102
  # @return [PaginatedrpmModulemdResponseList]
103
103
  def list(opts = {})
104
104
  data, _status_code, _headers = list_with_http_info(opts)
@@ -119,14 +119,14 @@ module PulpRpmClient
119
119
  # @option opts [String] :sha256
120
120
  # @option opts [String] :stream Filter results where stream matches value
121
121
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(PaginatedrpmModulemdResponseList, Integer, Hash)>] PaginatedrpmModulemdResponseList data, response status code and response headers
125
125
  def list_with_http_info(opts = {})
126
126
  if @api_client.config.debugging
127
127
  @api_client.config.logger.debug 'Calling API: ContentModulemdsApi.list ...'
128
128
  end
129
- allowable_values = ["-_artifacts", "-arch", "-artifacts", "-content_ptr", "-contentartifact", "-context", "-dependencies", "-description", "-group_roles", "-name", "-packages", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "arch", "artifacts", "content_ptr", "contentartifact", "context", "dependencies", "description", "group_roles", "name", "packages", "pk", "profiles", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
129
+ allowable_values = ["-arch", "-artifacts", "-context", "-dependencies", "-description", "-name", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-version", "arch", "artifacts", "context", "dependencies", "description", "name", "pk", "profiles", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "version"]
130
130
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
131
131
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
132
132
  end
@@ -146,8 +146,8 @@ module PulpRpmClient
146
146
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
147
147
  query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
148
148
  query_params[:'stream__in'] = @api_client.build_collection_param(opts[:'stream__in'], :csv) if !opts[:'stream__in'].nil?
149
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
150
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
149
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
151
151
 
152
152
  # header parameters
153
153
  header_params = opts[:header_params] || {}
@@ -186,8 +186,8 @@ module PulpRpmClient
186
186
  # ViewSet for Modulemd.
187
187
  # @param rpm_modulemd_href [String]
188
188
  # @param [Hash] opts the optional parameters
189
- # @option opts [String] :fields A list of fields to include in the response.
190
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
189
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
190
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
191
191
  # @return [RpmModulemdResponse]
192
192
  def read(rpm_modulemd_href, opts = {})
193
193
  data, _status_code, _headers = read_with_http_info(rpm_modulemd_href, opts)
@@ -198,8 +198,8 @@ module PulpRpmClient
198
198
  # ViewSet for Modulemd.
199
199
  # @param rpm_modulemd_href [String]
200
200
  # @param [Hash] opts the optional parameters
201
- # @option opts [String] :fields A list of fields to include in the response.
202
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
201
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
202
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
203
203
  # @return [Array<(RpmModulemdResponse, Integer, Hash)>] RpmModulemdResponse data, response status code and response headers
204
204
  def read_with_http_info(rpm_modulemd_href, opts = {})
205
205
  if @api_client.config.debugging
@@ -214,8 +214,8 @@ module PulpRpmClient
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
217
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
218
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
217
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
218
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
219
219
 
220
220
  # header parameters
221
221
  header_params = opts[:header_params] || {}
@@ -28,8 +28,8 @@ module PulpRpmClient
28
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
29
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
31
- # @option opts [String] :fields A list of fields to include in the response.
32
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
31
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
32
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedrpmPackageCategoryResponseList]
34
34
  def list(opts = {})
35
35
  data, _status_code, _headers = list_with_http_info(opts)
@@ -45,8 +45,8 @@ module PulpRpmClient
45
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
- # @option opts [String] :fields A list of fields to include in the response.
49
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
49
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedrpmPackageCategoryResponseList, Integer, Hash)>] PaginatedrpmPackageCategoryResponseList data, response status code and response headers
51
51
  def list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpRpmClient
67
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
68
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
69
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -107,8 +107,8 @@ module PulpRpmClient
107
107
  # PackageCategory ViewSet.
108
108
  # @param rpm_package_category_href [String]
109
109
  # @param [Hash] opts the optional parameters
110
- # @option opts [String] :fields A list of fields to include in the response.
111
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
111
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [RpmPackageCategoryResponse]
113
113
  def read(rpm_package_category_href, opts = {})
114
114
  data, _status_code, _headers = read_with_http_info(rpm_package_category_href, opts)
@@ -119,8 +119,8 @@ module PulpRpmClient
119
119
  # PackageCategory ViewSet.
120
120
  # @param rpm_package_category_href [String]
121
121
  # @param [Hash] opts the optional parameters
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(RpmPackageCategoryResponse, Integer, Hash)>] RpmPackageCategoryResponse data, response status code and response headers
125
125
  def read_with_http_info(rpm_package_category_href, opts = {})
126
126
  if @api_client.config.debugging
@@ -135,8 +135,8 @@ module PulpRpmClient
135
135
 
136
136
  # query parameters
137
137
  query_params = opts[:query_params] || {}
138
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
139
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
139
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
140
140
 
141
141
  # header parameters
142
142
  header_params = opts[:header_params] || {}
@@ -28,8 +28,8 @@ module PulpRpmClient
28
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
29
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
31
- # @option opts [String] :fields A list of fields to include in the response.
32
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
31
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
32
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedrpmPackageEnvironmentResponseList]
34
34
  def list(opts = {})
35
35
  data, _status_code, _headers = list_with_http_info(opts)
@@ -45,8 +45,8 @@ module PulpRpmClient
45
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
- # @option opts [String] :fields A list of fields to include in the response.
49
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
49
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedrpmPackageEnvironmentResponseList, Integer, Hash)>] PaginatedrpmPackageEnvironmentResponseList data, response status code and response headers
51
51
  def list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpRpmClient
67
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
68
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
69
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -107,8 +107,8 @@ module PulpRpmClient
107
107
  # PackageEnvironment ViewSet.
108
108
  # @param rpm_package_environment_href [String]
109
109
  # @param [Hash] opts the optional parameters
110
- # @option opts [String] :fields A list of fields to include in the response.
111
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
111
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [RpmPackageEnvironmentResponse]
113
113
  def read(rpm_package_environment_href, opts = {})
114
114
  data, _status_code, _headers = read_with_http_info(rpm_package_environment_href, opts)
@@ -119,8 +119,8 @@ module PulpRpmClient
119
119
  # PackageEnvironment ViewSet.
120
120
  # @param rpm_package_environment_href [String]
121
121
  # @param [Hash] opts the optional parameters
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(RpmPackageEnvironmentResponse, Integer, Hash)>] RpmPackageEnvironmentResponse data, response status code and response headers
125
125
  def read_with_http_info(rpm_package_environment_href, opts = {})
126
126
  if @api_client.config.debugging
@@ -135,8 +135,8 @@ module PulpRpmClient
135
135
 
136
136
  # query parameters
137
137
  query_params = opts[:query_params] || {}
138
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
139
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
139
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
140
140
 
141
141
  # header parameters
142
142
  header_params = opts[:header_params] || {}