pulp_rpm_client 3.18.9 → 3.18.11

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,7 +149,7 @@ module PulpRpmClient
149
149
  # A ViewSet for UlnRemote.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name
152
+ # @option opts [String] :name Filter results where name matches value
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -157,14 +157,14 @@ module PulpRpmClient
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
158
  # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
160
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
161
161
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
162
162
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
163
163
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
164
164
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
165
165
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
166
- # @option opts [String] :fields A list of fields to include in the response.
167
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
166
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
167
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
168
168
  # @return [PaginatedrpmUlnRemoteResponseList]
169
169
  def list(opts = {})
170
170
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,7 +175,7 @@ module PulpRpmClient
175
175
  # A ViewSet for UlnRemote.
176
176
  # @param [Hash] opts the optional parameters
177
177
  # @option opts [Integer] :limit Number of results to return per page.
178
- # @option opts [String] :name
178
+ # @option opts [String] :name Filter results where name matches value
179
179
  # @option opts [String] :name__contains Filter results where name contains value
180
180
  # @option opts [String] :name__icontains Filter results where name contains value
181
181
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -183,20 +183,20 @@ module PulpRpmClient
183
183
  # @option opts [Integer] :offset The initial index from which to return the results.
184
184
  # @option opts [Array<String>] :ordering Ordering
185
185
  # @option opts [String] :pulp_label_select Filter labels by search string
186
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
186
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
187
187
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
188
188
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
189
189
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
190
190
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
191
191
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
192
- # @option opts [String] :fields A list of fields to include in the response.
193
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(PaginatedrpmUlnRemoteResponseList, Integer, Hash)>] PaginatedrpmUlnRemoteResponseList data, response status code and response headers
195
195
  def list_with_http_info(opts = {})
196
196
  if @api_client.config.debugging
197
197
  @api_client.config.logger.debug 'Calling API: RemotesUlnApi.list ...'
198
198
  end
199
- allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-rpm_rpmremote", "-rpm_ulnremote", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "rpm_rpmremote", "rpm_ulnremote", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
199
+ allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
200
200
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
201
201
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
202
202
  end
@@ -220,8 +220,8 @@ module PulpRpmClient
220
220
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
221
221
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
222
222
  query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
223
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
224
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
223
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
224
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
225
225
 
226
226
  # header parameters
227
227
  header_params = opts[:header_params] || {}
@@ -330,8 +330,8 @@ module PulpRpmClient
330
330
  # A ViewSet for UlnRemote.
331
331
  # @param rpm_uln_remote_href [String]
332
332
  # @param [Hash] opts the optional parameters
333
- # @option opts [String] :fields A list of fields to include in the response.
334
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
333
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
334
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
335
335
  # @return [RpmUlnRemoteResponse]
336
336
  def read(rpm_uln_remote_href, opts = {})
337
337
  data, _status_code, _headers = read_with_http_info(rpm_uln_remote_href, opts)
@@ -342,8 +342,8 @@ module PulpRpmClient
342
342
  # A ViewSet for UlnRemote.
343
343
  # @param rpm_uln_remote_href [String]
344
344
  # @param [Hash] opts the optional parameters
345
- # @option opts [String] :fields A list of fields to include in the response.
346
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
345
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
346
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
347
347
  # @return [Array<(RpmUlnRemoteResponse, Integer, Hash)>] RpmUlnRemoteResponse data, response status code and response headers
348
348
  def read_with_http_info(rpm_uln_remote_href, opts = {})
349
349
  if @api_client.config.debugging
@@ -358,8 +358,8 @@ module PulpRpmClient
358
358
 
359
359
  # query parameters
360
360
  query_params = opts[:query_params] || {}
361
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
362
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
361
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
362
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
363
363
 
364
364
  # header parameters
365
365
  header_params = opts[:header_params] || {}
@@ -149,7 +149,7 @@ module PulpRpmClient
149
149
  # A ViewSet for RpmRepository.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name
152
+ # @option opts [String] :name Filter results where name matches value
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -158,8 +158,8 @@ module PulpRpmClient
158
158
  # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
160
  # @option opts [String] :remote Foreign Key referenced by HREF
161
- # @option opts [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 [PaginatedrpmRpmRepositoryResponseList]
164
164
  def list(opts = {})
165
165
  data, _status_code, _headers = list_with_http_info(opts)
@@ -170,7 +170,7 @@ module PulpRpmClient
170
170
  # A ViewSet for RpmRepository.
171
171
  # @param [Hash] opts the optional parameters
172
172
  # @option opts [Integer] :limit Number of results to return per page.
173
- # @option opts [String] :name
173
+ # @option opts [String] :name Filter results where name matches value
174
174
  # @option opts [String] :name__contains Filter results where name contains value
175
175
  # @option opts [String] :name__icontains Filter results where name contains value
176
176
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -179,14 +179,14 @@ module PulpRpmClient
179
179
  # @option opts [Array<String>] :ordering Ordering
180
180
  # @option opts [String] :pulp_label_select Filter labels by search string
181
181
  # @option opts [String] :remote Foreign Key referenced by HREF
182
- # @option opts [String] :fields A list of fields to include in the response.
183
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
183
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
184
184
  # @return [Array<(PaginatedrpmRpmRepositoryResponseList, Integer, Hash)>] PaginatedrpmRpmRepositoryResponseList data, response status code and response headers
185
185
  def list_with_http_info(opts = {})
186
186
  if @api_client.config.debugging
187
187
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.list ...'
188
188
  end
189
- allowable_values = ["-addons", "-alternatecontentsourcepath", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-rpm_rpmrepository", "-user_hidden", "-user_roles", "-variants", "-versions", "addons", "alternatecontentsourcepath", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "rpm_rpmrepository", "user_hidden", "user_roles", "variants", "versions"]
189
+ allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
190
190
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
191
191
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
192
192
  end
@@ -205,8 +205,8 @@ module PulpRpmClient
205
205
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
206
206
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
207
207
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
208
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
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] || {}
@@ -385,8 +385,8 @@ module PulpRpmClient
385
385
  # A ViewSet for RpmRepository.
386
386
  # @param rpm_rpm_repository_href [String]
387
387
  # @param [Hash] opts the optional parameters
388
- # @option opts [String] :fields A list of fields to include in the response.
389
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
388
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
389
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
390
390
  # @return [RpmRpmRepositoryResponse]
391
391
  def read(rpm_rpm_repository_href, opts = {})
392
392
  data, _status_code, _headers = read_with_http_info(rpm_rpm_repository_href, opts)
@@ -397,8 +397,8 @@ module PulpRpmClient
397
397
  # A ViewSet for RpmRepository.
398
398
  # @param rpm_rpm_repository_href [String]
399
399
  # @param [Hash] opts the optional parameters
400
- # @option opts [String] :fields A list of fields to include in the response.
401
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
400
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
401
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
402
402
  # @return [Array<(RpmRpmRepositoryResponse, Integer, Hash)>] RpmRpmRepositoryResponse data, response status code and response headers
403
403
  def read_with_http_info(rpm_rpm_repository_href, opts = {})
404
404
  if @api_client.config.debugging
@@ -413,8 +413,8 @@ module PulpRpmClient
413
413
 
414
414
  # query parameters
415
415
  query_params = opts[:query_params] || {}
416
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
417
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
416
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
417
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
418
418
 
419
419
  # header parameters
420
420
  header_params = opts[:header_params] || {}
@@ -88,7 +88,7 @@ module PulpRpmClient
88
88
  # @option opts [String] :content Content Unit referenced by HREF
89
89
  # @option opts [String] :content__in Content Unit referenced by HREF
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
- # @option opts [Integer] :number
91
+ # @option opts [Integer] :number Filter results where number matches value
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
93
93
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
94
94
  # @option opts [Integer] :number__lt Filter results where number is less than value
@@ -96,14 +96,14 @@ module PulpRpmClient
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
98
  # @option opts [Array<String>] :ordering Ordering
99
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
99
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
- # @option opts [String] :fields A list of fields to include in the response.
106
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
105
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
106
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
107
  # @return [PaginatedRepositoryVersionResponseList]
108
108
  def list(rpm_rpm_repository_href, opts = {})
109
109
  data, _status_code, _headers = list_with_http_info(rpm_rpm_repository_href, opts)
@@ -117,7 +117,7 @@ module PulpRpmClient
117
117
  # @option opts [String] :content Content Unit referenced by HREF
118
118
  # @option opts [String] :content__in Content Unit referenced by HREF
119
119
  # @option opts [Integer] :limit Number of results to return per page.
120
- # @option opts [Integer] :number
120
+ # @option opts [Integer] :number Filter results where number matches value
121
121
  # @option opts [Integer] :number__gt Filter results where number is greater than value
122
122
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
123
123
  # @option opts [Integer] :number__lt Filter results where number is less than value
@@ -125,14 +125,14 @@ module PulpRpmClient
125
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
126
  # @option opts [Integer] :offset The initial index from which to return the results.
127
127
  # @option opts [Array<String>] :ordering Ordering
128
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
128
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
129
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
131
131
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
132
132
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
133
133
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
134
- # @option opts [String] :fields A list of fields to include in the response.
135
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
135
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
137
137
  def list_with_http_info(rpm_rpm_repository_href, opts = {})
138
138
  if @api_client.config.debugging
@@ -142,7 +142,7 @@ module PulpRpmClient
142
142
  if @api_client.config.client_side_validation && rpm_rpm_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'rpm_rpm_repository_href' when calling RepositoriesRpmVersionsApi.list"
144
144
  end
145
- allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
145
+ allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
146
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
147
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
148
148
  end
@@ -168,8 +168,8 @@ module PulpRpmClient
168
168
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
169
169
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
170
170
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
171
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
172
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
171
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
172
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
173
173
 
174
174
  # header parameters
175
175
  header_params = opts[:header_params] || {}
@@ -208,8 +208,8 @@ module PulpRpmClient
208
208
  # RpmRepositoryVersion represents a single rpm repository version.
209
209
  # @param rpm_rpm_repository_version_href [String]
210
210
  # @param [Hash] opts the optional parameters
211
- # @option opts [String] :fields A list of fields to include in the response.
212
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
211
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
212
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
213
213
  # @return [RepositoryVersionResponse]
214
214
  def read(rpm_rpm_repository_version_href, opts = {})
215
215
  data, _status_code, _headers = read_with_http_info(rpm_rpm_repository_version_href, opts)
@@ -220,8 +220,8 @@ module PulpRpmClient
220
220
  # RpmRepositoryVersion represents a single rpm repository version.
221
221
  # @param rpm_rpm_repository_version_href [String]
222
222
  # @param [Hash] opts the optional parameters
223
- # @option opts [String] :fields A list of fields to include in the response.
224
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
223
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
224
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
225
225
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
226
226
  def read_with_http_info(rpm_rpm_repository_version_href, opts = {})
227
227
  if @api_client.config.debugging
@@ -236,8 +236,8 @@ module PulpRpmClient
236
236
 
237
237
  # query parameters
238
238
  query_params = opts[:query_params] || {}
239
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
240
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
239
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
240
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
241
241
 
242
242
  # header parameters
243
243
  header_params = opts[:header_params] || {}
@@ -49,7 +49,7 @@ module PulpRpmClient
49
49
  {
50
50
  :'base_path' => :'String',
51
51
  :'content_guard' => :'String',
52
- :'pulp_labels' => :'Object',
52
+ :'pulp_labels' => :'Hash<String, String>',
53
53
  :'name' => :'String',
54
54
  :'repository' => :'String',
55
55
  :'publication' => :'String'
@@ -89,7 +89,9 @@ module PulpRpmClient
89
89
  end
90
90
 
91
91
  if attributes.key?(:'pulp_labels')
92
- self.pulp_labels = attributes[:'pulp_labels']
92
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
93
+ self.pulp_labels = value
94
+ end
93
95
  end
94
96
 
95
97
  if attributes.key?(:'name')
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Object',
125
+ :'pulp_labels' => :'Hash<String, String>',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -218,7 +218,9 @@ module PulpRpmClient
218
218
  end
219
219
 
220
220
  if attributes.key?(:'pulp_labels')
221
- self.pulp_labels = attributes[:'pulp_labels']
221
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
222
+ self.pulp_labels = value
223
+ end
222
224
  end
223
225
 
224
226
  if attributes.key?(:'download_concurrency')
@@ -75,7 +75,7 @@ module PulpRpmClient
75
75
  # Attribute type mapping.
76
76
  def self.openapi_types
77
77
  {
78
- :'pulp_labels' => :'Object',
78
+ :'pulp_labels' => :'Hash<String, String>',
79
79
  :'name' => :'String',
80
80
  :'description' => :'String',
81
81
  :'retain_repo_versions' => :'Integer',
@@ -119,7 +119,9 @@ module PulpRpmClient
119
119
  }
120
120
 
121
121
  if attributes.key?(:'pulp_labels')
122
- self.pulp_labels = attributes[:'pulp_labels']
122
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
+ self.pulp_labels = value
124
+ end
123
125
  end
124
126
 
125
127
  if attributes.key?(:'name')
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Object',
125
+ :'pulp_labels' => :'Hash<String, String>',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -216,7 +216,9 @@ module PulpRpmClient
216
216
  end
217
217
 
218
218
  if attributes.key?(:'pulp_labels')
219
- self.pulp_labels = attributes[:'pulp_labels']
219
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
220
+ self.pulp_labels = value
221
+ end
220
222
  end
221
223
 
222
224
  if attributes.key?(:'download_concurrency')
@@ -49,7 +49,7 @@ module PulpRpmClient
49
49
  {
50
50
  :'base_path' => :'String',
51
51
  :'content_guard' => :'String',
52
- :'pulp_labels' => :'Object',
52
+ :'pulp_labels' => :'Hash<String, String>',
53
53
  :'name' => :'String',
54
54
  :'repository' => :'String',
55
55
  :'publication' => :'String'
@@ -89,7 +89,9 @@ module PulpRpmClient
89
89
  end
90
90
 
91
91
  if attributes.key?(:'pulp_labels')
92
- self.pulp_labels = attributes[:'pulp_labels']
92
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
93
+ self.pulp_labels = value
94
+ end
93
95
  end
94
96
 
95
97
  if attributes.key?(:'name')
@@ -63,7 +63,7 @@ module PulpRpmClient
63
63
  :'base_path' => :'String',
64
64
  :'base_url' => :'String',
65
65
  :'content_guard' => :'String',
66
- :'pulp_labels' => :'Object',
66
+ :'pulp_labels' => :'Hash<String, String>',
67
67
  :'name' => :'String',
68
68
  :'repository' => :'String',
69
69
  :'publication' => :'String'
@@ -115,7 +115,9 @@ module PulpRpmClient
115
115
  end
116
116
 
117
117
  if attributes.key?(:'pulp_labels')
118
- self.pulp_labels = attributes[:'pulp_labels']
118
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
+ self.pulp_labels = value
120
+ end
119
121
  end
120
122
 
121
123
  if attributes.key?(:'name')
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Object',
125
+ :'pulp_labels' => :'Hash<String, String>',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -218,7 +218,9 @@ module PulpRpmClient
218
218
  end
219
219
 
220
220
  if attributes.key?(:'pulp_labels')
221
- self.pulp_labels = attributes[:'pulp_labels']
221
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
222
+ self.pulp_labels = value
223
+ end
222
224
  end
223
225
 
224
226
  if attributes.key?(:'download_concurrency')
@@ -70,6 +70,9 @@ module PulpRpmClient
70
70
  # Limits requests per second for each concurrent downloader
71
71
  attr_accessor :rate_limit
72
72
 
73
+ # List of hidden (write only) fields
74
+ attr_accessor :hidden_fields
75
+
73
76
  # Authentication token for SLES repositories.
74
77
  attr_accessor :sles_auth_token
75
78
 
@@ -95,6 +98,7 @@ module PulpRpmClient
95
98
  :'sock_read_timeout' => :'sock_read_timeout',
96
99
  :'headers' => :'headers',
97
100
  :'rate_limit' => :'rate_limit',
101
+ :'hidden_fields' => :'hidden_fields',
98
102
  :'sles_auth_token' => :'sles_auth_token'
99
103
  }
100
104
  end
@@ -110,7 +114,7 @@ module PulpRpmClient
110
114
  :'client_cert' => :'String',
111
115
  :'tls_validation' => :'Boolean',
112
116
  :'proxy_url' => :'String',
113
- :'pulp_labels' => :'Object',
117
+ :'pulp_labels' => :'Hash<String, String>',
114
118
  :'pulp_last_updated' => :'DateTime',
115
119
  :'download_concurrency' => :'Integer',
116
120
  :'max_retries' => :'Integer',
@@ -121,6 +125,7 @@ module PulpRpmClient
121
125
  :'sock_read_timeout' => :'Float',
122
126
  :'headers' => :'Array<Object>',
123
127
  :'rate_limit' => :'Integer',
128
+ :'hidden_fields' => :'Array<RpmRpmRemoteResponseHiddenFields>',
124
129
  :'sles_auth_token' => :'String'
125
130
  }
126
131
  end
@@ -190,7 +195,9 @@ module PulpRpmClient
190
195
  end
191
196
 
192
197
  if attributes.key?(:'pulp_labels')
193
- self.pulp_labels = attributes[:'pulp_labels']
198
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
199
+ self.pulp_labels = value
200
+ end
194
201
  end
195
202
 
196
203
  if attributes.key?(:'pulp_last_updated')
@@ -235,6 +242,12 @@ module PulpRpmClient
235
242
  self.rate_limit = attributes[:'rate_limit']
236
243
  end
237
244
 
245
+ if attributes.key?(:'hidden_fields')
246
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
247
+ self.hidden_fields = value
248
+ end
249
+ end
250
+
238
251
  if attributes.key?(:'sles_auth_token')
239
252
  self.sles_auth_token = attributes[:'sles_auth_token']
240
253
  end
@@ -362,6 +375,7 @@ module PulpRpmClient
362
375
  sock_read_timeout == o.sock_read_timeout &&
363
376
  headers == o.headers &&
364
377
  rate_limit == o.rate_limit &&
378
+ hidden_fields == o.hidden_fields &&
365
379
  sles_auth_token == o.sles_auth_token
366
380
  end
367
381
 
@@ -374,7 +388,7 @@ module PulpRpmClient
374
388
  # Calculates hash code according to all attributes.
375
389
  # @return [Integer] Hash code
376
390
  def hash
377
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
391
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, sles_auth_token].hash
378
392
  end
379
393
 
380
394
  # Builds the object from hash