pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1675912380

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_ostree_client might be problematic. Click here for more details.

Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/ContentCommitsApi.md +8 -8
  4. data/docs/ContentConfigsApi.md +8 -8
  5. data/docs/ContentObjectsApi.md +8 -8
  6. data/docs/ContentRefsApi.md +8 -8
  7. data/docs/ContentSummariesApi.md +8 -8
  8. data/docs/DistributionsOstreeApi.md +18 -12
  9. data/docs/OstreeOstreeDistribution.md +1 -1
  10. data/docs/OstreeOstreeDistributionResponse.md +1 -1
  11. data/docs/OstreeOstreeRemote.md +1 -1
  12. data/docs/OstreeOstreeRemoteResponse.md +3 -1
  13. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  14. data/docs/OstreeOstreeRepository.md +1 -1
  15. data/docs/OstreeOstreeRepositoryResponse.md +1 -1
  16. data/docs/PatchedostreeOstreeDistribution.md +1 -1
  17. data/docs/PatchedostreeOstreeRemote.md +1 -1
  18. data/docs/PatchedostreeOstreeRepository.md +1 -1
  19. data/docs/RemotesOstreeApi.md +12 -12
  20. data/docs/RepositoriesOstreeApi.md +28 -10
  21. data/docs/RepositoriesOstreeVersionsApi.md +12 -12
  22. data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
  23. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  24. data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
  25. data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
  26. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  27. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +26 -17
  28. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
  29. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +42 -15
  30. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
  31. data/lib/pulp_ostree_client/api_client.rb +1 -1
  32. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +4 -2
  33. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +4 -2
  34. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +4 -2
  35. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +17 -3
  36. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
  37. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +4 -2
  38. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +4 -2
  39. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +4 -2
  40. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +4 -2
  41. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +4 -2
  42. data/lib/pulp_ostree_client/version.rb +1 -1
  43. data/lib/pulp_ostree_client.rb +1 -0
  44. data/pulp_ostree_client.gemspec +3 -3
  45. data/spec/api/content_commits_api_spec.rb +4 -4
  46. data/spec/api/content_configs_api_spec.rb +4 -4
  47. data/spec/api/content_objects_api_spec.rb +4 -4
  48. data/spec/api/content_refs_api_spec.rb +4 -4
  49. data/spec/api/content_summaries_api_spec.rb +4 -4
  50. data/spec/api/distributions_ostree_api_spec.rb +9 -6
  51. data/spec/api/remotes_ostree_api_spec.rb +6 -6
  52. data/spec/api/repositories_ostree_api_spec.rb +14 -5
  53. data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
  54. data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
  55. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  56. metadata +41 -38
  57. data/git_push.sh +0 -58
@@ -148,12 +148,12 @@ module PulpOstreeClient
148
148
  # List ostree distributions
149
149
  # A ViewSet class for OSTree distributions.
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :base_path
151
+ # @option opts [String] :base_path Filter results where base_path matches value
152
152
  # @option opts [String] :base_path__contains Filter results where base_path contains value
153
153
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
154
154
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
155
155
  # @option opts [Integer] :limit Number of results to return per page.
156
- # @option opts [String] :name
156
+ # @option opts [String] :name Filter results where name matches value
157
157
  # @option opts [String] :name__contains Filter results where name contains value
158
158
  # @option opts [String] :name__icontains Filter results where name contains value
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -161,8 +161,11 @@ module PulpOstreeClient
161
161
  # @option opts [Integer] :offset The initial index from which to return the results.
162
162
  # @option opts [Array<String>] :ordering Ordering
163
163
  # @option opts [String] :pulp_label_select Filter labels by search string
164
- # @option opts [String] :fields A list of fields to include in the response.
165
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
+ # @option opts [String] :repository Filter results where repository matches value
165
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
166
+ # @option opts [String] :with_content Filter distributions based on the content served by them
167
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
168
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
166
169
  # @return [PaginatedostreeOstreeDistributionResponseList]
167
170
  def list(opts = {})
168
171
  data, _status_code, _headers = list_with_http_info(opts)
@@ -172,12 +175,12 @@ module PulpOstreeClient
172
175
  # List ostree distributions
173
176
  # A ViewSet class for OSTree distributions.
174
177
  # @param [Hash] opts the optional parameters
175
- # @option opts [String] :base_path
178
+ # @option opts [String] :base_path Filter results where base_path matches value
176
179
  # @option opts [String] :base_path__contains Filter results where base_path contains value
177
180
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
178
181
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
179
182
  # @option opts [Integer] :limit Number of results to return per page.
180
- # @option opts [String] :name
183
+ # @option opts [String] :name Filter results where name matches value
181
184
  # @option opts [String] :name__contains Filter results where name contains value
182
185
  # @option opts [String] :name__icontains Filter results where name contains value
183
186
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -185,14 +188,17 @@ module PulpOstreeClient
185
188
  # @option opts [Integer] :offset The initial index from which to return the results.
186
189
  # @option opts [Array<String>] :ordering Ordering
187
190
  # @option opts [String] :pulp_label_select Filter labels by search string
188
- # @option opts [String] :fields A list of fields to include in the response.
189
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
191
+ # @option opts [String] :repository Filter results where repository matches value
192
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
193
+ # @option opts [String] :with_content Filter distributions based on the content served by them
194
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
195
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
190
196
  # @return [Array<(PaginatedostreeOstreeDistributionResponseList, Integer, Hash)>] PaginatedostreeOstreeDistributionResponseList data, response status code and response headers
191
197
  def list_with_http_info(opts = {})
192
198
  if @api_client.config.debugging
193
199
  @api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.list ...'
194
200
  end
195
- allowable_values = ["-base_path", "-content_guard", "-group_roles", "-name", "-ostree_ostreedistribution", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "group_roles", "name", "ostree_ostreedistribution", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
201
+ allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
196
202
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
197
203
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
198
204
  end
@@ -214,8 +220,11 @@ module PulpOstreeClient
214
220
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
215
221
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
216
222
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
217
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
218
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
223
+ query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
224
+ query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
225
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
226
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
227
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
219
228
 
220
229
  # header parameters
221
230
  header_params = opts[:header_params] || {}
@@ -324,8 +333,8 @@ module PulpOstreeClient
324
333
  # A ViewSet class for OSTree distributions.
325
334
  # @param ostree_ostree_distribution_href [String]
326
335
  # @param [Hash] opts the optional parameters
327
- # @option opts [String] :fields A list of fields to include in the response.
328
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
336
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
337
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
329
338
  # @return [OstreeOstreeDistributionResponse]
330
339
  def read(ostree_ostree_distribution_href, opts = {})
331
340
  data, _status_code, _headers = read_with_http_info(ostree_ostree_distribution_href, opts)
@@ -336,8 +345,8 @@ module PulpOstreeClient
336
345
  # A ViewSet class for OSTree distributions.
337
346
  # @param ostree_ostree_distribution_href [String]
338
347
  # @param [Hash] opts the optional parameters
339
- # @option opts [String] :fields A list of fields to include in the response.
340
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
348
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
349
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
341
350
  # @return [Array<(OstreeOstreeDistributionResponse, Integer, Hash)>] OstreeOstreeDistributionResponse data, response status code and response headers
342
351
  def read_with_http_info(ostree_ostree_distribution_href, opts = {})
343
352
  if @api_client.config.debugging
@@ -352,8 +361,8 @@ module PulpOstreeClient
352
361
 
353
362
  # query parameters
354
363
  query_params = opts[:query_params] || {}
355
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
356
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
364
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
365
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
357
366
 
358
367
  # header parameters
359
368
  header_params = opts[:header_params] || {}
@@ -149,7 +149,7 @@ module PulpOstreeClient
149
149
  # A ViewSet class for OSTree remote repositories.
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 PulpOstreeClient
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 [PaginatedostreeOstreeRemoteResponseList]
169
169
  def list(opts = {})
170
170
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,7 +175,7 @@ module PulpOstreeClient
175
175
  # A ViewSet class for OSTree remote repositories.
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 PulpOstreeClient
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<(PaginatedostreeOstreeRemoteResponseList, Integer, Hash)>] PaginatedostreeOstreeRemoteResponseList 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: RemotesOstreeApi.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", "-ostree_ostreeremote", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "ostree_ostreeremote", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
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 PulpOstreeClient
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 PulpOstreeClient
330
330
  # A ViewSet class for OSTree remote repositories.
331
331
  # @param ostree_ostree_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 [OstreeOstreeRemoteResponse]
336
336
  def read(ostree_ostree_remote_href, opts = {})
337
337
  data, _status_code, _headers = read_with_http_info(ostree_ostree_remote_href, opts)
@@ -342,8 +342,8 @@ module PulpOstreeClient
342
342
  # A ViewSet class for OSTree remote repositories.
343
343
  # @param ostree_ostree_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<(OstreeOstreeRemoteResponse, Integer, Hash)>] OstreeOstreeRemoteResponse data, response status code and response headers
348
348
  def read_with_http_info(ostree_ostree_remote_href, opts = {})
349
349
  if @api_client.config.debugging
@@ -358,8 +358,8 @@ module PulpOstreeClient
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] || {}
@@ -289,7 +289,7 @@ module PulpOstreeClient
289
289
  # A ViewSet class for OSTree repositories.
290
290
  # @param [Hash] opts the optional parameters
291
291
  # @option opts [Integer] :limit Number of results to return per page.
292
- # @option opts [String] :name
292
+ # @option opts [String] :name Filter results where name matches value
293
293
  # @option opts [String] :name__contains Filter results where name contains value
294
294
  # @option opts [String] :name__icontains Filter results where name contains value
295
295
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -297,8 +297,17 @@ module PulpOstreeClient
297
297
  # @option opts [Integer] :offset The initial index from which to return the results.
298
298
  # @option opts [Array<String>] :ordering Ordering
299
299
  # @option opts [String] :pulp_label_select Filter labels by search string
300
- # @option opts [String] :fields A list of fields to include in the response.
301
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
300
+ # @option opts [String] :remote Foreign Key referenced by HREF
301
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
302
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
303
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
304
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
305
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
306
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
307
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
308
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
309
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
310
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
302
311
  # @return [PaginatedostreeOstreeRepositoryResponseList]
303
312
  def list(opts = {})
304
313
  data, _status_code, _headers = list_with_http_info(opts)
@@ -309,7 +318,7 @@ module PulpOstreeClient
309
318
  # A ViewSet class for OSTree repositories.
310
319
  # @param [Hash] opts the optional parameters
311
320
  # @option opts [Integer] :limit Number of results to return per page.
312
- # @option opts [String] :name
321
+ # @option opts [String] :name Filter results where name matches value
313
322
  # @option opts [String] :name__contains Filter results where name contains value
314
323
  # @option opts [String] :name__icontains Filter results where name contains value
315
324
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -317,14 +326,23 @@ module PulpOstreeClient
317
326
  # @option opts [Integer] :offset The initial index from which to return the results.
318
327
  # @option opts [Array<String>] :ordering Ordering
319
328
  # @option opts [String] :pulp_label_select Filter labels by search string
320
- # @option opts [String] :fields A list of fields to include in the response.
321
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
329
+ # @option opts [String] :remote Foreign Key referenced by HREF
330
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
331
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
332
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
333
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
334
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
335
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
336
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
337
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
338
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
339
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
322
340
  # @return [Array<(PaginatedostreeOstreeRepositoryResponseList, Integer, Hash)>] PaginatedostreeOstreeRepositoryResponseList data, response status code and response headers
323
341
  def list_with_http_info(opts = {})
324
342
  if @api_client.config.debugging
325
343
  @api_client.config.logger.debug 'Calling API: RepositoriesOstreeApi.list ...'
326
344
  end
327
- allowable_values = ["-alternatecontentsourcepath", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-ostree_ostreerepository", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "ostree_ostreerepository", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
345
+ 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"]
328
346
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
329
347
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
330
348
  end
@@ -342,8 +360,17 @@ module PulpOstreeClient
342
360
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
343
361
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
344
362
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
345
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
346
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
363
+ query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
364
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
365
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
366
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
367
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
368
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
369
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
370
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
371
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
372
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
373
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
347
374
 
348
375
  # header parameters
349
376
  header_params = opts[:header_params] || {}
@@ -522,8 +549,8 @@ module PulpOstreeClient
522
549
  # A ViewSet class for OSTree repositories.
523
550
  # @param ostree_ostree_repository_href [String]
524
551
  # @param [Hash] opts the optional parameters
525
- # @option opts [String] :fields A list of fields to include in the response.
526
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
552
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
553
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
527
554
  # @return [OstreeOstreeRepositoryResponse]
528
555
  def read(ostree_ostree_repository_href, opts = {})
529
556
  data, _status_code, _headers = read_with_http_info(ostree_ostree_repository_href, opts)
@@ -534,8 +561,8 @@ module PulpOstreeClient
534
561
  # A ViewSet class for OSTree repositories.
535
562
  # @param ostree_ostree_repository_href [String]
536
563
  # @param [Hash] opts the optional parameters
537
- # @option opts [String] :fields A list of fields to include in the response.
538
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
564
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
565
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
539
566
  # @return [Array<(OstreeOstreeRepositoryResponse, Integer, Hash)>] OstreeOstreeRepositoryResponse data, response status code and response headers
540
567
  def read_with_http_info(ostree_ostree_repository_href, opts = {})
541
568
  if @api_client.config.debugging
@@ -550,8 +577,8 @@ module PulpOstreeClient
550
577
 
551
578
  # query parameters
552
579
  query_params = opts[:query_params] || {}
553
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
554
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
580
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
581
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
555
582
 
556
583
  # header parameters
557
584
  header_params = opts[:header_params] || {}
@@ -88,7 +88,7 @@ module PulpOstreeClient
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 PulpOstreeClient
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(ostree_ostree_repository_href, opts = {})
109
109
  data, _status_code, _headers = list_with_http_info(ostree_ostree_repository_href, opts)
@@ -117,7 +117,7 @@ module PulpOstreeClient
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 PulpOstreeClient
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(ostree_ostree_repository_href, opts = {})
138
138
  if @api_client.config.debugging
@@ -142,7 +142,7 @@ module PulpOstreeClient
142
142
  if @api_client.config.client_side_validation && ostree_ostree_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'ostree_ostree_repository_href' when calling RepositoriesOstreeVersionsApi.list"
144
144
  end
145
- allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-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", "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 PulpOstreeClient
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 PulpOstreeClient
208
208
  # A ViewSet class that represents a single OSTree repository version.
209
209
  # @param ostree_ostree_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(ostree_ostree_repository_version_href, opts = {})
215
215
  data, _status_code, _headers = read_with_http_info(ostree_ostree_repository_version_href, opts)
@@ -220,8 +220,8 @@ module PulpOstreeClient
220
220
  # A ViewSet class that represents a single OSTree repository version.
221
221
  # @param ostree_ostree_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(ostree_ostree_repository_version_href, opts = {})
227
227
  if @api_client.config.debugging
@@ -236,8 +236,8 @@ module PulpOstreeClient
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] || {}
@@ -154,7 +154,7 @@ module PulpOstreeClient
154
154
  case value
155
155
  when ::File, ::Tempfile
156
156
  # TODO hardcode to application/octet-stream, need better way to detect content type
157
- data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
157
+ data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
158
158
  when ::Array, nil
159
159
  # let Faraday handle Array and nil parameters
160
160
  data[key] = value
@@ -49,7 +49,7 @@ module PulpOstreeClient
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
  :'repository_version' => :'String'
@@ -89,7 +89,9 @@ module PulpOstreeClient
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 PulpOstreeClient
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
  :'repository_version' => :'String'
@@ -115,7 +115,9 @@ module PulpOstreeClient
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')
@@ -130,7 +130,7 @@ module PulpOstreeClient
130
130
  :'proxy_password' => :'String',
131
131
  :'username' => :'String',
132
132
  :'password' => :'String',
133
- :'pulp_labels' => :'Object',
133
+ :'pulp_labels' => :'Hash<String, String>',
134
134
  :'download_concurrency' => :'Integer',
135
135
  :'max_retries' => :'Integer',
136
136
  :'policy' => :'PolicyEnum',
@@ -229,7 +229,9 @@ module PulpOstreeClient
229
229
  end
230
230
 
231
231
  if attributes.key?(:'pulp_labels')
232
- self.pulp_labels = attributes[:'pulp_labels']
232
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
233
+ self.pulp_labels = value
234
+ end
233
235
  end
234
236
 
235
237
  if attributes.key?(:'download_concurrency')
@@ -70,6 +70,9 @@ module PulpOstreeClient
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
  # An option to specify how many commits to traverse.
74
77
  attr_accessor :depth
75
78
 
@@ -101,6 +104,7 @@ module PulpOstreeClient
101
104
  :'sock_read_timeout' => :'sock_read_timeout',
102
105
  :'headers' => :'headers',
103
106
  :'rate_limit' => :'rate_limit',
107
+ :'hidden_fields' => :'hidden_fields',
104
108
  :'depth' => :'depth',
105
109
  :'include_refs' => :'include_refs',
106
110
  :'exclude_refs' => :'exclude_refs'
@@ -118,7 +122,7 @@ module PulpOstreeClient
118
122
  :'client_cert' => :'String',
119
123
  :'tls_validation' => :'Boolean',
120
124
  :'proxy_url' => :'String',
121
- :'pulp_labels' => :'Object',
125
+ :'pulp_labels' => :'Hash<String, String>',
122
126
  :'pulp_last_updated' => :'DateTime',
123
127
  :'download_concurrency' => :'Integer',
124
128
  :'max_retries' => :'Integer',
@@ -129,6 +133,7 @@ module PulpOstreeClient
129
133
  :'sock_read_timeout' => :'Float',
130
134
  :'headers' => :'Array<Object>',
131
135
  :'rate_limit' => :'Integer',
136
+ :'hidden_fields' => :'Array<OstreeOstreeRemoteResponseHiddenFields>',
132
137
  :'depth' => :'Integer',
133
138
  :'include_refs' => :'Array<String>',
134
139
  :'exclude_refs' => :'Array<String>'
@@ -201,7 +206,9 @@ module PulpOstreeClient
201
206
  end
202
207
 
203
208
  if attributes.key?(:'pulp_labels')
204
- self.pulp_labels = attributes[:'pulp_labels']
209
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
210
+ self.pulp_labels = value
211
+ end
205
212
  end
206
213
 
207
214
  if attributes.key?(:'pulp_last_updated')
@@ -246,6 +253,12 @@ module PulpOstreeClient
246
253
  self.rate_limit = attributes[:'rate_limit']
247
254
  end
248
255
 
256
+ if attributes.key?(:'hidden_fields')
257
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
258
+ self.hidden_fields = value
259
+ end
260
+ end
261
+
249
262
  if attributes.key?(:'depth')
250
263
  self.depth = attributes[:'depth']
251
264
  else
@@ -402,6 +415,7 @@ module PulpOstreeClient
402
415
  sock_read_timeout == o.sock_read_timeout &&
403
416
  headers == o.headers &&
404
417
  rate_limit == o.rate_limit &&
418
+ hidden_fields == o.hidden_fields &&
405
419
  depth == o.depth &&
406
420
  include_refs == o.include_refs &&
407
421
  exclude_refs == o.exclude_refs
@@ -416,7 +430,7 @@ module PulpOstreeClient
416
430
  # Calculates hash code according to all attributes.
417
431
  # @return [Integer] Hash code
418
432
  def hash
419
- [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, depth, include_refs, exclude_refs].hash
433
+ [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, depth, include_refs, exclude_refs].hash
420
434
  end
421
435
 
422
436
  # Builds the object from hash