pulp_deb_client 3.5.2 → 3.6.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 +5 -4
- data/docs/ContentGenericContentsApi.md +22 -8
- data/docs/ContentInstallerFileIndicesApi.md +28 -12
- data/docs/ContentInstallerPackagesApi.md +22 -8
- data/docs/ContentPackageIndicesApi.md +28 -12
- data/docs/ContentPackageReleaseComponentsApi.md +28 -12
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/ContentReleaseArchitecturesApi.md +28 -12
- data/docs/ContentReleaseComponentsApi.md +28 -12
- data/docs/ContentReleaseFilesApi.md +28 -12
- data/docs/ContentReleasesApi.md +28 -12
- data/docs/ContentSourceIndicesApi.md +28 -12
- data/docs/ContentSourcePackagesApi.md +28 -12
- data/docs/ContentSourceReleaseComponentsApi.md +28 -12
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DistributionsAptApi.md +72 -32
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +40 -16
- data/docs/PublicationsVerbatimApi.md +40 -16
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +5 -0
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
- data/spec/api/content_installer_packages_api_spec.rb +5 -0
- data/spec/api/content_package_indices_api_spec.rb +5 -0
- data/spec/api/content_package_release_components_api_spec.rb +5 -0
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/content_release_architectures_api_spec.rb +5 -0
- data/spec/api/content_release_components_api_spec.rb +5 -0
- data/spec/api/content_release_files_api_spec.rb +5 -0
- data/spec/api/content_releases_api_spec.rb +5 -0
- data/spec/api/content_source_indices_api_spec.rb +5 -0
- data/spec/api/content_source_packages_api_spec.rb +5 -0
- data/spec/api/content_source_release_components_api_spec.rb +5 -0
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +12 -0
- data/spec/api/publications_apt_api_spec.rb +8 -0
- data/spec/api/publications_verbatim_api_spec.rb +8 -0
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +75 -75
data/docs/PublicationsAptApi.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(deb_apt_publication_href, nested_role)
|
19
|
+
> <NestedRoleResponse> add_role(deb_apt_publication_href, nested_role, opts)
|
20
20
|
|
21
21
|
Add a role
|
22
22
|
|
@@ -37,10 +37,13 @@ end
|
|
37
37
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
38
38
|
deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
|
39
39
|
nested_role = PulpDebClient::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(deb_apt_publication_href, nested_role)
|
46
|
+
result = api_instance.add_role(deb_apt_publication_href, nested_role, opts)
|
44
47
|
p result
|
45
48
|
rescue PulpDebClient::ApiError => e
|
46
49
|
puts "Error when calling PublicationsAptApi->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(deb_apt_publication_href, nested_role)
|
57
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(deb_apt_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(deb_apt_publication_href, nested_role)
|
62
|
+
data, status_code, headers = api_instance.add_role_with_http_info(deb_apt_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
|
| **deb_apt_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(deb_apt_publication)
|
95
|
+
> <AsyncOperationResponse> create(deb_apt_publication, opts)
|
92
96
|
|
93
97
|
Create an apt publication
|
94
98
|
|
@@ -108,10 +112,13 @@ end
|
|
108
112
|
|
109
113
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
110
114
|
deb_apt_publication = PulpDebClient::DebAptPublication.new # DebAptPublication |
|
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 an apt publication
|
114
|
-
result = api_instance.create(deb_apt_publication)
|
121
|
+
result = api_instance.create(deb_apt_publication, opts)
|
115
122
|
p result
|
116
123
|
rescue PulpDebClient::ApiError => e
|
117
124
|
puts "Error when calling PublicationsAptApi->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(deb_apt_publication)
|
132
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_apt_publication, opts)
|
126
133
|
|
127
134
|
```ruby
|
128
135
|
begin
|
129
136
|
# Create an apt publication
|
130
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_apt_publication)
|
137
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_apt_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
|
| **deb_apt_publication** | [**DebAptPublication**](DebAptPublication.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(deb_apt_publication_href)
|
169
|
+
> delete(deb_apt_publication_href, opts)
|
162
170
|
|
163
171
|
Delete an apt publication
|
164
172
|
|
@@ -178,10 +186,13 @@ end
|
|
178
186
|
|
179
187
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
180
188
|
deb_apt_publication_href = 'deb_apt_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 an apt publication
|
184
|
-
api_instance.delete(deb_apt_publication_href)
|
195
|
+
api_instance.delete(deb_apt_publication_href, opts)
|
185
196
|
rescue PulpDebClient::ApiError => e
|
186
197
|
puts "Error when calling PublicationsAptApi->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(deb_apt_publication_href)
|
205
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(deb_apt_publication_href, opts)
|
195
206
|
|
196
207
|
```ruby
|
197
208
|
begin
|
198
209
|
# Delete an apt publication
|
199
|
-
data, status_code, headers = api_instance.delete_with_http_info(deb_apt_publication_href)
|
210
|
+
data, status_code, headers = api_instance.delete_with_http_info(deb_apt_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
|
| **deb_apt_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 = PulpDebClient::PublicationsAptApi.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 = PulpDebClient::PublicationsAptApi.new
|
361
375
|
deb_apt_publication_href = 'deb_apt_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
|
| **deb_apt_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 = PulpDebClient::PublicationsAptApi.new
|
437
453
|
deb_apt_publication_href = 'deb_apt_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
|
| **deb_apt_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 = PulpDebClient::PublicationsAptApi.new
|
513
531
|
deb_apt_publication_href = 'deb_apt_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
|
| **deb_apt_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(deb_apt_publication_href, nested_role)
|
590
|
+
> <NestedRoleResponse> remove_role(deb_apt_publication_href, nested_role, opts)
|
571
591
|
|
572
592
|
Remove a role
|
573
593
|
|
@@ -588,10 +608,13 @@ end
|
|
588
608
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
589
609
|
deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
|
590
610
|
nested_role = PulpDebClient::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(deb_apt_publication_href, nested_role)
|
617
|
+
result = api_instance.remove_role(deb_apt_publication_href, nested_role, opts)
|
595
618
|
p result
|
596
619
|
rescue PulpDebClient::ApiError => e
|
597
620
|
puts "Error when calling PublicationsAptApi->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(deb_apt_publication_href, nested_role)
|
628
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_apt_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(deb_apt_publication_href, nested_role)
|
633
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(deb_apt_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
|
| **deb_apt_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
|
|
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
|
|
16
16
|
|
17
17
|
## add_role
|
18
18
|
|
19
|
-
> <NestedRoleResponse> add_role(deb_verbatim_publication_href, nested_role)
|
19
|
+
> <NestedRoleResponse> add_role(deb_verbatim_publication_href, nested_role, opts)
|
20
20
|
|
21
21
|
Add a role
|
22
22
|
|
@@ -37,10 +37,13 @@ end
|
|
37
37
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
38
38
|
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
39
39
|
nested_role = PulpDebClient::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(deb_verbatim_publication_href, nested_role)
|
46
|
+
result = api_instance.add_role(deb_verbatim_publication_href, nested_role, opts)
|
44
47
|
p result
|
45
48
|
rescue PulpDebClient::ApiError => e
|
46
49
|
puts "Error when calling PublicationsVerbatimApi->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(deb_verbatim_publication_href, nested_role)
|
57
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(deb_verbatim_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(deb_verbatim_publication_href, nested_role)
|
62
|
+
data, status_code, headers = api_instance.add_role_with_http_info(deb_verbatim_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
|
| **deb_verbatim_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(deb_verbatim_publication)
|
95
|
+
> <AsyncOperationResponse> create(deb_verbatim_publication, opts)
|
92
96
|
|
93
97
|
Create a verbatim publication
|
94
98
|
|
@@ -108,10 +112,13 @@ end
|
|
108
112
|
|
109
113
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
110
114
|
deb_verbatim_publication = PulpDebClient::DebVerbatimPublication.new # DebVerbatimPublication |
|
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 verbatim publication
|
114
|
-
result = api_instance.create(deb_verbatim_publication)
|
121
|
+
result = api_instance.create(deb_verbatim_publication, opts)
|
115
122
|
p result
|
116
123
|
rescue PulpDebClient::ApiError => e
|
117
124
|
puts "Error when calling PublicationsVerbatimApi->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(deb_verbatim_publication)
|
132
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_verbatim_publication, opts)
|
126
133
|
|
127
134
|
```ruby
|
128
135
|
begin
|
129
136
|
# Create a verbatim publication
|
130
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_verbatim_publication)
|
137
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_verbatim_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
|
| **deb_verbatim_publication** | [**DebVerbatimPublication**](DebVerbatimPublication.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(deb_verbatim_publication_href)
|
169
|
+
> delete(deb_verbatim_publication_href, opts)
|
162
170
|
|
163
171
|
Delete a verbatim publication
|
164
172
|
|
@@ -178,10 +186,13 @@ end
|
|
178
186
|
|
179
187
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
180
188
|
deb_verbatim_publication_href = 'deb_verbatim_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 verbatim publication
|
184
|
-
api_instance.delete(deb_verbatim_publication_href)
|
195
|
+
api_instance.delete(deb_verbatim_publication_href, opts)
|
185
196
|
rescue PulpDebClient::ApiError => e
|
186
197
|
puts "Error when calling PublicationsVerbatimApi->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(deb_verbatim_publication_href)
|
205
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(deb_verbatim_publication_href, opts)
|
195
206
|
|
196
207
|
```ruby
|
197
208
|
begin
|
198
209
|
# Delete a verbatim publication
|
199
|
-
data, status_code, headers = api_instance.delete_with_http_info(deb_verbatim_publication_href)
|
210
|
+
data, status_code, headers = api_instance.delete_with_http_info(deb_verbatim_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
|
| **deb_verbatim_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 = PulpDebClient::PublicationsVerbatimApi.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 = PulpDebClient::PublicationsVerbatimApi.new
|
361
375
|
deb_verbatim_publication_href = 'deb_verbatim_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
|
| **deb_verbatim_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 = PulpDebClient::PublicationsVerbatimApi.new
|
437
453
|
deb_verbatim_publication_href = 'deb_verbatim_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
|
| **deb_verbatim_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 = PulpDebClient::PublicationsVerbatimApi.new
|
513
531
|
deb_verbatim_publication_href = 'deb_verbatim_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
|
| **deb_verbatim_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(deb_verbatim_publication_href, nested_role)
|
590
|
+
> <NestedRoleResponse> remove_role(deb_verbatim_publication_href, nested_role, opts)
|
571
591
|
|
572
592
|
Remove a role
|
573
593
|
|
@@ -588,10 +608,13 @@ end
|
|
588
608
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
589
609
|
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
590
610
|
nested_role = PulpDebClient::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(deb_verbatim_publication_href, nested_role)
|
617
|
+
result = api_instance.remove_role(deb_verbatim_publication_href, nested_role, opts)
|
595
618
|
p result
|
596
619
|
rescue PulpDebClient::ApiError => e
|
597
620
|
puts "Error when calling PublicationsVerbatimApi->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(deb_verbatim_publication_href, nested_role)
|
628
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_verbatim_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(deb_verbatim_publication_href, nested_role)
|
633
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(deb_verbatim_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
|
| **deb_verbatim_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
|
|