pulp_certguard_client 3.49.56 → 3.50.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 +6 -9
- data/docs/ContentguardsRhsmApi.md +9 -29
- data/docs/ContentguardsX509Api.md +9 -29
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +0 -18
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +0 -18
- data/lib/pulp_certguard_client/configuration.rb +2 -2
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/spec/api/contentguards_rhsm_api_spec.rb +0 -6
- data/spec/api/contentguards_x509_api_spec.rb +0 -6
- data/spec/configuration_spec.rb +3 -3
- metadata +22 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f78f0f5cee112bb620cc336a1c354340bbc2da6e09d1df48b2003e13c2c3b726
|
|
4
|
+
data.tar.gz: e13c2fcabab267cc7ecd941d409d0ad9e55a2027e8daf712a7bb09319487de13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86b230e812edbac200b6cdd5ce7133c15fa58001cba3a5f622568bad9264fb3341c0dc7faf75f52fe2a24989c445d44a8e32262e67fcaf62969a063c69a6715d
|
|
7
|
+
data.tar.gz: e3f772f0425023b5da3e2b3d9db7051ca0f97ed3d71ebc520a593c2e3887a52f6bdc45f839b91fdcb384f9b8bda5ce19730a0cb0b6dab2fd3074027e3bddd77e
|
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.50.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_certguard_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_certguard_client-3.
|
|
27
|
+
gem install ./pulp_certguard_client-3.50.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_certguard_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_certguard_client-3.50.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_certguard_client', '~> 3.
|
|
36
|
+
gem 'pulp_certguard_client', '~> 3.50.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -66,13 +66,10 @@ end
|
|
|
66
66
|
|
|
67
67
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
68
68
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
|
69
|
-
opts = {
|
|
70
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
71
|
-
}
|
|
72
69
|
|
|
73
70
|
begin
|
|
74
71
|
#Create a rhsm cert guard
|
|
75
|
-
result = api_instance.create(certguard_rhsm_cert_guard
|
|
72
|
+
result = api_instance.create(certguard_rhsm_cert_guard)
|
|
76
73
|
p result
|
|
77
74
|
rescue PulpCertguardClient::ApiError => e
|
|
78
75
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
|
@@ -82,7 +79,7 @@ end
|
|
|
82
79
|
|
|
83
80
|
## Documentation for API Endpoints
|
|
84
81
|
|
|
85
|
-
All URIs are relative to *http://
|
|
82
|
+
All URIs are relative to *http://pulp*
|
|
86
83
|
|
|
87
84
|
Class | Method | HTTP request | Description
|
|
88
85
|
------------ | ------------- | ------------- | -------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpCertguardClient::ContentguardsRhsmApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> CertguardRHSMCertGuardResponse create(certguard_rhsm_cert_guard
|
|
18
|
+
> CertguardRHSMCertGuardResponse create(certguard_rhsm_cert_guard)
|
|
19
19
|
|
|
20
20
|
Create a rhsm cert guard
|
|
21
21
|
|
|
@@ -35,13 +35,10 @@ end
|
|
|
35
35
|
|
|
36
36
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
37
37
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
|
38
|
-
opts = {
|
|
39
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
40
|
-
}
|
|
41
38
|
|
|
42
39
|
begin
|
|
43
40
|
#Create a rhsm cert guard
|
|
44
|
-
result = api_instance.create(certguard_rhsm_cert_guard
|
|
41
|
+
result = api_instance.create(certguard_rhsm_cert_guard)
|
|
45
42
|
p result
|
|
46
43
|
rescue PulpCertguardClient::ApiError => e
|
|
47
44
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
|
@@ -54,7 +51,6 @@ end
|
|
|
54
51
|
Name | Type | Description | Notes
|
|
55
52
|
------------- | ------------- | ------------- | -------------
|
|
56
53
|
**certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)| |
|
|
57
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
58
54
|
|
|
59
55
|
### Return type
|
|
60
56
|
|
|
@@ -72,7 +68,7 @@ Name | Type | Description | Notes
|
|
|
72
68
|
|
|
73
69
|
## delete
|
|
74
70
|
|
|
75
|
-
> delete(certguard_r_h_s_m_cert_guard_href
|
|
71
|
+
> delete(certguard_r_h_s_m_cert_guard_href)
|
|
76
72
|
|
|
77
73
|
Delete a rhsm cert guard
|
|
78
74
|
|
|
@@ -92,13 +88,10 @@ end
|
|
|
92
88
|
|
|
93
89
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
94
90
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
95
|
-
opts = {
|
|
96
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
97
|
-
}
|
|
98
91
|
|
|
99
92
|
begin
|
|
100
93
|
#Delete a rhsm cert guard
|
|
101
|
-
api_instance.delete(certguard_r_h_s_m_cert_guard_href
|
|
94
|
+
api_instance.delete(certguard_r_h_s_m_cert_guard_href)
|
|
102
95
|
rescue PulpCertguardClient::ApiError => e
|
|
103
96
|
puts "Exception when calling ContentguardsRhsmApi->delete: #{e}"
|
|
104
97
|
end
|
|
@@ -110,7 +103,6 @@ end
|
|
|
110
103
|
Name | Type | Description | Notes
|
|
111
104
|
------------- | ------------- | ------------- | -------------
|
|
112
105
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
113
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
114
106
|
|
|
115
107
|
### Return type
|
|
116
108
|
|
|
@@ -148,7 +140,6 @@ end
|
|
|
148
140
|
|
|
149
141
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
150
142
|
opts = {
|
|
151
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
152
143
|
limit: 56, # Integer | Number of results to return per page.
|
|
153
144
|
name: 'name_example', # String | Filter results where name matches value
|
|
154
145
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -182,7 +173,6 @@ end
|
|
|
182
173
|
|
|
183
174
|
Name | Type | Description | Notes
|
|
184
175
|
------------- | ------------- | ------------- | -------------
|
|
185
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
186
176
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
187
177
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
188
178
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -217,7 +207,7 @@ Name | Type | Description | Notes
|
|
|
217
207
|
|
|
218
208
|
## partial_update
|
|
219
209
|
|
|
220
|
-
> CertguardRHSMCertGuardResponse partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard
|
|
210
|
+
> CertguardRHSMCertGuardResponse partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
|
221
211
|
|
|
222
212
|
Update a rhsm cert guard
|
|
223
213
|
|
|
@@ -238,13 +228,10 @@ end
|
|
|
238
228
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
239
229
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
240
230
|
patchedcertguard_rhsm_cert_guard = PulpCertguardClient::PatchedcertguardRHSMCertGuard.new # PatchedcertguardRHSMCertGuard |
|
|
241
|
-
opts = {
|
|
242
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
243
|
-
}
|
|
244
231
|
|
|
245
232
|
begin
|
|
246
233
|
#Update a rhsm cert guard
|
|
247
|
-
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard
|
|
234
|
+
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
|
248
235
|
p result
|
|
249
236
|
rescue PulpCertguardClient::ApiError => e
|
|
250
237
|
puts "Exception when calling ContentguardsRhsmApi->partial_update: #{e}"
|
|
@@ -258,7 +245,6 @@ Name | Type | Description | Notes
|
|
|
258
245
|
------------- | ------------- | ------------- | -------------
|
|
259
246
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
260
247
|
**patchedcertguard_rhsm_cert_guard** | [**PatchedcertguardRHSMCertGuard**](PatchedcertguardRHSMCertGuard.md)| |
|
|
261
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
262
248
|
|
|
263
249
|
### Return type
|
|
264
250
|
|
|
@@ -297,7 +283,6 @@ end
|
|
|
297
283
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
298
284
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
299
285
|
opts = {
|
|
300
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
301
286
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
302
287
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
303
288
|
}
|
|
@@ -317,7 +302,6 @@ end
|
|
|
317
302
|
Name | Type | Description | Notes
|
|
318
303
|
------------- | ------------- | ------------- | -------------
|
|
319
304
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
320
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
321
305
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
322
306
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
323
307
|
|
|
@@ -337,7 +321,7 @@ Name | Type | Description | Notes
|
|
|
337
321
|
|
|
338
322
|
## update
|
|
339
323
|
|
|
340
|
-
> CertguardRHSMCertGuardResponse update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard
|
|
324
|
+
> CertguardRHSMCertGuardResponse update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
|
341
325
|
|
|
342
326
|
Update a rhsm cert guard
|
|
343
327
|
|
|
@@ -358,13 +342,10 @@ end
|
|
|
358
342
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
359
343
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
360
344
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
|
361
|
-
opts = {
|
|
362
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
363
|
-
}
|
|
364
345
|
|
|
365
346
|
begin
|
|
366
347
|
#Update a rhsm cert guard
|
|
367
|
-
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard
|
|
348
|
+
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
|
368
349
|
p result
|
|
369
350
|
rescue PulpCertguardClient::ApiError => e
|
|
370
351
|
puts "Exception when calling ContentguardsRhsmApi->update: #{e}"
|
|
@@ -378,7 +359,6 @@ Name | Type | Description | Notes
|
|
|
378
359
|
------------- | ------------- | ------------- | -------------
|
|
379
360
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
380
361
|
**certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)| |
|
|
381
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
382
362
|
|
|
383
363
|
### Return type
|
|
384
364
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpCertguardClient::ContentguardsX509Api
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> CertguardX509CertGuardResponse create(certguard_x509_cert_guard
|
|
18
|
+
> CertguardX509CertGuardResponse create(certguard_x509_cert_guard)
|
|
19
19
|
|
|
20
20
|
Create a x509 cert guard
|
|
21
21
|
|
|
@@ -35,13 +35,10 @@ end
|
|
|
35
35
|
|
|
36
36
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
37
37
|
certguard_x509_cert_guard = PulpCertguardClient::CertguardX509CertGuard.new # CertguardX509CertGuard |
|
|
38
|
-
opts = {
|
|
39
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
40
|
-
}
|
|
41
38
|
|
|
42
39
|
begin
|
|
43
40
|
#Create a x509 cert guard
|
|
44
|
-
result = api_instance.create(certguard_x509_cert_guard
|
|
41
|
+
result = api_instance.create(certguard_x509_cert_guard)
|
|
45
42
|
p result
|
|
46
43
|
rescue PulpCertguardClient::ApiError => e
|
|
47
44
|
puts "Exception when calling ContentguardsX509Api->create: #{e}"
|
|
@@ -54,7 +51,6 @@ end
|
|
|
54
51
|
Name | Type | Description | Notes
|
|
55
52
|
------------- | ------------- | ------------- | -------------
|
|
56
53
|
**certguard_x509_cert_guard** | [**CertguardX509CertGuard**](CertguardX509CertGuard.md)| |
|
|
57
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
58
54
|
|
|
59
55
|
### Return type
|
|
60
56
|
|
|
@@ -72,7 +68,7 @@ Name | Type | Description | Notes
|
|
|
72
68
|
|
|
73
69
|
## delete
|
|
74
70
|
|
|
75
|
-
> delete(certguard_x509_cert_guard_href
|
|
71
|
+
> delete(certguard_x509_cert_guard_href)
|
|
76
72
|
|
|
77
73
|
Delete a x509 cert guard
|
|
78
74
|
|
|
@@ -92,13 +88,10 @@ end
|
|
|
92
88
|
|
|
93
89
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
94
90
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
95
|
-
opts = {
|
|
96
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
97
|
-
}
|
|
98
91
|
|
|
99
92
|
begin
|
|
100
93
|
#Delete a x509 cert guard
|
|
101
|
-
api_instance.delete(certguard_x509_cert_guard_href
|
|
94
|
+
api_instance.delete(certguard_x509_cert_guard_href)
|
|
102
95
|
rescue PulpCertguardClient::ApiError => e
|
|
103
96
|
puts "Exception when calling ContentguardsX509Api->delete: #{e}"
|
|
104
97
|
end
|
|
@@ -110,7 +103,6 @@ end
|
|
|
110
103
|
Name | Type | Description | Notes
|
|
111
104
|
------------- | ------------- | ------------- | -------------
|
|
112
105
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
113
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
114
106
|
|
|
115
107
|
### Return type
|
|
116
108
|
|
|
@@ -148,7 +140,6 @@ end
|
|
|
148
140
|
|
|
149
141
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
150
142
|
opts = {
|
|
151
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
152
143
|
limit: 56, # Integer | Number of results to return per page.
|
|
153
144
|
name: 'name_example', # String | Filter results where name matches value
|
|
154
145
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -182,7 +173,6 @@ end
|
|
|
182
173
|
|
|
183
174
|
Name | Type | Description | Notes
|
|
184
175
|
------------- | ------------- | ------------- | -------------
|
|
185
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
186
176
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
187
177
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
188
178
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -217,7 +207,7 @@ Name | Type | Description | Notes
|
|
|
217
207
|
|
|
218
208
|
## partial_update
|
|
219
209
|
|
|
220
|
-
> CertguardX509CertGuardResponse partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard
|
|
210
|
+
> CertguardX509CertGuardResponse partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
|
221
211
|
|
|
222
212
|
Update a x509 cert guard
|
|
223
213
|
|
|
@@ -238,13 +228,10 @@ end
|
|
|
238
228
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
239
229
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
240
230
|
patchedcertguard_x509_cert_guard = PulpCertguardClient::PatchedcertguardX509CertGuard.new # PatchedcertguardX509CertGuard |
|
|
241
|
-
opts = {
|
|
242
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
243
|
-
}
|
|
244
231
|
|
|
245
232
|
begin
|
|
246
233
|
#Update a x509 cert guard
|
|
247
|
-
result = api_instance.partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard
|
|
234
|
+
result = api_instance.partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
|
248
235
|
p result
|
|
249
236
|
rescue PulpCertguardClient::ApiError => e
|
|
250
237
|
puts "Exception when calling ContentguardsX509Api->partial_update: #{e}"
|
|
@@ -258,7 +245,6 @@ Name | Type | Description | Notes
|
|
|
258
245
|
------------- | ------------- | ------------- | -------------
|
|
259
246
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
260
247
|
**patchedcertguard_x509_cert_guard** | [**PatchedcertguardX509CertGuard**](PatchedcertguardX509CertGuard.md)| |
|
|
261
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
262
248
|
|
|
263
249
|
### Return type
|
|
264
250
|
|
|
@@ -297,7 +283,6 @@ end
|
|
|
297
283
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
298
284
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
299
285
|
opts = {
|
|
300
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
301
286
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
302
287
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
303
288
|
}
|
|
@@ -317,7 +302,6 @@ end
|
|
|
317
302
|
Name | Type | Description | Notes
|
|
318
303
|
------------- | ------------- | ------------- | -------------
|
|
319
304
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
320
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
321
305
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
322
306
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
323
307
|
|
|
@@ -337,7 +321,7 @@ Name | Type | Description | Notes
|
|
|
337
321
|
|
|
338
322
|
## update
|
|
339
323
|
|
|
340
|
-
> CertguardX509CertGuardResponse update(certguard_x509_cert_guard_href, certguard_x509_cert_guard
|
|
324
|
+
> CertguardX509CertGuardResponse update(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
|
341
325
|
|
|
342
326
|
Update a x509 cert guard
|
|
343
327
|
|
|
@@ -358,13 +342,10 @@ end
|
|
|
358
342
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
359
343
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
360
344
|
certguard_x509_cert_guard = PulpCertguardClient::CertguardX509CertGuard.new # CertguardX509CertGuard |
|
|
361
|
-
opts = {
|
|
362
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
363
|
-
}
|
|
364
345
|
|
|
365
346
|
begin
|
|
366
347
|
#Update a x509 cert guard
|
|
367
|
-
result = api_instance.update(certguard_x509_cert_guard_href, certguard_x509_cert_guard
|
|
348
|
+
result = api_instance.update(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
|
368
349
|
p result
|
|
369
350
|
rescue PulpCertguardClient::ApiError => e
|
|
370
351
|
puts "Exception when calling ContentguardsX509Api->update: #{e}"
|
|
@@ -378,7 +359,6 @@ Name | Type | Description | Notes
|
|
|
378
359
|
------------- | ------------- | ------------- | -------------
|
|
379
360
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
380
361
|
**certguard_x509_cert_guard** | [**CertguardX509CertGuard**](CertguardX509CertGuard.md)| |
|
|
381
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
382
362
|
|
|
383
363
|
### Return type
|
|
384
364
|
|
|
@@ -23,7 +23,6 @@ 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.
|
|
27
26
|
# @return [CertguardRHSMCertGuardResponse]
|
|
28
27
|
def create(certguard_rhsm_cert_guard, opts = {})
|
|
29
28
|
data, _status_code, _headers = create_with_http_info(certguard_rhsm_cert_guard, opts)
|
|
@@ -34,7 +33,6 @@ module PulpCertguardClient
|
|
|
34
33
|
# RHSMCertGuard API Viewsets.
|
|
35
34
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
39
37
|
def create_with_http_info(certguard_rhsm_cert_guard, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -56,7 +54,6 @@ module PulpCertguardClient
|
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
55
|
# HTTP header 'Content-Type'
|
|
58
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
60
57
|
|
|
61
58
|
# form parameters
|
|
62
59
|
form_params = opts[:form_params] || {}
|
|
@@ -90,7 +87,6 @@ module PulpCertguardClient
|
|
|
90
87
|
# RHSMCertGuard API Viewsets.
|
|
91
88
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
92
89
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
90
|
# @return [nil]
|
|
95
91
|
def delete(certguard_r_h_s_m_cert_guard_href, opts = {})
|
|
96
92
|
delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
|
@@ -101,7 +97,6 @@ module PulpCertguardClient
|
|
|
101
97
|
# RHSMCertGuard API Viewsets.
|
|
102
98
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
103
99
|
# @param [Hash] opts the optional parameters
|
|
104
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
105
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
106
101
|
def delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts = {})
|
|
107
102
|
if @api_client.config.debugging
|
|
@@ -119,7 +114,6 @@ module PulpCertguardClient
|
|
|
119
114
|
|
|
120
115
|
# header parameters
|
|
121
116
|
header_params = opts[:header_params] || {}
|
|
122
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
123
117
|
|
|
124
118
|
# form parameters
|
|
125
119
|
form_params = opts[:form_params] || {}
|
|
@@ -152,7 +146,6 @@ module PulpCertguardClient
|
|
|
152
146
|
# List rhsm cert guards
|
|
153
147
|
# RHSMCertGuard API Viewsets.
|
|
154
148
|
# @param [Hash] opts the optional parameters
|
|
155
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
150
|
# @option opts [String] :name Filter results where name matches value
|
|
158
151
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -179,7 +172,6 @@ module PulpCertguardClient
|
|
|
179
172
|
# List rhsm cert guards
|
|
180
173
|
# RHSMCertGuard API Viewsets.
|
|
181
174
|
# @param [Hash] opts the optional parameters
|
|
182
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
183
175
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
184
176
|
# @option opts [String] :name Filter results where name matches value
|
|
185
177
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -233,7 +225,6 @@ module PulpCertguardClient
|
|
|
233
225
|
header_params = opts[:header_params] || {}
|
|
234
226
|
# HTTP header 'Accept' (if needed)
|
|
235
227
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
236
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
237
228
|
|
|
238
229
|
# form parameters
|
|
239
230
|
form_params = opts[:form_params] || {}
|
|
@@ -268,7 +259,6 @@ module PulpCertguardClient
|
|
|
268
259
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
269
260
|
# @param patchedcertguard_rhsm_cert_guard [PatchedcertguardRHSMCertGuard]
|
|
270
261
|
# @param [Hash] opts the optional parameters
|
|
271
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
272
262
|
# @return [CertguardRHSMCertGuardResponse]
|
|
273
263
|
def partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts = {})
|
|
274
264
|
data, _status_code, _headers = partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
|
@@ -280,7 +270,6 @@ module PulpCertguardClient
|
|
|
280
270
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
281
271
|
# @param patchedcertguard_rhsm_cert_guard [PatchedcertguardRHSMCertGuard]
|
|
282
272
|
# @param [Hash] opts the optional parameters
|
|
283
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
284
273
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
285
274
|
def partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts = {})
|
|
286
275
|
if @api_client.config.debugging
|
|
@@ -306,7 +295,6 @@ module PulpCertguardClient
|
|
|
306
295
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
307
296
|
# HTTP header 'Content-Type'
|
|
308
297
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
309
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
310
298
|
|
|
311
299
|
# form parameters
|
|
312
300
|
form_params = opts[:form_params] || {}
|
|
@@ -340,7 +328,6 @@ module PulpCertguardClient
|
|
|
340
328
|
# RHSMCertGuard API Viewsets.
|
|
341
329
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
342
330
|
# @param [Hash] opts the optional parameters
|
|
343
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
344
331
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
345
332
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
346
333
|
# @return [CertguardRHSMCertGuardResponse]
|
|
@@ -353,7 +340,6 @@ module PulpCertguardClient
|
|
|
353
340
|
# RHSMCertGuard API Viewsets.
|
|
354
341
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
355
342
|
# @param [Hash] opts the optional parameters
|
|
356
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
357
343
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
358
344
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
359
345
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
@@ -377,7 +363,6 @@ module PulpCertguardClient
|
|
|
377
363
|
header_params = opts[:header_params] || {}
|
|
378
364
|
# HTTP header 'Accept' (if needed)
|
|
379
365
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
380
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
381
366
|
|
|
382
367
|
# form parameters
|
|
383
368
|
form_params = opts[:form_params] || {}
|
|
@@ -412,7 +397,6 @@ module PulpCertguardClient
|
|
|
412
397
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
413
398
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
414
399
|
# @param [Hash] opts the optional parameters
|
|
415
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
416
400
|
# @return [CertguardRHSMCertGuardResponse]
|
|
417
401
|
def update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts = {})
|
|
418
402
|
data, _status_code, _headers = update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
|
@@ -424,7 +408,6 @@ module PulpCertguardClient
|
|
|
424
408
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
425
409
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
426
410
|
# @param [Hash] opts the optional parameters
|
|
427
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
428
411
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
429
412
|
def update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts = {})
|
|
430
413
|
if @api_client.config.debugging
|
|
@@ -450,7 +433,6 @@ module PulpCertguardClient
|
|
|
450
433
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
451
434
|
# HTTP header 'Content-Type'
|
|
452
435
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
453
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
454
436
|
|
|
455
437
|
# form parameters
|
|
456
438
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ 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.
|
|
27
26
|
# @return [CertguardX509CertGuardResponse]
|
|
28
27
|
def create(certguard_x509_cert_guard, opts = {})
|
|
29
28
|
data, _status_code, _headers = create_with_http_info(certguard_x509_cert_guard, opts)
|
|
@@ -34,7 +33,6 @@ module PulpCertguardClient
|
|
|
34
33
|
# X509CertGuard API Viewsets.
|
|
35
34
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
39
37
|
def create_with_http_info(certguard_x509_cert_guard, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -56,7 +54,6 @@ module PulpCertguardClient
|
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
55
|
# HTTP header 'Content-Type'
|
|
58
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
60
57
|
|
|
61
58
|
# form parameters
|
|
62
59
|
form_params = opts[:form_params] || {}
|
|
@@ -90,7 +87,6 @@ module PulpCertguardClient
|
|
|
90
87
|
# X509CertGuard API Viewsets.
|
|
91
88
|
# @param certguard_x509_cert_guard_href [String]
|
|
92
89
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
90
|
# @return [nil]
|
|
95
91
|
def delete(certguard_x509_cert_guard_href, opts = {})
|
|
96
92
|
delete_with_http_info(certguard_x509_cert_guard_href, opts)
|
|
@@ -101,7 +97,6 @@ module PulpCertguardClient
|
|
|
101
97
|
# X509CertGuard API Viewsets.
|
|
102
98
|
# @param certguard_x509_cert_guard_href [String]
|
|
103
99
|
# @param [Hash] opts the optional parameters
|
|
104
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
105
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
106
101
|
def delete_with_http_info(certguard_x509_cert_guard_href, opts = {})
|
|
107
102
|
if @api_client.config.debugging
|
|
@@ -119,7 +114,6 @@ module PulpCertguardClient
|
|
|
119
114
|
|
|
120
115
|
# header parameters
|
|
121
116
|
header_params = opts[:header_params] || {}
|
|
122
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
123
117
|
|
|
124
118
|
# form parameters
|
|
125
119
|
form_params = opts[:form_params] || {}
|
|
@@ -152,7 +146,6 @@ module PulpCertguardClient
|
|
|
152
146
|
# List x509 cert guards
|
|
153
147
|
# X509CertGuard API Viewsets.
|
|
154
148
|
# @param [Hash] opts the optional parameters
|
|
155
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
150
|
# @option opts [String] :name Filter results where name matches value
|
|
158
151
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -179,7 +172,6 @@ module PulpCertguardClient
|
|
|
179
172
|
# List x509 cert guards
|
|
180
173
|
# X509CertGuard API Viewsets.
|
|
181
174
|
# @param [Hash] opts the optional parameters
|
|
182
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
183
175
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
184
176
|
# @option opts [String] :name Filter results where name matches value
|
|
185
177
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -233,7 +225,6 @@ module PulpCertguardClient
|
|
|
233
225
|
header_params = opts[:header_params] || {}
|
|
234
226
|
# HTTP header 'Accept' (if needed)
|
|
235
227
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
236
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
237
228
|
|
|
238
229
|
# form parameters
|
|
239
230
|
form_params = opts[:form_params] || {}
|
|
@@ -268,7 +259,6 @@ module PulpCertguardClient
|
|
|
268
259
|
# @param certguard_x509_cert_guard_href [String]
|
|
269
260
|
# @param patchedcertguard_x509_cert_guard [PatchedcertguardX509CertGuard]
|
|
270
261
|
# @param [Hash] opts the optional parameters
|
|
271
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
272
262
|
# @return [CertguardX509CertGuardResponse]
|
|
273
263
|
def partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts = {})
|
|
274
264
|
data, _status_code, _headers = partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
|
@@ -280,7 +270,6 @@ module PulpCertguardClient
|
|
|
280
270
|
# @param certguard_x509_cert_guard_href [String]
|
|
281
271
|
# @param patchedcertguard_x509_cert_guard [PatchedcertguardX509CertGuard]
|
|
282
272
|
# @param [Hash] opts the optional parameters
|
|
283
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
284
273
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
285
274
|
def partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts = {})
|
|
286
275
|
if @api_client.config.debugging
|
|
@@ -306,7 +295,6 @@ module PulpCertguardClient
|
|
|
306
295
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
307
296
|
# HTTP header 'Content-Type'
|
|
308
297
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
309
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
310
298
|
|
|
311
299
|
# form parameters
|
|
312
300
|
form_params = opts[:form_params] || {}
|
|
@@ -340,7 +328,6 @@ module PulpCertguardClient
|
|
|
340
328
|
# X509CertGuard API Viewsets.
|
|
341
329
|
# @param certguard_x509_cert_guard_href [String]
|
|
342
330
|
# @param [Hash] opts the optional parameters
|
|
343
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
344
331
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
345
332
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
346
333
|
# @return [CertguardX509CertGuardResponse]
|
|
@@ -353,7 +340,6 @@ module PulpCertguardClient
|
|
|
353
340
|
# X509CertGuard API Viewsets.
|
|
354
341
|
# @param certguard_x509_cert_guard_href [String]
|
|
355
342
|
# @param [Hash] opts the optional parameters
|
|
356
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
357
343
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
358
344
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
359
345
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
@@ -377,7 +363,6 @@ module PulpCertguardClient
|
|
|
377
363
|
header_params = opts[:header_params] || {}
|
|
378
364
|
# HTTP header 'Accept' (if needed)
|
|
379
365
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
380
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
381
366
|
|
|
382
367
|
# form parameters
|
|
383
368
|
form_params = opts[:form_params] || {}
|
|
@@ -412,7 +397,6 @@ module PulpCertguardClient
|
|
|
412
397
|
# @param certguard_x509_cert_guard_href [String]
|
|
413
398
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
414
399
|
# @param [Hash] opts the optional parameters
|
|
415
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
416
400
|
# @return [CertguardX509CertGuardResponse]
|
|
417
401
|
def update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts = {})
|
|
418
402
|
data, _status_code, _headers = update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
|
@@ -424,7 +408,6 @@ module PulpCertguardClient
|
|
|
424
408
|
# @param certguard_x509_cert_guard_href [String]
|
|
425
409
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
426
410
|
# @param [Hash] opts the optional parameters
|
|
427
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
428
411
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
429
412
|
def update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts = {})
|
|
430
413
|
if @api_client.config.debugging
|
|
@@ -450,7 +433,6 @@ module PulpCertguardClient
|
|
|
450
433
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
451
434
|
# HTTP header 'Content-Type'
|
|
452
435
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
453
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
454
436
|
|
|
455
437
|
# form parameters
|
|
456
438
|
form_params = opts[:form_params] || {}
|
|
@@ -128,7 +128,7 @@ module PulpCertguardClient
|
|
|
128
128
|
|
|
129
129
|
def initialize
|
|
130
130
|
@scheme = 'http'
|
|
131
|
-
@host = '
|
|
131
|
+
@host = 'pulp'
|
|
132
132
|
@base_path = ''
|
|
133
133
|
@api_key = {}
|
|
134
134
|
@api_key_prefix = {}
|
|
@@ -210,7 +210,7 @@ module PulpCertguardClient
|
|
|
210
210
|
def server_settings
|
|
211
211
|
[
|
|
212
212
|
{
|
|
213
|
-
url: "http://
|
|
213
|
+
url: "http://pulp/",
|
|
214
214
|
description: "No description provided",
|
|
215
215
|
}
|
|
216
216
|
]
|
|
@@ -37,7 +37,6 @@ 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.
|
|
41
40
|
# @return [CertguardRHSMCertGuardResponse]
|
|
42
41
|
describe 'create test' do
|
|
43
42
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'ContentguardsRhsmApi' do
|
|
|
50
49
|
# RHSMCertGuard API Viewsets.
|
|
51
50
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @return [nil]
|
|
55
53
|
describe 'delete test' do
|
|
56
54
|
it 'should work' do
|
|
@@ -62,7 +60,6 @@ describe 'ContentguardsRhsmApi' do
|
|
|
62
60
|
# List rhsm cert guards
|
|
63
61
|
# RHSMCertGuard API Viewsets.
|
|
64
62
|
# @param [Hash] opts the optional parameters
|
|
65
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
66
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
64
|
# @option opts [String] :name Filter results where name matches value
|
|
68
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -93,7 +90,6 @@ describe 'ContentguardsRhsmApi' do
|
|
|
93
90
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
94
91
|
# @param patchedcertguard_rhsm_cert_guard
|
|
95
92
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
93
|
# @return [CertguardRHSMCertGuardResponse]
|
|
98
94
|
describe 'partial_update test' do
|
|
99
95
|
it 'should work' do
|
|
@@ -106,7 +102,6 @@ describe 'ContentguardsRhsmApi' do
|
|
|
106
102
|
# RHSMCertGuard API Viewsets.
|
|
107
103
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
108
104
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
111
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
112
107
|
# @return [CertguardRHSMCertGuardResponse]
|
|
@@ -122,7 +117,6 @@ describe 'ContentguardsRhsmApi' do
|
|
|
122
117
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
123
118
|
# @param certguard_rhsm_cert_guard
|
|
124
119
|
# @param [Hash] opts the optional parameters
|
|
125
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
126
120
|
# @return [CertguardRHSMCertGuardResponse]
|
|
127
121
|
describe 'update test' do
|
|
128
122
|
it 'should work' do
|
|
@@ -37,7 +37,6 @@ 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.
|
|
41
40
|
# @return [CertguardX509CertGuardResponse]
|
|
42
41
|
describe 'create test' do
|
|
43
42
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'ContentguardsX509Api' do
|
|
|
50
49
|
# X509CertGuard API Viewsets.
|
|
51
50
|
# @param certguard_x509_cert_guard_href
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @return [nil]
|
|
55
53
|
describe 'delete test' do
|
|
56
54
|
it 'should work' do
|
|
@@ -62,7 +60,6 @@ describe 'ContentguardsX509Api' do
|
|
|
62
60
|
# List x509 cert guards
|
|
63
61
|
# X509CertGuard API Viewsets.
|
|
64
62
|
# @param [Hash] opts the optional parameters
|
|
65
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
66
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
64
|
# @option opts [String] :name Filter results where name matches value
|
|
68
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -93,7 +90,6 @@ describe 'ContentguardsX509Api' do
|
|
|
93
90
|
# @param certguard_x509_cert_guard_href
|
|
94
91
|
# @param patchedcertguard_x509_cert_guard
|
|
95
92
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
93
|
# @return [CertguardX509CertGuardResponse]
|
|
98
94
|
describe 'partial_update test' do
|
|
99
95
|
it 'should work' do
|
|
@@ -106,7 +102,6 @@ describe 'ContentguardsX509Api' do
|
|
|
106
102
|
# X509CertGuard API Viewsets.
|
|
107
103
|
# @param certguard_x509_cert_guard_href
|
|
108
104
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
111
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
112
107
|
# @return [CertguardX509CertGuardResponse]
|
|
@@ -122,7 +117,6 @@ describe 'ContentguardsX509Api' do
|
|
|
122
117
|
# @param certguard_x509_cert_guard_href
|
|
123
118
|
# @param certguard_x509_cert_guard
|
|
124
119
|
# @param [Hash] opts the optional parameters
|
|
125
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
126
120
|
# @return [CertguardX509CertGuardResponse]
|
|
127
121
|
describe 'update test' do
|
|
128
122
|
it 'should work' do
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpCertguardClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("http://
|
|
21
|
+
# uri = URI.parse("http://pulp")
|
|
22
22
|
# PulpCertguardClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpCertguardClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("http://
|
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("http://
|
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
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.50.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -34,42 +34,42 @@ dependencies:
|
|
|
34
34
|
name: json
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - "~>"
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '2.1'
|
|
40
37
|
- - ">="
|
|
41
38
|
- !ruby/object:Gem::Version
|
|
42
39
|
version: 2.1.0
|
|
40
|
+
- - "~>"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '2.1'
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- - "~>"
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: '2.1'
|
|
50
47
|
- - ">="
|
|
51
48
|
- !ruby/object:Gem::Version
|
|
52
49
|
version: 2.1.0
|
|
50
|
+
- - "~>"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '2.1'
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: rspec
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- - "~>"
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: '3.6'
|
|
60
57
|
- - ">="
|
|
61
58
|
- !ruby/object:Gem::Version
|
|
62
59
|
version: 3.6.0
|
|
60
|
+
- - "~>"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: '3.6'
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- - "~>"
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.6'
|
|
70
67
|
- - ">="
|
|
71
68
|
- !ruby/object:Gem::Version
|
|
72
69
|
version: 3.6.0
|
|
70
|
+
- - "~>"
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '3.6'
|
|
73
73
|
description: Fetch, Upload, Organize, and Distribute Software Packages
|
|
74
74
|
email:
|
|
75
75
|
- pulp-list@redhat.com
|
|
@@ -123,7 +123,7 @@ homepage: https://github.com/pulp/pulp_certguard
|
|
|
123
123
|
licenses:
|
|
124
124
|
- GPLv2+
|
|
125
125
|
metadata: {}
|
|
126
|
-
post_install_message:
|
|
126
|
+
post_install_message:
|
|
127
127
|
rdoc_options: []
|
|
128
128
|
require_paths:
|
|
129
129
|
- lib
|
|
@@ -138,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
138
138
|
- !ruby/object:Gem::Version
|
|
139
139
|
version: '0'
|
|
140
140
|
requirements: []
|
|
141
|
-
rubygems_version: 3.
|
|
142
|
-
signing_key:
|
|
141
|
+
rubygems_version: 3.0.3.1
|
|
142
|
+
signing_key:
|
|
143
143
|
specification_version: 4
|
|
144
144
|
summary: Pulp 3 API Ruby Gem
|
|
145
145
|
test_files:
|
|
@@ -147,12 +147,12 @@ test_files:
|
|
|
147
147
|
- spec/api/contentguards_rhsm_api_spec.rb
|
|
148
148
|
- spec/api_client_spec.rb
|
|
149
149
|
- spec/configuration_spec.rb
|
|
150
|
-
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
|
151
150
|
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
|
151
|
+
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
|
152
|
+
- spec/models/certguard_x509_cert_guard_response_spec.rb
|
|
152
153
|
- spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb
|
|
153
|
-
- spec/models/
|
|
154
|
+
- spec/models/certguard_x509_cert_guard_spec.rb
|
|
154
155
|
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
|
155
|
-
- spec/models/
|
|
156
|
+
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
|
156
157
|
- spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb
|
|
157
|
-
- spec/models/certguard_x509_cert_guard_spec.rb
|
|
158
158
|
- spec/spec_helper.rb
|