pulp_gem_client 0.7.1 → 0.7.2
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/ContentGemApi.md +22 -8
- data/docs/DistributionsGemApi.md +72 -32
- data/docs/GemGemContentResponse.md +2 -0
- data/docs/GemGemRemoteResponse.md +1 -1
- data/docs/PublicationsGemApi.md +40 -16
- data/docs/RemotesGemApi.md +72 -32
- data/docs/RepositoriesGemApi.md +88 -40
- data/docs/RepositoriesGemVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +15 -0
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +36 -0
- data/lib/pulp_gem_client/api/publications_gem_api.rb +24 -0
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +36 -0
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +42 -0
- data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +15 -3
- data/lib/pulp_gem_client/models/gem_gem_content_response.rb +10 -1
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +0 -17
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +0 -17
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +0 -15
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +0 -15
- data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +0 -17
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +0 -15
- data/lib/pulp_gem_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_gem_client/version.rb +1 -1
- data/pulp_gem_client.gemspec +0 -1
- data/spec/api/content_gem_api_spec.rb +5 -0
- data/spec/api/distributions_gem_api_spec.rb +12 -0
- data/spec/api/publications_gem_api_spec.rb +8 -0
- data/spec/api/remotes_gem_api_spec.rb +12 -0
- data/spec/api/repositories_gem_api_spec.rb +14 -0
- data/spec/api/repositories_gem_versions_api_spec.rb +5 -1
- data/spec/models/gem_gem_content_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +28 -48
@@ -22,6 +22,7 @@ module PulpGemClient
|
|
22
22
|
# Create a gem content
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
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] :repository A URI of a repository the new content unit should be associated with.
|
26
27
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
27
28
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -35,6 +36,7 @@ module PulpGemClient
|
|
35
36
|
# Create a gem content
|
36
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
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
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
39
41
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -59,6 +61,7 @@ module PulpGemClient
|
|
59
61
|
if !content_type.nil?
|
60
62
|
header_params['Content-Type'] = content_type
|
61
63
|
end
|
64
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
62
65
|
|
63
66
|
# form parameters
|
64
67
|
form_params = opts[:form_params] || {}
|
@@ -96,6 +99,7 @@ module PulpGemClient
|
|
96
99
|
# List gem contents
|
97
100
|
# A ViewSet for GemContent.
|
98
101
|
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
99
103
|
# @option opts [String] :checksum Filter results where checksum matches value
|
100
104
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
105
|
# @option opts [String] :name Filter results where name matches value
|
@@ -123,6 +127,7 @@ module PulpGemClient
|
|
123
127
|
# List gem contents
|
124
128
|
# A ViewSet for GemContent.
|
125
129
|
# @param [Hash] opts the optional parameters
|
130
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
126
131
|
# @option opts [String] :checksum Filter results where checksum matches value
|
127
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
128
133
|
# @option opts [String] :name Filter results where name matches value
|
@@ -178,6 +183,7 @@ module PulpGemClient
|
|
178
183
|
header_params = opts[:header_params] || {}
|
179
184
|
# HTTP header 'Accept' (if needed)
|
180
185
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
186
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
181
187
|
|
182
188
|
# form parameters
|
183
189
|
form_params = opts[:form_params] || {}
|
@@ -212,6 +218,7 @@ module PulpGemClient
|
|
212
218
|
# A ViewSet for GemContent.
|
213
219
|
# @param gem_gem_content_href [String]
|
214
220
|
# @param [Hash] opts the optional parameters
|
221
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
215
222
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
216
223
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
217
224
|
# @return [GemGemContentResponse]
|
@@ -224,6 +231,7 @@ module PulpGemClient
|
|
224
231
|
# A ViewSet for GemContent.
|
225
232
|
# @param gem_gem_content_href [String]
|
226
233
|
# @param [Hash] opts the optional parameters
|
234
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
227
235
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
228
236
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
229
237
|
# @return [Array<(GemGemContentResponse, Integer, Hash)>] GemGemContentResponse data, response status code and response headers
|
@@ -247,6 +255,7 @@ module PulpGemClient
|
|
247
255
|
header_params = opts[:header_params] || {}
|
248
256
|
# HTTP header 'Accept' (if needed)
|
249
257
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
258
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
250
259
|
|
251
260
|
# form parameters
|
252
261
|
form_params = opts[:form_params] || {}
|
@@ -282,6 +291,7 @@ module PulpGemClient
|
|
282
291
|
# @param gem_gem_content_href [String]
|
283
292
|
# @param set_label [SetLabel]
|
284
293
|
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
285
295
|
# @return [SetLabelResponse]
|
286
296
|
def set_label(gem_gem_content_href, set_label, opts = {})
|
287
297
|
data, _status_code, _headers = set_label_with_http_info(gem_gem_content_href, set_label, opts)
|
@@ -293,6 +303,7 @@ module PulpGemClient
|
|
293
303
|
# @param gem_gem_content_href [String]
|
294
304
|
# @param set_label [SetLabel]
|
295
305
|
# @param [Hash] opts the optional parameters
|
306
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
296
307
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
297
308
|
def set_label_with_http_info(gem_gem_content_href, set_label, opts = {})
|
298
309
|
if @api_client.config.debugging
|
@@ -321,6 +332,7 @@ module PulpGemClient
|
|
321
332
|
if !content_type.nil?
|
322
333
|
header_params['Content-Type'] = content_type
|
323
334
|
end
|
335
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
324
336
|
|
325
337
|
# form parameters
|
326
338
|
form_params = opts[:form_params] || {}
|
@@ -356,6 +368,7 @@ module PulpGemClient
|
|
356
368
|
# @param gem_gem_content_href [String]
|
357
369
|
# @param unset_label [UnsetLabel]
|
358
370
|
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
359
372
|
# @return [UnsetLabelResponse]
|
360
373
|
def unset_label(gem_gem_content_href, unset_label, opts = {})
|
361
374
|
data, _status_code, _headers = unset_label_with_http_info(gem_gem_content_href, unset_label, opts)
|
@@ -367,6 +380,7 @@ module PulpGemClient
|
|
367
380
|
# @param gem_gem_content_href [String]
|
368
381
|
# @param unset_label [UnsetLabel]
|
369
382
|
# @param [Hash] opts the optional parameters
|
383
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
370
384
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
371
385
|
def unset_label_with_http_info(gem_gem_content_href, unset_label, opts = {})
|
372
386
|
if @api_client.config.debugging
|
@@ -395,6 +409,7 @@ module PulpGemClient
|
|
395
409
|
if !content_type.nil?
|
396
410
|
header_params['Content-Type'] = content_type
|
397
411
|
end
|
412
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
398
413
|
|
399
414
|
# form parameters
|
400
415
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpGemClient
|
|
24
24
|
# @param gem_gem_distribution_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(gem_gem_distribution_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(gem_gem_distribution_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpGemClient
|
|
35
36
|
# @param gem_gem_distribution_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(gem_gem_distribution_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
97
100
|
# Trigger an asynchronous create task
|
98
101
|
# @param gem_gem_distribution [GemGemDistribution]
|
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 [AsyncOperationResponse]
|
101
105
|
def create(gem_gem_distribution, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(gem_gem_distribution, opts)
|
@@ -107,6 +111,7 @@ module PulpGemClient
|
|
107
111
|
# Trigger an asynchronous create task
|
108
112
|
# @param gem_gem_distribution [GemGemDistribution]
|
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(gem_gem_distribution, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param gem_gem_distribution_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(gem_gem_distribution_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(gem_gem_distribution_href, opts)
|
@@ -175,6 +182,7 @@ module PulpGemClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param gem_gem_distribution_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(gem_gem_distribution_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
227
236
|
# List gem distributions
|
228
237
|
# ViewSet for GemDistributions.
|
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] :base_path Filter results where base_path matches value
|
231
241
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
232
242
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -263,6 +273,7 @@ module PulpGemClient
|
|
263
273
|
# List gem distributions
|
264
274
|
# ViewSet for GemDistributions.
|
265
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
266
277
|
# @option opts [String] :base_path Filter results where base_path matches value
|
267
278
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
268
279
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -336,6 +347,7 @@ module PulpGemClient
|
|
336
347
|
header_params = opts[:header_params] || {}
|
337
348
|
# HTTP header 'Accept' (if needed)
|
338
349
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
339
351
|
|
340
352
|
# form parameters
|
341
353
|
form_params = opts[:form_params] || {}
|
@@ -370,6 +382,7 @@ module PulpGemClient
|
|
370
382
|
# List roles assigned to this object.
|
371
383
|
# @param gem_gem_distribution_href [String]
|
372
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
388
|
# @return [ObjectRolesResponse]
|
@@ -382,6 +395,7 @@ module PulpGemClient
|
|
382
395
|
# List roles assigned to this object.
|
383
396
|
# @param gem_gem_distribution_href [String]
|
384
397
|
# @param [Hash] opts the optional parameters
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
385
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
386
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
387
401
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -405,6 +419,7 @@ module PulpGemClient
|
|
405
419
|
header_params = opts[:header_params] || {}
|
406
420
|
# HTTP header 'Accept' (if needed)
|
407
421
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
422
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
408
423
|
|
409
424
|
# form parameters
|
410
425
|
form_params = opts[:form_params] || {}
|
@@ -439,6 +454,7 @@ module PulpGemClient
|
|
439
454
|
# List permissions available to the current user on this object.
|
440
455
|
# @param gem_gem_distribution_href [String]
|
441
456
|
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
442
458
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
443
459
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
444
460
|
# @return [MyPermissionsResponse]
|
@@ -451,6 +467,7 @@ module PulpGemClient
|
|
451
467
|
# List permissions available to the current user on this object.
|
452
468
|
# @param gem_gem_distribution_href [String]
|
453
469
|
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
454
471
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
455
472
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
456
473
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -474,6 +491,7 @@ module PulpGemClient
|
|
474
491
|
header_params = opts[:header_params] || {}
|
475
492
|
# HTTP header 'Accept' (if needed)
|
476
493
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
494
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
477
495
|
|
478
496
|
# form parameters
|
479
497
|
form_params = opts[:form_params] || {}
|
@@ -509,6 +527,7 @@ module PulpGemClient
|
|
509
527
|
# @param gem_gem_distribution_href [String]
|
510
528
|
# @param patchedgem_gem_distribution [PatchedgemGemDistribution]
|
511
529
|
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
512
531
|
# @return [AsyncOperationResponse]
|
513
532
|
def partial_update(gem_gem_distribution_href, patchedgem_gem_distribution, opts = {})
|
514
533
|
data, _status_code, _headers = partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
|
@@ -520,6 +539,7 @@ module PulpGemClient
|
|
520
539
|
# @param gem_gem_distribution_href [String]
|
521
540
|
# @param patchedgem_gem_distribution [PatchedgemGemDistribution]
|
522
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
523
543
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
524
544
|
def partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts = {})
|
525
545
|
if @api_client.config.debugging
|
@@ -548,6 +568,7 @@ module PulpGemClient
|
|
548
568
|
if !content_type.nil?
|
549
569
|
header_params['Content-Type'] = content_type
|
550
570
|
end
|
571
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
551
572
|
|
552
573
|
# form parameters
|
553
574
|
form_params = opts[:form_params] || {}
|
@@ -582,6 +603,7 @@ module PulpGemClient
|
|
582
603
|
# ViewSet for GemDistributions.
|
583
604
|
# @param gem_gem_distribution_href [String]
|
584
605
|
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
585
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
586
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
587
609
|
# @return [GemGemDistributionResponse]
|
@@ -594,6 +616,7 @@ module PulpGemClient
|
|
594
616
|
# ViewSet for GemDistributions.
|
595
617
|
# @param gem_gem_distribution_href [String]
|
596
618
|
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
597
620
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
598
621
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
599
622
|
# @return [Array<(GemGemDistributionResponse, Integer, Hash)>] GemGemDistributionResponse data, response status code and response headers
|
@@ -617,6 +640,7 @@ module PulpGemClient
|
|
617
640
|
header_params = opts[:header_params] || {}
|
618
641
|
# HTTP header 'Accept' (if needed)
|
619
642
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
643
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
620
644
|
|
621
645
|
# form parameters
|
622
646
|
form_params = opts[:form_params] || {}
|
@@ -652,6 +676,7 @@ module PulpGemClient
|
|
652
676
|
# @param gem_gem_distribution_href [String]
|
653
677
|
# @param nested_role [NestedRole]
|
654
678
|
# @param [Hash] opts the optional parameters
|
679
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
655
680
|
# @return [NestedRoleResponse]
|
656
681
|
def remove_role(gem_gem_distribution_href, nested_role, opts = {})
|
657
682
|
data, _status_code, _headers = remove_role_with_http_info(gem_gem_distribution_href, nested_role, opts)
|
@@ -663,6 +688,7 @@ module PulpGemClient
|
|
663
688
|
# @param gem_gem_distribution_href [String]
|
664
689
|
# @param nested_role [NestedRole]
|
665
690
|
# @param [Hash] opts the optional parameters
|
691
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
666
692
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
667
693
|
def remove_role_with_http_info(gem_gem_distribution_href, nested_role, opts = {})
|
668
694
|
if @api_client.config.debugging
|
@@ -691,6 +717,7 @@ module PulpGemClient
|
|
691
717
|
if !content_type.nil?
|
692
718
|
header_params['Content-Type'] = content_type
|
693
719
|
end
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
694
721
|
|
695
722
|
# form parameters
|
696
723
|
form_params = opts[:form_params] || {}
|
@@ -726,6 +753,7 @@ module PulpGemClient
|
|
726
753
|
# @param gem_gem_distribution_href [String]
|
727
754
|
# @param set_label [SetLabel]
|
728
755
|
# @param [Hash] opts the optional parameters
|
756
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
729
757
|
# @return [SetLabelResponse]
|
730
758
|
def set_label(gem_gem_distribution_href, set_label, opts = {})
|
731
759
|
data, _status_code, _headers = set_label_with_http_info(gem_gem_distribution_href, set_label, opts)
|
@@ -737,6 +765,7 @@ module PulpGemClient
|
|
737
765
|
# @param gem_gem_distribution_href [String]
|
738
766
|
# @param set_label [SetLabel]
|
739
767
|
# @param [Hash] opts the optional parameters
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
740
769
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
741
770
|
def set_label_with_http_info(gem_gem_distribution_href, set_label, opts = {})
|
742
771
|
if @api_client.config.debugging
|
@@ -765,6 +794,7 @@ module PulpGemClient
|
|
765
794
|
if !content_type.nil?
|
766
795
|
header_params['Content-Type'] = content_type
|
767
796
|
end
|
797
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
768
798
|
|
769
799
|
# form parameters
|
770
800
|
form_params = opts[:form_params] || {}
|
@@ -800,6 +830,7 @@ module PulpGemClient
|
|
800
830
|
# @param gem_gem_distribution_href [String]
|
801
831
|
# @param unset_label [UnsetLabel]
|
802
832
|
# @param [Hash] opts the optional parameters
|
833
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
803
834
|
# @return [UnsetLabelResponse]
|
804
835
|
def unset_label(gem_gem_distribution_href, unset_label, opts = {})
|
805
836
|
data, _status_code, _headers = unset_label_with_http_info(gem_gem_distribution_href, unset_label, opts)
|
@@ -811,6 +842,7 @@ module PulpGemClient
|
|
811
842
|
# @param gem_gem_distribution_href [String]
|
812
843
|
# @param unset_label [UnsetLabel]
|
813
844
|
# @param [Hash] opts the optional parameters
|
845
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
814
846
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
815
847
|
def unset_label_with_http_info(gem_gem_distribution_href, unset_label, opts = {})
|
816
848
|
if @api_client.config.debugging
|
@@ -839,6 +871,7 @@ module PulpGemClient
|
|
839
871
|
if !content_type.nil?
|
840
872
|
header_params['Content-Type'] = content_type
|
841
873
|
end
|
874
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
842
875
|
|
843
876
|
# form parameters
|
844
877
|
form_params = opts[:form_params] || {}
|
@@ -874,6 +907,7 @@ module PulpGemClient
|
|
874
907
|
# @param gem_gem_distribution_href [String]
|
875
908
|
# @param gem_gem_distribution [GemGemDistribution]
|
876
909
|
# @param [Hash] opts the optional parameters
|
910
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
877
911
|
# @return [AsyncOperationResponse]
|
878
912
|
def update(gem_gem_distribution_href, gem_gem_distribution, opts = {})
|
879
913
|
data, _status_code, _headers = update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts)
|
@@ -885,6 +919,7 @@ module PulpGemClient
|
|
885
919
|
# @param gem_gem_distribution_href [String]
|
886
920
|
# @param gem_gem_distribution [GemGemDistribution]
|
887
921
|
# @param [Hash] opts the optional parameters
|
922
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
888
923
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
889
924
|
def update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts = {})
|
890
925
|
if @api_client.config.debugging
|
@@ -913,6 +948,7 @@ module PulpGemClient
|
|
913
948
|
if !content_type.nil?
|
914
949
|
header_params['Content-Type'] = content_type
|
915
950
|
end
|
951
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
916
952
|
|
917
953
|
# form parameters
|
918
954
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpGemClient
|
|
24
24
|
# @param gem_gem_publication_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(gem_gem_publication_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(gem_gem_publication_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpGemClient
|
|
35
36
|
# @param gem_gem_publication_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(gem_gem_publication_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
97
100
|
# Trigger an asynchronous task to publish gem content
|
98
101
|
# @param gem_gem_publication [GemGemPublication]
|
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 [AsyncOperationResponse]
|
101
105
|
def create(gem_gem_publication, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(gem_gem_publication, opts)
|
@@ -107,6 +111,7 @@ module PulpGemClient
|
|
107
111
|
# Trigger an asynchronous task to publish gem content
|
108
112
|
# @param gem_gem_publication [GemGemPublication]
|
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(gem_gem_publication, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
165
171
|
# A ViewSet for GemPublication.
|
166
172
|
# @param gem_gem_publication_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 [nil]
|
169
176
|
def delete(gem_gem_publication_href, opts = {})
|
170
177
|
delete_with_http_info(gem_gem_publication_href, opts)
|
@@ -175,6 +182,7 @@ module PulpGemClient
|
|
175
182
|
# A ViewSet for GemPublication.
|
176
183
|
# @param gem_gem_publication_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<(nil, Integer, Hash)>] nil, response status code and response headers
|
179
187
|
def delete_with_http_info(gem_gem_publication_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -192,6 +200,7 @@ module PulpGemClient
|
|
192
200
|
|
193
201
|
# header parameters
|
194
202
|
header_params = opts[:header_params] || {}
|
203
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
204
|
|
196
205
|
# form parameters
|
197
206
|
form_params = opts[:form_params] || {}
|
@@ -225,6 +234,7 @@ module PulpGemClient
|
|
225
234
|
# List gem publications
|
226
235
|
# A ViewSet for GemPublication.
|
227
236
|
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
238
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
229
239
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
230
240
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -255,6 +265,7 @@ module PulpGemClient
|
|
255
265
|
# List gem publications
|
256
266
|
# A ViewSet for GemPublication.
|
257
267
|
# @param [Hash] opts the optional parameters
|
268
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
258
269
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
259
270
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
260
271
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -316,6 +327,7 @@ module PulpGemClient
|
|
316
327
|
header_params = opts[:header_params] || {}
|
317
328
|
# HTTP header 'Accept' (if needed)
|
318
329
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
330
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
319
331
|
|
320
332
|
# form parameters
|
321
333
|
form_params = opts[:form_params] || {}
|
@@ -350,6 +362,7 @@ module PulpGemClient
|
|
350
362
|
# List roles assigned to this object.
|
351
363
|
# @param gem_gem_publication_href [String]
|
352
364
|
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
353
366
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
354
367
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
355
368
|
# @return [ObjectRolesResponse]
|
@@ -362,6 +375,7 @@ module PulpGemClient
|
|
362
375
|
# List roles assigned to this object.
|
363
376
|
# @param gem_gem_publication_href [String]
|
364
377
|
# @param [Hash] opts the optional parameters
|
378
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
365
379
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
366
380
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
367
381
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -385,6 +399,7 @@ module PulpGemClient
|
|
385
399
|
header_params = opts[:header_params] || {}
|
386
400
|
# HTTP header 'Accept' (if needed)
|
387
401
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
402
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
388
403
|
|
389
404
|
# form parameters
|
390
405
|
form_params = opts[:form_params] || {}
|
@@ -419,6 +434,7 @@ module PulpGemClient
|
|
419
434
|
# List permissions available to the current user on this object.
|
420
435
|
# @param gem_gem_publication_href [String]
|
421
436
|
# @param [Hash] opts the optional parameters
|
437
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
422
438
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
423
439
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
424
440
|
# @return [MyPermissionsResponse]
|
@@ -431,6 +447,7 @@ module PulpGemClient
|
|
431
447
|
# List permissions available to the current user on this object.
|
432
448
|
# @param gem_gem_publication_href [String]
|
433
449
|
# @param [Hash] opts the optional parameters
|
450
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
434
451
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
435
452
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
436
453
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -454,6 +471,7 @@ module PulpGemClient
|
|
454
471
|
header_params = opts[:header_params] || {}
|
455
472
|
# HTTP header 'Accept' (if needed)
|
456
473
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
474
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
457
475
|
|
458
476
|
# form parameters
|
459
477
|
form_params = opts[:form_params] || {}
|
@@ -488,6 +506,7 @@ module PulpGemClient
|
|
488
506
|
# A ViewSet for GemPublication.
|
489
507
|
# @param gem_gem_publication_href [String]
|
490
508
|
# @param [Hash] opts the optional parameters
|
509
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
491
510
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
492
511
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
493
512
|
# @return [GemGemPublicationResponse]
|
@@ -500,6 +519,7 @@ module PulpGemClient
|
|
500
519
|
# A ViewSet for GemPublication.
|
501
520
|
# @param gem_gem_publication_href [String]
|
502
521
|
# @param [Hash] opts the optional parameters
|
522
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
503
523
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
504
524
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
505
525
|
# @return [Array<(GemGemPublicationResponse, Integer, Hash)>] GemGemPublicationResponse data, response status code and response headers
|
@@ -523,6 +543,7 @@ module PulpGemClient
|
|
523
543
|
header_params = opts[:header_params] || {}
|
524
544
|
# HTTP header 'Accept' (if needed)
|
525
545
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
546
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
526
547
|
|
527
548
|
# form parameters
|
528
549
|
form_params = opts[:form_params] || {}
|
@@ -558,6 +579,7 @@ module PulpGemClient
|
|
558
579
|
# @param gem_gem_publication_href [String]
|
559
580
|
# @param nested_role [NestedRole]
|
560
581
|
# @param [Hash] opts the optional parameters
|
582
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
561
583
|
# @return [NestedRoleResponse]
|
562
584
|
def remove_role(gem_gem_publication_href, nested_role, opts = {})
|
563
585
|
data, _status_code, _headers = remove_role_with_http_info(gem_gem_publication_href, nested_role, opts)
|
@@ -569,6 +591,7 @@ module PulpGemClient
|
|
569
591
|
# @param gem_gem_publication_href [String]
|
570
592
|
# @param nested_role [NestedRole]
|
571
593
|
# @param [Hash] opts the optional parameters
|
594
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
572
595
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
573
596
|
def remove_role_with_http_info(gem_gem_publication_href, nested_role, opts = {})
|
574
597
|
if @api_client.config.debugging
|
@@ -597,6 +620,7 @@ module PulpGemClient
|
|
597
620
|
if !content_type.nil?
|
598
621
|
header_params['Content-Type'] = content_type
|
599
622
|
end
|
623
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
600
624
|
|
601
625
|
# form parameters
|
602
626
|
form_params = opts[:form_params] || {}
|