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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/docs/ContentArtifactApi.md +28 -12
  4. data/docs/DistributionsMavenApi.md +52 -24
  5. data/docs/MavenMavenArtifactResponse.md +2 -0
  6. data/docs/MavenMavenRemoteResponse.md +1 -1
  7. data/docs/PulpMavenApi.md +10 -4
  8. data/docs/RemotesMavenApi.md +52 -24
  9. data/docs/RepositoriesMavenApi.md +60 -28
  10. data/docs/RepositoriesMavenVersionsApi.md +22 -10
  11. data/docs/RepositoryVersionResponse.md +3 -1
  12. data/lib/pulp_maven_client/api/content_artifact_api.rb +15 -0
  13. data/lib/pulp_maven_client/api/distributions_maven_api.rb +24 -0
  14. data/lib/pulp_maven_client/api/pulp_maven_api.rb +6 -0
  15. data/lib/pulp_maven_client/api/remotes_maven_api.rb +24 -0
  16. data/lib/pulp_maven_client/api/repositories_maven_api.rb +27 -0
  17. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +15 -3
  18. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +10 -1
  19. data/lib/pulp_maven_client/models/maven_maven_remote.rb +0 -15
  20. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +0 -15
  21. data/lib/pulp_maven_client/models/maven_maven_repository.rb +0 -15
  22. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +0 -15
  23. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +0 -2
  24. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +0 -2
  25. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +0 -2
  26. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +0 -2
  27. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +0 -2
  28. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +0 -15
  29. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +0 -15
  30. data/lib/pulp_maven_client/models/repository_version_response.rb +13 -4
  31. data/lib/pulp_maven_client/version.rb +1 -1
  32. data/pulp_maven_client.gemspec +0 -1
  33. data/spec/api/content_artifact_api_spec.rb +5 -0
  34. data/spec/api/distributions_maven_api_spec.rb +8 -0
  35. data/spec/api/pulp_maven_api_spec.rb +2 -0
  36. data/spec/api/remotes_maven_api_spec.rb +8 -0
  37. data/spec/api/repositories_maven_api_spec.rb +9 -0
  38. data/spec/api/repositories_maven_versions_api_spec.rb +5 -1
  39. data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
  40. data/spec/models/repository_version_response_spec.rb +6 -0
  41. metadata +25 -45
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
16
16
 
17
17
  ## create
18
18
 
19
- > <MavenMavenRemoteResponse> create(maven_maven_remote)
19
+ > <MavenMavenRemoteResponse> create(maven_maven_remote, opts)
20
20
 
21
21
  Create a maven remote
22
22
 
@@ -36,10 +36,13 @@ end
36
36
 
37
37
  api_instance = PulpMavenClient::RemotesMavenApi.new
38
38
  maven_maven_remote = PulpMavenClient::MavenMavenRemote.new({name: 'name_example', url: 'url_example'}) # MavenMavenRemote |
39
+ opts = {
40
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
41
+ }
39
42
 
40
43
  begin
41
44
  # Create a maven remote
42
- result = api_instance.create(maven_maven_remote)
45
+ result = api_instance.create(maven_maven_remote, opts)
43
46
  p result
44
47
  rescue PulpMavenClient::ApiError => e
45
48
  puts "Error when calling RemotesMavenApi->create: #{e}"
@@ -50,12 +53,12 @@ end
50
53
 
51
54
  This returns an Array which contains the response data, status code and headers.
52
55
 
53
- > <Array(<MavenMavenRemoteResponse>, Integer, Hash)> create_with_http_info(maven_maven_remote)
56
+ > <Array(<MavenMavenRemoteResponse>, Integer, Hash)> create_with_http_info(maven_maven_remote, opts)
54
57
 
55
58
  ```ruby
56
59
  begin
57
60
  # Create a maven remote
58
- data, status_code, headers = api_instance.create_with_http_info(maven_maven_remote)
61
+ data, status_code, headers = api_instance.create_with_http_info(maven_maven_remote, opts)
59
62
  p status_code # => 2xx
60
63
  p headers # => { ... }
61
64
  p data # => <MavenMavenRemoteResponse>
@@ -69,6 +72,7 @@ end
69
72
  | Name | Type | Description | Notes |
70
73
  | ---- | ---- | ----------- | ----- |
71
74
  | **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md) | | |
75
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
72
76
 
73
77
  ### Return type
74
78
 
@@ -86,7 +90,7 @@ end
86
90
 
87
91
  ## delete
88
92
 
89
- > <AsyncOperationResponse> delete(maven_maven_remote_href)
93
+ > <AsyncOperationResponse> delete(maven_maven_remote_href, opts)
90
94
 
91
95
  Delete a maven remote
92
96
 
@@ -106,10 +110,13 @@ end
106
110
 
107
111
  api_instance = PulpMavenClient::RemotesMavenApi.new
108
112
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
113
+ opts = {
114
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
115
+ }
109
116
 
110
117
  begin
111
118
  # Delete a maven remote
112
- result = api_instance.delete(maven_maven_remote_href)
119
+ result = api_instance.delete(maven_maven_remote_href, opts)
113
120
  p result
114
121
  rescue PulpMavenClient::ApiError => e
115
122
  puts "Error when calling RemotesMavenApi->delete: #{e}"
@@ -120,12 +127,12 @@ end
120
127
 
121
128
  This returns an Array which contains the response data, status code and headers.
122
129
 
123
- > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_remote_href)
130
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_remote_href, opts)
124
131
 
125
132
  ```ruby
126
133
  begin
127
134
  # Delete a maven remote
128
- data, status_code, headers = api_instance.delete_with_http_info(maven_maven_remote_href)
135
+ data, status_code, headers = api_instance.delete_with_http_info(maven_maven_remote_href, opts)
129
136
  p status_code # => 2xx
130
137
  p headers # => { ... }
131
138
  p data # => <AsyncOperationResponse>
@@ -139,6 +146,7 @@ end
139
146
  | Name | Type | Description | Notes |
140
147
  | ---- | ---- | ----------- | ----- |
141
148
  | **maven_maven_remote_href** | **String** | | |
149
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
142
150
 
143
151
  ### Return type
144
152
 
@@ -176,6 +184,7 @@ end
176
184
 
177
185
  api_instance = PulpMavenClient::RemotesMavenApi.new
178
186
  opts = {
187
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
179
188
  limit: 56, # Integer | Number of results to return per page.
180
189
  name: 'name_example', # String | Filter results where name matches value
181
190
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -235,6 +244,7 @@ end
235
244
 
236
245
  | Name | Type | Description | Notes |
237
246
  | ---- | ---- | ----------- | ----- |
247
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
238
248
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
239
249
  | **name** | **String** | Filter results where name matches value | [optional] |
240
250
  | **name__contains** | **String** | Filter results where name contains value | [optional] |
@@ -278,7 +288,7 @@ end
278
288
 
279
289
  ## partial_update
280
290
 
281
- > <AsyncOperationResponse> partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
291
+ > <AsyncOperationResponse> partial_update(maven_maven_remote_href, patchedmaven_maven_remote, opts)
282
292
 
283
293
  Update a maven remote
284
294
 
@@ -299,10 +309,13 @@ end
299
309
  api_instance = PulpMavenClient::RemotesMavenApi.new
300
310
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
301
311
  patchedmaven_maven_remote = PulpMavenClient::PatchedmavenMavenRemote.new # PatchedmavenMavenRemote |
312
+ opts = {
313
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
314
+ }
302
315
 
303
316
  begin
304
317
  # Update a maven remote
305
- result = api_instance.partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
318
+ result = api_instance.partial_update(maven_maven_remote_href, patchedmaven_maven_remote, opts)
306
319
  p result
307
320
  rescue PulpMavenClient::ApiError => e
308
321
  puts "Error when calling RemotesMavenApi->partial_update: #{e}"
@@ -313,12 +326,12 @@ end
313
326
 
314
327
  This returns an Array which contains the response data, status code and headers.
315
328
 
316
- > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote)
329
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
317
330
 
318
331
  ```ruby
319
332
  begin
320
333
  # Update a maven remote
321
- data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote)
334
+ data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
322
335
  p status_code # => 2xx
323
336
  p headers # => { ... }
324
337
  p data # => <AsyncOperationResponse>
@@ -333,6 +346,7 @@ end
333
346
  | ---- | ---- | ----------- | ----- |
334
347
  | **maven_maven_remote_href** | **String** | | |
335
348
  | **patchedmaven_maven_remote** | [**PatchedmavenMavenRemote**](PatchedmavenMavenRemote.md) | | |
349
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
336
350
 
337
351
  ### Return type
338
352
 
@@ -371,6 +385,7 @@ end
371
385
  api_instance = PulpMavenClient::RemotesMavenApi.new
372
386
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
373
387
  opts = {
388
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
374
389
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
375
390
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
376
391
  }
@@ -407,6 +422,7 @@ end
407
422
  | Name | Type | Description | Notes |
408
423
  | ---- | ---- | ----------- | ----- |
409
424
  | **maven_maven_remote_href** | **String** | | |
425
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
410
426
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
411
427
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
412
428
 
@@ -426,7 +442,7 @@ end
426
442
 
427
443
  ## set_label
428
444
 
429
- > <SetLabelResponse> set_label(maven_maven_remote_href, set_label)
445
+ > <SetLabelResponse> set_label(maven_maven_remote_href, set_label, opts)
430
446
 
431
447
  Set a label
432
448
 
@@ -447,10 +463,13 @@ end
447
463
  api_instance = PulpMavenClient::RemotesMavenApi.new
448
464
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
449
465
  set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
466
+ opts = {
467
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
468
+ }
450
469
 
451
470
  begin
452
471
  # Set a label
453
- result = api_instance.set_label(maven_maven_remote_href, set_label)
472
+ result = api_instance.set_label(maven_maven_remote_href, set_label, opts)
454
473
  p result
455
474
  rescue PulpMavenClient::ApiError => e
456
475
  puts "Error when calling RemotesMavenApi->set_label: #{e}"
@@ -461,12 +480,12 @@ end
461
480
 
462
481
  This returns an Array which contains the response data, status code and headers.
463
482
 
464
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_remote_href, set_label)
483
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_remote_href, set_label, opts)
465
484
 
466
485
  ```ruby
467
486
  begin
468
487
  # Set a label
469
- data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_remote_href, set_label)
488
+ data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_remote_href, set_label, opts)
470
489
  p status_code # => 2xx
471
490
  p headers # => { ... }
472
491
  p data # => <SetLabelResponse>
@@ -481,6 +500,7 @@ end
481
500
  | ---- | ---- | ----------- | ----- |
482
501
  | **maven_maven_remote_href** | **String** | | |
483
502
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
503
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
484
504
 
485
505
  ### Return type
486
506
 
@@ -498,7 +518,7 @@ end
498
518
 
499
519
  ## unset_label
500
520
 
501
- > <UnsetLabelResponse> unset_label(maven_maven_remote_href, unset_label)
521
+ > <UnsetLabelResponse> unset_label(maven_maven_remote_href, unset_label, opts)
502
522
 
503
523
  Unset a label
504
524
 
@@ -519,10 +539,13 @@ end
519
539
  api_instance = PulpMavenClient::RemotesMavenApi.new
520
540
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
521
541
  unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
542
+ opts = {
543
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
544
+ }
522
545
 
523
546
  begin
524
547
  # Unset a label
525
- result = api_instance.unset_label(maven_maven_remote_href, unset_label)
548
+ result = api_instance.unset_label(maven_maven_remote_href, unset_label, opts)
526
549
  p result
527
550
  rescue PulpMavenClient::ApiError => e
528
551
  puts "Error when calling RemotesMavenApi->unset_label: #{e}"
@@ -533,12 +556,12 @@ end
533
556
 
534
557
  This returns an Array which contains the response data, status code and headers.
535
558
 
536
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_remote_href, unset_label)
559
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_remote_href, unset_label, opts)
537
560
 
538
561
  ```ruby
539
562
  begin
540
563
  # Unset a label
541
- data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_remote_href, unset_label)
564
+ data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_remote_href, unset_label, opts)
542
565
  p status_code # => 2xx
543
566
  p headers # => { ... }
544
567
  p data # => <UnsetLabelResponse>
@@ -553,6 +576,7 @@ end
553
576
  | ---- | ---- | ----------- | ----- |
554
577
  | **maven_maven_remote_href** | **String** | | |
555
578
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
579
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
556
580
 
557
581
  ### Return type
558
582
 
@@ -570,7 +594,7 @@ end
570
594
 
571
595
  ## update
572
596
 
573
- > <AsyncOperationResponse> update(maven_maven_remote_href, maven_maven_remote)
597
+ > <AsyncOperationResponse> update(maven_maven_remote_href, maven_maven_remote, opts)
574
598
 
575
599
  Update a maven remote
576
600
 
@@ -591,10 +615,13 @@ end
591
615
  api_instance = PulpMavenClient::RemotesMavenApi.new
592
616
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
593
617
  maven_maven_remote = PulpMavenClient::MavenMavenRemote.new({name: 'name_example', url: 'url_example'}) # MavenMavenRemote |
618
+ opts = {
619
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
620
+ }
594
621
 
595
622
  begin
596
623
  # Update a maven remote
597
- result = api_instance.update(maven_maven_remote_href, maven_maven_remote)
624
+ result = api_instance.update(maven_maven_remote_href, maven_maven_remote, opts)
598
625
  p result
599
626
  rescue PulpMavenClient::ApiError => e
600
627
  puts "Error when calling RemotesMavenApi->update: #{e}"
@@ -605,12 +632,12 @@ end
605
632
 
606
633
  This returns an Array which contains the response data, status code and headers.
607
634
 
608
- > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_remote_href, maven_maven_remote)
635
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
609
636
 
610
637
  ```ruby
611
638
  begin
612
639
  # Update a maven remote
613
- data, status_code, headers = api_instance.update_with_http_info(maven_maven_remote_href, maven_maven_remote)
640
+ data, status_code, headers = api_instance.update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
614
641
  p status_code # => 2xx
615
642
  p headers # => { ... }
616
643
  p data # => <AsyncOperationResponse>
@@ -625,6 +652,7 @@ end
625
652
  | ---- | ---- | ----------- | ----- |
626
653
  | **maven_maven_remote_href** | **String** | | |
627
654
  | **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md) | | |
655
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
628
656
 
629
657
  ### Return type
630
658
 
@@ -17,7 +17,7 @@ All URIs are relative to *http://localhost:24817*
17
17
 
18
18
  ## add_cached_content
19
19
 
20
- > <AsyncOperationResponse> add_cached_content(maven_maven_repository_href, repository_add_cached_content)
20
+ > <AsyncOperationResponse> add_cached_content(maven_maven_repository_href, repository_add_cached_content, opts)
21
21
 
22
22
  Add cached content
23
23
 
@@ -38,10 +38,13 @@ end
38
38
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
39
39
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
40
40
  repository_add_cached_content = PulpMavenClient::RepositoryAddCachedContent.new # RepositoryAddCachedContent |
41
+ opts = {
42
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
43
+ }
41
44
 
42
45
  begin
43
46
  # Add cached content
44
- result = api_instance.add_cached_content(maven_maven_repository_href, repository_add_cached_content)
47
+ result = api_instance.add_cached_content(maven_maven_repository_href, repository_add_cached_content, opts)
45
48
  p result
46
49
  rescue PulpMavenClient::ApiError => e
47
50
  puts "Error when calling RepositoriesMavenApi->add_cached_content: #{e}"
@@ -52,12 +55,12 @@ end
52
55
 
53
56
  This returns an Array which contains the response data, status code and headers.
54
57
 
55
- > <Array(<AsyncOperationResponse>, Integer, Hash)> add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content)
58
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content, opts)
56
59
 
57
60
  ```ruby
58
61
  begin
59
62
  # Add cached content
60
- data, status_code, headers = api_instance.add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content)
63
+ data, status_code, headers = api_instance.add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content, opts)
61
64
  p status_code # => 2xx
62
65
  p headers # => { ... }
63
66
  p data # => <AsyncOperationResponse>
@@ -72,6 +75,7 @@ end
72
75
  | ---- | ---- | ----------- | ----- |
73
76
  | **maven_maven_repository_href** | **String** | | |
74
77
  | **repository_add_cached_content** | [**RepositoryAddCachedContent**](RepositoryAddCachedContent.md) | | |
78
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
75
79
 
76
80
  ### Return type
77
81
 
@@ -89,7 +93,7 @@ end
89
93
 
90
94
  ## create
91
95
 
92
- > <MavenMavenRepositoryResponse> create(maven_maven_repository)
96
+ > <MavenMavenRepositoryResponse> create(maven_maven_repository, opts)
93
97
 
94
98
  Create a maven repository
95
99
 
@@ -109,10 +113,13 @@ end
109
113
 
110
114
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
111
115
  maven_maven_repository = PulpMavenClient::MavenMavenRepository.new({name: 'name_example'}) # MavenMavenRepository |
116
+ opts = {
117
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
118
+ }
112
119
 
113
120
  begin
114
121
  # Create a maven repository
115
- result = api_instance.create(maven_maven_repository)
122
+ result = api_instance.create(maven_maven_repository, opts)
116
123
  p result
117
124
  rescue PulpMavenClient::ApiError => e
118
125
  puts "Error when calling RepositoriesMavenApi->create: #{e}"
@@ -123,12 +130,12 @@ end
123
130
 
124
131
  This returns an Array which contains the response data, status code and headers.
125
132
 
126
- > <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> create_with_http_info(maven_maven_repository)
133
+ > <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> create_with_http_info(maven_maven_repository, opts)
127
134
 
128
135
  ```ruby
129
136
  begin
130
137
  # Create a maven repository
131
- data, status_code, headers = api_instance.create_with_http_info(maven_maven_repository)
138
+ data, status_code, headers = api_instance.create_with_http_info(maven_maven_repository, opts)
132
139
  p status_code # => 2xx
133
140
  p headers # => { ... }
134
141
  p data # => <MavenMavenRepositoryResponse>
@@ -142,6 +149,7 @@ end
142
149
  | Name | Type | Description | Notes |
143
150
  | ---- | ---- | ----------- | ----- |
144
151
  | **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md) | | |
152
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
145
153
 
146
154
  ### Return type
147
155
 
@@ -159,7 +167,7 @@ end
159
167
 
160
168
  ## delete
161
169
 
162
- > <AsyncOperationResponse> delete(maven_maven_repository_href)
170
+ > <AsyncOperationResponse> delete(maven_maven_repository_href, opts)
163
171
 
164
172
  Delete a maven repository
165
173
 
@@ -179,10 +187,13 @@ end
179
187
 
180
188
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
181
189
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
190
+ opts = {
191
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
192
+ }
182
193
 
183
194
  begin
184
195
  # Delete a maven repository
185
- result = api_instance.delete(maven_maven_repository_href)
196
+ result = api_instance.delete(maven_maven_repository_href, opts)
186
197
  p result
187
198
  rescue PulpMavenClient::ApiError => e
188
199
  puts "Error when calling RepositoriesMavenApi->delete: #{e}"
@@ -193,12 +204,12 @@ end
193
204
 
194
205
  This returns an Array which contains the response data, status code and headers.
195
206
 
196
- > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_repository_href)
207
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_repository_href, opts)
197
208
 
198
209
  ```ruby
199
210
  begin
200
211
  # Delete a maven repository
201
- data, status_code, headers = api_instance.delete_with_http_info(maven_maven_repository_href)
212
+ data, status_code, headers = api_instance.delete_with_http_info(maven_maven_repository_href, opts)
202
213
  p status_code # => 2xx
203
214
  p headers # => { ... }
204
215
  p data # => <AsyncOperationResponse>
@@ -212,6 +223,7 @@ end
212
223
  | Name | Type | Description | Notes |
213
224
  | ---- | ---- | ----------- | ----- |
214
225
  | **maven_maven_repository_href** | **String** | | |
226
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
215
227
 
216
228
  ### Return type
217
229
 
@@ -249,6 +261,7 @@ end
249
261
 
250
262
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
251
263
  opts = {
264
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
252
265
  latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
253
266
  limit: 56, # Integer | Number of results to return per page.
254
267
  name: 'name_example', # String | Filter results where name matches value
@@ -312,6 +325,7 @@ end
312
325
 
313
326
  | Name | Type | Description | Notes |
314
327
  | ---- | ---- | ----------- | ----- |
328
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
315
329
  | **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
316
330
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
317
331
  | **name** | **String** | Filter results where name matches value | [optional] |
@@ -359,7 +373,7 @@ end
359
373
 
360
374
  ## partial_update
361
375
 
362
- > <AsyncOperationResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
376
+ > <AsyncOperationResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
363
377
 
364
378
  Update a maven repository
365
379
 
@@ -380,10 +394,13 @@ end
380
394
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
381
395
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
382
396
  patchedmaven_maven_repository = PulpMavenClient::PatchedmavenMavenRepository.new # PatchedmavenMavenRepository |
397
+ opts = {
398
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
399
+ }
383
400
 
384
401
  begin
385
402
  # Update a maven repository
386
- result = api_instance.partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
403
+ result = api_instance.partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
387
404
  p result
388
405
  rescue PulpMavenClient::ApiError => e
389
406
  puts "Error when calling RepositoriesMavenApi->partial_update: #{e}"
@@ -394,12 +411,12 @@ end
394
411
 
395
412
  This returns an Array which contains the response data, status code and headers.
396
413
 
397
- > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository)
414
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
398
415
 
399
416
  ```ruby
400
417
  begin
401
418
  # Update a maven repository
402
- data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository)
419
+ data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
403
420
  p status_code # => 2xx
404
421
  p headers # => { ... }
405
422
  p data # => <AsyncOperationResponse>
@@ -414,6 +431,7 @@ end
414
431
  | ---- | ---- | ----------- | ----- |
415
432
  | **maven_maven_repository_href** | **String** | | |
416
433
  | **patchedmaven_maven_repository** | [**PatchedmavenMavenRepository**](PatchedmavenMavenRepository.md) | | |
434
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
417
435
 
418
436
  ### Return type
419
437
 
@@ -452,6 +470,7 @@ end
452
470
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
453
471
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
454
472
  opts = {
473
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
455
474
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
456
475
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
457
476
  }
@@ -488,6 +507,7 @@ end
488
507
  | Name | Type | Description | Notes |
489
508
  | ---- | ---- | ----------- | ----- |
490
509
  | **maven_maven_repository_href** | **String** | | |
510
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
491
511
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
492
512
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
493
513
 
@@ -507,7 +527,7 @@ end
507
527
 
508
528
  ## set_label
509
529
 
510
- > <SetLabelResponse> set_label(maven_maven_repository_href, set_label)
530
+ > <SetLabelResponse> set_label(maven_maven_repository_href, set_label, opts)
511
531
 
512
532
  Set a label
513
533
 
@@ -528,10 +548,13 @@ end
528
548
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
529
549
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
530
550
  set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
551
+ opts = {
552
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
553
+ }
531
554
 
532
555
  begin
533
556
  # Set a label
534
- result = api_instance.set_label(maven_maven_repository_href, set_label)
557
+ result = api_instance.set_label(maven_maven_repository_href, set_label, opts)
535
558
  p result
536
559
  rescue PulpMavenClient::ApiError => e
537
560
  puts "Error when calling RepositoriesMavenApi->set_label: #{e}"
@@ -542,12 +565,12 @@ end
542
565
 
543
566
  This returns an Array which contains the response data, status code and headers.
544
567
 
545
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_repository_href, set_label)
568
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_repository_href, set_label, opts)
546
569
 
547
570
  ```ruby
548
571
  begin
549
572
  # Set a label
550
- data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_repository_href, set_label)
573
+ data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_repository_href, set_label, opts)
551
574
  p status_code # => 2xx
552
575
  p headers # => { ... }
553
576
  p data # => <SetLabelResponse>
@@ -562,6 +585,7 @@ end
562
585
  | ---- | ---- | ----------- | ----- |
563
586
  | **maven_maven_repository_href** | **String** | | |
564
587
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
588
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
565
589
 
566
590
  ### Return type
567
591
 
@@ -579,7 +603,7 @@ end
579
603
 
580
604
  ## unset_label
581
605
 
582
- > <UnsetLabelResponse> unset_label(maven_maven_repository_href, unset_label)
606
+ > <UnsetLabelResponse> unset_label(maven_maven_repository_href, unset_label, opts)
583
607
 
584
608
  Unset a label
585
609
 
@@ -600,10 +624,13 @@ end
600
624
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
601
625
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
602
626
  unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
627
+ opts = {
628
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
629
+ }
603
630
 
604
631
  begin
605
632
  # Unset a label
606
- result = api_instance.unset_label(maven_maven_repository_href, unset_label)
633
+ result = api_instance.unset_label(maven_maven_repository_href, unset_label, opts)
607
634
  p result
608
635
  rescue PulpMavenClient::ApiError => e
609
636
  puts "Error when calling RepositoriesMavenApi->unset_label: #{e}"
@@ -614,12 +641,12 @@ end
614
641
 
615
642
  This returns an Array which contains the response data, status code and headers.
616
643
 
617
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_repository_href, unset_label)
644
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_repository_href, unset_label, opts)
618
645
 
619
646
  ```ruby
620
647
  begin
621
648
  # Unset a label
622
- data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_repository_href, unset_label)
649
+ data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_repository_href, unset_label, opts)
623
650
  p status_code # => 2xx
624
651
  p headers # => { ... }
625
652
  p data # => <UnsetLabelResponse>
@@ -634,6 +661,7 @@ end
634
661
  | ---- | ---- | ----------- | ----- |
635
662
  | **maven_maven_repository_href** | **String** | | |
636
663
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
664
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
637
665
 
638
666
  ### Return type
639
667
 
@@ -651,7 +679,7 @@ end
651
679
 
652
680
  ## update
653
681
 
654
- > <AsyncOperationResponse> update(maven_maven_repository_href, maven_maven_repository)
682
+ > <AsyncOperationResponse> update(maven_maven_repository_href, maven_maven_repository, opts)
655
683
 
656
684
  Update a maven repository
657
685
 
@@ -672,10 +700,13 @@ end
672
700
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
673
701
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
674
702
  maven_maven_repository = PulpMavenClient::MavenMavenRepository.new({name: 'name_example'}) # MavenMavenRepository |
703
+ opts = {
704
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
705
+ }
675
706
 
676
707
  begin
677
708
  # Update a maven repository
678
- result = api_instance.update(maven_maven_repository_href, maven_maven_repository)
709
+ result = api_instance.update(maven_maven_repository_href, maven_maven_repository, opts)
679
710
  p result
680
711
  rescue PulpMavenClient::ApiError => e
681
712
  puts "Error when calling RepositoriesMavenApi->update: #{e}"
@@ -686,12 +717,12 @@ end
686
717
 
687
718
  This returns an Array which contains the response data, status code and headers.
688
719
 
689
- > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_repository_href, maven_maven_repository)
720
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
690
721
 
691
722
  ```ruby
692
723
  begin
693
724
  # Update a maven repository
694
- data, status_code, headers = api_instance.update_with_http_info(maven_maven_repository_href, maven_maven_repository)
725
+ data, status_code, headers = api_instance.update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
695
726
  p status_code # => 2xx
696
727
  p headers # => { ... }
697
728
  p data # => <AsyncOperationResponse>
@@ -706,6 +737,7 @@ end
706
737
  | ---- | ---- | ----------- | ----- |
707
738
  | **maven_maven_repository_href** | **String** | | |
708
739
  | **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md) | | |
740
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
709
741
 
710
742
  ### Return type
711
743