pulpcore_client 3.105.16 → 3.106.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 +8 -4
- data/docs/ArtifactDistributionResponse.md +19 -15
- data/docs/DataRepair7272.md +18 -0
- data/docs/DataRepair7465.md +18 -0
- data/docs/Datarepair7272Api.md +82 -0
- data/docs/Datarepair7465Api.md +82 -0
- data/docs/DistributionResponse.md +5 -1
- data/docs/DistributionsOpenpgpApi.md +2 -2
- data/docs/OpenPGPDistributionResponse.md +2 -0
- data/docs/OpenPGPKeyring.md +2 -0
- data/docs/OpenPGPKeyringResponse.md +2 -0
- data/docs/PatchedOpenPGPKeyring.md +2 -0
- data/docs/Purge.md +1 -1
- data/docs/RepositoriesApi.md +18 -2
- data/docs/RepositoriesOpenpgpKeyringApi.md +18 -2
- data/docs/RepositoryResponse.md +2 -0
- data/lib/pulpcore_client/api/datarepair7272_api.rb +93 -0
- data/lib/pulpcore_client/api/datarepair7465_api.rb +93 -0
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +4 -4
- data/lib/pulpcore_client/api/repositories_api.rb +27 -3
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +27 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +91 -70
- data/lib/pulpcore_client/models/data_repair7272.rb +217 -0
- data/lib/pulpcore_client/models/data_repair7465.rb +217 -0
- data/lib/pulpcore_client/models/distribution_response.rb +27 -6
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +12 -2
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +27 -1
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +27 -1
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +1 -1
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +27 -1
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/repository_response.rb +27 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +4 -0
- data/spec/api/datarepair7272_api_spec.rb +48 -0
- data/spec/api/datarepair7465_api_spec.rb +48 -0
- data/spec/api/distributions_openpgp_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +9 -1
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +9 -1
- data/spec/models/artifact_distribution_response_spec.rb +21 -9
- data/spec/models/data_repair7272_spec.rb +36 -0
- data/spec/models/data_repair7465_spec.rb +36 -0
- data/spec/models/distribution_response_spec.rb +12 -0
- data/spec/models/open_pgp_distribution_response_spec.rb +6 -0
- data/spec/models/open_pgp_keyring_response_spec.rb +6 -0
- data/spec/models/open_pgp_keyring_spec.rb +6 -0
- data/spec/models/patched_open_pgp_keyring_spec.rb +6 -0
- data/spec/models/repository_response_spec.rb +6 -0
- metadata +212 -196
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PulpcoreClient
|
|
16
|
+
class Datarepair7272Api
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Repair Repository Version Data (Issue #7272)
|
|
23
|
+
# Trigger an asynchronous task that repairs repository version content_ids cache and content count mismatches (Issue #7272). This task fixes two types of data corruption: 1) Mismatch between RepositoryVersion.content_ids cache and actual RepositoryContent relationships, and 2) Mismatch between RepositoryVersionContentDetails count and actual RepositoryContent count.
|
|
24
|
+
# @param data_repair7272 [DataRepair7272]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
|
+
# @return [AsyncOperationResponse]
|
|
28
|
+
def post(data_repair7272, opts = {})
|
|
29
|
+
data, _status_code, _headers = post_with_http_info(data_repair7272, opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Repair Repository Version Data (Issue #7272)
|
|
34
|
+
# Trigger an asynchronous task that repairs repository version content_ids cache and content count mismatches (Issue #7272). This task fixes two types of data corruption: 1) Mismatch between RepositoryVersion.content_ids cache and actual RepositoryContent relationships, and 2) Mismatch between RepositoryVersionContentDetails count and actual RepositoryContent count.
|
|
35
|
+
# @param data_repair7272 [DataRepair7272]
|
|
36
|
+
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
|
+
def post_with_http_info(data_repair7272, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: Datarepair7272Api.post ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'data_repair7272' is set
|
|
44
|
+
if @api_client.config.client_side_validation && data_repair7272.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'data_repair7272' when calling Datarepair7272Api.post"
|
|
46
|
+
end
|
|
47
|
+
# resource path
|
|
48
|
+
local_var_path = '/pulp/api/v3/datarepair/7272/'
|
|
49
|
+
|
|
50
|
+
# query parameters
|
|
51
|
+
query_params = opts[:query_params] || {}
|
|
52
|
+
|
|
53
|
+
# header parameters
|
|
54
|
+
header_params = opts[:header_params] || {}
|
|
55
|
+
# HTTP header 'Accept' (if needed)
|
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
57
|
+
# HTTP header 'Content-Type'
|
|
58
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
if !content_type.nil?
|
|
60
|
+
header_params['Content-Type'] = content_type
|
|
61
|
+
end
|
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
|
+
|
|
64
|
+
# form parameters
|
|
65
|
+
form_params = opts[:form_params] || {}
|
|
66
|
+
|
|
67
|
+
# http body (model)
|
|
68
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(data_repair7272)
|
|
69
|
+
|
|
70
|
+
# return_type
|
|
71
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
|
72
|
+
|
|
73
|
+
# auth_names
|
|
74
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
75
|
+
|
|
76
|
+
new_options = opts.merge(
|
|
77
|
+
:operation => :"Datarepair7272Api.post",
|
|
78
|
+
:header_params => header_params,
|
|
79
|
+
:query_params => query_params,
|
|
80
|
+
:form_params => form_params,
|
|
81
|
+
:body => post_body,
|
|
82
|
+
:auth_names => auth_names,
|
|
83
|
+
:return_type => return_type
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
87
|
+
if @api_client.config.debugging
|
|
88
|
+
@api_client.config.logger.debug "API called: Datarepair7272Api#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
89
|
+
end
|
|
90
|
+
return data, status_code, headers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PulpcoreClient
|
|
16
|
+
class Datarepair7465Api
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Add Repository Version Content IDs (Issue #7465)
|
|
23
|
+
# Trigger an asynchronous task that adds missing repository version content_ids cache to all repository versions (Issue #7465).
|
|
24
|
+
# @param data_repair7465 [DataRepair7465]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
|
+
# @return [AsyncOperationResponse]
|
|
28
|
+
def post(data_repair7465, opts = {})
|
|
29
|
+
data, _status_code, _headers = post_with_http_info(data_repair7465, opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Add Repository Version Content IDs (Issue #7465)
|
|
34
|
+
# Trigger an asynchronous task that adds missing repository version content_ids cache to all repository versions (Issue #7465).
|
|
35
|
+
# @param data_repair7465 [DataRepair7465]
|
|
36
|
+
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
|
+
def post_with_http_info(data_repair7465, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: Datarepair7465Api.post ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'data_repair7465' is set
|
|
44
|
+
if @api_client.config.client_side_validation && data_repair7465.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'data_repair7465' when calling Datarepair7465Api.post"
|
|
46
|
+
end
|
|
47
|
+
# resource path
|
|
48
|
+
local_var_path = '/pulp/api/v3/datarepair/7465/'
|
|
49
|
+
|
|
50
|
+
# query parameters
|
|
51
|
+
query_params = opts[:query_params] || {}
|
|
52
|
+
|
|
53
|
+
# header parameters
|
|
54
|
+
header_params = opts[:header_params] || {}
|
|
55
|
+
# HTTP header 'Accept' (if needed)
|
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
57
|
+
# HTTP header 'Content-Type'
|
|
58
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
if !content_type.nil?
|
|
60
|
+
header_params['Content-Type'] = content_type
|
|
61
|
+
end
|
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
|
+
|
|
64
|
+
# form parameters
|
|
65
|
+
form_params = opts[:form_params] || {}
|
|
66
|
+
|
|
67
|
+
# http body (model)
|
|
68
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(data_repair7465)
|
|
69
|
+
|
|
70
|
+
# return_type
|
|
71
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
|
72
|
+
|
|
73
|
+
# auth_names
|
|
74
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
75
|
+
|
|
76
|
+
new_options = opts.merge(
|
|
77
|
+
:operation => :"Datarepair7465Api.post",
|
|
78
|
+
:header_params => header_params,
|
|
79
|
+
:query_params => query_params,
|
|
80
|
+
:form_params => form_params,
|
|
81
|
+
:body => post_body,
|
|
82
|
+
:auth_names => auth_names,
|
|
83
|
+
:return_type => return_type
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
87
|
+
if @api_client.config.debugging
|
|
88
|
+
@api_client.config.logger.debug "API called: Datarepair7465Api#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
89
|
+
end
|
|
90
|
+
return data, status_code, headers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
@@ -157,7 +157,7 @@ module PulpcoreClient
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
# List open pgp distributions
|
|
160
|
-
# Provides read and list methods
|
|
160
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
162
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
163
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -179,7 +179,7 @@ module PulpcoreClient
|
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# List open pgp distributions
|
|
182
|
-
# Provides read and list methods
|
|
182
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
183
183
|
# @param [Hash] opts the optional parameters
|
|
184
184
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
185
185
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -334,7 +334,7 @@ module PulpcoreClient
|
|
|
334
334
|
end
|
|
335
335
|
|
|
336
336
|
# Inspect an open pgp distribution
|
|
337
|
-
# Provides read and list methods
|
|
337
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
338
338
|
# @param open_p_g_p_distribution_href [String]
|
|
339
339
|
# @param [Hash] opts the optional parameters
|
|
340
340
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -347,7 +347,7 @@ module PulpcoreClient
|
|
|
347
347
|
end
|
|
348
348
|
|
|
349
349
|
# Inspect an open pgp distribution
|
|
350
|
-
# Provides read and list methods
|
|
350
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
351
351
|
# @param open_p_g_p_distribution_href [String]
|
|
352
352
|
# @param [Hash] opts the optional parameters
|
|
353
353
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -35,7 +35,7 @@ module PulpcoreClient
|
|
|
35
35
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
36
36
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
37
37
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
38
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
38
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
39
39
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
40
40
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
41
41
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -44,6 +44,14 @@ module PulpcoreClient
|
|
|
44
44
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
45
45
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
46
46
|
# @option opts [String] :remote
|
|
47
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
48
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
49
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
50
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
51
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
52
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
53
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
54
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
47
55
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
48
56
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
49
57
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -77,7 +85,7 @@ module PulpcoreClient
|
|
|
77
85
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
78
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
79
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
80
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
88
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
81
89
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
82
90
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
83
91
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -86,6 +94,14 @@ module PulpcoreClient
|
|
|
86
94
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
87
95
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
88
96
|
# @option opts [String] :remote
|
|
97
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
98
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
99
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
100
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
101
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
102
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
103
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
104
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
89
105
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
90
106
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
91
107
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -102,7 +118,7 @@ module PulpcoreClient
|
|
|
102
118
|
if @api_client.config.debugging
|
|
103
119
|
@api_client.config.logger.debug 'Calling API: RepositoriesApi.list ...'
|
|
104
120
|
end
|
|
105
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
121
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
106
122
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
107
123
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
108
124
|
end
|
|
@@ -140,6 +156,14 @@ module PulpcoreClient
|
|
|
140
156
|
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
|
141
157
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
142
158
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
159
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
160
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
161
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
162
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
163
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
164
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
165
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
166
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
143
167
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
144
168
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
145
169
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -249,13 +249,21 @@ module PulpcoreClient
|
|
|
249
249
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
250
250
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
251
251
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
252
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
252
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
253
253
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
254
254
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
255
255
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
256
256
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
257
257
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
258
258
|
# @option opts [String] :remote
|
|
259
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
260
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
261
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
262
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
263
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
264
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
265
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
266
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
259
267
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
260
268
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
261
269
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -289,13 +297,21 @@ module PulpcoreClient
|
|
|
289
297
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
290
298
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
291
299
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
292
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
300
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
293
301
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
294
302
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
295
303
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
296
304
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
297
305
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
298
306
|
# @option opts [String] :remote
|
|
307
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
308
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
309
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
310
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
311
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
312
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
313
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
314
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
299
315
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
300
316
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
301
317
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -312,7 +328,7 @@ module PulpcoreClient
|
|
|
312
328
|
if @api_client.config.debugging
|
|
313
329
|
@api_client.config.logger.debug 'Calling API: RepositoriesOpenpgpKeyringApi.list ...'
|
|
314
330
|
end
|
|
315
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
331
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
316
332
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
317
333
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
318
334
|
end
|
|
@@ -340,6 +356,14 @@ module PulpcoreClient
|
|
|
340
356
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
341
357
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
342
358
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
359
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
360
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
361
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
362
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
363
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
364
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
365
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
366
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
343
367
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
344
368
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
345
369
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|