pulp_certguard_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/ContentguardsRhsmApi.md +36 -16
- data/docs/ContentguardsX509Api.md +36 -16
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +18 -0
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +18 -0
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/spec/api/contentguards_rhsm_api_spec.rb +6 -0
- data/spec/api/contentguards_x509_api_spec.rb +6 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 360d310b9b9d733d38829825ebb2b1e7667890afca2c83246a50fcf007000065
|
4
|
+
data.tar.gz: 40b70d39ded205183462545ddea88348f40462850489a3742289dad7c9f0c657
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 741d090b791f5e04777c6f541757ac76863121ea0029da8f500be439fafbd5e448206eb20f5c905e71b8268e083f2680cecf0401b7cc198cc8cc8e248c024db1
|
7
|
+
data.tar.gz: de259da98a1d042452cf02111d484cc64be225c6843f8d2a0e47b40b8555e17990b6741f944202cfb19152b677339fcf87a7648964a2b396d3a5bccb0ca6eb1e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.82.0
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_certguard_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_certguard_client-3.
|
28
|
+
gem install ./pulp_certguard_client-3.82.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_certguard_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_certguard_client-3.82.0.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_certguard_client', '~> 3.
|
37
|
+
gem 'pulp_certguard_client', '~> 3.82.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -69,10 +69,13 @@ end
|
|
69
69
|
|
70
70
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
71
71
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new({name: 'name_example', ca_certificate: 'ca_certificate_example'}) # CertguardRHSMCertGuard |
|
72
|
+
opts = {
|
73
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
74
|
+
}
|
72
75
|
|
73
76
|
begin
|
74
77
|
#Create a rhsm cert guard
|
75
|
-
result = api_instance.create(certguard_rhsm_cert_guard)
|
78
|
+
result = api_instance.create(certguard_rhsm_cert_guard, opts)
|
76
79
|
p result
|
77
80
|
rescue PulpCertguardClient::ApiError => e
|
78
81
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## create
|
16
16
|
|
17
|
-
> <CertguardRHSMCertGuardResponse> create(certguard_rhsm_cert_guard)
|
17
|
+
> <CertguardRHSMCertGuardResponse> create(certguard_rhsm_cert_guard, opts)
|
18
18
|
|
19
19
|
Create a rhsm cert guard
|
20
20
|
|
@@ -34,10 +34,13 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
36
36
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new({name: 'name_example', ca_certificate: 'ca_certificate_example'}) # CertguardRHSMCertGuard |
|
37
|
+
opts = {
|
38
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
39
|
+
}
|
37
40
|
|
38
41
|
begin
|
39
42
|
# Create a rhsm cert guard
|
40
|
-
result = api_instance.create(certguard_rhsm_cert_guard)
|
43
|
+
result = api_instance.create(certguard_rhsm_cert_guard, opts)
|
41
44
|
p result
|
42
45
|
rescue PulpCertguardClient::ApiError => e
|
43
46
|
puts "Error when calling ContentguardsRhsmApi->create: #{e}"
|
@@ -48,12 +51,12 @@ end
|
|
48
51
|
|
49
52
|
This returns an Array which contains the response data, status code and headers.
|
50
53
|
|
51
|
-
> <Array(<CertguardRHSMCertGuardResponse>, Integer, Hash)> create_with_http_info(certguard_rhsm_cert_guard)
|
54
|
+
> <Array(<CertguardRHSMCertGuardResponse>, Integer, Hash)> create_with_http_info(certguard_rhsm_cert_guard, opts)
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
begin
|
55
58
|
# Create a rhsm cert guard
|
56
|
-
data, status_code, headers = api_instance.create_with_http_info(certguard_rhsm_cert_guard)
|
59
|
+
data, status_code, headers = api_instance.create_with_http_info(certguard_rhsm_cert_guard, opts)
|
57
60
|
p status_code # => 2xx
|
58
61
|
p headers # => { ... }
|
59
62
|
p data # => <CertguardRHSMCertGuardResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| Name | Type | Description | Notes |
|
68
71
|
| ---- | ---- | ----------- | ----- |
|
69
72
|
| **certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md) | | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
70
74
|
|
71
75
|
### Return type
|
72
76
|
|
@@ -84,7 +88,7 @@ end
|
|
84
88
|
|
85
89
|
## delete
|
86
90
|
|
87
|
-
> delete(certguard_r_h_s_m_cert_guard_href)
|
91
|
+
> delete(certguard_r_h_s_m_cert_guard_href, opts)
|
88
92
|
|
89
93
|
Delete a rhsm cert guard
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
106
110
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
111
|
+
opts = {
|
112
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
113
|
+
}
|
107
114
|
|
108
115
|
begin
|
109
116
|
# Delete a rhsm cert guard
|
110
|
-
api_instance.delete(certguard_r_h_s_m_cert_guard_href)
|
117
|
+
api_instance.delete(certguard_r_h_s_m_cert_guard_href, opts)
|
111
118
|
rescue PulpCertguardClient::ApiError => e
|
112
119
|
puts "Error when calling ContentguardsRhsmApi->delete: #{e}"
|
113
120
|
end
|
@@ -117,12 +124,12 @@ end
|
|
117
124
|
|
118
125
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
119
126
|
|
120
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(certguard_r_h_s_m_cert_guard_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a rhsm cert guard
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(certguard_r_h_s_m_cert_guard_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
126
133
|
p status_code # => 2xx
|
127
134
|
p headers # => { ... }
|
128
135
|
p data # => nil
|
@@ -136,6 +143,7 @@ end
|
|
136
143
|
| Name | Type | Description | Notes |
|
137
144
|
| ---- | ---- | ----------- | ----- |
|
138
145
|
| **certguard_r_h_s_m_cert_guard_href** | **String** | | |
|
146
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
139
147
|
|
140
148
|
### Return type
|
141
149
|
|
@@ -173,6 +181,7 @@ end
|
|
173
181
|
|
174
182
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
175
183
|
opts = {
|
184
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
176
185
|
limit: 56, # Integer | Number of results to return per page.
|
177
186
|
name: 'name_example', # String | Filter results where name matches value
|
178
187
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -224,6 +233,7 @@ end
|
|
224
233
|
|
225
234
|
| Name | Type | Description | Notes |
|
226
235
|
| ---- | ---- | ----------- | ----- |
|
236
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
227
237
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
228
238
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
229
239
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -259,7 +269,7 @@ end
|
|
259
269
|
|
260
270
|
## partial_update
|
261
271
|
|
262
|
-
> <CertguardRHSMCertGuardResponse> partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
272
|
+
> <CertguardRHSMCertGuardResponse> partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
263
273
|
|
264
274
|
Update a rhsm cert guard
|
265
275
|
|
@@ -280,10 +290,13 @@ end
|
|
280
290
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
281
291
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
282
292
|
patchedcertguard_rhsm_cert_guard = PulpCertguardClient::PatchedcertguardRHSMCertGuard.new # PatchedcertguardRHSMCertGuard |
|
293
|
+
opts = {
|
294
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
295
|
+
}
|
283
296
|
|
284
297
|
begin
|
285
298
|
# Update a rhsm cert guard
|
286
|
-
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
299
|
+
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
287
300
|
p result
|
288
301
|
rescue PulpCertguardClient::ApiError => e
|
289
302
|
puts "Error when calling ContentguardsRhsmApi->partial_update: #{e}"
|
@@ -294,12 +307,12 @@ end
|
|
294
307
|
|
295
308
|
This returns an Array which contains the response data, status code and headers.
|
296
309
|
|
297
|
-
> <Array(<CertguardRHSMCertGuardResponse>, Integer, Hash)> partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
310
|
+
> <Array(<CertguardRHSMCertGuardResponse>, Integer, Hash)> partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
298
311
|
|
299
312
|
```ruby
|
300
313
|
begin
|
301
314
|
# Update a rhsm cert guard
|
302
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
315
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
303
316
|
p status_code # => 2xx
|
304
317
|
p headers # => { ... }
|
305
318
|
p data # => <CertguardRHSMCertGuardResponse>
|
@@ -314,6 +327,7 @@ end
|
|
314
327
|
| ---- | ---- | ----------- | ----- |
|
315
328
|
| **certguard_r_h_s_m_cert_guard_href** | **String** | | |
|
316
329
|
| **patchedcertguard_rhsm_cert_guard** | [**PatchedcertguardRHSMCertGuard**](PatchedcertguardRHSMCertGuard.md) | | |
|
330
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
317
331
|
|
318
332
|
### Return type
|
319
333
|
|
@@ -352,6 +366,7 @@ end
|
|
352
366
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
353
367
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
354
368
|
opts = {
|
369
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
355
370
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
356
371
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
357
372
|
}
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| Name | Type | Description | Notes |
|
389
404
|
| ---- | ---- | ----------- | ----- |
|
390
405
|
| **certguard_r_h_s_m_cert_guard_href** | **String** | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
392
408
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
393
409
|
|
@@ -407,7 +423,7 @@ end
|
|
407
423
|
|
408
424
|
## update
|
409
425
|
|
410
|
-
> <CertguardRHSMCertGuardResponse> update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
426
|
+
> <CertguardRHSMCertGuardResponse> update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
411
427
|
|
412
428
|
Update a rhsm cert guard
|
413
429
|
|
@@ -428,10 +444,13 @@ end
|
|
428
444
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
429
445
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
430
446
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new({name: 'name_example', ca_certificate: 'ca_certificate_example'}) # CertguardRHSMCertGuard |
|
447
|
+
opts = {
|
448
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
449
|
+
}
|
431
450
|
|
432
451
|
begin
|
433
452
|
# Update a rhsm cert guard
|
434
|
-
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
453
|
+
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
435
454
|
p result
|
436
455
|
rescue PulpCertguardClient::ApiError => e
|
437
456
|
puts "Error when calling ContentguardsRhsmApi->update: #{e}"
|
@@ -442,12 +461,12 @@ end
|
|
442
461
|
|
443
462
|
This returns an Array which contains the response data, status code and headers.
|
444
463
|
|
445
|
-
> <Array(<CertguardRHSMCertGuardResponse>, Integer, Hash)> update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
464
|
+
> <Array(<CertguardRHSMCertGuardResponse>, Integer, Hash)> update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
446
465
|
|
447
466
|
```ruby
|
448
467
|
begin
|
449
468
|
# Update a rhsm cert guard
|
450
|
-
data, status_code, headers = api_instance.update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
469
|
+
data, status_code, headers = api_instance.update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
451
470
|
p status_code # => 2xx
|
452
471
|
p headers # => { ... }
|
453
472
|
p data # => <CertguardRHSMCertGuardResponse>
|
@@ -462,6 +481,7 @@ end
|
|
462
481
|
| ---- | ---- | ----------- | ----- |
|
463
482
|
| **certguard_r_h_s_m_cert_guard_href** | **String** | | |
|
464
483
|
| **certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md) | | |
|
484
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
465
485
|
|
466
486
|
### Return type
|
467
487
|
|
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## create
|
16
16
|
|
17
|
-
> <CertguardX509CertGuardResponse> create(certguard_x509_cert_guard)
|
17
|
+
> <CertguardX509CertGuardResponse> create(certguard_x509_cert_guard, opts)
|
18
18
|
|
19
19
|
Create a x509 cert guard
|
20
20
|
|
@@ -34,10 +34,13 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
36
36
|
certguard_x509_cert_guard = PulpCertguardClient::CertguardX509CertGuard.new({name: 'name_example', ca_certificate: 'ca_certificate_example'}) # CertguardX509CertGuard |
|
37
|
+
opts = {
|
38
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
39
|
+
}
|
37
40
|
|
38
41
|
begin
|
39
42
|
# Create a x509 cert guard
|
40
|
-
result = api_instance.create(certguard_x509_cert_guard)
|
43
|
+
result = api_instance.create(certguard_x509_cert_guard, opts)
|
41
44
|
p result
|
42
45
|
rescue PulpCertguardClient::ApiError => e
|
43
46
|
puts "Error when calling ContentguardsX509Api->create: #{e}"
|
@@ -48,12 +51,12 @@ end
|
|
48
51
|
|
49
52
|
This returns an Array which contains the response data, status code and headers.
|
50
53
|
|
51
|
-
> <Array(<CertguardX509CertGuardResponse>, Integer, Hash)> create_with_http_info(certguard_x509_cert_guard)
|
54
|
+
> <Array(<CertguardX509CertGuardResponse>, Integer, Hash)> create_with_http_info(certguard_x509_cert_guard, opts)
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
begin
|
55
58
|
# Create a x509 cert guard
|
56
|
-
data, status_code, headers = api_instance.create_with_http_info(certguard_x509_cert_guard)
|
59
|
+
data, status_code, headers = api_instance.create_with_http_info(certguard_x509_cert_guard, opts)
|
57
60
|
p status_code # => 2xx
|
58
61
|
p headers # => { ... }
|
59
62
|
p data # => <CertguardX509CertGuardResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| Name | Type | Description | Notes |
|
68
71
|
| ---- | ---- | ----------- | ----- |
|
69
72
|
| **certguard_x509_cert_guard** | [**CertguardX509CertGuard**](CertguardX509CertGuard.md) | | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
70
74
|
|
71
75
|
### Return type
|
72
76
|
|
@@ -84,7 +88,7 @@ end
|
|
84
88
|
|
85
89
|
## delete
|
86
90
|
|
87
|
-
> delete(certguard_x509_cert_guard_href)
|
91
|
+
> delete(certguard_x509_cert_guard_href, opts)
|
88
92
|
|
89
93
|
Delete a x509 cert guard
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
106
110
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
111
|
+
opts = {
|
112
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
113
|
+
}
|
107
114
|
|
108
115
|
begin
|
109
116
|
# Delete a x509 cert guard
|
110
|
-
api_instance.delete(certguard_x509_cert_guard_href)
|
117
|
+
api_instance.delete(certguard_x509_cert_guard_href, opts)
|
111
118
|
rescue PulpCertguardClient::ApiError => e
|
112
119
|
puts "Error when calling ContentguardsX509Api->delete: #{e}"
|
113
120
|
end
|
@@ -117,12 +124,12 @@ end
|
|
117
124
|
|
118
125
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
119
126
|
|
120
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(certguard_x509_cert_guard_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(certguard_x509_cert_guard_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a x509 cert guard
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(certguard_x509_cert_guard_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(certguard_x509_cert_guard_href, opts)
|
126
133
|
p status_code # => 2xx
|
127
134
|
p headers # => { ... }
|
128
135
|
p data # => nil
|
@@ -136,6 +143,7 @@ end
|
|
136
143
|
| Name | Type | Description | Notes |
|
137
144
|
| ---- | ---- | ----------- | ----- |
|
138
145
|
| **certguard_x509_cert_guard_href** | **String** | | |
|
146
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
139
147
|
|
140
148
|
### Return type
|
141
149
|
|
@@ -173,6 +181,7 @@ end
|
|
173
181
|
|
174
182
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
175
183
|
opts = {
|
184
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
176
185
|
limit: 56, # Integer | Number of results to return per page.
|
177
186
|
name: 'name_example', # String | Filter results where name matches value
|
178
187
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -224,6 +233,7 @@ end
|
|
224
233
|
|
225
234
|
| Name | Type | Description | Notes |
|
226
235
|
| ---- | ---- | ----------- | ----- |
|
236
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
227
237
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
228
238
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
229
239
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -259,7 +269,7 @@ end
|
|
259
269
|
|
260
270
|
## partial_update
|
261
271
|
|
262
|
-
> <CertguardX509CertGuardResponse> partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
272
|
+
> <CertguardX509CertGuardResponse> partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
263
273
|
|
264
274
|
Update a x509 cert guard
|
265
275
|
|
@@ -280,10 +290,13 @@ end
|
|
280
290
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
281
291
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
282
292
|
patchedcertguard_x509_cert_guard = PulpCertguardClient::PatchedcertguardX509CertGuard.new # PatchedcertguardX509CertGuard |
|
293
|
+
opts = {
|
294
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
295
|
+
}
|
283
296
|
|
284
297
|
begin
|
285
298
|
# Update a x509 cert guard
|
286
|
-
result = api_instance.partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
299
|
+
result = api_instance.partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
287
300
|
p result
|
288
301
|
rescue PulpCertguardClient::ApiError => e
|
289
302
|
puts "Error when calling ContentguardsX509Api->partial_update: #{e}"
|
@@ -294,12 +307,12 @@ end
|
|
294
307
|
|
295
308
|
This returns an Array which contains the response data, status code and headers.
|
296
309
|
|
297
|
-
> <Array(<CertguardX509CertGuardResponse>, Integer, Hash)> partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
310
|
+
> <Array(<CertguardX509CertGuardResponse>, Integer, Hash)> partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
298
311
|
|
299
312
|
```ruby
|
300
313
|
begin
|
301
314
|
# Update a x509 cert guard
|
302
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
315
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
303
316
|
p status_code # => 2xx
|
304
317
|
p headers # => { ... }
|
305
318
|
p data # => <CertguardX509CertGuardResponse>
|
@@ -314,6 +327,7 @@ end
|
|
314
327
|
| ---- | ---- | ----------- | ----- |
|
315
328
|
| **certguard_x509_cert_guard_href** | **String** | | |
|
316
329
|
| **patchedcertguard_x509_cert_guard** | [**PatchedcertguardX509CertGuard**](PatchedcertguardX509CertGuard.md) | | |
|
330
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
317
331
|
|
318
332
|
### Return type
|
319
333
|
|
@@ -352,6 +366,7 @@ end
|
|
352
366
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
353
367
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
354
368
|
opts = {
|
369
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
355
370
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
356
371
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
357
372
|
}
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| Name | Type | Description | Notes |
|
389
404
|
| ---- | ---- | ----------- | ----- |
|
390
405
|
| **certguard_x509_cert_guard_href** | **String** | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
392
408
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
393
409
|
|
@@ -407,7 +423,7 @@ end
|
|
407
423
|
|
408
424
|
## update
|
409
425
|
|
410
|
-
> <CertguardX509CertGuardResponse> update(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
426
|
+
> <CertguardX509CertGuardResponse> update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
411
427
|
|
412
428
|
Update a x509 cert guard
|
413
429
|
|
@@ -428,10 +444,13 @@ end
|
|
428
444
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
429
445
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
430
446
|
certguard_x509_cert_guard = PulpCertguardClient::CertguardX509CertGuard.new({name: 'name_example', ca_certificate: 'ca_certificate_example'}) # CertguardX509CertGuard |
|
447
|
+
opts = {
|
448
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
449
|
+
}
|
431
450
|
|
432
451
|
begin
|
433
452
|
# Update a x509 cert guard
|
434
|
-
result = api_instance.update(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
453
|
+
result = api_instance.update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
435
454
|
p result
|
436
455
|
rescue PulpCertguardClient::ApiError => e
|
437
456
|
puts "Error when calling ContentguardsX509Api->update: #{e}"
|
@@ -442,12 +461,12 @@ end
|
|
442
461
|
|
443
462
|
This returns an Array which contains the response data, status code and headers.
|
444
463
|
|
445
|
-
> <Array(<CertguardX509CertGuardResponse>, Integer, Hash)> update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
464
|
+
> <Array(<CertguardX509CertGuardResponse>, Integer, Hash)> update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
446
465
|
|
447
466
|
```ruby
|
448
467
|
begin
|
449
468
|
# Update a x509 cert guard
|
450
|
-
data, status_code, headers = api_instance.update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
469
|
+
data, status_code, headers = api_instance.update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
451
470
|
p status_code # => 2xx
|
452
471
|
p headers # => { ... }
|
453
472
|
p data # => <CertguardX509CertGuardResponse>
|
@@ -462,6 +481,7 @@ end
|
|
462
481
|
| ---- | ---- | ----------- | ----- |
|
463
482
|
| **certguard_x509_cert_guard_href** | **String** | | |
|
464
483
|
| **certguard_x509_cert_guard** | [**CertguardX509CertGuard**](CertguardX509CertGuard.md) | | |
|
484
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
465
485
|
|
466
486
|
### Return type
|
467
487
|
|
@@ -23,6 +23,7 @@ module PulpCertguardClient
|
|
23
23
|
# RHSMCertGuard API Viewsets.
|
24
24
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [CertguardRHSMCertGuardResponse]
|
27
28
|
def create(certguard_rhsm_cert_guard, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(certguard_rhsm_cert_guard, opts)
|
@@ -33,6 +34,7 @@ module PulpCertguardClient
|
|
33
34
|
# RHSMCertGuard API Viewsets.
|
34
35
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(certguard_rhsm_cert_guard, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpCertguardClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpCertguardClient
|
|
91
94
|
# RHSMCertGuard API Viewsets.
|
92
95
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [nil]
|
95
99
|
def delete(certguard_r_h_s_m_cert_guard_href, opts = {})
|
96
100
|
delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
@@ -101,6 +105,7 @@ module PulpCertguardClient
|
|
101
105
|
# RHSMCertGuard API Viewsets.
|
102
106
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
105
110
|
def delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -118,6 +123,7 @@ module PulpCertguardClient
|
|
118
123
|
|
119
124
|
# header parameters
|
120
125
|
header_params = opts[:header_params] || {}
|
126
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
121
127
|
|
122
128
|
# form parameters
|
123
129
|
form_params = opts[:form_params] || {}
|
@@ -151,6 +157,7 @@ module PulpCertguardClient
|
|
151
157
|
# List rhsm cert guards
|
152
158
|
# RHSMCertGuard API Viewsets.
|
153
159
|
# @param [Hash] opts the optional parameters
|
160
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
154
161
|
# @option opts [Integer] :limit Number of results to return per page.
|
155
162
|
# @option opts [String] :name Filter results where name matches value
|
156
163
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -178,6 +185,7 @@ module PulpCertguardClient
|
|
178
185
|
# List rhsm cert guards
|
179
186
|
# RHSMCertGuard API Viewsets.
|
180
187
|
# @param [Hash] opts the optional parameters
|
188
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
181
189
|
# @option opts [Integer] :limit Number of results to return per page.
|
182
190
|
# @option opts [String] :name Filter results where name matches value
|
183
191
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -233,6 +241,7 @@ module PulpCertguardClient
|
|
233
241
|
header_params = opts[:header_params] || {}
|
234
242
|
# HTTP header 'Accept' (if needed)
|
235
243
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
244
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
236
245
|
|
237
246
|
# form parameters
|
238
247
|
form_params = opts[:form_params] || {}
|
@@ -268,6 +277,7 @@ module PulpCertguardClient
|
|
268
277
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
269
278
|
# @param patchedcertguard_rhsm_cert_guard [PatchedcertguardRHSMCertGuard]
|
270
279
|
# @param [Hash] opts the optional parameters
|
280
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
271
281
|
# @return [CertguardRHSMCertGuardResponse]
|
272
282
|
def partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts = {})
|
273
283
|
data, _status_code, _headers = partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
@@ -279,6 +289,7 @@ module PulpCertguardClient
|
|
279
289
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
280
290
|
# @param patchedcertguard_rhsm_cert_guard [PatchedcertguardRHSMCertGuard]
|
281
291
|
# @param [Hash] opts the optional parameters
|
292
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
282
293
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
283
294
|
def partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts = {})
|
284
295
|
if @api_client.config.debugging
|
@@ -307,6 +318,7 @@ module PulpCertguardClient
|
|
307
318
|
if !content_type.nil?
|
308
319
|
header_params['Content-Type'] = content_type
|
309
320
|
end
|
321
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
310
322
|
|
311
323
|
# form parameters
|
312
324
|
form_params = opts[:form_params] || {}
|
@@ -341,6 +353,7 @@ module PulpCertguardClient
|
|
341
353
|
# RHSMCertGuard API Viewsets.
|
342
354
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
343
355
|
# @param [Hash] opts the optional parameters
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
359
|
# @return [CertguardRHSMCertGuardResponse]
|
@@ -353,6 +366,7 @@ module PulpCertguardClient
|
|
353
366
|
# RHSMCertGuard API Viewsets.
|
354
367
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
355
368
|
# @param [Hash] opts the optional parameters
|
369
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
356
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
357
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
358
372
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
@@ -376,6 +390,7 @@ module PulpCertguardClient
|
|
376
390
|
header_params = opts[:header_params] || {}
|
377
391
|
# HTTP header 'Accept' (if needed)
|
378
392
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
393
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
379
394
|
|
380
395
|
# form parameters
|
381
396
|
form_params = opts[:form_params] || {}
|
@@ -411,6 +426,7 @@ module PulpCertguardClient
|
|
411
426
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
412
427
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
413
428
|
# @param [Hash] opts the optional parameters
|
429
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
414
430
|
# @return [CertguardRHSMCertGuardResponse]
|
415
431
|
def update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts = {})
|
416
432
|
data, _status_code, _headers = update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
@@ -422,6 +438,7 @@ module PulpCertguardClient
|
|
422
438
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
423
439
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
424
440
|
# @param [Hash] opts the optional parameters
|
441
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
425
442
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
426
443
|
def update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts = {})
|
427
444
|
if @api_client.config.debugging
|
@@ -450,6 +467,7 @@ module PulpCertguardClient
|
|
450
467
|
if !content_type.nil?
|
451
468
|
header_params['Content-Type'] = content_type
|
452
469
|
end
|
470
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
453
471
|
|
454
472
|
# form parameters
|
455
473
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpCertguardClient
|
|
23
23
|
# X509CertGuard API Viewsets.
|
24
24
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [CertguardX509CertGuardResponse]
|
27
28
|
def create(certguard_x509_cert_guard, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(certguard_x509_cert_guard, opts)
|
@@ -33,6 +34,7 @@ module PulpCertguardClient
|
|
33
34
|
# X509CertGuard API Viewsets.
|
34
35
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(certguard_x509_cert_guard, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpCertguardClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpCertguardClient
|
|
91
94
|
# X509CertGuard API Viewsets.
|
92
95
|
# @param certguard_x509_cert_guard_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [nil]
|
95
99
|
def delete(certguard_x509_cert_guard_href, opts = {})
|
96
100
|
delete_with_http_info(certguard_x509_cert_guard_href, opts)
|
@@ -101,6 +105,7 @@ module PulpCertguardClient
|
|
101
105
|
# X509CertGuard API Viewsets.
|
102
106
|
# @param certguard_x509_cert_guard_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
105
110
|
def delete_with_http_info(certguard_x509_cert_guard_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -118,6 +123,7 @@ module PulpCertguardClient
|
|
118
123
|
|
119
124
|
# header parameters
|
120
125
|
header_params = opts[:header_params] || {}
|
126
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
121
127
|
|
122
128
|
# form parameters
|
123
129
|
form_params = opts[:form_params] || {}
|
@@ -151,6 +157,7 @@ module PulpCertguardClient
|
|
151
157
|
# List x509 cert guards
|
152
158
|
# X509CertGuard API Viewsets.
|
153
159
|
# @param [Hash] opts the optional parameters
|
160
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
154
161
|
# @option opts [Integer] :limit Number of results to return per page.
|
155
162
|
# @option opts [String] :name Filter results where name matches value
|
156
163
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -178,6 +185,7 @@ module PulpCertguardClient
|
|
178
185
|
# List x509 cert guards
|
179
186
|
# X509CertGuard API Viewsets.
|
180
187
|
# @param [Hash] opts the optional parameters
|
188
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
181
189
|
# @option opts [Integer] :limit Number of results to return per page.
|
182
190
|
# @option opts [String] :name Filter results where name matches value
|
183
191
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -233,6 +241,7 @@ module PulpCertguardClient
|
|
233
241
|
header_params = opts[:header_params] || {}
|
234
242
|
# HTTP header 'Accept' (if needed)
|
235
243
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
244
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
236
245
|
|
237
246
|
# form parameters
|
238
247
|
form_params = opts[:form_params] || {}
|
@@ -268,6 +277,7 @@ module PulpCertguardClient
|
|
268
277
|
# @param certguard_x509_cert_guard_href [String]
|
269
278
|
# @param patchedcertguard_x509_cert_guard [PatchedcertguardX509CertGuard]
|
270
279
|
# @param [Hash] opts the optional parameters
|
280
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
271
281
|
# @return [CertguardX509CertGuardResponse]
|
272
282
|
def partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts = {})
|
273
283
|
data, _status_code, _headers = partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
@@ -279,6 +289,7 @@ module PulpCertguardClient
|
|
279
289
|
# @param certguard_x509_cert_guard_href [String]
|
280
290
|
# @param patchedcertguard_x509_cert_guard [PatchedcertguardX509CertGuard]
|
281
291
|
# @param [Hash] opts the optional parameters
|
292
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
282
293
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
283
294
|
def partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts = {})
|
284
295
|
if @api_client.config.debugging
|
@@ -307,6 +318,7 @@ module PulpCertguardClient
|
|
307
318
|
if !content_type.nil?
|
308
319
|
header_params['Content-Type'] = content_type
|
309
320
|
end
|
321
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
310
322
|
|
311
323
|
# form parameters
|
312
324
|
form_params = opts[:form_params] || {}
|
@@ -341,6 +353,7 @@ module PulpCertguardClient
|
|
341
353
|
# X509CertGuard API Viewsets.
|
342
354
|
# @param certguard_x509_cert_guard_href [String]
|
343
355
|
# @param [Hash] opts the optional parameters
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
359
|
# @return [CertguardX509CertGuardResponse]
|
@@ -353,6 +366,7 @@ module PulpCertguardClient
|
|
353
366
|
# X509CertGuard API Viewsets.
|
354
367
|
# @param certguard_x509_cert_guard_href [String]
|
355
368
|
# @param [Hash] opts the optional parameters
|
369
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
356
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
357
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
358
372
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
@@ -376,6 +390,7 @@ module PulpCertguardClient
|
|
376
390
|
header_params = opts[:header_params] || {}
|
377
391
|
# HTTP header 'Accept' (if needed)
|
378
392
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
393
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
379
394
|
|
380
395
|
# form parameters
|
381
396
|
form_params = opts[:form_params] || {}
|
@@ -411,6 +426,7 @@ module PulpCertguardClient
|
|
411
426
|
# @param certguard_x509_cert_guard_href [String]
|
412
427
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
413
428
|
# @param [Hash] opts the optional parameters
|
429
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
414
430
|
# @return [CertguardX509CertGuardResponse]
|
415
431
|
def update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts = {})
|
416
432
|
data, _status_code, _headers = update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
@@ -422,6 +438,7 @@ module PulpCertguardClient
|
|
422
438
|
# @param certguard_x509_cert_guard_href [String]
|
423
439
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
424
440
|
# @param [Hash] opts the optional parameters
|
441
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
425
442
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
426
443
|
def update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts = {})
|
427
444
|
if @api_client.config.debugging
|
@@ -450,6 +467,7 @@ module PulpCertguardClient
|
|
450
467
|
if !content_type.nil?
|
451
468
|
header_params['Content-Type'] = content_type
|
452
469
|
end
|
470
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
453
471
|
|
454
472
|
# form parameters
|
455
473
|
form_params = opts[:form_params] || {}
|
@@ -37,6 +37,7 @@ describe 'ContentguardsRhsmApi' do
|
|
37
37
|
# RHSMCertGuard API Viewsets.
|
38
38
|
# @param certguard_rhsm_cert_guard
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [CertguardRHSMCertGuardResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -49,6 +50,7 @@ describe 'ContentguardsRhsmApi' do
|
|
49
50
|
# RHSMCertGuard API Viewsets.
|
50
51
|
# @param certguard_r_h_s_m_cert_guard_href
|
51
52
|
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
52
54
|
# @return [nil]
|
53
55
|
describe 'delete test' do
|
54
56
|
it 'should work' do
|
@@ -60,6 +62,7 @@ describe 'ContentguardsRhsmApi' do
|
|
60
62
|
# List rhsm cert guards
|
61
63
|
# RHSMCertGuard API Viewsets.
|
62
64
|
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
67
|
# @option opts [String] :name Filter results where name matches value
|
65
68
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -91,6 +94,7 @@ describe 'ContentguardsRhsmApi' do
|
|
91
94
|
# @param certguard_r_h_s_m_cert_guard_href
|
92
95
|
# @param patchedcertguard_rhsm_cert_guard
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [CertguardRHSMCertGuardResponse]
|
95
99
|
describe 'partial_update test' do
|
96
100
|
it 'should work' do
|
@@ -103,6 +107,7 @@ describe 'ContentguardsRhsmApi' do
|
|
103
107
|
# RHSMCertGuard API Viewsets.
|
104
108
|
# @param certguard_r_h_s_m_cert_guard_href
|
105
109
|
# @param [Hash] opts the optional parameters
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
106
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
113
|
# @return [CertguardRHSMCertGuardResponse]
|
@@ -118,6 +123,7 @@ describe 'ContentguardsRhsmApi' do
|
|
118
123
|
# @param certguard_r_h_s_m_cert_guard_href
|
119
124
|
# @param certguard_rhsm_cert_guard
|
120
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
121
127
|
# @return [CertguardRHSMCertGuardResponse]
|
122
128
|
describe 'update test' do
|
123
129
|
it 'should work' do
|
@@ -37,6 +37,7 @@ describe 'ContentguardsX509Api' do
|
|
37
37
|
# X509CertGuard API Viewsets.
|
38
38
|
# @param certguard_x509_cert_guard
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [CertguardX509CertGuardResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -49,6 +50,7 @@ describe 'ContentguardsX509Api' do
|
|
49
50
|
# X509CertGuard API Viewsets.
|
50
51
|
# @param certguard_x509_cert_guard_href
|
51
52
|
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
52
54
|
# @return [nil]
|
53
55
|
describe 'delete test' do
|
54
56
|
it 'should work' do
|
@@ -60,6 +62,7 @@ describe 'ContentguardsX509Api' do
|
|
60
62
|
# List x509 cert guards
|
61
63
|
# X509CertGuard API Viewsets.
|
62
64
|
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
67
|
# @option opts [String] :name Filter results where name matches value
|
65
68
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -91,6 +94,7 @@ describe 'ContentguardsX509Api' do
|
|
91
94
|
# @param certguard_x509_cert_guard_href
|
92
95
|
# @param patchedcertguard_x509_cert_guard
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [CertguardX509CertGuardResponse]
|
95
99
|
describe 'partial_update test' do
|
96
100
|
it 'should work' do
|
@@ -103,6 +107,7 @@ describe 'ContentguardsX509Api' do
|
|
103
107
|
# X509CertGuard API Viewsets.
|
104
108
|
# @param certguard_x509_cert_guard_href
|
105
109
|
# @param [Hash] opts the optional parameters
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
106
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
113
|
# @return [CertguardX509CertGuardResponse]
|
@@ -118,6 +123,7 @@ describe 'ContentguardsX509Api' do
|
|
118
123
|
# @param certguard_x509_cert_guard_href
|
119
124
|
# @param certguard_x509_cert_guard
|
120
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
121
127
|
# @return [CertguardX509CertGuardResponse]
|
122
128
|
describe 'update test' do
|
123
129
|
it 'should work' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_certguard_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.82.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -151,12 +151,12 @@ summary: Pulp 3 API Ruby Gem
|
|
151
151
|
test_files:
|
152
152
|
- spec/api/contentguards_rhsm_api_spec.rb
|
153
153
|
- spec/api/contentguards_x509_api_spec.rb
|
154
|
-
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
155
|
-
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
156
154
|
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
157
155
|
- spec/models/certguard_x509_cert_guard_spec.rb
|
158
|
-
- spec/models/
|
159
|
-
- spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb
|
156
|
+
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
160
157
|
- spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb
|
158
|
+
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
159
|
+
- spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb
|
161
160
|
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
161
|
+
- spec/models/certguard_x509_cert_guard_response_spec.rb
|
162
162
|
- spec/spec_helper.rb
|