pulpcore_client 3.73.1 → 3.74.0
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 +12 -4
- data/docs/ArtifactDistributionResponse.md +15 -15
- data/docs/ContentOpenpgpPublicsubkeyApi.md +146 -0
- data/docs/ContentOpenpgpSignatureApi.md +146 -0
- data/docs/ContentOpenpgpUserattributeApi.md +146 -0
- data/docs/ContentOpenpgpUseridApi.md +146 -0
- data/docs/DistributionsApi.md +4 -2
- data/docs/DistributionsArtifactsApi.md +4 -2
- data/docs/DistributionsOpenpgpApi.md +2 -2
- data/docs/PublicationsApi.md +4 -2
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +148 -0
- data/lib/pulpcore_client/api/distributions_api.rb +6 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -3
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +6 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +66 -66
- data/lib/pulpcore_client/models/orphans_cleanup.rb +24 -0
- data/lib/pulpcore_client/models/unset_label.rb +1 -1
- data/lib/pulpcore_client/models/unset_label_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +26 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +26 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +26 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +26 -0
- data/spec/api/distributions_api_spec.rb +2 -1
- data/spec/api/distributions_artifacts_api_spec.rb +2 -1
- data/spec/api/distributions_openpgp_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +2 -1
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +2 -2
@@ -193,5 +193,153 @@ module PulpcoreClient
|
|
193
193
|
end
|
194
194
|
return data, status_code, headers
|
195
195
|
end
|
196
|
+
|
197
|
+
# Set a label
|
198
|
+
# Set a single pulp_label on the object to a specific value or null.
|
199
|
+
# @param open_p_g_p_user_attribute_href [String]
|
200
|
+
# @param set_label [SetLabel]
|
201
|
+
# @param [Hash] opts the optional parameters
|
202
|
+
# @return [SetLabelResponse]
|
203
|
+
def set_label(open_p_g_p_user_attribute_href, set_label, opts = {})
|
204
|
+
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_user_attribute_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 open_p_g_p_user_attribute_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(open_p_g_p_user_attribute_href, set_label, opts = {})
|
215
|
+
if @api_client.config.debugging
|
216
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUserattributeApi.set_label ...'
|
217
|
+
end
|
218
|
+
# verify the required parameter 'open_p_g_p_user_attribute_href' is set
|
219
|
+
if @api_client.config.client_side_validation && open_p_g_p_user_attribute_href.nil?
|
220
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_user_attribute_href' when calling ContentOpenpgpUserattributeApi.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 ContentOpenpgpUserattributeApi.set_label"
|
225
|
+
end
|
226
|
+
# resource path
|
227
|
+
local_var_path = '{open_p_g_p_user_attribute_href}set_label/'.sub('{' + 'open_p_g_p_user_attribute_href' + '}', CGI.escape(open_p_g_p_user_attribute_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 => :"ContentOpenpgpUserattributeApi.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: ContentOpenpgpUserattributeApi#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 open_p_g_p_user_attribute_href [String]
|
274
|
+
# @param unset_label [UnsetLabel]
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [UnsetLabelResponse]
|
277
|
+
def unset_label(open_p_g_p_user_attribute_href, unset_label, opts = {})
|
278
|
+
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_user_attribute_href, unset_label, opts)
|
279
|
+
data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Unset a label
|
283
|
+
# Unset a single pulp_label on the object.
|
284
|
+
# @param open_p_g_p_user_attribute_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(open_p_g_p_user_attribute_href, unset_label, opts = {})
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUserattributeApi.unset_label ...'
|
291
|
+
end
|
292
|
+
# verify the required parameter 'open_p_g_p_user_attribute_href' is set
|
293
|
+
if @api_client.config.client_side_validation && open_p_g_p_user_attribute_href.nil?
|
294
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_user_attribute_href' when calling ContentOpenpgpUserattributeApi.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 ContentOpenpgpUserattributeApi.unset_label"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '{open_p_g_p_user_attribute_href}unset_label/'.sub('{' + 'open_p_g_p_user_attribute_href' + '}', CGI.escape(open_p_g_p_user_attribute_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 => :"ContentOpenpgpUserattributeApi.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: ContentOpenpgpUserattributeApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
|
+
end
|
342
|
+
return data, status_code, headers
|
343
|
+
end
|
196
344
|
end
|
197
345
|
end
|
@@ -217,5 +217,153 @@ module PulpcoreClient
|
|
217
217
|
end
|
218
218
|
return data, status_code, headers
|
219
219
|
end
|
220
|
+
|
221
|
+
# Set a label
|
222
|
+
# Set a single pulp_label on the object to a specific value or null.
|
223
|
+
# @param open_p_g_p_user_i_d_href [String]
|
224
|
+
# @param set_label [SetLabel]
|
225
|
+
# @param [Hash] opts the optional parameters
|
226
|
+
# @return [SetLabelResponse]
|
227
|
+
def set_label(open_p_g_p_user_i_d_href, set_label, opts = {})
|
228
|
+
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_user_i_d_href, set_label, opts)
|
229
|
+
data
|
230
|
+
end
|
231
|
+
|
232
|
+
# Set a label
|
233
|
+
# Set a single pulp_label on the object to a specific value or null.
|
234
|
+
# @param open_p_g_p_user_i_d_href [String]
|
235
|
+
# @param set_label [SetLabel]
|
236
|
+
# @param [Hash] opts the optional parameters
|
237
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
238
|
+
def set_label_with_http_info(open_p_g_p_user_i_d_href, set_label, opts = {})
|
239
|
+
if @api_client.config.debugging
|
240
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUseridApi.set_label ...'
|
241
|
+
end
|
242
|
+
# verify the required parameter 'open_p_g_p_user_i_d_href' is set
|
243
|
+
if @api_client.config.client_side_validation && open_p_g_p_user_i_d_href.nil?
|
244
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_user_i_d_href' when calling ContentOpenpgpUseridApi.set_label"
|
245
|
+
end
|
246
|
+
# verify the required parameter 'set_label' is set
|
247
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
248
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentOpenpgpUseridApi.set_label"
|
249
|
+
end
|
250
|
+
# resource path
|
251
|
+
local_var_path = '{open_p_g_p_user_i_d_href}set_label/'.sub('{' + 'open_p_g_p_user_i_d_href' + '}', CGI.escape(open_p_g_p_user_i_d_href.to_s).gsub('%2F', '/'))
|
252
|
+
|
253
|
+
# query parameters
|
254
|
+
query_params = opts[:query_params] || {}
|
255
|
+
|
256
|
+
# header parameters
|
257
|
+
header_params = opts[:header_params] || {}
|
258
|
+
# HTTP header 'Accept' (if needed)
|
259
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
260
|
+
# HTTP header 'Content-Type'
|
261
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
262
|
+
if !content_type.nil?
|
263
|
+
header_params['Content-Type'] = content_type
|
264
|
+
end
|
265
|
+
|
266
|
+
# form parameters
|
267
|
+
form_params = opts[:form_params] || {}
|
268
|
+
|
269
|
+
# http body (model)
|
270
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
271
|
+
|
272
|
+
# return_type
|
273
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
274
|
+
|
275
|
+
# auth_names
|
276
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
277
|
+
|
278
|
+
new_options = opts.merge(
|
279
|
+
:operation => :"ContentOpenpgpUseridApi.set_label",
|
280
|
+
:header_params => header_params,
|
281
|
+
:query_params => query_params,
|
282
|
+
:form_params => form_params,
|
283
|
+
:body => post_body,
|
284
|
+
:auth_names => auth_names,
|
285
|
+
:return_type => return_type
|
286
|
+
)
|
287
|
+
|
288
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpUseridApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
291
|
+
end
|
292
|
+
return data, status_code, headers
|
293
|
+
end
|
294
|
+
|
295
|
+
# Unset a label
|
296
|
+
# Unset a single pulp_label on the object.
|
297
|
+
# @param open_p_g_p_user_i_d_href [String]
|
298
|
+
# @param unset_label [UnsetLabel]
|
299
|
+
# @param [Hash] opts the optional parameters
|
300
|
+
# @return [UnsetLabelResponse]
|
301
|
+
def unset_label(open_p_g_p_user_i_d_href, unset_label, opts = {})
|
302
|
+
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label, opts)
|
303
|
+
data
|
304
|
+
end
|
305
|
+
|
306
|
+
# Unset a label
|
307
|
+
# Unset a single pulp_label on the object.
|
308
|
+
# @param open_p_g_p_user_i_d_href [String]
|
309
|
+
# @param unset_label [UnsetLabel]
|
310
|
+
# @param [Hash] opts the optional parameters
|
311
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
312
|
+
def unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label, opts = {})
|
313
|
+
if @api_client.config.debugging
|
314
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUseridApi.unset_label ...'
|
315
|
+
end
|
316
|
+
# verify the required parameter 'open_p_g_p_user_i_d_href' is set
|
317
|
+
if @api_client.config.client_side_validation && open_p_g_p_user_i_d_href.nil?
|
318
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_user_i_d_href' when calling ContentOpenpgpUseridApi.unset_label"
|
319
|
+
end
|
320
|
+
# verify the required parameter 'unset_label' is set
|
321
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
322
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentOpenpgpUseridApi.unset_label"
|
323
|
+
end
|
324
|
+
# resource path
|
325
|
+
local_var_path = '{open_p_g_p_user_i_d_href}unset_label/'.sub('{' + 'open_p_g_p_user_i_d_href' + '}', CGI.escape(open_p_g_p_user_i_d_href.to_s).gsub('%2F', '/'))
|
326
|
+
|
327
|
+
# query parameters
|
328
|
+
query_params = opts[:query_params] || {}
|
329
|
+
|
330
|
+
# header parameters
|
331
|
+
header_params = opts[:header_params] || {}
|
332
|
+
# HTTP header 'Accept' (if needed)
|
333
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
334
|
+
# HTTP header 'Content-Type'
|
335
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
336
|
+
if !content_type.nil?
|
337
|
+
header_params['Content-Type'] = content_type
|
338
|
+
end
|
339
|
+
|
340
|
+
# form parameters
|
341
|
+
form_params = opts[:form_params] || {}
|
342
|
+
|
343
|
+
# http body (model)
|
344
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
345
|
+
|
346
|
+
# return_type
|
347
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
348
|
+
|
349
|
+
# auth_names
|
350
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
351
|
+
|
352
|
+
new_options = opts.merge(
|
353
|
+
:operation => :"ContentOpenpgpUseridApi.unset_label",
|
354
|
+
:header_params => header_params,
|
355
|
+
:query_params => query_params,
|
356
|
+
:form_params => form_params,
|
357
|
+
:body => post_body,
|
358
|
+
:auth_names => auth_names,
|
359
|
+
:return_type => return_type
|
360
|
+
)
|
361
|
+
|
362
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpUseridApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
365
|
+
end
|
366
|
+
return data, status_code, headers
|
367
|
+
end
|
220
368
|
end
|
221
369
|
end
|
@@ -26,6 +26,7 @@ module PulpcoreClient
|
|
26
26
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
27
27
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
28
28
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
29
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
29
30
|
# @option opts [Integer] :limit Number of results to return per page.
|
30
31
|
# @option opts [String] :name Filter results where name matches value
|
31
32
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -37,7 +38,7 @@ module PulpcoreClient
|
|
37
38
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
38
39
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
39
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
|
-
# @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)
|
41
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
41
42
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
42
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -63,6 +64,7 @@ module PulpcoreClient
|
|
63
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
64
65
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
65
66
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
66
68
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
69
|
# @option opts [String] :name Filter results where name matches value
|
68
70
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -74,7 +76,7 @@ module PulpcoreClient
|
|
74
76
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
75
77
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
76
78
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
77
|
-
# @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)
|
79
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
78
80
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
79
81
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
80
82
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -92,7 +94,7 @@ module PulpcoreClient
|
|
92
94
|
if @api_client.config.debugging
|
93
95
|
@api_client.config.logger.debug 'Calling API: DistributionsApi.list ...'
|
94
96
|
end
|
95
|
-
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"]
|
97
|
+
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"]
|
96
98
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
97
99
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
98
100
|
end
|
@@ -113,6 +115,7 @@ module PulpcoreClient
|
|
113
115
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
114
116
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
115
117
|
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
118
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
116
119
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
117
120
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
118
121
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -26,6 +26,7 @@ module PulpcoreClient
|
|
26
26
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
27
27
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
28
28
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
29
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
29
30
|
# @option opts [Integer] :limit Number of results to return per page.
|
30
31
|
# @option opts [String] :name Filter results where name matches value
|
31
32
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -37,7 +38,7 @@ module PulpcoreClient
|
|
37
38
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
38
39
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
39
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
|
-
# @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)
|
41
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
41
42
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
42
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -61,6 +62,7 @@ module PulpcoreClient
|
|
61
62
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
62
63
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
63
64
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
65
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
64
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
65
67
|
# @option opts [String] :name Filter results where name matches value
|
66
68
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -72,7 +74,7 @@ module PulpcoreClient
|
|
72
74
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
73
75
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
74
76
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
75
|
-
# @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)
|
77
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
78
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
77
79
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
78
80
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -88,7 +90,7 @@ module PulpcoreClient
|
|
88
90
|
if @api_client.config.debugging
|
89
91
|
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.list ...'
|
90
92
|
end
|
91
|
-
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"]
|
93
|
+
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"]
|
92
94
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
93
95
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
94
96
|
end
|
@@ -101,6 +103,7 @@ module PulpcoreClient
|
|
101
103
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
102
104
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
103
105
|
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
106
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
104
107
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
105
108
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
106
109
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -155,7 +155,7 @@ module PulpcoreClient
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
156
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @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)
|
158
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
159
159
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
160
160
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
161
161
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -176,7 +176,7 @@ module PulpcoreClient
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
178
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
|
-
# @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)
|
179
|
+
# @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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
180
180
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
181
181
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
182
182
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -191,7 +191,7 @@ module PulpcoreClient
|
|
191
191
|
if @api_client.config.debugging
|
192
192
|
@api_client.config.logger.debug 'Calling API: DistributionsOpenpgpApi.list ...'
|
193
193
|
end
|
194
|
-
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"]
|
194
|
+
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"]
|
195
195
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
196
196
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
197
197
|
end
|
@@ -22,11 +22,12 @@ module PulpcoreClient
|
|
22
22
|
# List publications
|
23
23
|
# A base class for any publication viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
25
26
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
26
27
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
27
28
|
# @option opts [Integer] :limit Number of results to return per page.
|
28
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
29
|
-
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
30
|
+
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
30
31
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
31
32
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
32
33
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -53,11 +54,12 @@ module PulpcoreClient
|
|
53
54
|
# List publications
|
54
55
|
# A base class for any publication viewset.
|
55
56
|
# @param [Hash] opts the optional parameters
|
57
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
56
58
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
57
59
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
58
60
|
# @option opts [Integer] :limit Number of results to return per page.
|
59
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
|
-
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
62
|
+
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
61
63
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
62
64
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
63
65
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -80,7 +82,7 @@ module PulpcoreClient
|
|
80
82
|
if @api_client.config.debugging
|
81
83
|
@api_client.config.logger.debug 'Calling API: PublicationsApi.list ...'
|
82
84
|
end
|
83
|
-
allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
85
|
+
allowable_values = ["-checkpoint", "-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "checkpoint", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
84
86
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
85
87
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
86
88
|
end
|
@@ -97,6 +99,7 @@ module PulpcoreClient
|
|
97
99
|
|
98
100
|
# query parameters
|
99
101
|
query_params = opts[:query_params] || {}
|
102
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
100
103
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
101
104
|
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
102
105
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|