pulpcore_client 3.49.59 → 3.50.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 -6
- data/docs/AccessPoliciesApi.md +7 -23
- data/docs/ArtifactDistributionResponse.md +11 -11
- data/docs/ArtifactsApi.md +3 -13
- data/docs/ContentApi.md +1 -3
- data/docs/ContentguardsApi.md +1 -3
- data/docs/ContentguardsCompositeApi.md +13 -45
- data/docs/ContentguardsContentRedirectApi.md +13 -45
- data/docs/ContentguardsHeaderApi.md +13 -45
- data/docs/ContentguardsRbacApi.md +13 -45
- data/docs/DistributionsApi.md +1 -3
- data/docs/DistributionsArtifactsApi.md +1 -5
- data/docs/Domain.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/DomainsApi.md +9 -29
- data/docs/ExportersFilesystemApi.md +9 -29
- data/docs/ExportersFilesystemExportsApi.md +5 -17
- data/docs/ExportersPulpApi.md +9 -29
- data/docs/ExportersPulpExportsApi.md +5 -17
- data/docs/GroupsApi.md +13 -45
- data/docs/GroupsRolesApi.md +5 -17
- data/docs/GroupsUsersApi.md +5 -15
- data/docs/ImportersPulpApi.md +9 -29
- data/docs/ImportersPulpImportCheckApi.md +3 -7
- data/docs/ImportersPulpImportsApi.md +5 -17
- data/docs/OrphansApi.md +4 -10
- data/docs/OrphansCleanupApi.md +3 -7
- data/docs/PatchedDomain.md +1 -1
- data/docs/PublicationsApi.md +1 -3
- data/docs/RemotesApi.md +1 -3
- data/docs/RepairApi.md +3 -7
- data/docs/RepositoriesApi.md +1 -3
- data/docs/RepositoriesReclaimSpaceApi.md +3 -7
- data/docs/RepositoryVersionsApi.md +1 -3
- data/docs/RolesApi.md +9 -29
- data/docs/SigningServicesApi.md +1 -5
- data/docs/StatusApi.md +4 -14
- data/docs/TaskGroupsApi.md +1 -5
- data/docs/TaskSchedulesApi.md +5 -21
- data/docs/TasksApi.md +13 -41
- data/docs/UploadsApi.md +11 -41
- data/docs/UpstreamPulpsApi.md +15 -51
- data/docs/UsersApi.md +9 -29
- data/docs/UsersRolesApi.md +5 -17
- data/docs/WorkersApi.md +1 -5
- data/lib/pulpcore_client/api/access_policies_api.rb +0 -15
- data/lib/pulpcore_client/api/artifacts_api.rb +0 -12
- data/lib/pulpcore_client/api/content_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_header_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +0 -30
- data/lib/pulpcore_client/api/distributions_api.rb +0 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +0 -6
- data/lib/pulpcore_client/api/domains_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_api.rb +0 -30
- data/lib/pulpcore_client/api/groups_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -9
- data/lib/pulpcore_client/api/importers_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -12
- data/lib/pulpcore_client/api/orphans_api.rb +0 -3
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +0 -3
- data/lib/pulpcore_client/api/remotes_api.rb +0 -3
- data/lib/pulpcore_client/api/repair_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +0 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +0 -3
- data/lib/pulpcore_client/api/roles_api.rb +0 -18
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -6
- data/lib/pulpcore_client/api/status_api.rb +0 -9
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -6
- data/lib/pulpcore_client/api/task_schedules_api.rb +0 -18
- data/lib/pulpcore_client/api/tasks_api.rb +2 -29
- data/lib/pulpcore_client/api/uploads_api.rb +0 -30
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +0 -33
- data/lib/pulpcore_client/api/users_api.rb +0 -18
- data/lib/pulpcore_client/api/users_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/workers_api.rb +0 -6
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +48 -48
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/storage_class_enum.rb +0 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +0 -5
- data/spec/api/artifacts_api_spec.rb +0 -4
- data/spec/api/content_api_spec.rb +0 -1
- data/spec/api/contentguards_api_spec.rb +0 -1
- data/spec/api/contentguards_composite_api_spec.rb +0 -10
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -10
- data/spec/api/contentguards_header_api_spec.rb +0 -10
- data/spec/api/contentguards_rbac_api_spec.rb +0 -10
- data/spec/api/distributions_api_spec.rb +0 -1
- data/spec/api/distributions_artifacts_api_spec.rb +0 -2
- data/spec/api/domains_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -4
- data/spec/api/exporters_pulp_api_spec.rb +0 -6
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -4
- data/spec/api/groups_api_spec.rb +0 -10
- data/spec/api/groups_roles_api_spec.rb +0 -4
- data/spec/api/groups_users_api_spec.rb +0 -3
- data/spec/api/importers_pulp_api_spec.rb +0 -6
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -4
- data/spec/api/orphans_api_spec.rb +0 -1
- data/spec/api/orphans_cleanup_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +0 -1
- data/spec/api/remotes_api_spec.rb +0 -1
- data/spec/api/repair_api_spec.rb +0 -1
- data/spec/api/repositories_api_spec.rb +0 -1
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -1
- data/spec/api/repository_versions_api_spec.rb +0 -1
- data/spec/api/roles_api_spec.rb +0 -6
- data/spec/api/signing_services_api_spec.rb +0 -2
- data/spec/api/status_api_spec.rb +0 -3
- data/spec/api/task_groups_api_spec.rb +0 -2
- data/spec/api/task_schedules_api_spec.rb +0 -6
- data/spec/api/tasks_api_spec.rb +1 -10
- data/spec/api/uploads_api_spec.rb +0 -10
- data/spec/api/upstream_pulps_api_spec.rb +0 -11
- data/spec/api/users_api_spec.rb +0 -6
- data/spec/api/users_roles_api_spec.rb +0 -4
- data/spec/api/workers_api_spec.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +9 -9
- metadata +166 -166
|
@@ -22,7 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# List access policys
|
|
23
23
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
25
|
# @option opts [Boolean] :customized Filter results where customized matches value
|
|
27
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -50,7 +49,6 @@ module PulpcoreClient
|
|
|
50
49
|
# List access policys
|
|
51
50
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @option opts [Boolean] :customized Filter results where customized matches value
|
|
55
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
56
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -106,7 +104,6 @@ module PulpcoreClient
|
|
|
106
104
|
header_params = opts[:header_params] || {}
|
|
107
105
|
# HTTP header 'Accept' (if needed)
|
|
108
106
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
109
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
110
107
|
|
|
111
108
|
# form parameters
|
|
112
109
|
form_params = opts[:form_params] || {}
|
|
@@ -141,7 +138,6 @@ module PulpcoreClient
|
|
|
141
138
|
# @param access_policy_href [String]
|
|
142
139
|
# @param patched_access_policy [PatchedAccessPolicy]
|
|
143
140
|
# @param [Hash] opts the optional parameters
|
|
144
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
145
141
|
# @return [AccessPolicyResponse]
|
|
146
142
|
def partial_update(access_policy_href, patched_access_policy, opts = {})
|
|
147
143
|
data, _status_code, _headers = partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
|
|
@@ -153,7 +149,6 @@ module PulpcoreClient
|
|
|
153
149
|
# @param access_policy_href [String]
|
|
154
150
|
# @param patched_access_policy [PatchedAccessPolicy]
|
|
155
151
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
157
152
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
|
158
153
|
def partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
|
|
159
154
|
if @api_client.config.debugging
|
|
@@ -179,7 +174,6 @@ module PulpcoreClient
|
|
|
179
174
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
180
175
|
# HTTP header 'Content-Type'
|
|
181
176
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
182
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
183
177
|
|
|
184
178
|
# form parameters
|
|
185
179
|
form_params = opts[:form_params] || {}
|
|
@@ -213,7 +207,6 @@ module PulpcoreClient
|
|
|
213
207
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
214
208
|
# @param access_policy_href [String]
|
|
215
209
|
# @param [Hash] opts the optional parameters
|
|
216
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
217
210
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
218
211
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
219
212
|
# @return [AccessPolicyResponse]
|
|
@@ -226,7 +219,6 @@ module PulpcoreClient
|
|
|
226
219
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
227
220
|
# @param access_policy_href [String]
|
|
228
221
|
# @param [Hash] opts the optional parameters
|
|
229
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
230
222
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
231
223
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
232
224
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
|
@@ -250,7 +242,6 @@ module PulpcoreClient
|
|
|
250
242
|
header_params = opts[:header_params] || {}
|
|
251
243
|
# HTTP header 'Accept' (if needed)
|
|
252
244
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
253
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
254
245
|
|
|
255
246
|
# form parameters
|
|
256
247
|
form_params = opts[:form_params] || {}
|
|
@@ -283,7 +274,6 @@ module PulpcoreClient
|
|
|
283
274
|
# Reset the access policy to its uncustomized default value.
|
|
284
275
|
# @param access_policy_href [String]
|
|
285
276
|
# @param [Hash] opts the optional parameters
|
|
286
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
287
277
|
# @return [AccessPolicyResponse]
|
|
288
278
|
def reset(access_policy_href, opts = {})
|
|
289
279
|
data, _status_code, _headers = reset_with_http_info(access_policy_href, opts)
|
|
@@ -293,7 +283,6 @@ module PulpcoreClient
|
|
|
293
283
|
# Reset the access policy to its uncustomized default value.
|
|
294
284
|
# @param access_policy_href [String]
|
|
295
285
|
# @param [Hash] opts the optional parameters
|
|
296
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
297
286
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
|
298
287
|
def reset_with_http_info(access_policy_href, opts = {})
|
|
299
288
|
if @api_client.config.debugging
|
|
@@ -313,7 +302,6 @@ module PulpcoreClient
|
|
|
313
302
|
header_params = opts[:header_params] || {}
|
|
314
303
|
# HTTP header 'Accept' (if needed)
|
|
315
304
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
316
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
317
305
|
|
|
318
306
|
# form parameters
|
|
319
307
|
form_params = opts[:form_params] || {}
|
|
@@ -348,7 +336,6 @@ module PulpcoreClient
|
|
|
348
336
|
# @param access_policy_href [String]
|
|
349
337
|
# @param access_policy [AccessPolicy]
|
|
350
338
|
# @param [Hash] opts the optional parameters
|
|
351
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
352
339
|
# @return [AccessPolicyResponse]
|
|
353
340
|
def update(access_policy_href, access_policy, opts = {})
|
|
354
341
|
data, _status_code, _headers = update_with_http_info(access_policy_href, access_policy, opts)
|
|
@@ -360,7 +347,6 @@ module PulpcoreClient
|
|
|
360
347
|
# @param access_policy_href [String]
|
|
361
348
|
# @param access_policy [AccessPolicy]
|
|
362
349
|
# @param [Hash] opts the optional parameters
|
|
363
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
364
350
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
|
365
351
|
def update_with_http_info(access_policy_href, access_policy, opts = {})
|
|
366
352
|
if @api_client.config.debugging
|
|
@@ -386,7 +372,6 @@ module PulpcoreClient
|
|
|
386
372
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
387
373
|
# HTTP header 'Content-Type'
|
|
388
374
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
389
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
390
375
|
|
|
391
376
|
# form parameters
|
|
392
377
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpcoreClient
|
|
|
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 file [File] The stored file.
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @option opts [Integer] :size The size of the file in bytes.
|
|
28
27
|
# @option opts [String] :md5 The MD5 checksum of the file if available.
|
|
29
28
|
# @option opts [String] :sha1 The SHA-1 checksum of the file if available.
|
|
@@ -41,7 +40,6 @@ module PulpcoreClient
|
|
|
41
40
|
# 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.
|
|
42
41
|
# @param file [File] The stored file.
|
|
43
42
|
# @param [Hash] opts the optional parameters
|
|
44
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
43
|
# @option opts [Integer] :size The size of the file in bytes.
|
|
46
44
|
# @option opts [String] :md5 The MD5 checksum of the file if available.
|
|
47
45
|
# @option opts [String] :sha1 The SHA-1 checksum of the file if available.
|
|
@@ -94,7 +92,6 @@ module PulpcoreClient
|
|
|
94
92
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
95
93
|
# HTTP header 'Content-Type'
|
|
96
94
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
97
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
98
95
|
|
|
99
96
|
# form parameters
|
|
100
97
|
form_params = opts[:form_params] || {}
|
|
@@ -136,7 +133,6 @@ module PulpcoreClient
|
|
|
136
133
|
# Remove Artifact only if it is not associated with any Content.
|
|
137
134
|
# @param artifact_href [String]
|
|
138
135
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
140
136
|
# @return [nil]
|
|
141
137
|
def delete(artifact_href, opts = {})
|
|
142
138
|
delete_with_http_info(artifact_href, opts)
|
|
@@ -147,7 +143,6 @@ module PulpcoreClient
|
|
|
147
143
|
# Remove Artifact only if it is not associated with any Content.
|
|
148
144
|
# @param artifact_href [String]
|
|
149
145
|
# @param [Hash] opts the optional parameters
|
|
150
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
151
146
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
152
147
|
def delete_with_http_info(artifact_href, opts = {})
|
|
153
148
|
if @api_client.config.debugging
|
|
@@ -165,7 +160,6 @@ module PulpcoreClient
|
|
|
165
160
|
|
|
166
161
|
# header parameters
|
|
167
162
|
header_params = opts[:header_params] || {}
|
|
168
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
169
163
|
|
|
170
164
|
# form parameters
|
|
171
165
|
form_params = opts[:form_params] || {}
|
|
@@ -198,7 +192,6 @@ module PulpcoreClient
|
|
|
198
192
|
# List artifacts
|
|
199
193
|
# 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.
|
|
200
194
|
# @param [Hash] opts the optional parameters
|
|
201
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
202
195
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
203
196
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
204
197
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -224,7 +217,6 @@ module PulpcoreClient
|
|
|
224
217
|
# List artifacts
|
|
225
218
|
# 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.
|
|
226
219
|
# @param [Hash] opts the optional parameters
|
|
227
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
228
220
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
229
221
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
230
222
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -276,7 +268,6 @@ module PulpcoreClient
|
|
|
276
268
|
header_params = opts[:header_params] || {}
|
|
277
269
|
# HTTP header 'Accept' (if needed)
|
|
278
270
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
279
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
280
271
|
|
|
281
272
|
# form parameters
|
|
282
273
|
form_params = opts[:form_params] || {}
|
|
@@ -310,7 +301,6 @@ module PulpcoreClient
|
|
|
310
301
|
# 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.
|
|
311
302
|
# @param artifact_href [String]
|
|
312
303
|
# @param [Hash] opts the optional parameters
|
|
313
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
314
304
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
315
305
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
316
306
|
# @return [ArtifactResponse]
|
|
@@ -323,7 +313,6 @@ module PulpcoreClient
|
|
|
323
313
|
# 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.
|
|
324
314
|
# @param artifact_href [String]
|
|
325
315
|
# @param [Hash] opts the optional parameters
|
|
326
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
327
316
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
328
317
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
329
318
|
# @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
|
|
@@ -347,7 +336,6 @@ module PulpcoreClient
|
|
|
347
336
|
header_params = opts[:header_params] || {}
|
|
348
337
|
# HTTP header 'Accept' (if needed)
|
|
349
338
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
350
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
351
339
|
|
|
352
340
|
# form parameters
|
|
353
341
|
form_params = opts[:form_params] || {}
|
|
@@ -22,7 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# List content
|
|
23
23
|
# Endpoint to list all content.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
28
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -46,7 +45,6 @@ module PulpcoreClient
|
|
|
46
45
|
# List content
|
|
47
46
|
# Endpoint to list all content.
|
|
48
47
|
# @param [Hash] opts the optional parameters
|
|
49
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
50
48
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
51
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
50
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -102,7 +100,6 @@ module PulpcoreClient
|
|
|
102
100
|
header_params = opts[:header_params] || {}
|
|
103
101
|
# HTTP header 'Accept' (if needed)
|
|
104
102
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
105
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
106
103
|
|
|
107
104
|
# form parameters
|
|
108
105
|
form_params = opts[:form_params] || {}
|
|
@@ -22,7 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# List content guards
|
|
23
23
|
# Endpoint to list all contentguards.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
26
|
# @option opts [String] :name Filter results where name matches value
|
|
28
27
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -51,7 +50,6 @@ module PulpcoreClient
|
|
|
51
50
|
# List content guards
|
|
52
51
|
# Endpoint to list all contentguards.
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
56
54
|
# @option opts [String] :name Filter results where name matches value
|
|
57
55
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -117,7 +115,6 @@ module PulpcoreClient
|
|
|
117
115
|
header_params = opts[:header_params] || {}
|
|
118
116
|
# HTTP header 'Accept' (if needed)
|
|
119
117
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
120
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
121
118
|
|
|
122
119
|
# form parameters
|
|
123
120
|
form_params = opts[:form_params] || {}
|
|
@@ -24,7 +24,6 @@ module PulpcoreClient
|
|
|
24
24
|
# @param composite_content_guard_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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(composite_content_guard_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(composite_content_guard_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpcoreClient
|
|
|
36
35
|
# @param composite_content_guard_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(composite_content_guard_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpcoreClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpcoreClient
|
|
|
96
93
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
97
94
|
# @param composite_content_guard [CompositeContentGuard]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [CompositeContentGuardResponse]
|
|
101
97
|
def create(composite_content_guard, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(composite_content_guard, opts)
|
|
@@ -107,7 +103,6 @@ module PulpcoreClient
|
|
|
107
103
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
108
104
|
# @param composite_content_guard [CompositeContentGuard]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(composite_content_guard, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpcoreClient
|
|
|
129
124
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
125
|
# HTTP header 'Content-Type'
|
|
131
126
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
133
127
|
|
|
134
128
|
# form parameters
|
|
135
129
|
form_params = opts[:form_params] || {}
|
|
@@ -163,7 +157,6 @@ module PulpcoreClient
|
|
|
163
157
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
164
158
|
# @param composite_content_guard_href [String]
|
|
165
159
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
160
|
# @return [nil]
|
|
168
161
|
def delete(composite_content_guard_href, opts = {})
|
|
169
162
|
delete_with_http_info(composite_content_guard_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpcoreClient
|
|
|
174
167
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
175
168
|
# @param composite_content_guard_href [String]
|
|
176
169
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
170
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
179
171
|
def delete_with_http_info(composite_content_guard_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -192,7 +184,6 @@ module PulpcoreClient
|
|
|
192
184
|
|
|
193
185
|
# header parameters
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
196
187
|
|
|
197
188
|
# form parameters
|
|
198
189
|
form_params = opts[:form_params] || {}
|
|
@@ -225,7 +216,6 @@ module PulpcoreClient
|
|
|
225
216
|
# List composite content guards
|
|
226
217
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
227
218
|
# @param [Hash] opts the optional parameters
|
|
228
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
229
219
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
230
220
|
# @option opts [String] :name Filter results where name matches value
|
|
231
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -252,7 +242,6 @@ module PulpcoreClient
|
|
|
252
242
|
# List composite content guards
|
|
253
243
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
254
244
|
# @param [Hash] opts the optional parameters
|
|
255
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
256
245
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
257
246
|
# @option opts [String] :name Filter results where name matches value
|
|
258
247
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -306,7 +295,6 @@ module PulpcoreClient
|
|
|
306
295
|
header_params = opts[:header_params] || {}
|
|
307
296
|
# HTTP header 'Accept' (if needed)
|
|
308
297
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
309
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
310
298
|
|
|
311
299
|
# form parameters
|
|
312
300
|
form_params = opts[:form_params] || {}
|
|
@@ -340,7 +328,6 @@ module PulpcoreClient
|
|
|
340
328
|
# List roles assigned to this object.
|
|
341
329
|
# @param composite_content_guard_href [String]
|
|
342
330
|
# @param [Hash] opts the optional parameters
|
|
343
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
344
331
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
345
332
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
346
333
|
# @return [ObjectRolesResponse]
|
|
@@ -353,7 +340,6 @@ module PulpcoreClient
|
|
|
353
340
|
# List roles assigned to this object.
|
|
354
341
|
# @param composite_content_guard_href [String]
|
|
355
342
|
# @param [Hash] opts the optional parameters
|
|
356
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
357
343
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
358
344
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
359
345
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -377,7 +363,6 @@ module PulpcoreClient
|
|
|
377
363
|
header_params = opts[:header_params] || {}
|
|
378
364
|
# HTTP header 'Accept' (if needed)
|
|
379
365
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
380
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
381
366
|
|
|
382
367
|
# form parameters
|
|
383
368
|
form_params = opts[:form_params] || {}
|
|
@@ -411,7 +396,6 @@ module PulpcoreClient
|
|
|
411
396
|
# List permissions available to the current user on this object.
|
|
412
397
|
# @param composite_content_guard_href [String]
|
|
413
398
|
# @param [Hash] opts the optional parameters
|
|
414
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
415
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
416
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
417
401
|
# @return [MyPermissionsResponse]
|
|
@@ -424,7 +408,6 @@ module PulpcoreClient
|
|
|
424
408
|
# List permissions available to the current user on this object.
|
|
425
409
|
# @param composite_content_guard_href [String]
|
|
426
410
|
# @param [Hash] opts the optional parameters
|
|
427
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
428
411
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
429
412
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
430
413
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -448,7 +431,6 @@ module PulpcoreClient
|
|
|
448
431
|
header_params = opts[:header_params] || {}
|
|
449
432
|
# HTTP header 'Accept' (if needed)
|
|
450
433
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
451
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
452
434
|
|
|
453
435
|
# form parameters
|
|
454
436
|
form_params = opts[:form_params] || {}
|
|
@@ -483,7 +465,6 @@ module PulpcoreClient
|
|
|
483
465
|
# @param composite_content_guard_href [String]
|
|
484
466
|
# @param patched_composite_content_guard [PatchedCompositeContentGuard]
|
|
485
467
|
# @param [Hash] opts the optional parameters
|
|
486
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
487
468
|
# @return [CompositeContentGuardResponse]
|
|
488
469
|
def partial_update(composite_content_guard_href, patched_composite_content_guard, opts = {})
|
|
489
470
|
data, _status_code, _headers = partial_update_with_http_info(composite_content_guard_href, patched_composite_content_guard, opts)
|
|
@@ -495,7 +476,6 @@ module PulpcoreClient
|
|
|
495
476
|
# @param composite_content_guard_href [String]
|
|
496
477
|
# @param patched_composite_content_guard [PatchedCompositeContentGuard]
|
|
497
478
|
# @param [Hash] opts the optional parameters
|
|
498
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
499
479
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
|
500
480
|
def partial_update_with_http_info(composite_content_guard_href, patched_composite_content_guard, opts = {})
|
|
501
481
|
if @api_client.config.debugging
|
|
@@ -521,7 +501,6 @@ module PulpcoreClient
|
|
|
521
501
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
522
502
|
# HTTP header 'Content-Type'
|
|
523
503
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
524
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
525
504
|
|
|
526
505
|
# form parameters
|
|
527
506
|
form_params = opts[:form_params] || {}
|
|
@@ -555,7 +534,6 @@ module PulpcoreClient
|
|
|
555
534
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
556
535
|
# @param composite_content_guard_href [String]
|
|
557
536
|
# @param [Hash] opts the optional parameters
|
|
558
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
559
537
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
560
538
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
561
539
|
# @return [CompositeContentGuardResponse]
|
|
@@ -568,7 +546,6 @@ module PulpcoreClient
|
|
|
568
546
|
# Content guard that queries a list-of content-guards for access permissions.
|
|
569
547
|
# @param composite_content_guard_href [String]
|
|
570
548
|
# @param [Hash] opts the optional parameters
|
|
571
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
572
549
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
573
550
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
574
551
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
|
@@ -592,7 +569,6 @@ module PulpcoreClient
|
|
|
592
569
|
header_params = opts[:header_params] || {}
|
|
593
570
|
# HTTP header 'Accept' (if needed)
|
|
594
571
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
595
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
596
572
|
|
|
597
573
|
# form parameters
|
|
598
574
|
form_params = opts[:form_params] || {}
|
|
@@ -627,7 +603,6 @@ module PulpcoreClient
|
|
|
627
603
|
# @param composite_content_guard_href [String]
|
|
628
604
|
# @param nested_role [NestedRole]
|
|
629
605
|
# @param [Hash] opts the optional parameters
|
|
630
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
631
606
|
# @return [NestedRoleResponse]
|
|
632
607
|
def remove_role(composite_content_guard_href, nested_role, opts = {})
|
|
633
608
|
data, _status_code, _headers = remove_role_with_http_info(composite_content_guard_href, nested_role, opts)
|
|
@@ -639,7 +614,6 @@ module PulpcoreClient
|
|
|
639
614
|
# @param composite_content_guard_href [String]
|
|
640
615
|
# @param nested_role [NestedRole]
|
|
641
616
|
# @param [Hash] opts the optional parameters
|
|
642
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
643
617
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
644
618
|
def remove_role_with_http_info(composite_content_guard_href, nested_role, opts = {})
|
|
645
619
|
if @api_client.config.debugging
|
|
@@ -665,7 +639,6 @@ module PulpcoreClient
|
|
|
665
639
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
666
640
|
# HTTP header 'Content-Type'
|
|
667
641
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
668
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
669
642
|
|
|
670
643
|
# form parameters
|
|
671
644
|
form_params = opts[:form_params] || {}
|
|
@@ -700,7 +673,6 @@ module PulpcoreClient
|
|
|
700
673
|
# @param composite_content_guard_href [String]
|
|
701
674
|
# @param composite_content_guard [CompositeContentGuard]
|
|
702
675
|
# @param [Hash] opts the optional parameters
|
|
703
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
704
676
|
# @return [CompositeContentGuardResponse]
|
|
705
677
|
def update(composite_content_guard_href, composite_content_guard, opts = {})
|
|
706
678
|
data, _status_code, _headers = update_with_http_info(composite_content_guard_href, composite_content_guard, opts)
|
|
@@ -712,7 +684,6 @@ module PulpcoreClient
|
|
|
712
684
|
# @param composite_content_guard_href [String]
|
|
713
685
|
# @param composite_content_guard [CompositeContentGuard]
|
|
714
686
|
# @param [Hash] opts the optional parameters
|
|
715
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
716
687
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
|
717
688
|
def update_with_http_info(composite_content_guard_href, composite_content_guard, opts = {})
|
|
718
689
|
if @api_client.config.debugging
|
|
@@ -738,7 +709,6 @@ module PulpcoreClient
|
|
|
738
709
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
739
710
|
# HTTP header 'Content-Type'
|
|
740
711
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
741
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
742
712
|
|
|
743
713
|
# form parameters
|
|
744
714
|
form_params = opts[:form_params] || {}
|