pulp_ostree_client 2.4.6 → 2.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -5
  3. data/docs/ContentCommitsApi.md +150 -2
  4. data/docs/ContentConfigsApi.md +148 -0
  5. data/docs/ContentContentApi.md +148 -0
  6. data/docs/ContentObjectsApi.md +150 -2
  7. data/docs/ContentRefsApi.md +150 -2
  8. data/docs/ContentSummariesApi.md +148 -0
  9. data/docs/DistributionsOstreeApi.md +4 -2
  10. data/docs/OstreeOstreeCommitResponse.md +2 -0
  11. data/docs/OstreeOstreeConfigResponse.md +2 -0
  12. data/docs/OstreeOstreeContent.md +2 -0
  13. data/docs/OstreeOstreeContentResponse.md +2 -0
  14. data/docs/OstreeOstreeObjectResponse.md +2 -0
  15. data/docs/OstreeOstreeRefResponse.md +2 -0
  16. data/docs/OstreeOstreeSummaryResponse.md +2 -0
  17. data/lib/pulp_ostree_client/api/content_commits_api.rb +154 -3
  18. data/lib/pulp_ostree_client/api/content_configs_api.rb +151 -0
  19. data/lib/pulp_ostree_client/api/content_content_api.rb +151 -0
  20. data/lib/pulp_ostree_client/api/content_objects_api.rb +154 -3
  21. data/lib/pulp_ostree_client/api/content_refs_api.rb +154 -3
  22. data/lib/pulp_ostree_client/api/content_summaries_api.rb +151 -0
  23. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +6 -3
  24. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +13 -1
  25. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +13 -1
  26. data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +13 -1
  27. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +13 -1
  28. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +13 -1
  29. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +13 -1
  30. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +13 -1
  31. data/lib/pulp_ostree_client/models/unset_label.rb +1 -1
  32. data/lib/pulp_ostree_client/models/unset_label_response.rb +1 -1
  33. data/lib/pulp_ostree_client/version.rb +1 -1
  34. data/spec/api/content_commits_api_spec.rb +28 -1
  35. data/spec/api/content_configs_api_spec.rb +27 -0
  36. data/spec/api/content_content_api_spec.rb +27 -0
  37. data/spec/api/content_objects_api_spec.rb +28 -1
  38. data/spec/api/content_refs_api_spec.rb +28 -1
  39. data/spec/api/content_summaries_api_spec.rb +27 -0
  40. data/spec/api/distributions_ostree_api_spec.rb +2 -1
  41. data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
  42. data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
  43. data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
  44. data/spec/models/ostree_ostree_content_spec.rb +6 -0
  45. data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
  46. data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
  47. data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
  48. metadata +42 -42
@@ -25,11 +25,12 @@ module PulpOstreeClient
25
25
  # @option opts [String] :checksum Filter results where checksum matches value
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
27
  # @option opts [Integer] :offset The initial index from which to return the results.
28
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;typ&#x60; - Typ * &#x60;-typ&#x60; - Typ (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;typ&#x60; - Typ * &#x60;-typ&#x60; - Typ (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
29
29
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
30
30
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
31
31
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
32
32
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
33
+ # @option opts [String] :pulp_label_select Filter labels by search string
33
34
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
34
35
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
35
36
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -48,11 +49,12 @@ module PulpOstreeClient
48
49
  # @option opts [String] :checksum Filter results where checksum matches value
49
50
  # @option opts [Integer] :limit Number of results to return per page.
50
51
  # @option opts [Integer] :offset The initial index from which to return the results.
51
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;typ&#x60; - Typ * &#x60;-typ&#x60; - Typ (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
52
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;typ&#x60; - Typ * &#x60;-typ&#x60; - Typ (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
52
53
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
53
54
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
54
55
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
56
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
57
+ # @option opts [String] :pulp_label_select Filter labels by search string
56
58
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
57
59
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
58
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -64,7 +66,7 @@ module PulpOstreeClient
64
66
  if @api_client.config.debugging
65
67
  @api_client.config.logger.debug 'Calling API: ContentObjectsApi.list ...'
66
68
  end
67
- allowable_values = ["-checksum", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-typ", "-upstream_id", "checksum", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "typ", "upstream_id"]
69
+ allowable_values = ["-checksum", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-typ", "-upstream_id", "checksum", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "typ", "upstream_id"]
68
70
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
69
71
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
70
72
  end
@@ -81,6 +83,7 @@ module PulpOstreeClient
81
83
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
82
84
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
83
85
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
86
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
84
87
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
85
88
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
86
89
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -190,5 +193,153 @@ module PulpOstreeClient
190
193
  end
191
194
  return data, status_code, headers
192
195
  end
196
+
197
+ # Set a label
198
+ # Set a single pulp_label on the object to a specific value or null.
199
+ # @param ostree_ostree_object_href [String]
200
+ # @param set_label [SetLabel]
201
+ # @param [Hash] opts the optional parameters
202
+ # @return [SetLabelResponse]
203
+ def set_label(ostree_ostree_object_href, set_label, opts = {})
204
+ data, _status_code, _headers = set_label_with_http_info(ostree_ostree_object_href, set_label, opts)
205
+ data
206
+ end
207
+
208
+ # Set a label
209
+ # Set a single pulp_label on the object to a specific value or null.
210
+ # @param ostree_ostree_object_href [String]
211
+ # @param set_label [SetLabel]
212
+ # @param [Hash] opts the optional parameters
213
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
214
+ def set_label_with_http_info(ostree_ostree_object_href, set_label, opts = {})
215
+ if @api_client.config.debugging
216
+ @api_client.config.logger.debug 'Calling API: ContentObjectsApi.set_label ...'
217
+ end
218
+ # verify the required parameter 'ostree_ostree_object_href' is set
219
+ if @api_client.config.client_side_validation && ostree_ostree_object_href.nil?
220
+ fail ArgumentError, "Missing the required parameter 'ostree_ostree_object_href' when calling ContentObjectsApi.set_label"
221
+ end
222
+ # verify the required parameter 'set_label' is set
223
+ if @api_client.config.client_side_validation && set_label.nil?
224
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentObjectsApi.set_label"
225
+ end
226
+ # resource path
227
+ local_var_path = '{ostree_ostree_object_href}set_label/'.sub('{' + 'ostree_ostree_object_href' + '}', CGI.escape(ostree_ostree_object_href.to_s).gsub('%2F', '/'))
228
+
229
+ # query parameters
230
+ query_params = opts[:query_params] || {}
231
+
232
+ # header parameters
233
+ header_params = opts[:header_params] || {}
234
+ # HTTP header 'Accept' (if needed)
235
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
236
+ # HTTP header 'Content-Type'
237
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
238
+ if !content_type.nil?
239
+ header_params['Content-Type'] = content_type
240
+ end
241
+
242
+ # form parameters
243
+ form_params = opts[:form_params] || {}
244
+
245
+ # http body (model)
246
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
247
+
248
+ # return_type
249
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
250
+
251
+ # auth_names
252
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
253
+
254
+ new_options = opts.merge(
255
+ :operation => :"ContentObjectsApi.set_label",
256
+ :header_params => header_params,
257
+ :query_params => query_params,
258
+ :form_params => form_params,
259
+ :body => post_body,
260
+ :auth_names => auth_names,
261
+ :return_type => return_type
262
+ )
263
+
264
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
265
+ if @api_client.config.debugging
266
+ @api_client.config.logger.debug "API called: ContentObjectsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
267
+ end
268
+ return data, status_code, headers
269
+ end
270
+
271
+ # Unset a label
272
+ # Unset a single pulp_label on the object.
273
+ # @param ostree_ostree_object_href [String]
274
+ # @param unset_label [UnsetLabel]
275
+ # @param [Hash] opts the optional parameters
276
+ # @return [UnsetLabelResponse]
277
+ def unset_label(ostree_ostree_object_href, unset_label, opts = {})
278
+ data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_object_href, unset_label, opts)
279
+ data
280
+ end
281
+
282
+ # Unset a label
283
+ # Unset a single pulp_label on the object.
284
+ # @param ostree_ostree_object_href [String]
285
+ # @param unset_label [UnsetLabel]
286
+ # @param [Hash] opts the optional parameters
287
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
288
+ def unset_label_with_http_info(ostree_ostree_object_href, unset_label, opts = {})
289
+ if @api_client.config.debugging
290
+ @api_client.config.logger.debug 'Calling API: ContentObjectsApi.unset_label ...'
291
+ end
292
+ # verify the required parameter 'ostree_ostree_object_href' is set
293
+ if @api_client.config.client_side_validation && ostree_ostree_object_href.nil?
294
+ fail ArgumentError, "Missing the required parameter 'ostree_ostree_object_href' when calling ContentObjectsApi.unset_label"
295
+ end
296
+ # verify the required parameter 'unset_label' is set
297
+ if @api_client.config.client_side_validation && unset_label.nil?
298
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentObjectsApi.unset_label"
299
+ end
300
+ # resource path
301
+ local_var_path = '{ostree_ostree_object_href}unset_label/'.sub('{' + 'ostree_ostree_object_href' + '}', CGI.escape(ostree_ostree_object_href.to_s).gsub('%2F', '/'))
302
+
303
+ # query parameters
304
+ query_params = opts[:query_params] || {}
305
+
306
+ # header parameters
307
+ header_params = opts[:header_params] || {}
308
+ # HTTP header 'Accept' (if needed)
309
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
310
+ # HTTP header 'Content-Type'
311
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
312
+ if !content_type.nil?
313
+ header_params['Content-Type'] = content_type
314
+ end
315
+
316
+ # form parameters
317
+ form_params = opts[:form_params] || {}
318
+
319
+ # http body (model)
320
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
321
+
322
+ # return_type
323
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
324
+
325
+ # auth_names
326
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
327
+
328
+ new_options = opts.merge(
329
+ :operation => :"ContentObjectsApi.unset_label",
330
+ :header_params => header_params,
331
+ :query_params => query_params,
332
+ :form_params => form_params,
333
+ :body => post_body,
334
+ :auth_names => auth_names,
335
+ :return_type => return_type
336
+ )
337
+
338
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
339
+ if @api_client.config.debugging
340
+ @api_client.config.logger.debug "API called: ContentObjectsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
341
+ end
342
+ return data, status_code, headers
343
+ end
193
344
  end
194
345
  end
@@ -34,11 +34,12 @@ module PulpOstreeClient
34
34
  # @option opts [String] :name__regex Filter results where name matches regex value
35
35
  # @option opts [String] :name__startswith Filter results where name starts with value
36
36
  # @option opts [Integer] :offset The initial index from which to return the results.
37
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
37
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
38
38
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
39
39
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
40
40
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
41
41
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
42
+ # @option opts [String] :pulp_label_select Filter labels by search string
42
43
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
43
44
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
44
45
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -66,11 +67,12 @@ module PulpOstreeClient
66
67
  # @option opts [String] :name__regex Filter results where name matches regex value
67
68
  # @option opts [String] :name__startswith Filter results where name starts with value
68
69
  # @option opts [Integer] :offset The initial index from which to return the results.
69
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
70
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
70
71
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
71
72
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
72
73
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
74
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
75
+ # @option opts [String] :pulp_label_select Filter labels by search string
74
76
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
75
77
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
76
78
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -82,7 +84,7 @@ module PulpOstreeClient
82
84
  if @api_client.config.debugging
83
85
  @api_client.config.logger.debug 'Calling API: ContentRefsApi.list ...'
84
86
  end
85
- allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
87
+ allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
86
88
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
87
89
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
88
90
  end
@@ -108,6 +110,7 @@ module PulpOstreeClient
108
110
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
109
111
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
110
112
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
113
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
111
114
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
112
115
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
113
116
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -217,5 +220,153 @@ module PulpOstreeClient
217
220
  end
218
221
  return data, status_code, headers
219
222
  end
223
+
224
+ # Set a label
225
+ # Set a single pulp_label on the object to a specific value or null.
226
+ # @param ostree_ostree_ref_href [String]
227
+ # @param set_label [SetLabel]
228
+ # @param [Hash] opts the optional parameters
229
+ # @return [SetLabelResponse]
230
+ def set_label(ostree_ostree_ref_href, set_label, opts = {})
231
+ data, _status_code, _headers = set_label_with_http_info(ostree_ostree_ref_href, set_label, opts)
232
+ data
233
+ end
234
+
235
+ # Set a label
236
+ # Set a single pulp_label on the object to a specific value or null.
237
+ # @param ostree_ostree_ref_href [String]
238
+ # @param set_label [SetLabel]
239
+ # @param [Hash] opts the optional parameters
240
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
241
+ def set_label_with_http_info(ostree_ostree_ref_href, set_label, opts = {})
242
+ if @api_client.config.debugging
243
+ @api_client.config.logger.debug 'Calling API: ContentRefsApi.set_label ...'
244
+ end
245
+ # verify the required parameter 'ostree_ostree_ref_href' is set
246
+ if @api_client.config.client_side_validation && ostree_ostree_ref_href.nil?
247
+ fail ArgumentError, "Missing the required parameter 'ostree_ostree_ref_href' when calling ContentRefsApi.set_label"
248
+ end
249
+ # verify the required parameter 'set_label' is set
250
+ if @api_client.config.client_side_validation && set_label.nil?
251
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentRefsApi.set_label"
252
+ end
253
+ # resource path
254
+ local_var_path = '{ostree_ostree_ref_href}set_label/'.sub('{' + 'ostree_ostree_ref_href' + '}', CGI.escape(ostree_ostree_ref_href.to_s).gsub('%2F', '/'))
255
+
256
+ # query parameters
257
+ query_params = opts[:query_params] || {}
258
+
259
+ # header parameters
260
+ header_params = opts[:header_params] || {}
261
+ # HTTP header 'Accept' (if needed)
262
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
263
+ # HTTP header 'Content-Type'
264
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
265
+ if !content_type.nil?
266
+ header_params['Content-Type'] = content_type
267
+ end
268
+
269
+ # form parameters
270
+ form_params = opts[:form_params] || {}
271
+
272
+ # http body (model)
273
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
274
+
275
+ # return_type
276
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
277
+
278
+ # auth_names
279
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
280
+
281
+ new_options = opts.merge(
282
+ :operation => :"ContentRefsApi.set_label",
283
+ :header_params => header_params,
284
+ :query_params => query_params,
285
+ :form_params => form_params,
286
+ :body => post_body,
287
+ :auth_names => auth_names,
288
+ :return_type => return_type
289
+ )
290
+
291
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
292
+ if @api_client.config.debugging
293
+ @api_client.config.logger.debug "API called: ContentRefsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
294
+ end
295
+ return data, status_code, headers
296
+ end
297
+
298
+ # Unset a label
299
+ # Unset a single pulp_label on the object.
300
+ # @param ostree_ostree_ref_href [String]
301
+ # @param unset_label [UnsetLabel]
302
+ # @param [Hash] opts the optional parameters
303
+ # @return [UnsetLabelResponse]
304
+ def unset_label(ostree_ostree_ref_href, unset_label, opts = {})
305
+ data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_ref_href, unset_label, opts)
306
+ data
307
+ end
308
+
309
+ # Unset a label
310
+ # Unset a single pulp_label on the object.
311
+ # @param ostree_ostree_ref_href [String]
312
+ # @param unset_label [UnsetLabel]
313
+ # @param [Hash] opts the optional parameters
314
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
315
+ def unset_label_with_http_info(ostree_ostree_ref_href, unset_label, opts = {})
316
+ if @api_client.config.debugging
317
+ @api_client.config.logger.debug 'Calling API: ContentRefsApi.unset_label ...'
318
+ end
319
+ # verify the required parameter 'ostree_ostree_ref_href' is set
320
+ if @api_client.config.client_side_validation && ostree_ostree_ref_href.nil?
321
+ fail ArgumentError, "Missing the required parameter 'ostree_ostree_ref_href' when calling ContentRefsApi.unset_label"
322
+ end
323
+ # verify the required parameter 'unset_label' is set
324
+ if @api_client.config.client_side_validation && unset_label.nil?
325
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentRefsApi.unset_label"
326
+ end
327
+ # resource path
328
+ local_var_path = '{ostree_ostree_ref_href}unset_label/'.sub('{' + 'ostree_ostree_ref_href' + '}', CGI.escape(ostree_ostree_ref_href.to_s).gsub('%2F', '/'))
329
+
330
+ # query parameters
331
+ query_params = opts[:query_params] || {}
332
+
333
+ # header parameters
334
+ header_params = opts[:header_params] || {}
335
+ # HTTP header 'Accept' (if needed)
336
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
337
+ # HTTP header 'Content-Type'
338
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
339
+ if !content_type.nil?
340
+ header_params['Content-Type'] = content_type
341
+ end
342
+
343
+ # form parameters
344
+ form_params = opts[:form_params] || {}
345
+
346
+ # http body (model)
347
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
348
+
349
+ # return_type
350
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
351
+
352
+ # auth_names
353
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
354
+
355
+ new_options = opts.merge(
356
+ :operation => :"ContentRefsApi.unset_label",
357
+ :header_params => header_params,
358
+ :query_params => query_params,
359
+ :form_params => form_params,
360
+ :body => post_body,
361
+ :auth_names => auth_names,
362
+ :return_type => return_type
363
+ )
364
+
365
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
366
+ if @api_client.config.debugging
367
+ @api_client.config.logger.debug "API called: ContentRefsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
368
+ end
369
+ return data, status_code, headers
370
+ end
220
371
  end
221
372
  end
@@ -29,6 +29,7 @@ module PulpOstreeClient
29
29
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
30
30
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
31
31
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
32
+ # @option opts [String] :pulp_label_select Filter labels by search string
32
33
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
33
34
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
34
35
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -51,6 +52,7 @@ module PulpOstreeClient
51
52
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
52
53
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
53
54
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
55
+ # @option opts [String] :pulp_label_select Filter labels by search string
54
56
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
55
57
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
56
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -78,6 +80,7 @@ module PulpOstreeClient
78
80
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
79
81
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
80
82
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
83
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
81
84
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
82
85
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
83
86
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -187,5 +190,153 @@ module PulpOstreeClient
187
190
  end
188
191
  return data, status_code, headers
189
192
  end
193
+
194
+ # Set a label
195
+ # Set a single pulp_label on the object to a specific value or null.
196
+ # @param ostree_ostree_summary_href [String]
197
+ # @param set_label [SetLabel]
198
+ # @param [Hash] opts the optional parameters
199
+ # @return [SetLabelResponse]
200
+ def set_label(ostree_ostree_summary_href, set_label, opts = {})
201
+ data, _status_code, _headers = set_label_with_http_info(ostree_ostree_summary_href, set_label, opts)
202
+ data
203
+ end
204
+
205
+ # Set a label
206
+ # Set a single pulp_label on the object to a specific value or null.
207
+ # @param ostree_ostree_summary_href [String]
208
+ # @param set_label [SetLabel]
209
+ # @param [Hash] opts the optional parameters
210
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
211
+ def set_label_with_http_info(ostree_ostree_summary_href, set_label, opts = {})
212
+ if @api_client.config.debugging
213
+ @api_client.config.logger.debug 'Calling API: ContentSummariesApi.set_label ...'
214
+ end
215
+ # verify the required parameter 'ostree_ostree_summary_href' is set
216
+ if @api_client.config.client_side_validation && ostree_ostree_summary_href.nil?
217
+ fail ArgumentError, "Missing the required parameter 'ostree_ostree_summary_href' when calling ContentSummariesApi.set_label"
218
+ end
219
+ # verify the required parameter 'set_label' is set
220
+ if @api_client.config.client_side_validation && set_label.nil?
221
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentSummariesApi.set_label"
222
+ end
223
+ # resource path
224
+ local_var_path = '{ostree_ostree_summary_href}set_label/'.sub('{' + 'ostree_ostree_summary_href' + '}', CGI.escape(ostree_ostree_summary_href.to_s).gsub('%2F', '/'))
225
+
226
+ # query parameters
227
+ query_params = opts[:query_params] || {}
228
+
229
+ # header parameters
230
+ header_params = opts[:header_params] || {}
231
+ # HTTP header 'Accept' (if needed)
232
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
233
+ # HTTP header 'Content-Type'
234
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
235
+ if !content_type.nil?
236
+ header_params['Content-Type'] = content_type
237
+ end
238
+
239
+ # form parameters
240
+ form_params = opts[:form_params] || {}
241
+
242
+ # http body (model)
243
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
244
+
245
+ # return_type
246
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
247
+
248
+ # auth_names
249
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
250
+
251
+ new_options = opts.merge(
252
+ :operation => :"ContentSummariesApi.set_label",
253
+ :header_params => header_params,
254
+ :query_params => query_params,
255
+ :form_params => form_params,
256
+ :body => post_body,
257
+ :auth_names => auth_names,
258
+ :return_type => return_type
259
+ )
260
+
261
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
262
+ if @api_client.config.debugging
263
+ @api_client.config.logger.debug "API called: ContentSummariesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
264
+ end
265
+ return data, status_code, headers
266
+ end
267
+
268
+ # Unset a label
269
+ # Unset a single pulp_label on the object.
270
+ # @param ostree_ostree_summary_href [String]
271
+ # @param unset_label [UnsetLabel]
272
+ # @param [Hash] opts the optional parameters
273
+ # @return [UnsetLabelResponse]
274
+ def unset_label(ostree_ostree_summary_href, unset_label, opts = {})
275
+ data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_summary_href, unset_label, opts)
276
+ data
277
+ end
278
+
279
+ # Unset a label
280
+ # Unset a single pulp_label on the object.
281
+ # @param ostree_ostree_summary_href [String]
282
+ # @param unset_label [UnsetLabel]
283
+ # @param [Hash] opts the optional parameters
284
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
285
+ def unset_label_with_http_info(ostree_ostree_summary_href, unset_label, opts = {})
286
+ if @api_client.config.debugging
287
+ @api_client.config.logger.debug 'Calling API: ContentSummariesApi.unset_label ...'
288
+ end
289
+ # verify the required parameter 'ostree_ostree_summary_href' is set
290
+ if @api_client.config.client_side_validation && ostree_ostree_summary_href.nil?
291
+ fail ArgumentError, "Missing the required parameter 'ostree_ostree_summary_href' when calling ContentSummariesApi.unset_label"
292
+ end
293
+ # verify the required parameter 'unset_label' is set
294
+ if @api_client.config.client_side_validation && unset_label.nil?
295
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentSummariesApi.unset_label"
296
+ end
297
+ # resource path
298
+ local_var_path = '{ostree_ostree_summary_href}unset_label/'.sub('{' + 'ostree_ostree_summary_href' + '}', CGI.escape(ostree_ostree_summary_href.to_s).gsub('%2F', '/'))
299
+
300
+ # query parameters
301
+ query_params = opts[:query_params] || {}
302
+
303
+ # header parameters
304
+ header_params = opts[:header_params] || {}
305
+ # HTTP header 'Accept' (if needed)
306
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
307
+ # HTTP header 'Content-Type'
308
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
309
+ if !content_type.nil?
310
+ header_params['Content-Type'] = content_type
311
+ end
312
+
313
+ # form parameters
314
+ form_params = opts[:form_params] || {}
315
+
316
+ # http body (model)
317
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
318
+
319
+ # return_type
320
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
321
+
322
+ # auth_names
323
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
324
+
325
+ new_options = opts.merge(
326
+ :operation => :"ContentSummariesApi.unset_label",
327
+ :header_params => header_params,
328
+ :query_params => query_params,
329
+ :form_params => form_params,
330
+ :body => post_body,
331
+ :auth_names => auth_names,
332
+ :return_type => return_type
333
+ )
334
+
335
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
336
+ if @api_client.config.debugging
337
+ @api_client.config.logger.debug "API called: ContentSummariesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
338
+ end
339
+ return data, status_code, headers
340
+ end
190
341
  end
191
342
  end
@@ -231,6 +231,7 @@ module PulpOstreeClient
231
231
  # @option opts [String] :base_path__contains Filter results where base_path contains value
232
232
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
233
233
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
234
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
234
235
  # @option opts [Integer] :limit Number of results to return per page.
235
236
  # @option opts [String] :name Filter results where name matches value
236
237
  # @option opts [String] :name__contains Filter results where name contains value
@@ -242,7 +243,7 @@ module PulpOstreeClient
242
243
  # @option opts [String] :name__regex Filter results where name matches regex value
243
244
  # @option opts [String] :name__startswith Filter results where name starts with value
244
245
  # @option opts [Integer] :offset The initial index from which to return the results.
245
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
246
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
246
247
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
247
248
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
248
249
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -266,6 +267,7 @@ module PulpOstreeClient
266
267
  # @option opts [String] :base_path__contains Filter results where base_path contains value
267
268
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
268
269
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
270
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
269
271
  # @option opts [Integer] :limit Number of results to return per page.
270
272
  # @option opts [String] :name Filter results where name matches value
271
273
  # @option opts [String] :name__contains Filter results where name contains value
@@ -277,7 +279,7 @@ module PulpOstreeClient
277
279
  # @option opts [String] :name__regex Filter results where name matches regex value
278
280
  # @option opts [String] :name__startswith Filter results where name starts with value
279
281
  # @option opts [Integer] :offset The initial index from which to return the results.
280
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
282
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
281
283
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
282
284
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
283
285
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -293,7 +295,7 @@ module PulpOstreeClient
293
295
  if @api_client.config.debugging
294
296
  @api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.list ...'
295
297
  end
296
- allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
298
+ allowable_values = ["-base_path", "-checkpoint", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
297
299
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
298
300
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
299
301
  end
@@ -306,6 +308,7 @@ module PulpOstreeClient
306
308
  query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
307
309
  query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
308
310
  query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
311
+ query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
309
312
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
310
313
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
311
314
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?