pulp_ansible_client 0.24.1 → 0.24.3
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 -4
- data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +6 -4
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/ContentCollectionDeprecationsApi.md +148 -0
- data/docs/ContentCollectionMarksApi.md +150 -2
- data/docs/ContentCollectionSignaturesApi.md +152 -2
- data/docs/ContentCollectionVersionsApi.md +156 -6
- data/docs/ContentNamespacesApi.md +150 -2
- data/docs/ContentRolesApi.md +150 -2
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +151 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +157 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +163 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -248
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +165 -165
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -17
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/unset_label.rb +1 -1
- data/lib/pulp_ansible_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +27 -0
- data/spec/api/content_collection_marks_api_spec.rb +28 -1
- data/spec/api/content_collection_signatures_api_spec.rb +29 -1
- data/spec/api/content_collection_versions_api_spec.rb +31 -3
- data/spec/api/content_namespaces_api_spec.rb +28 -1
- data/spec/api/content_roles_api_spec.rb +28 -1
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +10 -4
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +9 -3
- data/spec/models/ansible_role_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +123 -123
@@ -111,11 +111,12 @@ module PulpAnsibleClient
|
|
111
111
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
112
112
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
113
113
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
114
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
114
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
115
115
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
116
116
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
117
117
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
118
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
119
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
119
120
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
120
121
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
121
122
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -153,11 +154,12 @@ module PulpAnsibleClient
|
|
153
154
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
154
155
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
155
156
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
157
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
157
158
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
158
159
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
159
160
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
161
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
162
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
161
163
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
162
164
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
163
165
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -169,7 +171,7 @@ module PulpAnsibleClient
|
|
169
171
|
if @api_client.config.debugging
|
170
172
|
@api_client.config.logger.debug 'Calling API: ContentNamespacesApi.list ...'
|
171
173
|
end
|
172
|
-
allowable_values = ["-avatar_sha256", "-company", "-description", "-email", "-links", "-metadata_sha256", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-resources", "-timestamp_of_interest", "-upstream_id", "avatar_sha256", "company", "description", "email", "links", "metadata_sha256", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "resources", "timestamp_of_interest", "upstream_id"]
|
174
|
+
allowable_values = ["-avatar_sha256", "-company", "-description", "-email", "-links", "-metadata_sha256", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-resources", "-timestamp_of_interest", "-upstream_id", "avatar_sha256", "company", "description", "email", "links", "metadata_sha256", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "resources", "timestamp_of_interest", "upstream_id"]
|
173
175
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
174
176
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
175
177
|
end
|
@@ -205,6 +207,7 @@ module PulpAnsibleClient
|
|
205
207
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
206
208
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
207
209
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
210
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
208
211
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
209
212
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
210
213
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -314,5 +317,153 @@ module PulpAnsibleClient
|
|
314
317
|
end
|
315
318
|
return data, status_code, headers
|
316
319
|
end
|
320
|
+
|
321
|
+
# Set a label
|
322
|
+
# Set a single pulp_label on the object to a specific value or null.
|
323
|
+
# @param ansible_ansible_namespace_metadata_href [String]
|
324
|
+
# @param set_label [SetLabel]
|
325
|
+
# @param [Hash] opts the optional parameters
|
326
|
+
# @return [SetLabelResponse]
|
327
|
+
def set_label(ansible_ansible_namespace_metadata_href, set_label, opts = {})
|
328
|
+
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label, opts)
|
329
|
+
data
|
330
|
+
end
|
331
|
+
|
332
|
+
# Set a label
|
333
|
+
# Set a single pulp_label on the object to a specific value or null.
|
334
|
+
# @param ansible_ansible_namespace_metadata_href [String]
|
335
|
+
# @param set_label [SetLabel]
|
336
|
+
# @param [Hash] opts the optional parameters
|
337
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
338
|
+
def set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label, opts = {})
|
339
|
+
if @api_client.config.debugging
|
340
|
+
@api_client.config.logger.debug 'Calling API: ContentNamespacesApi.set_label ...'
|
341
|
+
end
|
342
|
+
# verify the required parameter 'ansible_ansible_namespace_metadata_href' is set
|
343
|
+
if @api_client.config.client_side_validation && ansible_ansible_namespace_metadata_href.nil?
|
344
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_namespace_metadata_href' when calling ContentNamespacesApi.set_label"
|
345
|
+
end
|
346
|
+
# verify the required parameter 'set_label' is set
|
347
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
348
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentNamespacesApi.set_label"
|
349
|
+
end
|
350
|
+
# resource path
|
351
|
+
local_var_path = '{ansible_ansible_namespace_metadata_href}set_label/'.sub('{' + 'ansible_ansible_namespace_metadata_href' + '}', CGI.escape(ansible_ansible_namespace_metadata_href.to_s).gsub('%2F', '/'))
|
352
|
+
|
353
|
+
# query parameters
|
354
|
+
query_params = opts[:query_params] || {}
|
355
|
+
|
356
|
+
# header parameters
|
357
|
+
header_params = opts[:header_params] || {}
|
358
|
+
# HTTP header 'Accept' (if needed)
|
359
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
360
|
+
# HTTP header 'Content-Type'
|
361
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
362
|
+
if !content_type.nil?
|
363
|
+
header_params['Content-Type'] = content_type
|
364
|
+
end
|
365
|
+
|
366
|
+
# form parameters
|
367
|
+
form_params = opts[:form_params] || {}
|
368
|
+
|
369
|
+
# http body (model)
|
370
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
371
|
+
|
372
|
+
# return_type
|
373
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
374
|
+
|
375
|
+
# auth_names
|
376
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
377
|
+
|
378
|
+
new_options = opts.merge(
|
379
|
+
:operation => :"ContentNamespacesApi.set_label",
|
380
|
+
:header_params => header_params,
|
381
|
+
:query_params => query_params,
|
382
|
+
:form_params => form_params,
|
383
|
+
:body => post_body,
|
384
|
+
:auth_names => auth_names,
|
385
|
+
:return_type => return_type
|
386
|
+
)
|
387
|
+
|
388
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
389
|
+
if @api_client.config.debugging
|
390
|
+
@api_client.config.logger.debug "API called: ContentNamespacesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
391
|
+
end
|
392
|
+
return data, status_code, headers
|
393
|
+
end
|
394
|
+
|
395
|
+
# Unset a label
|
396
|
+
# Unset a single pulp_label on the object.
|
397
|
+
# @param ansible_ansible_namespace_metadata_href [String]
|
398
|
+
# @param unset_label [UnsetLabel]
|
399
|
+
# @param [Hash] opts the optional parameters
|
400
|
+
# @return [UnsetLabelResponse]
|
401
|
+
def unset_label(ansible_ansible_namespace_metadata_href, unset_label, opts = {})
|
402
|
+
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label, opts)
|
403
|
+
data
|
404
|
+
end
|
405
|
+
|
406
|
+
# Unset a label
|
407
|
+
# Unset a single pulp_label on the object.
|
408
|
+
# @param ansible_ansible_namespace_metadata_href [String]
|
409
|
+
# @param unset_label [UnsetLabel]
|
410
|
+
# @param [Hash] opts the optional parameters
|
411
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
412
|
+
def unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label, opts = {})
|
413
|
+
if @api_client.config.debugging
|
414
|
+
@api_client.config.logger.debug 'Calling API: ContentNamespacesApi.unset_label ...'
|
415
|
+
end
|
416
|
+
# verify the required parameter 'ansible_ansible_namespace_metadata_href' is set
|
417
|
+
if @api_client.config.client_side_validation && ansible_ansible_namespace_metadata_href.nil?
|
418
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_namespace_metadata_href' when calling ContentNamespacesApi.unset_label"
|
419
|
+
end
|
420
|
+
# verify the required parameter 'unset_label' is set
|
421
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
422
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentNamespacesApi.unset_label"
|
423
|
+
end
|
424
|
+
# resource path
|
425
|
+
local_var_path = '{ansible_ansible_namespace_metadata_href}unset_label/'.sub('{' + 'ansible_ansible_namespace_metadata_href' + '}', CGI.escape(ansible_ansible_namespace_metadata_href.to_s).gsub('%2F', '/'))
|
426
|
+
|
427
|
+
# query parameters
|
428
|
+
query_params = opts[:query_params] || {}
|
429
|
+
|
430
|
+
# header parameters
|
431
|
+
header_params = opts[:header_params] || {}
|
432
|
+
# HTTP header 'Accept' (if needed)
|
433
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
434
|
+
# HTTP header 'Content-Type'
|
435
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
436
|
+
if !content_type.nil?
|
437
|
+
header_params['Content-Type'] = content_type
|
438
|
+
end
|
439
|
+
|
440
|
+
# form parameters
|
441
|
+
form_params = opts[:form_params] || {}
|
442
|
+
|
443
|
+
# http body (model)
|
444
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
445
|
+
|
446
|
+
# return_type
|
447
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
448
|
+
|
449
|
+
# auth_names
|
450
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
451
|
+
|
452
|
+
new_options = opts.merge(
|
453
|
+
:operation => :"ContentNamespacesApi.unset_label",
|
454
|
+
:header_params => header_params,
|
455
|
+
:query_params => query_params,
|
456
|
+
:form_params => form_params,
|
457
|
+
:body => post_body,
|
458
|
+
:auth_names => auth_names,
|
459
|
+
:return_type => return_type
|
460
|
+
)
|
461
|
+
|
462
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
463
|
+
if @api_client.config.debugging
|
464
|
+
@api_client.config.logger.debug "API called: ContentNamespacesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
465
|
+
end
|
466
|
+
return data, status_code, headers
|
467
|
+
end
|
317
468
|
end
|
318
469
|
end
|
@@ -94,11 +94,12 @@ module PulpAnsibleClient
|
|
94
94
|
# @option opts [String] :name Filter results where name matches value
|
95
95
|
# @option opts [String] :namespace Filter results where namespace matches value
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
97
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
98
98
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
99
99
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
100
100
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
101
101
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
102
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
102
103
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
103
104
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
104
105
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -119,11 +120,12 @@ module PulpAnsibleClient
|
|
119
120
|
# @option opts [String] :name Filter results where name matches value
|
120
121
|
# @option opts [String] :namespace Filter results where namespace matches value
|
121
122
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
122
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
123
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
123
124
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
124
125
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
125
126
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
126
127
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
128
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
127
129
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
128
130
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
129
131
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -136,7 +138,7 @@ module PulpAnsibleClient
|
|
136
138
|
if @api_client.config.debugging
|
137
139
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.list ...'
|
138
140
|
end
|
139
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
|
141
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
|
140
142
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
141
143
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
142
144
|
end
|
@@ -154,6 +156,7 @@ module PulpAnsibleClient
|
|
154
156
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
155
157
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
156
158
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
159
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
157
160
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
158
161
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
159
162
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -264,5 +267,153 @@ module PulpAnsibleClient
|
|
264
267
|
end
|
265
268
|
return data, status_code, headers
|
266
269
|
end
|
270
|
+
|
271
|
+
# Set a label
|
272
|
+
# Set a single pulp_label on the object to a specific value or null.
|
273
|
+
# @param ansible_role_href [String]
|
274
|
+
# @param set_label [SetLabel]
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [SetLabelResponse]
|
277
|
+
def set_label(ansible_role_href, set_label, opts = {})
|
278
|
+
data, _status_code, _headers = set_label_with_http_info(ansible_role_href, set_label, opts)
|
279
|
+
data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Set a label
|
283
|
+
# Set a single pulp_label on the object to a specific value or null.
|
284
|
+
# @param ansible_role_href [String]
|
285
|
+
# @param set_label [SetLabel]
|
286
|
+
# @param [Hash] opts the optional parameters
|
287
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
288
|
+
def set_label_with_http_info(ansible_role_href, set_label, opts = {})
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug 'Calling API: ContentRolesApi.set_label ...'
|
291
|
+
end
|
292
|
+
# verify the required parameter 'ansible_role_href' is set
|
293
|
+
if @api_client.config.client_side_validation && ansible_role_href.nil?
|
294
|
+
fail ArgumentError, "Missing the required parameter 'ansible_role_href' when calling ContentRolesApi.set_label"
|
295
|
+
end
|
296
|
+
# verify the required parameter 'set_label' is set
|
297
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
298
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentRolesApi.set_label"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '{ansible_role_href}set_label/'.sub('{' + 'ansible_role_href' + '}', CGI.escape(ansible_role_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(set_label)
|
321
|
+
|
322
|
+
# return_type
|
323
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
324
|
+
|
325
|
+
# auth_names
|
326
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
327
|
+
|
328
|
+
new_options = opts.merge(
|
329
|
+
:operation => :"ContentRolesApi.set_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: ContentRolesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
|
+
end
|
342
|
+
return data, status_code, headers
|
343
|
+
end
|
344
|
+
|
345
|
+
# Unset a label
|
346
|
+
# Unset a single pulp_label on the object.
|
347
|
+
# @param ansible_role_href [String]
|
348
|
+
# @param unset_label [UnsetLabel]
|
349
|
+
# @param [Hash] opts the optional parameters
|
350
|
+
# @return [UnsetLabelResponse]
|
351
|
+
def unset_label(ansible_role_href, unset_label, opts = {})
|
352
|
+
data, _status_code, _headers = unset_label_with_http_info(ansible_role_href, unset_label, opts)
|
353
|
+
data
|
354
|
+
end
|
355
|
+
|
356
|
+
# Unset a label
|
357
|
+
# Unset a single pulp_label on the object.
|
358
|
+
# @param ansible_role_href [String]
|
359
|
+
# @param unset_label [UnsetLabel]
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
362
|
+
def unset_label_with_http_info(ansible_role_href, unset_label, opts = {})
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug 'Calling API: ContentRolesApi.unset_label ...'
|
365
|
+
end
|
366
|
+
# verify the required parameter 'ansible_role_href' is set
|
367
|
+
if @api_client.config.client_side_validation && ansible_role_href.nil?
|
368
|
+
fail ArgumentError, "Missing the required parameter 'ansible_role_href' when calling ContentRolesApi.unset_label"
|
369
|
+
end
|
370
|
+
# verify the required parameter 'unset_label' is set
|
371
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
372
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentRolesApi.unset_label"
|
373
|
+
end
|
374
|
+
# resource path
|
375
|
+
local_var_path = '{ansible_role_href}unset_label/'.sub('{' + 'ansible_role_href' + '}', CGI.escape(ansible_role_href.to_s).gsub('%2F', '/'))
|
376
|
+
|
377
|
+
# query parameters
|
378
|
+
query_params = opts[:query_params] || {}
|
379
|
+
|
380
|
+
# header parameters
|
381
|
+
header_params = opts[:header_params] || {}
|
382
|
+
# HTTP header 'Accept' (if needed)
|
383
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
384
|
+
# HTTP header 'Content-Type'
|
385
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
386
|
+
if !content_type.nil?
|
387
|
+
header_params['Content-Type'] = content_type
|
388
|
+
end
|
389
|
+
|
390
|
+
# form parameters
|
391
|
+
form_params = opts[:form_params] || {}
|
392
|
+
|
393
|
+
# http body (model)
|
394
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
395
|
+
|
396
|
+
# return_type
|
397
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
398
|
+
|
399
|
+
# auth_names
|
400
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
401
|
+
|
402
|
+
new_options = opts.merge(
|
403
|
+
:operation => :"ContentRolesApi.unset_label",
|
404
|
+
:header_params => header_params,
|
405
|
+
:query_params => query_params,
|
406
|
+
:form_params => form_params,
|
407
|
+
:body => post_body,
|
408
|
+
:auth_names => auth_names,
|
409
|
+
:return_type => return_type
|
410
|
+
)
|
411
|
+
|
412
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
413
|
+
if @api_client.config.debugging
|
414
|
+
@api_client.config.logger.debug "API called: ContentRolesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
415
|
+
end
|
416
|
+
return data, status_code, headers
|
417
|
+
end
|
267
418
|
end
|
268
419
|
end
|
@@ -231,6 +231,7 @@ module PulpAnsibleClient
|
|
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 PulpAnsibleClient
|
|
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 * `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)
|
246
|
+
# @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)
|
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 PulpAnsibleClient
|
|
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 PulpAnsibleClient
|
|
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 * `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)
|
282
|
+
# @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)
|
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 PulpAnsibleClient
|
|
293
295
|
if @api_client.config.debugging
|
294
296
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.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 PulpAnsibleClient
|
|
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?
|
@@ -107,11 +107,12 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
110
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
111
111
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
112
112
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
113
113
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
114
114
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
115
116
|
# @option opts [String] :q
|
116
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
117
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -135,11 +136,12 @@ module PulpAnsibleClient
|
|
135
136
|
# @option opts [String] :name2
|
136
137
|
# @option opts [String] :namespace2
|
137
138
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
138
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
139
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
139
140
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
140
141
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
141
142
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
142
143
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
144
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
143
145
|
# @option opts [String] :q
|
144
146
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
145
147
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -165,7 +167,7 @@ module PulpAnsibleClient
|
|
165
167
|
if @api_client.config.client_side_validation && path.nil?
|
166
168
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsVersionsApi.list"
|
167
169
|
end
|
168
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
170
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
169
171
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
170
172
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
171
173
|
end
|
@@ -183,6 +185,7 @@ module PulpAnsibleClient
|
|
183
185
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
184
186
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
185
187
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
188
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
186
189
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
187
190
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
188
191
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -44,7 +44,7 @@ module PulpAnsibleClient
|
|
44
44
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
45
45
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
46
46
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
47
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
48
48
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
49
49
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
50
50
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -82,7 +82,7 @@ module PulpAnsibleClient
|
|
82
82
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
83
83
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
84
84
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
85
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
85
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
86
86
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
87
87
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
88
88
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -98,7 +98,7 @@ module PulpAnsibleClient
|
|
98
98
|
if @api_client.config.client_side_validation && path.nil?
|
99
99
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3NamespacesApi.list"
|
100
100
|
end
|
101
|
-
allowable_values = ["-avatar_sha256", "-company", "-description", "-email", "-links", "-metadata_sha256", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-resources", "-timestamp_of_interest", "-upstream_id", "avatar_sha256", "company", "description", "email", "links", "metadata_sha256", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "resources", "timestamp_of_interest", "upstream_id"]
|
101
|
+
allowable_values = ["-avatar_sha256", "-company", "-description", "-email", "-links", "-metadata_sha256", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-resources", "-timestamp_of_interest", "-upstream_id", "avatar_sha256", "company", "description", "email", "links", "metadata_sha256", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "resources", "timestamp_of_interest", "upstream_id"]
|
102
102
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
103
103
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
104
104
|
end
|