pulp_file_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 +6 -9
- data/docs/AcsFileApi.md +15 -51
- data/docs/ContentFilesApi.md +1 -7
- data/docs/DistributionsFileApi.md +17 -57
- data/docs/PublicationsFileApi.md +9 -33
- data/docs/RemotesFileApi.md +17 -57
- data/docs/RepositoriesFileApi.md +21 -69
- data/docs/RepositoriesFileVersionsApi.md +5 -17
- data/lib/pulp_file_client/api/acs_file_api.rb +0 -33
- data/lib/pulp_file_client/api/content_files_api.rb +0 -9
- data/lib/pulp_file_client/api/distributions_file_api.rb +0 -36
- data/lib/pulp_file_client/api/publications_file_api.rb +0 -24
- data/lib/pulp_file_client/api/remotes_file_api.rb +0 -36
- data/lib/pulp_file_client/api/repositories_file_api.rb +0 -42
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +0 -12
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +0 -11
- data/spec/api/content_files_api_spec.rb +0 -3
- data/spec/api/distributions_file_api_spec.rb +0 -12
- data/spec/api/publications_file_api_spec.rb +0 -8
- data/spec/api/remotes_file_api_spec.rb +0 -12
- data/spec/api/repositories_file_api_spec.rb +0 -14
- data/spec/api/repositories_file_versions_api_spec.rb +0 -4
- data/spec/configuration_spec.rb +3 -3
- metadata +52 -52
|
@@ -24,7 +24,6 @@ module PulpFileClient
|
|
|
24
24
|
# @param file_file_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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(file_file_publication_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(file_file_publication_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpFileClient
|
|
|
36
35
|
# @param file_file_publication_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(file_file_publication_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpFileClient
|
|
|
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 PulpFileClient
|
|
|
96
93
|
# Trigger an asynchronous task to publish file content.
|
|
97
94
|
# @param file_file_publication [FileFilePublication]
|
|
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 [AsyncOperationResponse]
|
|
101
97
|
def create(file_file_publication, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(file_file_publication, opts)
|
|
@@ -107,7 +103,6 @@ module PulpFileClient
|
|
|
107
103
|
# Trigger an asynchronous task to publish file content.
|
|
108
104
|
# @param file_file_publication [FileFilePublication]
|
|
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(file_file_publication, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpFileClient
|
|
|
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 PulpFileClient
|
|
|
163
157
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
164
158
|
# @param file_file_publication_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(file_file_publication_href, opts = {})
|
|
169
162
|
delete_with_http_info(file_file_publication_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpFileClient
|
|
|
174
167
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
175
168
|
# @param file_file_publication_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(file_file_publication_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -192,7 +184,6 @@ module PulpFileClient
|
|
|
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 PulpFileClient
|
|
|
225
216
|
# List file publications
|
|
226
217
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
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 [String] :content Content Unit referenced by HREF
|
|
230
220
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
231
221
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -253,7 +243,6 @@ module PulpFileClient
|
|
|
253
243
|
# List file publications
|
|
254
244
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
255
245
|
# @param [Hash] opts the optional parameters
|
|
256
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
257
246
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
258
247
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
259
248
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -309,7 +298,6 @@ module PulpFileClient
|
|
|
309
298
|
header_params = opts[:header_params] || {}
|
|
310
299
|
# HTTP header 'Accept' (if needed)
|
|
311
300
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
312
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
313
301
|
|
|
314
302
|
# form parameters
|
|
315
303
|
form_params = opts[:form_params] || {}
|
|
@@ -343,7 +331,6 @@ module PulpFileClient
|
|
|
343
331
|
# List roles assigned to this object.
|
|
344
332
|
# @param file_file_publication_href [String]
|
|
345
333
|
# @param [Hash] opts the optional parameters
|
|
346
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
347
334
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
348
335
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
349
336
|
# @return [ObjectRolesResponse]
|
|
@@ -356,7 +343,6 @@ module PulpFileClient
|
|
|
356
343
|
# List roles assigned to this object.
|
|
357
344
|
# @param file_file_publication_href [String]
|
|
358
345
|
# @param [Hash] opts the optional parameters
|
|
359
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
360
346
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
361
347
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
362
348
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -380,7 +366,6 @@ module PulpFileClient
|
|
|
380
366
|
header_params = opts[:header_params] || {}
|
|
381
367
|
# HTTP header 'Accept' (if needed)
|
|
382
368
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
383
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
384
369
|
|
|
385
370
|
# form parameters
|
|
386
371
|
form_params = opts[:form_params] || {}
|
|
@@ -414,7 +399,6 @@ module PulpFileClient
|
|
|
414
399
|
# List permissions available to the current user on this object.
|
|
415
400
|
# @param file_file_publication_href [String]
|
|
416
401
|
# @param [Hash] opts the optional parameters
|
|
417
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
418
402
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
419
403
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
420
404
|
# @return [MyPermissionsResponse]
|
|
@@ -427,7 +411,6 @@ module PulpFileClient
|
|
|
427
411
|
# List permissions available to the current user on this object.
|
|
428
412
|
# @param file_file_publication_href [String]
|
|
429
413
|
# @param [Hash] opts the optional parameters
|
|
430
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
431
414
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
432
415
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
433
416
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -451,7 +434,6 @@ module PulpFileClient
|
|
|
451
434
|
header_params = opts[:header_params] || {}
|
|
452
435
|
# HTTP header 'Accept' (if needed)
|
|
453
436
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
454
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
455
437
|
|
|
456
438
|
# form parameters
|
|
457
439
|
form_params = opts[:form_params] || {}
|
|
@@ -485,7 +467,6 @@ module PulpFileClient
|
|
|
485
467
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
486
468
|
# @param file_file_publication_href [String]
|
|
487
469
|
# @param [Hash] opts the optional parameters
|
|
488
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
489
470
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
490
471
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
491
472
|
# @return [FileFilePublicationResponse]
|
|
@@ -498,7 +479,6 @@ module PulpFileClient
|
|
|
498
479
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
499
480
|
# @param file_file_publication_href [String]
|
|
500
481
|
# @param [Hash] opts the optional parameters
|
|
501
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
502
482
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
503
483
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
504
484
|
# @return [Array<(FileFilePublicationResponse, Integer, Hash)>] FileFilePublicationResponse data, response status code and response headers
|
|
@@ -522,7 +502,6 @@ module PulpFileClient
|
|
|
522
502
|
header_params = opts[:header_params] || {}
|
|
523
503
|
# HTTP header 'Accept' (if needed)
|
|
524
504
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
525
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
526
505
|
|
|
527
506
|
# form parameters
|
|
528
507
|
form_params = opts[:form_params] || {}
|
|
@@ -557,7 +536,6 @@ module PulpFileClient
|
|
|
557
536
|
# @param file_file_publication_href [String]
|
|
558
537
|
# @param nested_role [NestedRole]
|
|
559
538
|
# @param [Hash] opts the optional parameters
|
|
560
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
561
539
|
# @return [NestedRoleResponse]
|
|
562
540
|
def remove_role(file_file_publication_href, nested_role, opts = {})
|
|
563
541
|
data, _status_code, _headers = remove_role_with_http_info(file_file_publication_href, nested_role, opts)
|
|
@@ -569,7 +547,6 @@ module PulpFileClient
|
|
|
569
547
|
# @param file_file_publication_href [String]
|
|
570
548
|
# @param nested_role [NestedRole]
|
|
571
549
|
# @param [Hash] opts the optional parameters
|
|
572
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
573
550
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
574
551
|
def remove_role_with_http_info(file_file_publication_href, nested_role, opts = {})
|
|
575
552
|
if @api_client.config.debugging
|
|
@@ -595,7 +572,6 @@ module PulpFileClient
|
|
|
595
572
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
596
573
|
# HTTP header 'Content-Type'
|
|
597
574
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
598
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
599
575
|
|
|
600
576
|
# form parameters
|
|
601
577
|
form_params = opts[:form_params] || {}
|
|
@@ -24,7 +24,6 @@ module PulpFileClient
|
|
|
24
24
|
# @param file_file_remote_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(file_file_remote_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(file_file_remote_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpFileClient
|
|
|
36
35
|
# @param file_file_remote_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(file_file_remote_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpFileClient
|
|
|
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 PulpFileClient
|
|
|
96
93
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
97
94
|
# @param file_file_remote [FileFileRemote]
|
|
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 [FileFileRemoteResponse]
|
|
101
97
|
def create(file_file_remote, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(file_file_remote, opts)
|
|
@@ -107,7 +103,6 @@ module PulpFileClient
|
|
|
107
103
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
108
104
|
# @param file_file_remote [FileFileRemote]
|
|
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<(FileFileRemoteResponse, Integer, Hash)>] FileFileRemoteResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(file_file_remote, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpFileClient
|
|
|
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 PulpFileClient
|
|
|
163
157
|
# Trigger an asynchronous delete task
|
|
164
158
|
# @param file_file_remote_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 [AsyncOperationResponse]
|
|
168
161
|
def delete(file_file_remote_href, opts = {})
|
|
169
162
|
data, _status_code, _headers = delete_with_http_info(file_file_remote_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpFileClient
|
|
|
174
167
|
# Trigger an asynchronous delete task
|
|
175
168
|
# @param file_file_remote_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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
171
|
def delete_with_http_info(file_file_remote_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -194,7 +186,6 @@ module PulpFileClient
|
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
187
|
# HTTP header 'Accept' (if needed)
|
|
196
188
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
197
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
198
189
|
|
|
199
190
|
# form parameters
|
|
200
191
|
form_params = opts[:form_params] || {}
|
|
@@ -227,7 +218,6 @@ module PulpFileClient
|
|
|
227
218
|
# List file remotes
|
|
228
219
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
229
220
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
231
221
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
232
222
|
# @option opts [String] :name Filter results where name matches value
|
|
233
223
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -261,7 +251,6 @@ module PulpFileClient
|
|
|
261
251
|
# List file remotes
|
|
262
252
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
263
253
|
# @param [Hash] opts the optional parameters
|
|
264
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
265
254
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
266
255
|
# @option opts [String] :name Filter results where name matches value
|
|
267
256
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -329,7 +318,6 @@ module PulpFileClient
|
|
|
329
318
|
header_params = opts[:header_params] || {}
|
|
330
319
|
# HTTP header 'Accept' (if needed)
|
|
331
320
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
332
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
333
321
|
|
|
334
322
|
# form parameters
|
|
335
323
|
form_params = opts[:form_params] || {}
|
|
@@ -363,7 +351,6 @@ module PulpFileClient
|
|
|
363
351
|
# List roles assigned to this object.
|
|
364
352
|
# @param file_file_remote_href [String]
|
|
365
353
|
# @param [Hash] opts the optional parameters
|
|
366
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
367
354
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
368
355
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
369
356
|
# @return [ObjectRolesResponse]
|
|
@@ -376,7 +363,6 @@ module PulpFileClient
|
|
|
376
363
|
# List roles assigned to this object.
|
|
377
364
|
# @param file_file_remote_href [String]
|
|
378
365
|
# @param [Hash] opts the optional parameters
|
|
379
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
380
366
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
381
367
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
382
368
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -400,7 +386,6 @@ module PulpFileClient
|
|
|
400
386
|
header_params = opts[:header_params] || {}
|
|
401
387
|
# HTTP header 'Accept' (if needed)
|
|
402
388
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
403
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
404
389
|
|
|
405
390
|
# form parameters
|
|
406
391
|
form_params = opts[:form_params] || {}
|
|
@@ -434,7 +419,6 @@ module PulpFileClient
|
|
|
434
419
|
# List permissions available to the current user on this object.
|
|
435
420
|
# @param file_file_remote_href [String]
|
|
436
421
|
# @param [Hash] opts the optional parameters
|
|
437
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
438
422
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
439
423
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
440
424
|
# @return [MyPermissionsResponse]
|
|
@@ -447,7 +431,6 @@ module PulpFileClient
|
|
|
447
431
|
# List permissions available to the current user on this object.
|
|
448
432
|
# @param file_file_remote_href [String]
|
|
449
433
|
# @param [Hash] opts the optional parameters
|
|
450
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
451
434
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
452
435
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
453
436
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -471,7 +454,6 @@ module PulpFileClient
|
|
|
471
454
|
header_params = opts[:header_params] || {}
|
|
472
455
|
# HTTP header 'Accept' (if needed)
|
|
473
456
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
474
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
475
457
|
|
|
476
458
|
# form parameters
|
|
477
459
|
form_params = opts[:form_params] || {}
|
|
@@ -506,7 +488,6 @@ module PulpFileClient
|
|
|
506
488
|
# @param file_file_remote_href [String]
|
|
507
489
|
# @param patchedfile_file_remote [PatchedfileFileRemote]
|
|
508
490
|
# @param [Hash] opts the optional parameters
|
|
509
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
510
491
|
# @return [AsyncOperationResponse]
|
|
511
492
|
def partial_update(file_file_remote_href, patchedfile_file_remote, opts = {})
|
|
512
493
|
data, _status_code, _headers = partial_update_with_http_info(file_file_remote_href, patchedfile_file_remote, opts)
|
|
@@ -518,7 +499,6 @@ module PulpFileClient
|
|
|
518
499
|
# @param file_file_remote_href [String]
|
|
519
500
|
# @param patchedfile_file_remote [PatchedfileFileRemote]
|
|
520
501
|
# @param [Hash] opts the optional parameters
|
|
521
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
522
502
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
523
503
|
def partial_update_with_http_info(file_file_remote_href, patchedfile_file_remote, opts = {})
|
|
524
504
|
if @api_client.config.debugging
|
|
@@ -544,7 +524,6 @@ module PulpFileClient
|
|
|
544
524
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
545
525
|
# HTTP header 'Content-Type'
|
|
546
526
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
547
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
548
527
|
|
|
549
528
|
# form parameters
|
|
550
529
|
form_params = opts[:form_params] || {}
|
|
@@ -578,7 +557,6 @@ module PulpFileClient
|
|
|
578
557
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
579
558
|
# @param file_file_remote_href [String]
|
|
580
559
|
# @param [Hash] opts the optional parameters
|
|
581
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
582
560
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
583
561
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
584
562
|
# @return [FileFileRemoteResponse]
|
|
@@ -591,7 +569,6 @@ module PulpFileClient
|
|
|
591
569
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
592
570
|
# @param file_file_remote_href [String]
|
|
593
571
|
# @param [Hash] opts the optional parameters
|
|
594
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
595
572
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
596
573
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
597
574
|
# @return [Array<(FileFileRemoteResponse, Integer, Hash)>] FileFileRemoteResponse data, response status code and response headers
|
|
@@ -615,7 +592,6 @@ module PulpFileClient
|
|
|
615
592
|
header_params = opts[:header_params] || {}
|
|
616
593
|
# HTTP header 'Accept' (if needed)
|
|
617
594
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
618
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
619
595
|
|
|
620
596
|
# form parameters
|
|
621
597
|
form_params = opts[:form_params] || {}
|
|
@@ -650,7 +626,6 @@ module PulpFileClient
|
|
|
650
626
|
# @param file_file_remote_href [String]
|
|
651
627
|
# @param nested_role [NestedRole]
|
|
652
628
|
# @param [Hash] opts the optional parameters
|
|
653
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
654
629
|
# @return [NestedRoleResponse]
|
|
655
630
|
def remove_role(file_file_remote_href, nested_role, opts = {})
|
|
656
631
|
data, _status_code, _headers = remove_role_with_http_info(file_file_remote_href, nested_role, opts)
|
|
@@ -662,7 +637,6 @@ module PulpFileClient
|
|
|
662
637
|
# @param file_file_remote_href [String]
|
|
663
638
|
# @param nested_role [NestedRole]
|
|
664
639
|
# @param [Hash] opts the optional parameters
|
|
665
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
666
640
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
667
641
|
def remove_role_with_http_info(file_file_remote_href, nested_role, opts = {})
|
|
668
642
|
if @api_client.config.debugging
|
|
@@ -688,7 +662,6 @@ module PulpFileClient
|
|
|
688
662
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
689
663
|
# HTTP header 'Content-Type'
|
|
690
664
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
691
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
692
665
|
|
|
693
666
|
# form parameters
|
|
694
667
|
form_params = opts[:form_params] || {}
|
|
@@ -723,7 +696,6 @@ module PulpFileClient
|
|
|
723
696
|
# @param file_file_remote_href [String]
|
|
724
697
|
# @param set_label [SetLabel]
|
|
725
698
|
# @param [Hash] opts the optional parameters
|
|
726
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
727
699
|
# @return [SetLabelResponse]
|
|
728
700
|
def set_label(file_file_remote_href, set_label, opts = {})
|
|
729
701
|
data, _status_code, _headers = set_label_with_http_info(file_file_remote_href, set_label, opts)
|
|
@@ -735,7 +707,6 @@ module PulpFileClient
|
|
|
735
707
|
# @param file_file_remote_href [String]
|
|
736
708
|
# @param set_label [SetLabel]
|
|
737
709
|
# @param [Hash] opts the optional parameters
|
|
738
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
739
710
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
740
711
|
def set_label_with_http_info(file_file_remote_href, set_label, opts = {})
|
|
741
712
|
if @api_client.config.debugging
|
|
@@ -761,7 +732,6 @@ module PulpFileClient
|
|
|
761
732
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
762
733
|
# HTTP header 'Content-Type'
|
|
763
734
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
764
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
765
735
|
|
|
766
736
|
# form parameters
|
|
767
737
|
form_params = opts[:form_params] || {}
|
|
@@ -796,7 +766,6 @@ module PulpFileClient
|
|
|
796
766
|
# @param file_file_remote_href [String]
|
|
797
767
|
# @param unset_label [UnsetLabel]
|
|
798
768
|
# @param [Hash] opts the optional parameters
|
|
799
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
800
769
|
# @return [UnsetLabelResponse]
|
|
801
770
|
def unset_label(file_file_remote_href, unset_label, opts = {})
|
|
802
771
|
data, _status_code, _headers = unset_label_with_http_info(file_file_remote_href, unset_label, opts)
|
|
@@ -808,7 +777,6 @@ module PulpFileClient
|
|
|
808
777
|
# @param file_file_remote_href [String]
|
|
809
778
|
# @param unset_label [UnsetLabel]
|
|
810
779
|
# @param [Hash] opts the optional parameters
|
|
811
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
812
780
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
813
781
|
def unset_label_with_http_info(file_file_remote_href, unset_label, opts = {})
|
|
814
782
|
if @api_client.config.debugging
|
|
@@ -834,7 +802,6 @@ module PulpFileClient
|
|
|
834
802
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
835
803
|
# HTTP header 'Content-Type'
|
|
836
804
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
837
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
838
805
|
|
|
839
806
|
# form parameters
|
|
840
807
|
form_params = opts[:form_params] || {}
|
|
@@ -869,7 +836,6 @@ module PulpFileClient
|
|
|
869
836
|
# @param file_file_remote_href [String]
|
|
870
837
|
# @param file_file_remote [FileFileRemote]
|
|
871
838
|
# @param [Hash] opts the optional parameters
|
|
872
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
873
839
|
# @return [AsyncOperationResponse]
|
|
874
840
|
def update(file_file_remote_href, file_file_remote, opts = {})
|
|
875
841
|
data, _status_code, _headers = update_with_http_info(file_file_remote_href, file_file_remote, opts)
|
|
@@ -881,7 +847,6 @@ module PulpFileClient
|
|
|
881
847
|
# @param file_file_remote_href [String]
|
|
882
848
|
# @param file_file_remote [FileFileRemote]
|
|
883
849
|
# @param [Hash] opts the optional parameters
|
|
884
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
885
850
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
886
851
|
def update_with_http_info(file_file_remote_href, file_file_remote, opts = {})
|
|
887
852
|
if @api_client.config.debugging
|
|
@@ -907,7 +872,6 @@ module PulpFileClient
|
|
|
907
872
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
908
873
|
# HTTP header 'Content-Type'
|
|
909
874
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
910
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
911
875
|
|
|
912
876
|
# form parameters
|
|
913
877
|
form_params = opts[:form_params] || {}
|