pulpcore_client 3.80.2 → 3.82.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 +5 -4
- data/docs/AccessPoliciesApi.md +28 -12
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/ArtifactsApi.md +14 -4
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +22 -8
- data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
- data/docs/ContentOpenpgpSignatureApi.md +20 -8
- data/docs/ContentOpenpgpUserattributeApi.md +20 -8
- data/docs/ContentOpenpgpUseridApi.md +20 -8
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +56 -24
- data/docs/ContentguardsContentRedirectApi.md +56 -24
- data/docs/ContentguardsHeaderApi.md +56 -24
- data/docs/ContentguardsRbacApi.md +56 -24
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DistributionsOpenpgpApi.md +52 -24
- data/docs/DomainsApi.md +60 -28
- data/docs/ExportersFilesystemApi.md +36 -16
- data/docs/ExportersFilesystemExportsApi.md +20 -8
- data/docs/ExportersPulpApi.md +36 -16
- data/docs/ExportersPulpExportsApi.md +20 -8
- data/docs/GroupsApi.md +56 -24
- data/docs/GroupsRolesApi.md +20 -8
- data/docs/GroupsUsersApi.md +18 -8
- data/docs/ImportersPulpApi.md +36 -16
- data/docs/ImportersPulpImportCheckApi.md +8 -4
- data/docs/ImportersPulpImportsApi.md +20 -8
- data/docs/LivezApi.md +14 -5
- data/docs/LoginApi.md +34 -15
- data/docs/OrphansApi.md +10 -5
- data/docs/OrphansCleanupApi.md +8 -4
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +8 -4
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
- data/docs/RepositoriesReclaimSpaceApi.md +8 -4
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +36 -16
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +14 -5
- data/docs/TaskGroupsApi.md +12 -4
- data/docs/TaskSchedulesApi.md +24 -8
- data/docs/TasksApi.md +52 -22
- data/docs/UploadsApi.md +50 -20
- data/docs/UpstreamPulpsApi.md +64 -28
- data/docs/UsersApi.md +36 -16
- data/docs/UsersRolesApi.md +20 -8
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
- data/lib/pulpcore_client/api/domains_api.rb +27 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/livez_api.rb +9 -0
- data/lib/pulpcore_client/api/login_api.rb +15 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +33 -3
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
- data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/distributions_openpgp_api_spec.rb +8 -0
- data/spec/api/domains_api_spec.rb +9 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/livez_api_spec.rb +3 -0
- data/spec/api/login_api_spec.rb +5 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +3 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +11 -1
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +190 -190
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param pulp_importer_href [String]
|
25
25
|
# @param pulp_import [PulpImport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [TaskGroupOperationResponse]
|
28
29
|
def create(pulp_importer_href, pulp_import, opts = {})
|
29
30
|
data, _status_code, _headers = create_with_http_info(pulp_importer_href, pulp_import, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param pulp_importer_href [String]
|
36
37
|
# @param pulp_import [PulpImport]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
39
41
|
def create_with_http_info(pulp_importer_href, pulp_import, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
# ViewSet for PulpImports.
|
98
101
|
# @param pulp_pulp_import_href [String]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [nil]
|
101
105
|
def delete(pulp_pulp_import_href, opts = {})
|
102
106
|
delete_with_http_info(pulp_pulp_import_href, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# ViewSet for PulpImports.
|
108
112
|
# @param pulp_pulp_import_href [String]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
111
116
|
def delete_with_http_info(pulp_pulp_import_href, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -124,6 +129,7 @@ module PulpcoreClient
|
|
124
129
|
|
125
130
|
# header parameters
|
126
131
|
header_params = opts[:header_params] || {}
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
127
133
|
|
128
134
|
# form parameters
|
129
135
|
form_params = opts[:form_params] || {}
|
@@ -158,6 +164,7 @@ module PulpcoreClient
|
|
158
164
|
# ViewSet for PulpImports.
|
159
165
|
# @param pulp_importer_href [String]
|
160
166
|
# @param [Hash] opts the optional parameters
|
167
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
161
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
162
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
170
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -172,6 +179,7 @@ module PulpcoreClient
|
|
172
179
|
# ViewSet for PulpImports.
|
173
180
|
# @param pulp_importer_href [String]
|
174
181
|
# @param [Hash] opts the optional parameters
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
175
183
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
184
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
185
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -199,6 +207,7 @@ module PulpcoreClient
|
|
199
207
|
header_params = opts[:header_params] || {}
|
200
208
|
# HTTP header 'Accept' (if needed)
|
201
209
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
210
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
202
211
|
|
203
212
|
# form parameters
|
204
213
|
form_params = opts[:form_params] || {}
|
@@ -233,6 +242,7 @@ module PulpcoreClient
|
|
233
242
|
# ViewSet for PulpImports.
|
234
243
|
# @param pulp_pulp_import_href [String]
|
235
244
|
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
236
246
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
237
247
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
238
248
|
# @return [ImportResponse]
|
@@ -245,6 +255,7 @@ module PulpcoreClient
|
|
245
255
|
# ViewSet for PulpImports.
|
246
256
|
# @param pulp_pulp_import_href [String]
|
247
257
|
# @param [Hash] opts the optional parameters
|
258
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
248
259
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
260
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
261
|
# @return [Array<(ImportResponse, Integer, Hash)>] ImportResponse data, response status code and response headers
|
@@ -268,6 +279,7 @@ module PulpcoreClient
|
|
268
279
|
header_params = opts[:header_params] || {}
|
269
280
|
# HTTP header 'Accept' (if needed)
|
270
281
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
282
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
271
283
|
|
272
284
|
# form parameters
|
273
285
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,9 @@ module PulpcoreClient
|
|
22
22
|
# Inspect liveness of Pulp's REST API.
|
23
23
|
# Returns 200 OK when API is alive.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
25
28
|
# @return [nil]
|
26
29
|
def livez_read(opts = {})
|
27
30
|
livez_read_with_http_info(opts)
|
@@ -31,6 +34,9 @@ module PulpcoreClient
|
|
31
34
|
# Inspect liveness of Pulp's REST API.
|
32
35
|
# Returns 200 OK when API is alive.
|
33
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
34
40
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
35
41
|
def livez_read_with_http_info(opts = {})
|
36
42
|
if @api_client.config.debugging
|
@@ -41,9 +47,12 @@ module PulpcoreClient
|
|
41
47
|
|
42
48
|
# query parameters
|
43
49
|
query_params = opts[:query_params] || {}
|
50
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
51
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
44
52
|
|
45
53
|
# header parameters
|
46
54
|
header_params = opts[:header_params] || {}
|
55
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
47
56
|
|
48
57
|
# form parameters
|
49
58
|
form_params = opts[:form_params] || {}
|
@@ -20,6 +20,7 @@ module PulpcoreClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# @param [Hash] opts the optional parameters
|
23
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
23
24
|
# @return [LoginResponse]
|
24
25
|
def login(opts = {})
|
25
26
|
data, _status_code, _headers = login_with_http_info(opts)
|
@@ -27,6 +28,7 @@ module PulpcoreClient
|
|
27
28
|
end
|
28
29
|
|
29
30
|
# @param [Hash] opts the optional parameters
|
31
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
30
32
|
# @return [Array<(LoginResponse, Integer, Hash)>] LoginResponse data, response status code and response headers
|
31
33
|
def login_with_http_info(opts = {})
|
32
34
|
if @api_client.config.debugging
|
@@ -42,6 +44,7 @@ module PulpcoreClient
|
|
42
44
|
header_params = opts[:header_params] || {}
|
43
45
|
# HTTP header 'Accept' (if needed)
|
44
46
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
47
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
45
48
|
|
46
49
|
# form parameters
|
47
50
|
form_params = opts[:form_params] || {}
|
@@ -73,6 +76,9 @@ module PulpcoreClient
|
|
73
76
|
end
|
74
77
|
|
75
78
|
# @param [Hash] opts the optional parameters
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
80
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
81
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
76
82
|
# @return [LoginResponse]
|
77
83
|
def login_read(opts = {})
|
78
84
|
data, _status_code, _headers = login_read_with_http_info(opts)
|
@@ -80,6 +86,9 @@ module PulpcoreClient
|
|
80
86
|
end
|
81
87
|
|
82
88
|
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
90
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
83
92
|
# @return [Array<(LoginResponse, Integer, Hash)>] LoginResponse data, response status code and response headers
|
84
93
|
def login_read_with_http_info(opts = {})
|
85
94
|
if @api_client.config.debugging
|
@@ -90,11 +99,14 @@ module PulpcoreClient
|
|
90
99
|
|
91
100
|
# query parameters
|
92
101
|
query_params = opts[:query_params] || {}
|
102
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
103
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
93
104
|
|
94
105
|
# header parameters
|
95
106
|
header_params = opts[:header_params] || {}
|
96
107
|
# HTTP header 'Accept' (if needed)
|
97
108
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
109
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
98
110
|
|
99
111
|
# form parameters
|
100
112
|
form_params = opts[:form_params] || {}
|
@@ -126,6 +138,7 @@ module PulpcoreClient
|
|
126
138
|
end
|
127
139
|
|
128
140
|
# @param [Hash] opts the optional parameters
|
141
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
129
142
|
# @return [nil]
|
130
143
|
def logout(opts = {})
|
131
144
|
logout_with_http_info(opts)
|
@@ -133,6 +146,7 @@ module PulpcoreClient
|
|
133
146
|
end
|
134
147
|
|
135
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
136
150
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
137
151
|
def logout_with_http_info(opts = {})
|
138
152
|
if @api_client.config.debugging
|
@@ -146,6 +160,7 @@ module PulpcoreClient
|
|
146
160
|
|
147
161
|
# header parameters
|
148
162
|
header_params = opts[:header_params] || {}
|
163
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
149
164
|
|
150
165
|
# form parameters
|
151
166
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# Delete orphans
|
23
23
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @return [AsyncOperationResponse]
|
26
27
|
def delete(opts = {})
|
27
28
|
data, _status_code, _headers = delete_with_http_info(opts)
|
@@ -31,6 +32,7 @@ module PulpcoreClient
|
|
31
32
|
# Delete orphans
|
32
33
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
33
34
|
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
34
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
35
37
|
def delete_with_http_info(opts = {})
|
36
38
|
if @api_client.config.debugging
|
@@ -46,6 +48,7 @@ module PulpcoreClient
|
|
46
48
|
header_params = opts[:header_params] || {}
|
47
49
|
# HTTP header 'Accept' (if needed)
|
48
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
51
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
49
52
|
|
50
53
|
# form parameters
|
51
54
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# Trigger an asynchronous orphan cleanup operation.
|
23
23
|
# @param orphans_cleanup [OrphansCleanup]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @return [AsyncOperationResponse]
|
26
27
|
def cleanup(orphans_cleanup, opts = {})
|
27
28
|
data, _status_code, _headers = cleanup_with_http_info(orphans_cleanup, opts)
|
@@ -31,6 +32,7 @@ module PulpcoreClient
|
|
31
32
|
# Trigger an asynchronous orphan cleanup operation.
|
32
33
|
# @param orphans_cleanup [OrphansCleanup]
|
33
34
|
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
34
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
35
37
|
def cleanup_with_http_info(orphans_cleanup, opts = {})
|
36
38
|
if @api_client.config.debugging
|
@@ -55,6 +57,7 @@ module PulpcoreClient
|
|
55
57
|
if !content_type.nil?
|
56
58
|
header_params['Content-Type'] = content_type
|
57
59
|
end
|
60
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
58
61
|
|
59
62
|
# form parameters
|
60
63
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List publications
|
23
23
|
# A base class for any publication viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
26
27
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
27
28
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -54,6 +55,7 @@ module PulpcoreClient
|
|
54
55
|
# List publications
|
55
56
|
# A base class for any publication viewset.
|
56
57
|
# @param [Hash] opts the optional parameters
|
58
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
57
59
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
58
60
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
59
61
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -127,6 +129,7 @@ module PulpcoreClient
|
|
127
129
|
header_params = opts[:header_params] || {}
|
128
130
|
# HTTP header 'Accept' (if needed)
|
129
131
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
130
133
|
|
131
134
|
# form parameters
|
132
135
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List remotes
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
27
|
# @option opts [String] :name Filter results where name matches value
|
27
28
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -59,6 +60,7 @@ module PulpcoreClient
|
|
59
60
|
# List remotes
|
60
61
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
61
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
62
64
|
# @option opts [Integer] :limit Number of results to return per page.
|
63
65
|
# @option opts [String] :name Filter results where name matches value
|
64
66
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -142,6 +144,7 @@ module PulpcoreClient
|
|
142
144
|
header_params = opts[:header_params] || {}
|
143
145
|
# HTTP header 'Accept' (if needed)
|
144
146
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
147
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
145
148
|
|
146
149
|
# form parameters
|
147
150
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
|
24
24
|
# @param repair [Repair]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def post(repair, opts = {})
|
28
29
|
data, _status_code, _headers = post_with_http_info(repair, opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
|
34
35
|
# @param repair [Repair]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def post_with_http_info(repair, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpcoreClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List repositories
|
23
23
|
# Endpoint to list all repositories.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
26
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
28
|
# @option opts [String] :name Filter results where name matches value
|
@@ -63,6 +64,7 @@ module PulpcoreClient
|
|
63
64
|
# List repositories
|
64
65
|
# Endpoint to list all repositories.
|
65
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
66
68
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
67
69
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
70
|
# @option opts [String] :name Filter results where name matches value
|
@@ -154,6 +156,7 @@ module PulpcoreClient
|
|
154
156
|
header_params = opts[:header_params] || {}
|
155
157
|
# HTTP header 'Accept' (if needed)
|
156
158
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
159
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
157
160
|
|
158
161
|
# form parameters
|
159
162
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param open_p_g_p_keyring_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(open_p_g_p_keyring_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(open_p_g_p_keyring_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param open_p_g_p_keyring_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(open_p_g_p_keyring_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
# A ViewSet for an ordinary repository.
|
98
101
|
# @param open_pgp_keyring [OpenPGPKeyring]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [OpenPGPKeyringResponse]
|
101
105
|
def create(open_pgp_keyring, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(open_pgp_keyring, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# A ViewSet for an ordinary repository.
|
108
112
|
# @param open_pgp_keyring [OpenPGPKeyring]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(OpenPGPKeyringResponse, Integer, Hash)>] OpenPGPKeyringResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(open_pgp_keyring, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpcoreClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpcoreClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param open_p_g_p_keyring_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(open_p_g_p_keyring_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(open_p_g_p_keyring_href, opts)
|
@@ -175,6 +182,7 @@ module PulpcoreClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param open_p_g_p_keyring_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(open_p_g_p_keyring_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpcoreClient
|
|
194
202
|
header_params = opts[:header_params] || {}
|
195
203
|
# HTTP header 'Accept' (if needed)
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
206
|
|
198
207
|
# form parameters
|
199
208
|
form_params = opts[:form_params] || {}
|
@@ -227,6 +236,7 @@ module PulpcoreClient
|
|
227
236
|
# List open pgp keyrings
|
228
237
|
# A ViewSet for an ordinary repository.
|
229
238
|
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
240
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
231
241
|
# @option opts [Integer] :limit Number of results to return per page.
|
232
242
|
# @option opts [String] :name Filter results where name matches value
|
@@ -266,6 +276,7 @@ module PulpcoreClient
|
|
266
276
|
# List open pgp keyrings
|
267
277
|
# A ViewSet for an ordinary repository.
|
268
278
|
# @param [Hash] opts the optional parameters
|
279
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
269
280
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
270
281
|
# @option opts [Integer] :limit Number of results to return per page.
|
271
282
|
# @option opts [String] :name Filter results where name matches value
|
@@ -345,6 +356,7 @@ module PulpcoreClient
|
|
345
356
|
header_params = opts[:header_params] || {}
|
346
357
|
# HTTP header 'Accept' (if needed)
|
347
358
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
359
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
348
360
|
|
349
361
|
# form parameters
|
350
362
|
form_params = opts[:form_params] || {}
|
@@ -379,6 +391,7 @@ module PulpcoreClient
|
|
379
391
|
# List roles assigned to this object.
|
380
392
|
# @param open_p_g_p_keyring_href [String]
|
381
393
|
# @param [Hash] opts the optional parameters
|
394
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
395
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
396
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
397
|
# @return [ObjectRolesResponse]
|
@@ -391,6 +404,7 @@ module PulpcoreClient
|
|
391
404
|
# List roles assigned to this object.
|
392
405
|
# @param open_p_g_p_keyring_href [String]
|
393
406
|
# @param [Hash] opts the optional parameters
|
407
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
394
408
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
395
409
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
396
410
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -414,6 +428,7 @@ module PulpcoreClient
|
|
414
428
|
header_params = opts[:header_params] || {}
|
415
429
|
# HTTP header 'Accept' (if needed)
|
416
430
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
431
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
417
432
|
|
418
433
|
# form parameters
|
419
434
|
form_params = opts[:form_params] || {}
|
@@ -449,6 +464,7 @@ module PulpcoreClient
|
|
449
464
|
# @param open_p_g_p_keyring_href [String]
|
450
465
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
451
466
|
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
452
468
|
# @return [AsyncOperationResponse]
|
453
469
|
def modify(open_p_g_p_keyring_href, repository_add_remove_content, opts = {})
|
454
470
|
data, _status_code, _headers = modify_with_http_info(open_p_g_p_keyring_href, repository_add_remove_content, opts)
|
@@ -460,6 +476,7 @@ module PulpcoreClient
|
|
460
476
|
# @param open_p_g_p_keyring_href [String]
|
461
477
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
462
478
|
# @param [Hash] opts the optional parameters
|
479
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
463
480
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
464
481
|
def modify_with_http_info(open_p_g_p_keyring_href, repository_add_remove_content, opts = {})
|
465
482
|
if @api_client.config.debugging
|
@@ -488,6 +505,7 @@ module PulpcoreClient
|
|
488
505
|
if !content_type.nil?
|
489
506
|
header_params['Content-Type'] = content_type
|
490
507
|
end
|
508
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
491
509
|
|
492
510
|
# form parameters
|
493
511
|
form_params = opts[:form_params] || {}
|
@@ -522,6 +540,7 @@ module PulpcoreClient
|
|
522
540
|
# List permissions available to the current user on this object.
|
523
541
|
# @param open_p_g_p_keyring_href [String]
|
524
542
|
# @param [Hash] opts the optional parameters
|
543
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
525
544
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
526
545
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
527
546
|
# @return [MyPermissionsResponse]
|
@@ -534,6 +553,7 @@ module PulpcoreClient
|
|
534
553
|
# List permissions available to the current user on this object.
|
535
554
|
# @param open_p_g_p_keyring_href [String]
|
536
555
|
# @param [Hash] opts the optional parameters
|
556
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
537
557
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
538
558
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
539
559
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -557,6 +577,7 @@ module PulpcoreClient
|
|
557
577
|
header_params = opts[:header_params] || {}
|
558
578
|
# HTTP header 'Accept' (if needed)
|
559
579
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
580
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
560
581
|
|
561
582
|
# form parameters
|
562
583
|
form_params = opts[:form_params] || {}
|
@@ -592,6 +613,7 @@ module PulpcoreClient
|
|
592
613
|
# @param open_p_g_p_keyring_href [String]
|
593
614
|
# @param patched_open_pgp_keyring [PatchedOpenPGPKeyring]
|
594
615
|
# @param [Hash] opts the optional parameters
|
616
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
595
617
|
# @return [AsyncOperationResponse]
|
596
618
|
def partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring, opts = {})
|
597
619
|
data, _status_code, _headers = partial_update_with_http_info(open_p_g_p_keyring_href, patched_open_pgp_keyring, opts)
|
@@ -603,6 +625,7 @@ module PulpcoreClient
|
|
603
625
|
# @param open_p_g_p_keyring_href [String]
|
604
626
|
# @param patched_open_pgp_keyring [PatchedOpenPGPKeyring]
|
605
627
|
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
606
629
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
607
630
|
def partial_update_with_http_info(open_p_g_p_keyring_href, patched_open_pgp_keyring, opts = {})
|
608
631
|
if @api_client.config.debugging
|
@@ -631,6 +654,7 @@ module PulpcoreClient
|
|
631
654
|
if !content_type.nil?
|
632
655
|
header_params['Content-Type'] = content_type
|
633
656
|
end
|
657
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
634
658
|
|
635
659
|
# form parameters
|
636
660
|
form_params = opts[:form_params] || {}
|
@@ -665,6 +689,7 @@ module PulpcoreClient
|
|
665
689
|
# A ViewSet for an ordinary repository.
|
666
690
|
# @param open_p_g_p_keyring_href [String]
|
667
691
|
# @param [Hash] opts the optional parameters
|
692
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
668
693
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
669
694
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
670
695
|
# @return [OpenPGPKeyringResponse]
|
@@ -677,6 +702,7 @@ module PulpcoreClient
|
|
677
702
|
# A ViewSet for an ordinary repository.
|
678
703
|
# @param open_p_g_p_keyring_href [String]
|
679
704
|
# @param [Hash] opts the optional parameters
|
705
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
680
706
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
681
707
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
682
708
|
# @return [Array<(OpenPGPKeyringResponse, Integer, Hash)>] OpenPGPKeyringResponse data, response status code and response headers
|
@@ -700,6 +726,7 @@ module PulpcoreClient
|
|
700
726
|
header_params = opts[:header_params] || {}
|
701
727
|
# HTTP header 'Accept' (if needed)
|
702
728
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
729
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
703
730
|
|
704
731
|
# form parameters
|
705
732
|
form_params = opts[:form_params] || {}
|
@@ -735,6 +762,7 @@ module PulpcoreClient
|
|
735
762
|
# @param open_p_g_p_keyring_href [String]
|
736
763
|
# @param nested_role [NestedRole]
|
737
764
|
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
738
766
|
# @return [NestedRoleResponse]
|
739
767
|
def remove_role(open_p_g_p_keyring_href, nested_role, opts = {})
|
740
768
|
data, _status_code, _headers = remove_role_with_http_info(open_p_g_p_keyring_href, nested_role, opts)
|
@@ -746,6 +774,7 @@ module PulpcoreClient
|
|
746
774
|
# @param open_p_g_p_keyring_href [String]
|
747
775
|
# @param nested_role [NestedRole]
|
748
776
|
# @param [Hash] opts the optional parameters
|
777
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
749
778
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
750
779
|
def remove_role_with_http_info(open_p_g_p_keyring_href, nested_role, opts = {})
|
751
780
|
if @api_client.config.debugging
|
@@ -774,6 +803,7 @@ module PulpcoreClient
|
|
774
803
|
if !content_type.nil?
|
775
804
|
header_params['Content-Type'] = content_type
|
776
805
|
end
|
806
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
777
807
|
|
778
808
|
# form parameters
|
779
809
|
form_params = opts[:form_params] || {}
|
@@ -809,6 +839,7 @@ module PulpcoreClient
|
|
809
839
|
# @param open_p_g_p_keyring_href [String]
|
810
840
|
# @param set_label [SetLabel]
|
811
841
|
# @param [Hash] opts the optional parameters
|
842
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
812
843
|
# @return [SetLabelResponse]
|
813
844
|
def set_label(open_p_g_p_keyring_href, set_label, opts = {})
|
814
845
|
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_keyring_href, set_label, opts)
|
@@ -820,6 +851,7 @@ module PulpcoreClient
|
|
820
851
|
# @param open_p_g_p_keyring_href [String]
|
821
852
|
# @param set_label [SetLabel]
|
822
853
|
# @param [Hash] opts the optional parameters
|
854
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
823
855
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
824
856
|
def set_label_with_http_info(open_p_g_p_keyring_href, set_label, opts = {})
|
825
857
|
if @api_client.config.debugging
|
@@ -848,6 +880,7 @@ module PulpcoreClient
|
|
848
880
|
if !content_type.nil?
|
849
881
|
header_params['Content-Type'] = content_type
|
850
882
|
end
|
883
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
851
884
|
|
852
885
|
# form parameters
|
853
886
|
form_params = opts[:form_params] || {}
|
@@ -883,6 +916,7 @@ module PulpcoreClient
|
|
883
916
|
# @param open_p_g_p_keyring_href [String]
|
884
917
|
# @param unset_label [UnsetLabel]
|
885
918
|
# @param [Hash] opts the optional parameters
|
919
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
886
920
|
# @return [UnsetLabelResponse]
|
887
921
|
def unset_label(open_p_g_p_keyring_href, unset_label, opts = {})
|
888
922
|
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_keyring_href, unset_label, opts)
|
@@ -894,6 +928,7 @@ module PulpcoreClient
|
|
894
928
|
# @param open_p_g_p_keyring_href [String]
|
895
929
|
# @param unset_label [UnsetLabel]
|
896
930
|
# @param [Hash] opts the optional parameters
|
931
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
897
932
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
898
933
|
def unset_label_with_http_info(open_p_g_p_keyring_href, unset_label, opts = {})
|
899
934
|
if @api_client.config.debugging
|
@@ -922,6 +957,7 @@ module PulpcoreClient
|
|
922
957
|
if !content_type.nil?
|
923
958
|
header_params['Content-Type'] = content_type
|
924
959
|
end
|
960
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
925
961
|
|
926
962
|
# form parameters
|
927
963
|
form_params = opts[:form_params] || {}
|
@@ -957,6 +993,7 @@ module PulpcoreClient
|
|
957
993
|
# @param open_p_g_p_keyring_href [String]
|
958
994
|
# @param open_pgp_keyring [OpenPGPKeyring]
|
959
995
|
# @param [Hash] opts the optional parameters
|
996
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
960
997
|
# @return [AsyncOperationResponse]
|
961
998
|
def update(open_p_g_p_keyring_href, open_pgp_keyring, opts = {})
|
962
999
|
data, _status_code, _headers = update_with_http_info(open_p_g_p_keyring_href, open_pgp_keyring, opts)
|
@@ -968,6 +1005,7 @@ module PulpcoreClient
|
|
968
1005
|
# @param open_p_g_p_keyring_href [String]
|
969
1006
|
# @param open_pgp_keyring [OpenPGPKeyring]
|
970
1007
|
# @param [Hash] opts the optional parameters
|
1008
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
971
1009
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
972
1010
|
def update_with_http_info(open_p_g_p_keyring_href, open_pgp_keyring, opts = {})
|
973
1011
|
if @api_client.config.debugging
|
@@ -996,6 +1034,7 @@ module PulpcoreClient
|
|
996
1034
|
if !content_type.nil?
|
997
1035
|
header_params['Content-Type'] = content_type
|
998
1036
|
end
|
1037
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
999
1038
|
|
1000
1039
|
# form parameters
|
1001
1040
|
form_params = opts[:form_params] || {}
|