pulp_file_client 3.80.2 → 3.82.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/AcsFileApi.md +64 -28
- data/docs/ContentFilesApi.md +22 -8
- data/docs/DistributionsFileApi.md +72 -32
- data/docs/PublicationsFileApi.md +40 -16
- data/docs/RemotesFileApi.md +72 -32
- data/docs/RepositoriesFileApi.md +88 -40
- data/docs/RepositoriesFileVersionsApi.md +20 -8
- data/lib/pulp_file_client/api/acs_file_api.rb +33 -0
- data/lib/pulp_file_client/api/content_files_api.rb +15 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +36 -0
- data/lib/pulp_file_client/api/publications_file_api.rb +24 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +36 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +42 -0
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +12 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +11 -0
- data/spec/api/content_files_api_spec.rb +5 -0
- data/spec/api/distributions_file_api_spec.rb +12 -0
- data/spec/api/publications_file_api_spec.rb +8 -0
- data/spec/api/remotes_file_api_spec.rb +12 -0
- data/spec/api/repositories_file_api_spec.rb +14 -0
- data/spec/api/repositories_file_versions_api_spec.rb +4 -0
- metadata +35 -35
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
20
20
|
|
21
21
|
## add_role
|
22
22
|
|
23
|
-
> <NestedRoleResponse> add_role(file_file_distribution_href, nested_role)
|
23
|
+
> <NestedRoleResponse> add_role(file_file_distribution_href, nested_role, opts)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,10 +41,13 @@ end
|
|
41
41
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
42
42
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
43
43
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
44
|
+
opts = {
|
45
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
46
|
+
}
|
44
47
|
|
45
48
|
begin
|
46
49
|
# Add a role
|
47
|
-
result = api_instance.add_role(file_file_distribution_href, nested_role)
|
50
|
+
result = api_instance.add_role(file_file_distribution_href, nested_role, opts)
|
48
51
|
p result
|
49
52
|
rescue PulpFileClient::ApiError => e
|
50
53
|
puts "Error when calling DistributionsFileApi->add_role: #{e}"
|
@@ -55,12 +58,12 @@ end
|
|
55
58
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
57
60
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_distribution_href, nested_role)
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
59
62
|
|
60
63
|
```ruby
|
61
64
|
begin
|
62
65
|
# Add a role
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(file_file_distribution_href, nested_role)
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
64
67
|
p status_code # => 2xx
|
65
68
|
p headers # => { ... }
|
66
69
|
p data # => <NestedRoleResponse>
|
@@ -75,6 +78,7 @@ end
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
76
79
|
| **file_file_distribution_href** | **String** | | |
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
78
82
|
|
79
83
|
### Return type
|
80
84
|
|
@@ -92,7 +96,7 @@ end
|
|
92
96
|
|
93
97
|
## create
|
94
98
|
|
95
|
-
> <AsyncOperationResponse> create(file_file_distribution)
|
99
|
+
> <AsyncOperationResponse> create(file_file_distribution, opts)
|
96
100
|
|
97
101
|
Create a file distribution
|
98
102
|
|
@@ -112,10 +116,13 @@ end
|
|
112
116
|
|
113
117
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
114
118
|
file_file_distribution = PulpFileClient::FileFileDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # FileFileDistribution |
|
119
|
+
opts = {
|
120
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
|
+
}
|
115
122
|
|
116
123
|
begin
|
117
124
|
# Create a file distribution
|
118
|
-
result = api_instance.create(file_file_distribution)
|
125
|
+
result = api_instance.create(file_file_distribution, opts)
|
119
126
|
p result
|
120
127
|
rescue PulpFileClient::ApiError => e
|
121
128
|
puts "Error when calling DistributionsFileApi->create: #{e}"
|
@@ -126,12 +133,12 @@ end
|
|
126
133
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
128
135
|
|
129
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(file_file_distribution)
|
136
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(file_file_distribution, opts)
|
130
137
|
|
131
138
|
```ruby
|
132
139
|
begin
|
133
140
|
# Create a file distribution
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(file_file_distribution)
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(file_file_distribution, opts)
|
135
142
|
p status_code # => 2xx
|
136
143
|
p headers # => { ... }
|
137
144
|
p data # => <AsyncOperationResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| Name | Type | Description | Notes |
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
147
154
|
| **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md) | | |
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
148
156
|
|
149
157
|
### Return type
|
150
158
|
|
@@ -162,7 +170,7 @@ end
|
|
162
170
|
|
163
171
|
## delete
|
164
172
|
|
165
|
-
> <AsyncOperationResponse> delete(file_file_distribution_href)
|
173
|
+
> <AsyncOperationResponse> delete(file_file_distribution_href, opts)
|
166
174
|
|
167
175
|
Delete a file distribution
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
184
192
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
193
|
+
opts = {
|
194
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
195
|
+
}
|
185
196
|
|
186
197
|
begin
|
187
198
|
# Delete a file distribution
|
188
|
-
result = api_instance.delete(file_file_distribution_href)
|
199
|
+
result = api_instance.delete(file_file_distribution_href, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpFileClient::ApiError => e
|
191
202
|
puts "Error when calling DistributionsFileApi->delete: #{e}"
|
@@ -196,12 +207,12 @@ end
|
|
196
207
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
198
209
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(file_file_distribution_href)
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(file_file_distribution_href, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Delete a file distribution
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(file_file_distribution_href)
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(file_file_distribution_href, opts)
|
205
216
|
p status_code # => 2xx
|
206
217
|
p headers # => { ... }
|
207
218
|
p data # => <AsyncOperationResponse>
|
@@ -215,6 +226,7 @@ end
|
|
215
226
|
| Name | Type | Description | Notes |
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
217
228
|
| **file_file_distribution_href** | **String** | | |
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
218
230
|
|
219
231
|
### Return type
|
220
232
|
|
@@ -252,6 +264,7 @@ end
|
|
252
264
|
|
253
265
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
254
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
255
268
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
256
269
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
257
270
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
@@ -312,6 +325,7 @@ end
|
|
312
325
|
|
313
326
|
| Name | Type | Description | Notes |
|
314
327
|
| ---- | ---- | ----------- | ----- |
|
328
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
315
329
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
316
330
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
317
331
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
@@ -377,6 +391,7 @@ end
|
|
377
391
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
378
392
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
379
393
|
opts = {
|
394
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
380
395
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
381
396
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
382
397
|
}
|
@@ -413,6 +428,7 @@ end
|
|
413
428
|
| Name | Type | Description | Notes |
|
414
429
|
| ---- | ---- | ----------- | ----- |
|
415
430
|
| **file_file_distribution_href** | **String** | | |
|
431
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
416
432
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
417
433
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
418
434
|
|
@@ -453,6 +469,7 @@ end
|
|
453
469
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
454
470
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
455
471
|
opts = {
|
472
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
456
473
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
457
474
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
458
475
|
}
|
@@ -489,6 +506,7 @@ end
|
|
489
506
|
| Name | Type | Description | Notes |
|
490
507
|
| ---- | ---- | ----------- | ----- |
|
491
508
|
| **file_file_distribution_href** | **String** | | |
|
509
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
492
510
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
493
511
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
494
512
|
|
@@ -508,7 +526,7 @@ end
|
|
508
526
|
|
509
527
|
## partial_update
|
510
528
|
|
511
|
-
> <AsyncOperationResponse> partial_update(file_file_distribution_href, patchedfile_file_distribution)
|
529
|
+
> <AsyncOperationResponse> partial_update(file_file_distribution_href, patchedfile_file_distribution, opts)
|
512
530
|
|
513
531
|
Update a file distribution
|
514
532
|
|
@@ -529,10 +547,13 @@ end
|
|
529
547
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
530
548
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
531
549
|
patchedfile_file_distribution = PulpFileClient::PatchedfileFileDistribution.new # PatchedfileFileDistribution |
|
550
|
+
opts = {
|
551
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
552
|
+
}
|
532
553
|
|
533
554
|
begin
|
534
555
|
# Update a file distribution
|
535
|
-
result = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution)
|
556
|
+
result = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution, opts)
|
536
557
|
p result
|
537
558
|
rescue PulpFileClient::ApiError => e
|
538
559
|
puts "Error when calling DistributionsFileApi->partial_update: #{e}"
|
@@ -543,12 +564,12 @@ end
|
|
543
564
|
|
544
565
|
This returns an Array which contains the response data, status code and headers.
|
545
566
|
|
546
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution)
|
567
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts)
|
547
568
|
|
548
569
|
```ruby
|
549
570
|
begin
|
550
571
|
# Update a file distribution
|
551
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution)
|
572
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts)
|
552
573
|
p status_code # => 2xx
|
553
574
|
p headers # => { ... }
|
554
575
|
p data # => <AsyncOperationResponse>
|
@@ -563,6 +584,7 @@ end
|
|
563
584
|
| ---- | ---- | ----------- | ----- |
|
564
585
|
| **file_file_distribution_href** | **String** | | |
|
565
586
|
| **patchedfile_file_distribution** | [**PatchedfileFileDistribution**](PatchedfileFileDistribution.md) | | |
|
587
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
566
588
|
|
567
589
|
### Return type
|
568
590
|
|
@@ -601,6 +623,7 @@ end
|
|
601
623
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
602
624
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
603
625
|
opts = {
|
626
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
604
627
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
605
628
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
606
629
|
}
|
@@ -637,6 +660,7 @@ end
|
|
637
660
|
| Name | Type | Description | Notes |
|
638
661
|
| ---- | ---- | ----------- | ----- |
|
639
662
|
| **file_file_distribution_href** | **String** | | |
|
663
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
640
664
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
641
665
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
642
666
|
|
@@ -656,7 +680,7 @@ end
|
|
656
680
|
|
657
681
|
## remove_role
|
658
682
|
|
659
|
-
> <NestedRoleResponse> remove_role(file_file_distribution_href, nested_role)
|
683
|
+
> <NestedRoleResponse> remove_role(file_file_distribution_href, nested_role, opts)
|
660
684
|
|
661
685
|
Remove a role
|
662
686
|
|
@@ -677,10 +701,13 @@ end
|
|
677
701
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
678
702
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
679
703
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
704
|
+
opts = {
|
705
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
706
|
+
}
|
680
707
|
|
681
708
|
begin
|
682
709
|
# Remove a role
|
683
|
-
result = api_instance.remove_role(file_file_distribution_href, nested_role)
|
710
|
+
result = api_instance.remove_role(file_file_distribution_href, nested_role, opts)
|
684
711
|
p result
|
685
712
|
rescue PulpFileClient::ApiError => e
|
686
713
|
puts "Error when calling DistributionsFileApi->remove_role: #{e}"
|
@@ -691,12 +718,12 @@ end
|
|
691
718
|
|
692
719
|
This returns an Array which contains the response data, status code and headers.
|
693
720
|
|
694
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_distribution_href, nested_role)
|
721
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
695
722
|
|
696
723
|
```ruby
|
697
724
|
begin
|
698
725
|
# Remove a role
|
699
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(file_file_distribution_href, nested_role)
|
726
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
700
727
|
p status_code # => 2xx
|
701
728
|
p headers # => { ... }
|
702
729
|
p data # => <NestedRoleResponse>
|
@@ -711,6 +738,7 @@ end
|
|
711
738
|
| ---- | ---- | ----------- | ----- |
|
712
739
|
| **file_file_distribution_href** | **String** | | |
|
713
740
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
741
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
714
742
|
|
715
743
|
### Return type
|
716
744
|
|
@@ -728,7 +756,7 @@ end
|
|
728
756
|
|
729
757
|
## set_label
|
730
758
|
|
731
|
-
> <SetLabelResponse> set_label(file_file_distribution_href, set_label)
|
759
|
+
> <SetLabelResponse> set_label(file_file_distribution_href, set_label, opts)
|
732
760
|
|
733
761
|
Set a label
|
734
762
|
|
@@ -749,10 +777,13 @@ end
|
|
749
777
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
750
778
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
751
779
|
set_label = PulpFileClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
780
|
+
opts = {
|
781
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
782
|
+
}
|
752
783
|
|
753
784
|
begin
|
754
785
|
# Set a label
|
755
|
-
result = api_instance.set_label(file_file_distribution_href, set_label)
|
786
|
+
result = api_instance.set_label(file_file_distribution_href, set_label, opts)
|
756
787
|
p result
|
757
788
|
rescue PulpFileClient::ApiError => e
|
758
789
|
puts "Error when calling DistributionsFileApi->set_label: #{e}"
|
@@ -763,12 +794,12 @@ end
|
|
763
794
|
|
764
795
|
This returns an Array which contains the response data, status code and headers.
|
765
796
|
|
766
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(file_file_distribution_href, set_label)
|
797
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(file_file_distribution_href, set_label, opts)
|
767
798
|
|
768
799
|
```ruby
|
769
800
|
begin
|
770
801
|
# Set a label
|
771
|
-
data, status_code, headers = api_instance.set_label_with_http_info(file_file_distribution_href, set_label)
|
802
|
+
data, status_code, headers = api_instance.set_label_with_http_info(file_file_distribution_href, set_label, opts)
|
772
803
|
p status_code # => 2xx
|
773
804
|
p headers # => { ... }
|
774
805
|
p data # => <SetLabelResponse>
|
@@ -783,6 +814,7 @@ end
|
|
783
814
|
| ---- | ---- | ----------- | ----- |
|
784
815
|
| **file_file_distribution_href** | **String** | | |
|
785
816
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
817
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
786
818
|
|
787
819
|
### Return type
|
788
820
|
|
@@ -800,7 +832,7 @@ end
|
|
800
832
|
|
801
833
|
## unset_label
|
802
834
|
|
803
|
-
> <UnsetLabelResponse> unset_label(file_file_distribution_href, unset_label)
|
835
|
+
> <UnsetLabelResponse> unset_label(file_file_distribution_href, unset_label, opts)
|
804
836
|
|
805
837
|
Unset a label
|
806
838
|
|
@@ -821,10 +853,13 @@ end
|
|
821
853
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
822
854
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
823
855
|
unset_label = PulpFileClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
856
|
+
opts = {
|
857
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
858
|
+
}
|
824
859
|
|
825
860
|
begin
|
826
861
|
# Unset a label
|
827
|
-
result = api_instance.unset_label(file_file_distribution_href, unset_label)
|
862
|
+
result = api_instance.unset_label(file_file_distribution_href, unset_label, opts)
|
828
863
|
p result
|
829
864
|
rescue PulpFileClient::ApiError => e
|
830
865
|
puts "Error when calling DistributionsFileApi->unset_label: #{e}"
|
@@ -835,12 +870,12 @@ end
|
|
835
870
|
|
836
871
|
This returns an Array which contains the response data, status code and headers.
|
837
872
|
|
838
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(file_file_distribution_href, unset_label)
|
873
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(file_file_distribution_href, unset_label, opts)
|
839
874
|
|
840
875
|
```ruby
|
841
876
|
begin
|
842
877
|
# Unset a label
|
843
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(file_file_distribution_href, unset_label)
|
878
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(file_file_distribution_href, unset_label, opts)
|
844
879
|
p status_code # => 2xx
|
845
880
|
p headers # => { ... }
|
846
881
|
p data # => <UnsetLabelResponse>
|
@@ -855,6 +890,7 @@ end
|
|
855
890
|
| ---- | ---- | ----------- | ----- |
|
856
891
|
| **file_file_distribution_href** | **String** | | |
|
857
892
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
893
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
858
894
|
|
859
895
|
### Return type
|
860
896
|
|
@@ -872,7 +908,7 @@ end
|
|
872
908
|
|
873
909
|
## update
|
874
910
|
|
875
|
-
> <AsyncOperationResponse> update(file_file_distribution_href, file_file_distribution)
|
911
|
+
> <AsyncOperationResponse> update(file_file_distribution_href, file_file_distribution, opts)
|
876
912
|
|
877
913
|
Update a file distribution
|
878
914
|
|
@@ -893,10 +929,13 @@ end
|
|
893
929
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
894
930
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
895
931
|
file_file_distribution = PulpFileClient::FileFileDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # FileFileDistribution |
|
932
|
+
opts = {
|
933
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
934
|
+
}
|
896
935
|
|
897
936
|
begin
|
898
937
|
# Update a file distribution
|
899
|
-
result = api_instance.update(file_file_distribution_href, file_file_distribution)
|
938
|
+
result = api_instance.update(file_file_distribution_href, file_file_distribution, opts)
|
900
939
|
p result
|
901
940
|
rescue PulpFileClient::ApiError => e
|
902
941
|
puts "Error when calling DistributionsFileApi->update: #{e}"
|
@@ -907,12 +946,12 @@ end
|
|
907
946
|
|
908
947
|
This returns an Array which contains the response data, status code and headers.
|
909
948
|
|
910
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(file_file_distribution_href, file_file_distribution)
|
949
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(file_file_distribution_href, file_file_distribution, opts)
|
911
950
|
|
912
951
|
```ruby
|
913
952
|
begin
|
914
953
|
# Update a file distribution
|
915
|
-
data, status_code, headers = api_instance.update_with_http_info(file_file_distribution_href, file_file_distribution)
|
954
|
+
data, status_code, headers = api_instance.update_with_http_info(file_file_distribution_href, file_file_distribution, opts)
|
916
955
|
p status_code # => 2xx
|
917
956
|
p headers # => { ... }
|
918
957
|
p data # => <AsyncOperationResponse>
|
@@ -927,6 +966,7 @@ end
|
|
927
966
|
| ---- | ---- | ----------- | ----- |
|
928
967
|
| **file_file_distribution_href** | **String** | | |
|
929
968
|
| **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md) | | |
|
969
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
930
970
|
|
931
971
|
### Return type
|
932
972
|
|
data/docs/PublicationsFileApi.md
CHANGED
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
|
|
16
16
|
|
17
17
|
## add_role
|
18
18
|
|
19
|
-
> <NestedRoleResponse> add_role(file_file_publication_href, nested_role)
|
19
|
+
> <NestedRoleResponse> add_role(file_file_publication_href, nested_role, opts)
|
20
20
|
|
21
21
|
Add a role
|
22
22
|
|
@@ -37,10 +37,13 @@ end
|
|
37
37
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
38
38
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
39
39
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
40
|
+
opts = {
|
41
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
42
|
+
}
|
40
43
|
|
41
44
|
begin
|
42
45
|
# Add a role
|
43
|
-
result = api_instance.add_role(file_file_publication_href, nested_role)
|
46
|
+
result = api_instance.add_role(file_file_publication_href, nested_role, opts)
|
44
47
|
p result
|
45
48
|
rescue PulpFileClient::ApiError => e
|
46
49
|
puts "Error when calling PublicationsFileApi->add_role: #{e}"
|
@@ -51,12 +54,12 @@ end
|
|
51
54
|
|
52
55
|
This returns an Array which contains the response data, status code and headers.
|
53
56
|
|
54
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_publication_href, nested_role)
|
57
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_publication_href, nested_role, opts)
|
55
58
|
|
56
59
|
```ruby
|
57
60
|
begin
|
58
61
|
# Add a role
|
59
|
-
data, status_code, headers = api_instance.add_role_with_http_info(file_file_publication_href, nested_role)
|
62
|
+
data, status_code, headers = api_instance.add_role_with_http_info(file_file_publication_href, nested_role, opts)
|
60
63
|
p status_code # => 2xx
|
61
64
|
p headers # => { ... }
|
62
65
|
p data # => <NestedRoleResponse>
|
@@ -71,6 +74,7 @@ end
|
|
71
74
|
| ---- | ---- | ----------- | ----- |
|
72
75
|
| **file_file_publication_href** | **String** | | |
|
73
76
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
77
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
78
|
|
75
79
|
### Return type
|
76
80
|
|
@@ -88,7 +92,7 @@ end
|
|
88
92
|
|
89
93
|
## create
|
90
94
|
|
91
|
-
> <AsyncOperationResponse> create(file_file_publication)
|
95
|
+
> <AsyncOperationResponse> create(file_file_publication, opts)
|
92
96
|
|
93
97
|
Create a file publication
|
94
98
|
|
@@ -108,10 +112,13 @@ end
|
|
108
112
|
|
109
113
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
110
114
|
file_file_publication = PulpFileClient::FileFilePublication.new # FileFilePublication |
|
115
|
+
opts = {
|
116
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
117
|
+
}
|
111
118
|
|
112
119
|
begin
|
113
120
|
# Create a file publication
|
114
|
-
result = api_instance.create(file_file_publication)
|
121
|
+
result = api_instance.create(file_file_publication, opts)
|
115
122
|
p result
|
116
123
|
rescue PulpFileClient::ApiError => e
|
117
124
|
puts "Error when calling PublicationsFileApi->create: #{e}"
|
@@ -122,12 +129,12 @@ end
|
|
122
129
|
|
123
130
|
This returns an Array which contains the response data, status code and headers.
|
124
131
|
|
125
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(file_file_publication)
|
132
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(file_file_publication, opts)
|
126
133
|
|
127
134
|
```ruby
|
128
135
|
begin
|
129
136
|
# Create a file publication
|
130
|
-
data, status_code, headers = api_instance.create_with_http_info(file_file_publication)
|
137
|
+
data, status_code, headers = api_instance.create_with_http_info(file_file_publication, opts)
|
131
138
|
p status_code # => 2xx
|
132
139
|
p headers # => { ... }
|
133
140
|
p data # => <AsyncOperationResponse>
|
@@ -141,6 +148,7 @@ end
|
|
141
148
|
| Name | Type | Description | Notes |
|
142
149
|
| ---- | ---- | ----------- | ----- |
|
143
150
|
| **file_file_publication** | [**FileFilePublication**](FileFilePublication.md) | | |
|
151
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
144
152
|
|
145
153
|
### Return type
|
146
154
|
|
@@ -158,7 +166,7 @@ end
|
|
158
166
|
|
159
167
|
## delete
|
160
168
|
|
161
|
-
> delete(file_file_publication_href)
|
169
|
+
> delete(file_file_publication_href, opts)
|
162
170
|
|
163
171
|
Delete a file publication
|
164
172
|
|
@@ -178,10 +186,13 @@ end
|
|
178
186
|
|
179
187
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
180
188
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
189
|
+
opts = {
|
190
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
191
|
+
}
|
181
192
|
|
182
193
|
begin
|
183
194
|
# Delete a file publication
|
184
|
-
api_instance.delete(file_file_publication_href)
|
195
|
+
api_instance.delete(file_file_publication_href, opts)
|
185
196
|
rescue PulpFileClient::ApiError => e
|
186
197
|
puts "Error when calling PublicationsFileApi->delete: #{e}"
|
187
198
|
end
|
@@ -191,12 +202,12 @@ end
|
|
191
202
|
|
192
203
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
193
204
|
|
194
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(file_file_publication_href)
|
205
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(file_file_publication_href, opts)
|
195
206
|
|
196
207
|
```ruby
|
197
208
|
begin
|
198
209
|
# Delete a file publication
|
199
|
-
data, status_code, headers = api_instance.delete_with_http_info(file_file_publication_href)
|
210
|
+
data, status_code, headers = api_instance.delete_with_http_info(file_file_publication_href, opts)
|
200
211
|
p status_code # => 2xx
|
201
212
|
p headers # => { ... }
|
202
213
|
p data # => nil
|
@@ -210,6 +221,7 @@ end
|
|
210
221
|
| Name | Type | Description | Notes |
|
211
222
|
| ---- | ---- | ----------- | ----- |
|
212
223
|
| **file_file_publication_href** | **String** | | |
|
224
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
213
225
|
|
214
226
|
### Return type
|
215
227
|
|
@@ -247,6 +259,7 @@ end
|
|
247
259
|
|
248
260
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
249
261
|
opts = {
|
262
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
250
263
|
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
251
264
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
252
265
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -301,6 +314,7 @@ end
|
|
301
314
|
|
302
315
|
| Name | Type | Description | Notes |
|
303
316
|
| ---- | ---- | ----------- | ----- |
|
317
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
304
318
|
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
305
319
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
306
320
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -360,6 +374,7 @@ end
|
|
360
374
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
361
375
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
362
376
|
opts = {
|
377
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
363
378
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
364
379
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
365
380
|
}
|
@@ -396,6 +411,7 @@ end
|
|
396
411
|
| Name | Type | Description | Notes |
|
397
412
|
| ---- | ---- | ----------- | ----- |
|
398
413
|
| **file_file_publication_href** | **String** | | |
|
414
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
399
415
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
400
416
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
401
417
|
|
@@ -436,6 +452,7 @@ end
|
|
436
452
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
437
453
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
438
454
|
opts = {
|
455
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
439
456
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
440
457
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
441
458
|
}
|
@@ -472,6 +489,7 @@ end
|
|
472
489
|
| Name | Type | Description | Notes |
|
473
490
|
| ---- | ---- | ----------- | ----- |
|
474
491
|
| **file_file_publication_href** | **String** | | |
|
492
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
475
493
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
476
494
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
477
495
|
|
@@ -512,6 +530,7 @@ end
|
|
512
530
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
513
531
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
514
532
|
opts = {
|
533
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
515
534
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
516
535
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
517
536
|
}
|
@@ -548,6 +567,7 @@ end
|
|
548
567
|
| Name | Type | Description | Notes |
|
549
568
|
| ---- | ---- | ----------- | ----- |
|
550
569
|
| **file_file_publication_href** | **String** | | |
|
570
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
551
571
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
552
572
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
553
573
|
|
@@ -567,7 +587,7 @@ end
|
|
567
587
|
|
568
588
|
## remove_role
|
569
589
|
|
570
|
-
> <NestedRoleResponse> remove_role(file_file_publication_href, nested_role)
|
590
|
+
> <NestedRoleResponse> remove_role(file_file_publication_href, nested_role, opts)
|
571
591
|
|
572
592
|
Remove a role
|
573
593
|
|
@@ -588,10 +608,13 @@ end
|
|
588
608
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
589
609
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
590
610
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
611
|
+
opts = {
|
612
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
613
|
+
}
|
591
614
|
|
592
615
|
begin
|
593
616
|
# Remove a role
|
594
|
-
result = api_instance.remove_role(file_file_publication_href, nested_role)
|
617
|
+
result = api_instance.remove_role(file_file_publication_href, nested_role, opts)
|
595
618
|
p result
|
596
619
|
rescue PulpFileClient::ApiError => e
|
597
620
|
puts "Error when calling PublicationsFileApi->remove_role: #{e}"
|
@@ -602,12 +625,12 @@ end
|
|
602
625
|
|
603
626
|
This returns an Array which contains the response data, status code and headers.
|
604
627
|
|
605
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_publication_href, nested_role)
|
628
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_publication_href, nested_role, opts)
|
606
629
|
|
607
630
|
```ruby
|
608
631
|
begin
|
609
632
|
# Remove a role
|
610
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(file_file_publication_href, nested_role)
|
633
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(file_file_publication_href, nested_role, opts)
|
611
634
|
p status_code # => 2xx
|
612
635
|
p headers # => { ... }
|
613
636
|
p data # => <NestedRoleResponse>
|
@@ -622,6 +645,7 @@ end
|
|
622
645
|
| ---- | ---- | ----------- | ----- |
|
623
646
|
| **file_file_publication_href** | **String** | | |
|
624
647
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
648
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
625
649
|
|
626
650
|
### Return type
|
627
651
|
|