pulp_ostree_client 2.1.1 → 2.1.2
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.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/docs/ContentCommitsApi.md +3 -1
- data/docs/ContentConfigsApi.md +3 -1
- data/docs/ContentContentApi.md +3 -1
- data/docs/ContentObjectsApi.md +3 -1
- data/docs/ContentRefsApi.md +7 -1
- data/docs/ContentSummariesApi.md +3 -1
- data/docs/DistributionsOstreeApi.md +120 -2
- data/docs/RemotesOstreeApi.md +119 -1
- data/docs/RepositoriesOstreeApi.md +120 -2
- data/docs/RepositoriesOstreeVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_ostree_client/api/content_commits_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_configs_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_refs_api.rb +9 -0
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +3 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +149 -0
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +149 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +149 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +3 -0
- data/lib/pulp_ostree_client/configuration.rb +2 -2
- data/lib/pulp_ostree_client/models/set_label.rb +252 -0
- data/lib/pulp_ostree_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ostree_client/models/unset_label.rb +242 -0
- data/lib/pulp_ostree_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +4 -0
- data/spec/api/content_commits_api_spec.rb +1 -0
- data/spec/api/content_configs_api_spec.rb +1 -0
- data/spec/api/content_content_api_spec.rb +1 -0
- data/spec/api/content_objects_api_spec.rb +1 -0
- data/spec/api/content_refs_api_spec.rb +3 -0
- data/spec/api/content_summaries_api_spec.rb +1 -0
- data/spec/api/distributions_ostree_api_spec.rb +29 -0
- data/spec/api/remotes_ostree_api_spec.rb +29 -0
- data/spec/api/repositories_ostree_api_spec.rb +29 -0
- data/spec/api/repositories_ostree_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +50 -34
@@ -156,13 +156,16 @@ module PulpOstreeClient
|
|
156
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
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
159
160
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
161
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
160
162
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
163
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
164
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
163
165
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
166
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
167
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
168
|
+
# @option opts [String] :q
|
166
169
|
# @option opts [String] :repository Filter results where repository matches value
|
167
170
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
168
171
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -185,13 +188,16 @@ module PulpOstreeClient
|
|
185
188
|
# @option opts [String] :name Filter results where name matches value
|
186
189
|
# @option opts [String] :name__contains Filter results where name contains value
|
187
190
|
# @option opts [String] :name__icontains Filter results where name contains value
|
191
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
188
192
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
193
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
189
194
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
195
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
196
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
192
197
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
198
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
194
199
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
200
|
+
# @option opts [String] :q
|
195
201
|
# @option opts [String] :repository Filter results where repository matches value
|
196
202
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
197
203
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -219,13 +225,16 @@ module PulpOstreeClient
|
|
219
225
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
220
226
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
221
227
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
228
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
222
229
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
230
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
223
231
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
224
232
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
225
233
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
234
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
235
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
228
236
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
237
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
229
238
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
230
239
|
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
231
240
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
@@ -403,6 +412,146 @@ module PulpOstreeClient
|
|
403
412
|
return data, status_code, headers
|
404
413
|
end
|
405
414
|
|
415
|
+
# Set a label
|
416
|
+
# Set a single pulp_label on the object to a specific value or null.
|
417
|
+
# @param ostree_ostree_distribution_href [String]
|
418
|
+
# @param set_label [SetLabel]
|
419
|
+
# @param [Hash] opts the optional parameters
|
420
|
+
# @return [SetLabelResponse]
|
421
|
+
def set_label(ostree_ostree_distribution_href, set_label, opts = {})
|
422
|
+
data, _status_code, _headers = set_label_with_http_info(ostree_ostree_distribution_href, set_label, opts)
|
423
|
+
data
|
424
|
+
end
|
425
|
+
|
426
|
+
# Set a label
|
427
|
+
# Set a single pulp_label on the object to a specific value or null.
|
428
|
+
# @param ostree_ostree_distribution_href [String]
|
429
|
+
# @param set_label [SetLabel]
|
430
|
+
# @param [Hash] opts the optional parameters
|
431
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
432
|
+
def set_label_with_http_info(ostree_ostree_distribution_href, set_label, opts = {})
|
433
|
+
if @api_client.config.debugging
|
434
|
+
@api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.set_label ...'
|
435
|
+
end
|
436
|
+
# verify the required parameter 'ostree_ostree_distribution_href' is set
|
437
|
+
if @api_client.config.client_side_validation && ostree_ostree_distribution_href.nil?
|
438
|
+
fail ArgumentError, "Missing the required parameter 'ostree_ostree_distribution_href' when calling DistributionsOstreeApi.set_label"
|
439
|
+
end
|
440
|
+
# verify the required parameter 'set_label' is set
|
441
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
442
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling DistributionsOstreeApi.set_label"
|
443
|
+
end
|
444
|
+
# resource path
|
445
|
+
local_var_path = '{ostree_ostree_distribution_href}set_label/'.sub('{' + 'ostree_ostree_distribution_href' + '}', CGI.escape(ostree_ostree_distribution_href.to_s).gsub('%2F', '/'))
|
446
|
+
|
447
|
+
# query parameters
|
448
|
+
query_params = opts[:query_params] || {}
|
449
|
+
|
450
|
+
# header parameters
|
451
|
+
header_params = opts[:header_params] || {}
|
452
|
+
# HTTP header 'Accept' (if needed)
|
453
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
454
|
+
# HTTP header 'Content-Type'
|
455
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
456
|
+
|
457
|
+
# form parameters
|
458
|
+
form_params = opts[:form_params] || {}
|
459
|
+
|
460
|
+
# http body (model)
|
461
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
462
|
+
|
463
|
+
# return_type
|
464
|
+
return_type = opts[:return_type] || 'SetLabelResponse'
|
465
|
+
|
466
|
+
# auth_names
|
467
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
468
|
+
|
469
|
+
new_options = opts.merge(
|
470
|
+
:header_params => header_params,
|
471
|
+
:query_params => query_params,
|
472
|
+
:form_params => form_params,
|
473
|
+
:body => post_body,
|
474
|
+
:auth_names => auth_names,
|
475
|
+
:return_type => return_type
|
476
|
+
)
|
477
|
+
|
478
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
479
|
+
if @api_client.config.debugging
|
480
|
+
@api_client.config.logger.debug "API called: DistributionsOstreeApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
481
|
+
end
|
482
|
+
return data, status_code, headers
|
483
|
+
end
|
484
|
+
|
485
|
+
# Unset a label
|
486
|
+
# Unset a single pulp_label on the object.
|
487
|
+
# @param ostree_ostree_distribution_href [String]
|
488
|
+
# @param unset_label [UnsetLabel]
|
489
|
+
# @param [Hash] opts the optional parameters
|
490
|
+
# @return [UnsetLabelResponse]
|
491
|
+
def unset_label(ostree_ostree_distribution_href, unset_label, opts = {})
|
492
|
+
data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_distribution_href, unset_label, opts)
|
493
|
+
data
|
494
|
+
end
|
495
|
+
|
496
|
+
# Unset a label
|
497
|
+
# Unset a single pulp_label on the object.
|
498
|
+
# @param ostree_ostree_distribution_href [String]
|
499
|
+
# @param unset_label [UnsetLabel]
|
500
|
+
# @param [Hash] opts the optional parameters
|
501
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
502
|
+
def unset_label_with_http_info(ostree_ostree_distribution_href, unset_label, opts = {})
|
503
|
+
if @api_client.config.debugging
|
504
|
+
@api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.unset_label ...'
|
505
|
+
end
|
506
|
+
# verify the required parameter 'ostree_ostree_distribution_href' is set
|
507
|
+
if @api_client.config.client_side_validation && ostree_ostree_distribution_href.nil?
|
508
|
+
fail ArgumentError, "Missing the required parameter 'ostree_ostree_distribution_href' when calling DistributionsOstreeApi.unset_label"
|
509
|
+
end
|
510
|
+
# verify the required parameter 'unset_label' is set
|
511
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
512
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling DistributionsOstreeApi.unset_label"
|
513
|
+
end
|
514
|
+
# resource path
|
515
|
+
local_var_path = '{ostree_ostree_distribution_href}unset_label/'.sub('{' + 'ostree_ostree_distribution_href' + '}', CGI.escape(ostree_ostree_distribution_href.to_s).gsub('%2F', '/'))
|
516
|
+
|
517
|
+
# query parameters
|
518
|
+
query_params = opts[:query_params] || {}
|
519
|
+
|
520
|
+
# header parameters
|
521
|
+
header_params = opts[:header_params] || {}
|
522
|
+
# HTTP header 'Accept' (if needed)
|
523
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
524
|
+
# HTTP header 'Content-Type'
|
525
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
526
|
+
|
527
|
+
# form parameters
|
528
|
+
form_params = opts[:form_params] || {}
|
529
|
+
|
530
|
+
# http body (model)
|
531
|
+
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
532
|
+
|
533
|
+
# return_type
|
534
|
+
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
535
|
+
|
536
|
+
# auth_names
|
537
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
538
|
+
|
539
|
+
new_options = opts.merge(
|
540
|
+
:header_params => header_params,
|
541
|
+
:query_params => query_params,
|
542
|
+
:form_params => form_params,
|
543
|
+
:body => post_body,
|
544
|
+
:auth_names => auth_names,
|
545
|
+
:return_type => return_type
|
546
|
+
)
|
547
|
+
|
548
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
549
|
+
if @api_client.config.debugging
|
550
|
+
@api_client.config.logger.debug "API called: DistributionsOstreeApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
551
|
+
end
|
552
|
+
return data, status_code, headers
|
553
|
+
end
|
554
|
+
|
406
555
|
# Update an ostree distribution
|
407
556
|
# Trigger an asynchronous update task
|
408
557
|
# @param ostree_ostree_distribution_href [String]
|
@@ -152,7 +152,9 @@ module PulpOstreeClient
|
|
152
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
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
155
156
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
157
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
156
158
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
159
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
160
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -165,6 +167,7 @@ module PulpOstreeClient
|
|
165
167
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
166
168
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
167
169
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
170
|
+
# @option opts [String] :q
|
168
171
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
172
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
170
173
|
# @return [PaginatedostreeOstreeRemoteResponseList]
|
@@ -180,7 +183,9 @@ module PulpOstreeClient
|
|
180
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
|
186
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
183
187
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
188
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
184
189
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
190
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
191
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -193,6 +198,7 @@ module PulpOstreeClient
|
|
193
198
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
194
199
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
195
200
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
201
|
+
# @option opts [String] :q
|
196
202
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
197
203
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
198
204
|
# @return [Array<(PaginatedostreeOstreeRemoteResponseList, Integer, Hash)>] PaginatedostreeOstreeRemoteResponseList data, response status code and response headers
|
@@ -213,7 +219,9 @@ module PulpOstreeClient
|
|
213
219
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
214
220
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
215
221
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
222
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
216
223
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
224
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
217
225
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
226
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
227
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
@@ -226,6 +234,7 @@ module PulpOstreeClient
|
|
226
234
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
227
235
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
228
236
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
237
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
229
238
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
230
239
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
231
240
|
|
@@ -400,6 +409,146 @@ module PulpOstreeClient
|
|
400
409
|
return data, status_code, headers
|
401
410
|
end
|
402
411
|
|
412
|
+
# Set a label
|
413
|
+
# Set a single pulp_label on the object to a specific value or null.
|
414
|
+
# @param ostree_ostree_remote_href [String]
|
415
|
+
# @param set_label [SetLabel]
|
416
|
+
# @param [Hash] opts the optional parameters
|
417
|
+
# @return [SetLabelResponse]
|
418
|
+
def set_label(ostree_ostree_remote_href, set_label, opts = {})
|
419
|
+
data, _status_code, _headers = set_label_with_http_info(ostree_ostree_remote_href, set_label, opts)
|
420
|
+
data
|
421
|
+
end
|
422
|
+
|
423
|
+
# Set a label
|
424
|
+
# Set a single pulp_label on the object to a specific value or null.
|
425
|
+
# @param ostree_ostree_remote_href [String]
|
426
|
+
# @param set_label [SetLabel]
|
427
|
+
# @param [Hash] opts the optional parameters
|
428
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
429
|
+
def set_label_with_http_info(ostree_ostree_remote_href, set_label, opts = {})
|
430
|
+
if @api_client.config.debugging
|
431
|
+
@api_client.config.logger.debug 'Calling API: RemotesOstreeApi.set_label ...'
|
432
|
+
end
|
433
|
+
# verify the required parameter 'ostree_ostree_remote_href' is set
|
434
|
+
if @api_client.config.client_side_validation && ostree_ostree_remote_href.nil?
|
435
|
+
fail ArgumentError, "Missing the required parameter 'ostree_ostree_remote_href' when calling RemotesOstreeApi.set_label"
|
436
|
+
end
|
437
|
+
# verify the required parameter 'set_label' is set
|
438
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
439
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesOstreeApi.set_label"
|
440
|
+
end
|
441
|
+
# resource path
|
442
|
+
local_var_path = '{ostree_ostree_remote_href}set_label/'.sub('{' + 'ostree_ostree_remote_href' + '}', CGI.escape(ostree_ostree_remote_href.to_s).gsub('%2F', '/'))
|
443
|
+
|
444
|
+
# query parameters
|
445
|
+
query_params = opts[:query_params] || {}
|
446
|
+
|
447
|
+
# header parameters
|
448
|
+
header_params = opts[:header_params] || {}
|
449
|
+
# HTTP header 'Accept' (if needed)
|
450
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
451
|
+
# HTTP header 'Content-Type'
|
452
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
453
|
+
|
454
|
+
# form parameters
|
455
|
+
form_params = opts[:form_params] || {}
|
456
|
+
|
457
|
+
# http body (model)
|
458
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
459
|
+
|
460
|
+
# return_type
|
461
|
+
return_type = opts[:return_type] || 'SetLabelResponse'
|
462
|
+
|
463
|
+
# auth_names
|
464
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
465
|
+
|
466
|
+
new_options = opts.merge(
|
467
|
+
:header_params => header_params,
|
468
|
+
:query_params => query_params,
|
469
|
+
:form_params => form_params,
|
470
|
+
:body => post_body,
|
471
|
+
:auth_names => auth_names,
|
472
|
+
:return_type => return_type
|
473
|
+
)
|
474
|
+
|
475
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
476
|
+
if @api_client.config.debugging
|
477
|
+
@api_client.config.logger.debug "API called: RemotesOstreeApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
478
|
+
end
|
479
|
+
return data, status_code, headers
|
480
|
+
end
|
481
|
+
|
482
|
+
# Unset a label
|
483
|
+
# Unset a single pulp_label on the object.
|
484
|
+
# @param ostree_ostree_remote_href [String]
|
485
|
+
# @param unset_label [UnsetLabel]
|
486
|
+
# @param [Hash] opts the optional parameters
|
487
|
+
# @return [UnsetLabelResponse]
|
488
|
+
def unset_label(ostree_ostree_remote_href, unset_label, opts = {})
|
489
|
+
data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_remote_href, unset_label, opts)
|
490
|
+
data
|
491
|
+
end
|
492
|
+
|
493
|
+
# Unset a label
|
494
|
+
# Unset a single pulp_label on the object.
|
495
|
+
# @param ostree_ostree_remote_href [String]
|
496
|
+
# @param unset_label [UnsetLabel]
|
497
|
+
# @param [Hash] opts the optional parameters
|
498
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
499
|
+
def unset_label_with_http_info(ostree_ostree_remote_href, unset_label, opts = {})
|
500
|
+
if @api_client.config.debugging
|
501
|
+
@api_client.config.logger.debug 'Calling API: RemotesOstreeApi.unset_label ...'
|
502
|
+
end
|
503
|
+
# verify the required parameter 'ostree_ostree_remote_href' is set
|
504
|
+
if @api_client.config.client_side_validation && ostree_ostree_remote_href.nil?
|
505
|
+
fail ArgumentError, "Missing the required parameter 'ostree_ostree_remote_href' when calling RemotesOstreeApi.unset_label"
|
506
|
+
end
|
507
|
+
# verify the required parameter 'unset_label' is set
|
508
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
509
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesOstreeApi.unset_label"
|
510
|
+
end
|
511
|
+
# resource path
|
512
|
+
local_var_path = '{ostree_ostree_remote_href}unset_label/'.sub('{' + 'ostree_ostree_remote_href' + '}', CGI.escape(ostree_ostree_remote_href.to_s).gsub('%2F', '/'))
|
513
|
+
|
514
|
+
# query parameters
|
515
|
+
query_params = opts[:query_params] || {}
|
516
|
+
|
517
|
+
# header parameters
|
518
|
+
header_params = opts[:header_params] || {}
|
519
|
+
# HTTP header 'Accept' (if needed)
|
520
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
521
|
+
# HTTP header 'Content-Type'
|
522
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
523
|
+
|
524
|
+
# form parameters
|
525
|
+
form_params = opts[:form_params] || {}
|
526
|
+
|
527
|
+
# http body (model)
|
528
|
+
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
529
|
+
|
530
|
+
# return_type
|
531
|
+
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
532
|
+
|
533
|
+
# auth_names
|
534
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
535
|
+
|
536
|
+
new_options = opts.merge(
|
537
|
+
:header_params => header_params,
|
538
|
+
:query_params => query_params,
|
539
|
+
:form_params => form_params,
|
540
|
+
:body => post_body,
|
541
|
+
:auth_names => auth_names,
|
542
|
+
:return_type => return_type
|
543
|
+
)
|
544
|
+
|
545
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
546
|
+
if @api_client.config.debugging
|
547
|
+
@api_client.config.logger.debug "API called: RemotesOstreeApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
548
|
+
end
|
549
|
+
return data, status_code, headers
|
550
|
+
end
|
551
|
+
|
403
552
|
# Update an ostree remote
|
404
553
|
# Trigger an asynchronous update task
|
405
554
|
# @param ostree_ostree_remote_href [String]
|
@@ -293,13 +293,16 @@ module PulpOstreeClient
|
|
293
293
|
# @option opts [String] :name Filter results where name matches value
|
294
294
|
# @option opts [String] :name__contains Filter results where name contains value
|
295
295
|
# @option opts [String] :name__icontains Filter results where name contains value
|
296
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
296
297
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
298
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
297
299
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
298
300
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
299
301
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
300
302
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
301
303
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
302
304
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
305
|
+
# @option opts [String] :q
|
303
306
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
304
307
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
305
308
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -326,13 +329,16 @@ module PulpOstreeClient
|
|
326
329
|
# @option opts [String] :name Filter results where name matches value
|
327
330
|
# @option opts [String] :name__contains Filter results where name contains value
|
328
331
|
# @option opts [String] :name__icontains Filter results where name contains value
|
332
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
329
333
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
334
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
330
335
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
331
336
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
332
337
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
333
338
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
334
339
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
335
340
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
341
|
+
# @option opts [String] :q
|
336
342
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
337
343
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
338
344
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -364,13 +370,16 @@ module PulpOstreeClient
|
|
364
370
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
365
371
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
366
372
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
373
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
367
374
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
375
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
368
376
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
369
377
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
370
378
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
371
379
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
372
380
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
373
381
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
382
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
374
383
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
375
384
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
376
385
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
@@ -625,6 +634,76 @@ module PulpOstreeClient
|
|
625
634
|
return data, status_code, headers
|
626
635
|
end
|
627
636
|
|
637
|
+
# Set a label
|
638
|
+
# Set a single pulp_label on the object to a specific value or null.
|
639
|
+
# @param ostree_ostree_repository_href [String]
|
640
|
+
# @param set_label [SetLabel]
|
641
|
+
# @param [Hash] opts the optional parameters
|
642
|
+
# @return [SetLabelResponse]
|
643
|
+
def set_label(ostree_ostree_repository_href, set_label, opts = {})
|
644
|
+
data, _status_code, _headers = set_label_with_http_info(ostree_ostree_repository_href, set_label, opts)
|
645
|
+
data
|
646
|
+
end
|
647
|
+
|
648
|
+
# Set a label
|
649
|
+
# Set a single pulp_label on the object to a specific value or null.
|
650
|
+
# @param ostree_ostree_repository_href [String]
|
651
|
+
# @param set_label [SetLabel]
|
652
|
+
# @param [Hash] opts the optional parameters
|
653
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
654
|
+
def set_label_with_http_info(ostree_ostree_repository_href, set_label, opts = {})
|
655
|
+
if @api_client.config.debugging
|
656
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesOstreeApi.set_label ...'
|
657
|
+
end
|
658
|
+
# verify the required parameter 'ostree_ostree_repository_href' is set
|
659
|
+
if @api_client.config.client_side_validation && ostree_ostree_repository_href.nil?
|
660
|
+
fail ArgumentError, "Missing the required parameter 'ostree_ostree_repository_href' when calling RepositoriesOstreeApi.set_label"
|
661
|
+
end
|
662
|
+
# verify the required parameter 'set_label' is set
|
663
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
664
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesOstreeApi.set_label"
|
665
|
+
end
|
666
|
+
# resource path
|
667
|
+
local_var_path = '{ostree_ostree_repository_href}set_label/'.sub('{' + 'ostree_ostree_repository_href' + '}', CGI.escape(ostree_ostree_repository_href.to_s).gsub('%2F', '/'))
|
668
|
+
|
669
|
+
# query parameters
|
670
|
+
query_params = opts[:query_params] || {}
|
671
|
+
|
672
|
+
# header parameters
|
673
|
+
header_params = opts[:header_params] || {}
|
674
|
+
# HTTP header 'Accept' (if needed)
|
675
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
676
|
+
# HTTP header 'Content-Type'
|
677
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
678
|
+
|
679
|
+
# form parameters
|
680
|
+
form_params = opts[:form_params] || {}
|
681
|
+
|
682
|
+
# http body (model)
|
683
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
684
|
+
|
685
|
+
# return_type
|
686
|
+
return_type = opts[:return_type] || 'SetLabelResponse'
|
687
|
+
|
688
|
+
# auth_names
|
689
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
690
|
+
|
691
|
+
new_options = opts.merge(
|
692
|
+
:header_params => header_params,
|
693
|
+
:query_params => query_params,
|
694
|
+
:form_params => form_params,
|
695
|
+
:body => post_body,
|
696
|
+
:auth_names => auth_names,
|
697
|
+
:return_type => return_type
|
698
|
+
)
|
699
|
+
|
700
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
701
|
+
if @api_client.config.debugging
|
702
|
+
@api_client.config.logger.debug "API called: RepositoriesOstreeApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
703
|
+
end
|
704
|
+
return data, status_code, headers
|
705
|
+
end
|
706
|
+
|
628
707
|
# Sync from remote
|
629
708
|
# Trigger an asynchronous task to sync content.
|
630
709
|
# @param ostree_ostree_repository_href [String]
|
@@ -695,6 +774,76 @@ module PulpOstreeClient
|
|
695
774
|
return data, status_code, headers
|
696
775
|
end
|
697
776
|
|
777
|
+
# Unset a label
|
778
|
+
# Unset a single pulp_label on the object.
|
779
|
+
# @param ostree_ostree_repository_href [String]
|
780
|
+
# @param unset_label [UnsetLabel]
|
781
|
+
# @param [Hash] opts the optional parameters
|
782
|
+
# @return [UnsetLabelResponse]
|
783
|
+
def unset_label(ostree_ostree_repository_href, unset_label, opts = {})
|
784
|
+
data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_repository_href, unset_label, opts)
|
785
|
+
data
|
786
|
+
end
|
787
|
+
|
788
|
+
# Unset a label
|
789
|
+
# Unset a single pulp_label on the object.
|
790
|
+
# @param ostree_ostree_repository_href [String]
|
791
|
+
# @param unset_label [UnsetLabel]
|
792
|
+
# @param [Hash] opts the optional parameters
|
793
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
794
|
+
def unset_label_with_http_info(ostree_ostree_repository_href, unset_label, opts = {})
|
795
|
+
if @api_client.config.debugging
|
796
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesOstreeApi.unset_label ...'
|
797
|
+
end
|
798
|
+
# verify the required parameter 'ostree_ostree_repository_href' is set
|
799
|
+
if @api_client.config.client_side_validation && ostree_ostree_repository_href.nil?
|
800
|
+
fail ArgumentError, "Missing the required parameter 'ostree_ostree_repository_href' when calling RepositoriesOstreeApi.unset_label"
|
801
|
+
end
|
802
|
+
# verify the required parameter 'unset_label' is set
|
803
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
804
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesOstreeApi.unset_label"
|
805
|
+
end
|
806
|
+
# resource path
|
807
|
+
local_var_path = '{ostree_ostree_repository_href}unset_label/'.sub('{' + 'ostree_ostree_repository_href' + '}', CGI.escape(ostree_ostree_repository_href.to_s).gsub('%2F', '/'))
|
808
|
+
|
809
|
+
# query parameters
|
810
|
+
query_params = opts[:query_params] || {}
|
811
|
+
|
812
|
+
# header parameters
|
813
|
+
header_params = opts[:header_params] || {}
|
814
|
+
# HTTP header 'Accept' (if needed)
|
815
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
816
|
+
# HTTP header 'Content-Type'
|
817
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
818
|
+
|
819
|
+
# form parameters
|
820
|
+
form_params = opts[:form_params] || {}
|
821
|
+
|
822
|
+
# http body (model)
|
823
|
+
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
824
|
+
|
825
|
+
# return_type
|
826
|
+
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
827
|
+
|
828
|
+
# auth_names
|
829
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
830
|
+
|
831
|
+
new_options = opts.merge(
|
832
|
+
:header_params => header_params,
|
833
|
+
:query_params => query_params,
|
834
|
+
:form_params => form_params,
|
835
|
+
:body => post_body,
|
836
|
+
:auth_names => auth_names,
|
837
|
+
:return_type => return_type
|
838
|
+
)
|
839
|
+
|
840
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
841
|
+
if @api_client.config.debugging
|
842
|
+
@api_client.config.logger.debug "API called: RepositoriesOstreeApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
843
|
+
end
|
844
|
+
return data, status_code, headers
|
845
|
+
end
|
846
|
+
|
698
847
|
# Update an ostree repository
|
699
848
|
# Trigger an asynchronous update task
|
700
849
|
# @param ostree_ostree_repository_href [String]
|
@@ -103,6 +103,7 @@ module PulpOstreeClient
|
|
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
105
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
+
# @option opts [String] :q
|
106
107
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
108
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
109
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -133,6 +134,7 @@ module PulpOstreeClient
|
|
133
134
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
135
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
136
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
137
|
+
# @option opts [String] :q
|
136
138
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
139
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
140
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -171,6 +173,7 @@ module PulpOstreeClient
|
|
171
173
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
174
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
175
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
176
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
174
177
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
178
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
179
|
|