pulp_maven_client 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/docs/ContentArtifactApi.md +28 -12
- data/docs/DistributionsMavenApi.md +52 -24
- data/docs/MavenMavenArtifactResponse.md +2 -0
- data/docs/MavenMavenRemoteResponse.md +1 -1
- data/docs/PulpMavenApi.md +10 -4
- data/docs/RemotesMavenApi.md +52 -24
- data/docs/RepositoriesMavenApi.md +60 -28
- data/docs/RepositoriesMavenVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_maven_client/api/content_artifact_api.rb +15 -0
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +24 -0
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +6 -0
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +24 -0
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +27 -0
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +15 -3
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +10 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +0 -15
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +0 -15
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +0 -15
- data/lib/pulp_maven_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_maven_client/version.rb +1 -1
- data/pulp_maven_client.gemspec +0 -1
- data/spec/api/content_artifact_api_spec.rb +5 -0
- data/spec/api/distributions_maven_api_spec.rb +8 -0
- data/spec/api/pulp_maven_api_spec.rb +2 -0
- data/spec/api/remotes_maven_api_spec.rb +8 -0
- data/spec/api/repositories_maven_api_spec.rb +9 -0
- data/spec/api/repositories_maven_versions_api_spec.rb +5 -1
- data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +25 -45
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> <AsyncOperationResponse> delete(maven_maven_repository_version_href)
|
15
|
+
> <AsyncOperationResponse> delete(maven_maven_repository_version_href, opts)
|
16
16
|
|
17
17
|
Delete a repository version
|
18
18
|
|
@@ -32,10 +32,13 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
34
34
|
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
35
|
+
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
37
|
+
}
|
35
38
|
|
36
39
|
begin
|
37
40
|
# Delete a repository version
|
38
|
-
result = api_instance.delete(maven_maven_repository_version_href)
|
41
|
+
result = api_instance.delete(maven_maven_repository_version_href, opts)
|
39
42
|
p result
|
40
43
|
rescue PulpMavenClient::ApiError => e
|
41
44
|
puts "Error when calling RepositoriesMavenVersionsApi->delete: #{e}"
|
@@ -46,12 +49,12 @@ end
|
|
46
49
|
|
47
50
|
This returns an Array which contains the response data, status code and headers.
|
48
51
|
|
49
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_repository_version_href)
|
52
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_repository_version_href, opts)
|
50
53
|
|
51
54
|
```ruby
|
52
55
|
begin
|
53
56
|
# Delete a repository version
|
54
|
-
data, status_code, headers = api_instance.delete_with_http_info(maven_maven_repository_version_href)
|
57
|
+
data, status_code, headers = api_instance.delete_with_http_info(maven_maven_repository_version_href, opts)
|
55
58
|
p status_code # => 2xx
|
56
59
|
p headers # => { ... }
|
57
60
|
p data # => <AsyncOperationResponse>
|
@@ -65,6 +68,7 @@ end
|
|
65
68
|
| Name | Type | Description | Notes |
|
66
69
|
| ---- | ---- | ----------- | ----- |
|
67
70
|
| **maven_maven_repository_version_href** | **String** | | |
|
71
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
68
72
|
|
69
73
|
### Return type
|
70
74
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
104
108
|
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
107
112
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
108
113
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -113,7 +118,7 @@ opts = {
|
|
113
118
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
114
119
|
number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
|
115
120
|
offset: 56, # Integer | The initial index from which to return the results.
|
116
|
-
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
121
|
+
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
122
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
118
123
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
119
124
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -160,6 +165,7 @@ end
|
|
160
165
|
| Name | Type | Description | Notes |
|
161
166
|
| ---- | ---- | ----------- | ----- |
|
162
167
|
| **maven_maven_repository_href** | **String** | | |
|
168
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
163
169
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
164
170
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
165
171
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -170,7 +176,7 @@ end
|
|
170
176
|
| **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
|
171
177
|
| **number__range** | [**Array<Integer>**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
|
172
178
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
173
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
179
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
174
180
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
175
181
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
176
182
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -221,6 +227,7 @@ end
|
|
221
227
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
222
228
|
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
223
229
|
opts = {
|
230
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
224
231
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
225
232
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
226
233
|
}
|
@@ -257,6 +264,7 @@ end
|
|
257
264
|
| Name | Type | Description | Notes |
|
258
265
|
| ---- | ---- | ----------- | ----- |
|
259
266
|
| **maven_maven_repository_version_href** | **String** | | |
|
267
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
260
268
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
261
269
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
262
270
|
|
@@ -276,7 +284,7 @@ end
|
|
276
284
|
|
277
285
|
## repair
|
278
286
|
|
279
|
-
> <AsyncOperationResponse> repair(maven_maven_repository_version_href, repair)
|
287
|
+
> <AsyncOperationResponse> repair(maven_maven_repository_version_href, repair, opts)
|
280
288
|
|
281
289
|
|
282
290
|
|
@@ -297,10 +305,13 @@ end
|
|
297
305
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
298
306
|
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
299
307
|
repair = PulpMavenClient::Repair.new # Repair |
|
308
|
+
opts = {
|
309
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
310
|
+
}
|
300
311
|
|
301
312
|
begin
|
302
313
|
|
303
|
-
result = api_instance.repair(maven_maven_repository_version_href, repair)
|
314
|
+
result = api_instance.repair(maven_maven_repository_version_href, repair, opts)
|
304
315
|
p result
|
305
316
|
rescue PulpMavenClient::ApiError => e
|
306
317
|
puts "Error when calling RepositoriesMavenVersionsApi->repair: #{e}"
|
@@ -311,12 +322,12 @@ end
|
|
311
322
|
|
312
323
|
This returns an Array which contains the response data, status code and headers.
|
313
324
|
|
314
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(maven_maven_repository_version_href, repair)
|
325
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(maven_maven_repository_version_href, repair, opts)
|
315
326
|
|
316
327
|
```ruby
|
317
328
|
begin
|
318
329
|
|
319
|
-
data, status_code, headers = api_instance.repair_with_http_info(maven_maven_repository_version_href, repair)
|
330
|
+
data, status_code, headers = api_instance.repair_with_http_info(maven_maven_repository_version_href, repair, opts)
|
320
331
|
p status_code # => 2xx
|
321
332
|
p headers # => { ... }
|
322
333
|
p data # => <AsyncOperationResponse>
|
@@ -331,6 +342,7 @@ end
|
|
331
342
|
| ---- | ---- | ----------- | ----- |
|
332
343
|
| **maven_maven_repository_version_href** | **String** | | |
|
333
344
|
| **repair** | [**Repair**](Repair.md) | | |
|
345
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
334
346
|
|
335
347
|
### Return type
|
336
348
|
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | | [optional][readonly] |
|
13
13
|
| **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional] |
|
14
14
|
| **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional][readonly] |
|
15
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = PulpMavenClient::RepositoryVersionResponse.new(
|
|
26
27
|
number: null,
|
27
28
|
repository: null,
|
28
29
|
base_version: null,
|
29
|
-
content_summary: null
|
30
|
+
content_summary: null,
|
31
|
+
vuln_report: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -23,6 +23,7 @@ module PulpMavenClient
|
|
23
23
|
# A ViewSet for MavenArtifact.
|
24
24
|
# @param maven_maven_artifact [MavenMavenArtifact]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [MavenMavenArtifactResponse]
|
27
28
|
def create(maven_maven_artifact, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(maven_maven_artifact, opts)
|
@@ -33,6 +34,7 @@ module PulpMavenClient
|
|
33
34
|
# A ViewSet for MavenArtifact.
|
34
35
|
# @param maven_maven_artifact [MavenMavenArtifact]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(MavenMavenArtifactResponse, Integer, Hash)>] MavenMavenArtifactResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(maven_maven_artifact, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpMavenClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -90,6 +93,7 @@ module PulpMavenClient
|
|
90
93
|
# List maven artifacts
|
91
94
|
# A ViewSet for MavenArtifact.
|
92
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
97
|
# @option opts [String] :artifact_id Filter results where artifact_id matches value
|
94
98
|
# @option opts [String] :filename Filter results where filename matches value
|
95
99
|
# @option opts [String] :group_id Filter results where group_id matches value
|
@@ -117,6 +121,7 @@ module PulpMavenClient
|
|
117
121
|
# List maven artifacts
|
118
122
|
# A ViewSet for MavenArtifact.
|
119
123
|
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
120
125
|
# @option opts [String] :artifact_id Filter results where artifact_id matches value
|
121
126
|
# @option opts [String] :filename Filter results where filename matches value
|
122
127
|
# @option opts [String] :group_id Filter results where group_id matches value
|
@@ -172,6 +177,7 @@ module PulpMavenClient
|
|
172
177
|
header_params = opts[:header_params] || {}
|
173
178
|
# HTTP header 'Accept' (if needed)
|
174
179
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
180
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
175
181
|
|
176
182
|
# form parameters
|
177
183
|
form_params = opts[:form_params] || {}
|
@@ -206,6 +212,7 @@ module PulpMavenClient
|
|
206
212
|
# A ViewSet for MavenArtifact.
|
207
213
|
# @param maven_maven_artifact_href [String]
|
208
214
|
# @param [Hash] opts the optional parameters
|
215
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
209
216
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
217
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
218
|
# @return [MavenMavenArtifactResponse]
|
@@ -218,6 +225,7 @@ module PulpMavenClient
|
|
218
225
|
# A ViewSet for MavenArtifact.
|
219
226
|
# @param maven_maven_artifact_href [String]
|
220
227
|
# @param [Hash] opts the optional parameters
|
228
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
221
229
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
222
230
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
223
231
|
# @return [Array<(MavenMavenArtifactResponse, Integer, Hash)>] MavenMavenArtifactResponse data, response status code and response headers
|
@@ -241,6 +249,7 @@ module PulpMavenClient
|
|
241
249
|
header_params = opts[:header_params] || {}
|
242
250
|
# HTTP header 'Accept' (if needed)
|
243
251
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
252
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
244
253
|
|
245
254
|
# form parameters
|
246
255
|
form_params = opts[:form_params] || {}
|
@@ -276,6 +285,7 @@ module PulpMavenClient
|
|
276
285
|
# @param maven_maven_artifact_href [String]
|
277
286
|
# @param set_label [SetLabel]
|
278
287
|
# @param [Hash] opts the optional parameters
|
288
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
279
289
|
# @return [SetLabelResponse]
|
280
290
|
def set_label(maven_maven_artifact_href, set_label, opts = {})
|
281
291
|
data, _status_code, _headers = set_label_with_http_info(maven_maven_artifact_href, set_label, opts)
|
@@ -287,6 +297,7 @@ module PulpMavenClient
|
|
287
297
|
# @param maven_maven_artifact_href [String]
|
288
298
|
# @param set_label [SetLabel]
|
289
299
|
# @param [Hash] opts the optional parameters
|
300
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
290
301
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
291
302
|
def set_label_with_http_info(maven_maven_artifact_href, set_label, opts = {})
|
292
303
|
if @api_client.config.debugging
|
@@ -315,6 +326,7 @@ module PulpMavenClient
|
|
315
326
|
if !content_type.nil?
|
316
327
|
header_params['Content-Type'] = content_type
|
317
328
|
end
|
329
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
318
330
|
|
319
331
|
# form parameters
|
320
332
|
form_params = opts[:form_params] || {}
|
@@ -350,6 +362,7 @@ module PulpMavenClient
|
|
350
362
|
# @param maven_maven_artifact_href [String]
|
351
363
|
# @param unset_label [UnsetLabel]
|
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
|
# @return [UnsetLabelResponse]
|
354
367
|
def unset_label(maven_maven_artifact_href, unset_label, opts = {})
|
355
368
|
data, _status_code, _headers = unset_label_with_http_info(maven_maven_artifact_href, unset_label, opts)
|
@@ -361,6 +374,7 @@ module PulpMavenClient
|
|
361
374
|
# @param maven_maven_artifact_href [String]
|
362
375
|
# @param unset_label [UnsetLabel]
|
363
376
|
# @param [Hash] opts the optional parameters
|
377
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
364
378
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
365
379
|
def unset_label_with_http_info(maven_maven_artifact_href, unset_label, opts = {})
|
366
380
|
if @api_client.config.debugging
|
@@ -389,6 +403,7 @@ module PulpMavenClient
|
|
389
403
|
if !content_type.nil?
|
390
404
|
header_params['Content-Type'] = content_type
|
391
405
|
end
|
406
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
392
407
|
|
393
408
|
# form parameters
|
394
409
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpMavenClient
|
|
23
23
|
# Trigger an asynchronous create task
|
24
24
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(maven_maven_distribution, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(maven_maven_distribution, opts)
|
@@ -33,6 +34,7 @@ module PulpMavenClient
|
|
33
34
|
# Trigger an asynchronous create task
|
34
35
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(maven_maven_distribution, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpMavenClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpMavenClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param maven_maven_distribution_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(maven_maven_distribution_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(maven_maven_distribution_href, opts)
|
@@ -101,6 +105,7 @@ module PulpMavenClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param maven_maven_distribution_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(maven_maven_distribution_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpMavenClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpMavenClient
|
|
153
159
|
# List maven distributions
|
154
160
|
# ViewSet for Maven Distributions.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [String] :base_path Filter results where base_path matches value
|
157
164
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
158
165
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -189,6 +196,7 @@ module PulpMavenClient
|
|
189
196
|
# List maven distributions
|
190
197
|
# ViewSet for Maven Distributions.
|
191
198
|
# @param [Hash] opts the optional parameters
|
199
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
192
200
|
# @option opts [String] :base_path Filter results where base_path matches value
|
193
201
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
194
202
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -262,6 +270,7 @@ module PulpMavenClient
|
|
262
270
|
header_params = opts[:header_params] || {}
|
263
271
|
# HTTP header 'Accept' (if needed)
|
264
272
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
273
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
265
274
|
|
266
275
|
# form parameters
|
267
276
|
form_params = opts[:form_params] || {}
|
@@ -297,6 +306,7 @@ module PulpMavenClient
|
|
297
306
|
# @param maven_maven_distribution_href [String]
|
298
307
|
# @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
|
299
308
|
# @param [Hash] opts the optional parameters
|
309
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
300
310
|
# @return [AsyncOperationResponse]
|
301
311
|
def partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
|
302
312
|
data, _status_code, _headers = partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
@@ -308,6 +318,7 @@ module PulpMavenClient
|
|
308
318
|
# @param maven_maven_distribution_href [String]
|
309
319
|
# @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
|
310
320
|
# @param [Hash] opts the optional parameters
|
321
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
311
322
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
312
323
|
def partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
|
313
324
|
if @api_client.config.debugging
|
@@ -336,6 +347,7 @@ module PulpMavenClient
|
|
336
347
|
if !content_type.nil?
|
337
348
|
header_params['Content-Type'] = content_type
|
338
349
|
end
|
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 PulpMavenClient
|
|
370
382
|
# ViewSet for Maven Distributions.
|
371
383
|
# @param maven_maven_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 [MavenMavenDistributionResponse]
|
@@ -382,6 +395,7 @@ module PulpMavenClient
|
|
382
395
|
# ViewSet for Maven Distributions.
|
383
396
|
# @param maven_maven_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<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
|
@@ -405,6 +419,7 @@ module PulpMavenClient
|
|
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] || {}
|
@@ -440,6 +455,7 @@ module PulpMavenClient
|
|
440
455
|
# @param maven_maven_distribution_href [String]
|
441
456
|
# @param set_label [SetLabel]
|
442
457
|
# @param [Hash] opts the optional parameters
|
458
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
443
459
|
# @return [SetLabelResponse]
|
444
460
|
def set_label(maven_maven_distribution_href, set_label, opts = {})
|
445
461
|
data, _status_code, _headers = set_label_with_http_info(maven_maven_distribution_href, set_label, opts)
|
@@ -451,6 +467,7 @@ module PulpMavenClient
|
|
451
467
|
# @param maven_maven_distribution_href [String]
|
452
468
|
# @param set_label [SetLabel]
|
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
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
455
472
|
def set_label_with_http_info(maven_maven_distribution_href, set_label, opts = {})
|
456
473
|
if @api_client.config.debugging
|
@@ -479,6 +496,7 @@ module PulpMavenClient
|
|
479
496
|
if !content_type.nil?
|
480
497
|
header_params['Content-Type'] = content_type
|
481
498
|
end
|
499
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
482
500
|
|
483
501
|
# form parameters
|
484
502
|
form_params = opts[:form_params] || {}
|
@@ -514,6 +532,7 @@ module PulpMavenClient
|
|
514
532
|
# @param maven_maven_distribution_href [String]
|
515
533
|
# @param unset_label [UnsetLabel]
|
516
534
|
# @param [Hash] opts the optional parameters
|
535
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
517
536
|
# @return [UnsetLabelResponse]
|
518
537
|
def unset_label(maven_maven_distribution_href, unset_label, opts = {})
|
519
538
|
data, _status_code, _headers = unset_label_with_http_info(maven_maven_distribution_href, unset_label, opts)
|
@@ -525,6 +544,7 @@ module PulpMavenClient
|
|
525
544
|
# @param maven_maven_distribution_href [String]
|
526
545
|
# @param unset_label [UnsetLabel]
|
527
546
|
# @param [Hash] opts the optional parameters
|
547
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
528
548
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
529
549
|
def unset_label_with_http_info(maven_maven_distribution_href, unset_label, opts = {})
|
530
550
|
if @api_client.config.debugging
|
@@ -553,6 +573,7 @@ module PulpMavenClient
|
|
553
573
|
if !content_type.nil?
|
554
574
|
header_params['Content-Type'] = content_type
|
555
575
|
end
|
576
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
556
577
|
|
557
578
|
# form parameters
|
558
579
|
form_params = opts[:form_params] || {}
|
@@ -588,6 +609,7 @@ module PulpMavenClient
|
|
588
609
|
# @param maven_maven_distribution_href [String]
|
589
610
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
590
611
|
# @param [Hash] opts the optional parameters
|
612
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
591
613
|
# @return [AsyncOperationResponse]
|
592
614
|
def update(maven_maven_distribution_href, maven_maven_distribution, opts = {})
|
593
615
|
data, _status_code, _headers = update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
@@ -599,6 +621,7 @@ module PulpMavenClient
|
|
599
621
|
# @param maven_maven_distribution_href [String]
|
600
622
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
601
623
|
# @param [Hash] opts the optional parameters
|
624
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
602
625
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
603
626
|
def update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts = {})
|
604
627
|
if @api_client.config.debugging
|
@@ -627,6 +650,7 @@ module PulpMavenClient
|
|
627
650
|
if !content_type.nil?
|
628
651
|
header_params['Content-Type'] = content_type
|
629
652
|
end
|
653
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
630
654
|
|
631
655
|
# form parameters
|
632
656
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpMavenClient
|
|
23
23
|
# @param name [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
27
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
28
29
|
# @return [nil]
|
@@ -35,6 +36,7 @@ module PulpMavenClient
|
|
35
36
|
# @param name [String]
|
36
37
|
# @param path [String]
|
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 [Array<String>] :fields A list of fields to include in the response.
|
39
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
42
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -70,6 +72,7 @@ module PulpMavenClient
|
|
70
72
|
|
71
73
|
# header parameters
|
72
74
|
header_params = opts[:header_params] || {}
|
75
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
73
76
|
|
74
77
|
# form parameters
|
75
78
|
form_params = opts[:form_params] || {}
|
@@ -104,6 +107,7 @@ module PulpMavenClient
|
|
104
107
|
# @param name [String]
|
105
108
|
# @param path [String]
|
106
109
|
# @param [Hash] opts the optional parameters
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
107
111
|
# @return [nil]
|
108
112
|
def put(name, path, opts = {})
|
109
113
|
put_with_http_info(name, path, opts)
|
@@ -114,6 +118,7 @@ module PulpMavenClient
|
|
114
118
|
# @param name [String]
|
115
119
|
# @param path [String]
|
116
120
|
# @param [Hash] opts the optional parameters
|
121
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
117
122
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
118
123
|
def put_with_http_info(name, path, opts = {})
|
119
124
|
if @api_client.config.debugging
|
@@ -145,6 +150,7 @@ module PulpMavenClient
|
|
145
150
|
|
146
151
|
# header parameters
|
147
152
|
header_params = opts[:header_params] || {}
|
153
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
148
154
|
|
149
155
|
# form parameters
|
150
156
|
form_params = opts[:form_params] || {}
|