pulp_certguard_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/docs/ContentguardsRhsmApi.md +8 -8
- data/docs/ContentguardsX509Api.md +8 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +12 -12
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +12 -12
- data/lib/pulp_certguard_client/models/inline_response200.rb +1 -1
- data/lib/pulp_certguard_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/lib/pulp_certguard_client.rb +0 -2
- data/spec/api/contentguards_rhsm_api_spec.rb +4 -4
- data/spec/api/contentguards_x509_api_spec.rb +4 -4
- metadata +2 -10
- data/docs/CertguardRHSMCertGuardRead.md +0 -25
- data/docs/CertguardX509CertGuardRead.md +0 -25
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_read.rb +0 -310
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_read.rb +0 -310
- data/spec/models/certguard_rhsm_cert_guard_read_spec.rb +0 -65
- data/spec/models/certguard_x509_cert_guard_read_spec.rb +0 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07e6b318bb738c23f1a4b0881522d8ae0cd03e4cce9a8689f2c830ceddb64edd
|
4
|
+
data.tar.gz: 15a95b2a055514e7332503b8f5633c6ee76b13b6dbf94e307cb325eee7b29789
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f96c170ae9ab3f5a78d61fffb98ab97bad779fcf11558d66e64d2abe34c72b7d2e3544c72dad81de000836d396bc2669377c4e47d3153c3fa40f712c9039a43
|
7
|
+
data.tar.gz: 2b62662576b81b7ffd75e8e5b07e083ec27ef2814a35f6aa1b4011daa98e59684b6d6a1c2bd2cac670e23b7621dc64aa3eacafc9c657031ee7ef40536206f0e3
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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: 1.0.
|
10
|
+
- Package version: 1.0.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_certguard_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_certguard_client-1.0.
|
26
|
+
gem install ./pulp_certguard_client-1.0.1.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_certguard_client-1.0.
|
29
|
+
(for development, run `gem install --dev ./pulp_certguard_client-1.0.1.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_certguard_client', '~> 1.0.
|
35
|
+
gem 'pulp_certguard_client', '~> 1.0.1'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -99,9 +99,7 @@ Class | Method | HTTP request | Description
|
|
99
99
|
## Documentation for Models
|
100
100
|
|
101
101
|
- [PulpCertguardClient::CertguardRHSMCertGuard](docs/CertguardRHSMCertGuard.md)
|
102
|
-
- [PulpCertguardClient::CertguardRHSMCertGuardRead](docs/CertguardRHSMCertGuardRead.md)
|
103
102
|
- [PulpCertguardClient::CertguardX509CertGuard](docs/CertguardX509CertGuard.md)
|
104
|
-
- [PulpCertguardClient::CertguardX509CertGuardRead](docs/CertguardX509CertGuardRead.md)
|
105
103
|
- [PulpCertguardClient::InlineResponse200](docs/InlineResponse200.md)
|
106
104
|
- [PulpCertguardClient::InlineResponse2001](docs/InlineResponse2001.md)
|
107
105
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
>
|
18
|
+
> CertguardRHSMCertGuard create(data)
|
19
19
|
|
20
20
|
Create a rhsm cert guard
|
21
21
|
|
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
|
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
|
|
187
187
|
|
188
188
|
## partial_update
|
189
189
|
|
190
|
-
>
|
190
|
+
> CertguardRHSMCertGuard partial_update(r_h_s_m_cert_guard_href, data)
|
191
191
|
|
192
192
|
Partially update a rhsm cert guard
|
193
193
|
|
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
|
|
228
228
|
|
229
229
|
### Return type
|
230
230
|
|
231
|
-
[**
|
231
|
+
[**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)
|
232
232
|
|
233
233
|
### Authorization
|
234
234
|
|
@@ -242,7 +242,7 @@ Name | Type | Description | Notes
|
|
242
242
|
|
243
243
|
## read
|
244
244
|
|
245
|
-
>
|
245
|
+
> CertguardRHSMCertGuard read(r_h_s_m_cert_guard_href, opts)
|
246
246
|
|
247
247
|
Inspect a rhsm cert guard
|
248
248
|
|
@@ -287,7 +287,7 @@ Name | Type | Description | Notes
|
|
287
287
|
|
288
288
|
### Return type
|
289
289
|
|
290
|
-
[**
|
290
|
+
[**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)
|
291
291
|
|
292
292
|
### Authorization
|
293
293
|
|
@@ -301,7 +301,7 @@ Name | Type | Description | Notes
|
|
301
301
|
|
302
302
|
## update
|
303
303
|
|
304
|
-
>
|
304
|
+
> CertguardRHSMCertGuard update(r_h_s_m_cert_guard_href, data)
|
305
305
|
|
306
306
|
Update a rhsm cert guard
|
307
307
|
|
@@ -342,7 +342,7 @@ Name | Type | Description | Notes
|
|
342
342
|
|
343
343
|
### Return type
|
344
344
|
|
345
|
-
[**
|
345
|
+
[**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)
|
346
346
|
|
347
347
|
### Authorization
|
348
348
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
>
|
18
|
+
> CertguardX509CertGuard create(data)
|
19
19
|
|
20
20
|
Create a x509 cert guard
|
21
21
|
|
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
|
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**CertguardX509CertGuard**](CertguardX509CertGuard.md)
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
|
|
187
187
|
|
188
188
|
## partial_update
|
189
189
|
|
190
|
-
>
|
190
|
+
> CertguardX509CertGuard partial_update(x509_cert_guard_href, data)
|
191
191
|
|
192
192
|
Partially update a x509 cert guard
|
193
193
|
|
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
|
|
228
228
|
|
229
229
|
### Return type
|
230
230
|
|
231
|
-
[**
|
231
|
+
[**CertguardX509CertGuard**](CertguardX509CertGuard.md)
|
232
232
|
|
233
233
|
### Authorization
|
234
234
|
|
@@ -242,7 +242,7 @@ Name | Type | Description | Notes
|
|
242
242
|
|
243
243
|
## read
|
244
244
|
|
245
|
-
>
|
245
|
+
> CertguardX509CertGuard read(x509_cert_guard_href, opts)
|
246
246
|
|
247
247
|
Inspect a x509 cert guard
|
248
248
|
|
@@ -287,7 +287,7 @@ Name | Type | Description | Notes
|
|
287
287
|
|
288
288
|
### Return type
|
289
289
|
|
290
|
-
[**
|
290
|
+
[**CertguardX509CertGuard**](CertguardX509CertGuard.md)
|
291
291
|
|
292
292
|
### Authorization
|
293
293
|
|
@@ -301,7 +301,7 @@ Name | Type | Description | Notes
|
|
301
301
|
|
302
302
|
## update
|
303
303
|
|
304
|
-
>
|
304
|
+
> CertguardX509CertGuard update(x509_cert_guard_href, data)
|
305
305
|
|
306
306
|
Update a x509 cert guard
|
307
307
|
|
@@ -342,7 +342,7 @@ Name | Type | Description | Notes
|
|
342
342
|
|
343
343
|
### Return type
|
344
344
|
|
345
|
-
[**
|
345
|
+
[**CertguardX509CertGuard**](CertguardX509CertGuard.md)
|
346
346
|
|
347
347
|
### Authorization
|
348
348
|
|
data/docs/InlineResponse200.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<CertguardRHSMCertGuard>**](CertguardRHSMCertGuard.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2001.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<CertguardX509CertGuard>**](CertguardX509CertGuard.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -23,7 +23,7 @@ module PulpCertguardClient
|
|
23
23
|
# RHSMCertGuard API Viewsets.
|
24
24
|
# @param data [CertguardRHSMCertGuard]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [CertguardRHSMCertGuard]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpCertguardClient
|
|
33
33
|
# RHSMCertGuard API Viewsets.
|
34
34
|
# @param data [CertguardRHSMCertGuard]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(CertguardRHSMCertGuard, Integer, Hash)>] CertguardRHSMCertGuard data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ContentguardsRhsmApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpCertguardClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'CertguardRHSMCertGuard'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -225,7 +225,7 @@ module PulpCertguardClient
|
|
225
225
|
# @param r_h_s_m_cert_guard_href [String] URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
|
226
226
|
# @param data [CertguardRHSMCertGuard]
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
|
-
# @return [
|
228
|
+
# @return [CertguardRHSMCertGuard]
|
229
229
|
def partial_update(r_h_s_m_cert_guard_href, data, opts = {})
|
230
230
|
data, _status_code, _headers = partial_update_with_http_info(r_h_s_m_cert_guard_href, data, opts)
|
231
231
|
data
|
@@ -236,7 +236,7 @@ module PulpCertguardClient
|
|
236
236
|
# @param r_h_s_m_cert_guard_href [String] URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
|
237
237
|
# @param data [CertguardRHSMCertGuard]
|
238
238
|
# @param [Hash] opts the optional parameters
|
239
|
-
# @return [Array<(
|
239
|
+
# @return [Array<(CertguardRHSMCertGuard, Integer, Hash)>] CertguardRHSMCertGuard data, response status code and response headers
|
240
240
|
def partial_update_with_http_info(r_h_s_m_cert_guard_href, data, opts = {})
|
241
241
|
if @api_client.config.debugging
|
242
242
|
@api_client.config.logger.debug 'Calling API: ContentguardsRhsmApi.partial_update ...'
|
@@ -269,7 +269,7 @@ module PulpCertguardClient
|
|
269
269
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
270
270
|
|
271
271
|
# return_type
|
272
|
-
return_type = opts[:return_type] || '
|
272
|
+
return_type = opts[:return_type] || 'CertguardRHSMCertGuard'
|
273
273
|
|
274
274
|
# auth_names
|
275
275
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -296,7 +296,7 @@ module PulpCertguardClient
|
|
296
296
|
# @param [Hash] opts the optional parameters
|
297
297
|
# @option opts [String] :fields A list of fields to include in the response.
|
298
298
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
299
|
-
# @return [
|
299
|
+
# @return [CertguardRHSMCertGuard]
|
300
300
|
def read(r_h_s_m_cert_guard_href, opts = {})
|
301
301
|
data, _status_code, _headers = read_with_http_info(r_h_s_m_cert_guard_href, opts)
|
302
302
|
data
|
@@ -308,7 +308,7 @@ module PulpCertguardClient
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
309
|
# @option opts [String] :fields A list of fields to include in the response.
|
310
310
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
311
|
-
# @return [Array<(
|
311
|
+
# @return [Array<(CertguardRHSMCertGuard, Integer, Hash)>] CertguardRHSMCertGuard data, response status code and response headers
|
312
312
|
def read_with_http_info(r_h_s_m_cert_guard_href, opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: ContentguardsRhsmApi.read ...'
|
@@ -337,7 +337,7 @@ module PulpCertguardClient
|
|
337
337
|
post_body = opts[:body]
|
338
338
|
|
339
339
|
# return_type
|
340
|
-
return_type = opts[:return_type] || '
|
340
|
+
return_type = opts[:return_type] || 'CertguardRHSMCertGuard'
|
341
341
|
|
342
342
|
# auth_names
|
343
343
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -363,7 +363,7 @@ module PulpCertguardClient
|
|
363
363
|
# @param r_h_s_m_cert_guard_href [String] URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
|
364
364
|
# @param data [CertguardRHSMCertGuard]
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [
|
366
|
+
# @return [CertguardRHSMCertGuard]
|
367
367
|
def update(r_h_s_m_cert_guard_href, data, opts = {})
|
368
368
|
data, _status_code, _headers = update_with_http_info(r_h_s_m_cert_guard_href, data, opts)
|
369
369
|
data
|
@@ -374,7 +374,7 @@ module PulpCertguardClient
|
|
374
374
|
# @param r_h_s_m_cert_guard_href [String] URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
|
375
375
|
# @param data [CertguardRHSMCertGuard]
|
376
376
|
# @param [Hash] opts the optional parameters
|
377
|
-
# @return [Array<(
|
377
|
+
# @return [Array<(CertguardRHSMCertGuard, Integer, Hash)>] CertguardRHSMCertGuard data, response status code and response headers
|
378
378
|
def update_with_http_info(r_h_s_m_cert_guard_href, data, opts = {})
|
379
379
|
if @api_client.config.debugging
|
380
380
|
@api_client.config.logger.debug 'Calling API: ContentguardsRhsmApi.update ...'
|
@@ -407,7 +407,7 @@ module PulpCertguardClient
|
|
407
407
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
408
408
|
|
409
409
|
# return_type
|
410
|
-
return_type = opts[:return_type] || '
|
410
|
+
return_type = opts[:return_type] || 'CertguardRHSMCertGuard'
|
411
411
|
|
412
412
|
# auth_names
|
413
413
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpCertguardClient
|
|
23
23
|
# X509CertGuard API Viewsets.
|
24
24
|
# @param data [CertguardX509CertGuard]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [CertguardX509CertGuard]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpCertguardClient
|
|
33
33
|
# X509CertGuard API Viewsets.
|
34
34
|
# @param data [CertguardX509CertGuard]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(CertguardX509CertGuard, Integer, Hash)>] CertguardX509CertGuard data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ContentguardsX509Api.create ...'
|
@@ -62,7 +62,7 @@ module PulpCertguardClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'CertguardX509CertGuard'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -225,7 +225,7 @@ module PulpCertguardClient
|
|
225
225
|
# @param x509_cert_guard_href [String] URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
226
226
|
# @param data [CertguardX509CertGuard]
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
|
-
# @return [
|
228
|
+
# @return [CertguardX509CertGuard]
|
229
229
|
def partial_update(x509_cert_guard_href, data, opts = {})
|
230
230
|
data, _status_code, _headers = partial_update_with_http_info(x509_cert_guard_href, data, opts)
|
231
231
|
data
|
@@ -236,7 +236,7 @@ module PulpCertguardClient
|
|
236
236
|
# @param x509_cert_guard_href [String] URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
237
237
|
# @param data [CertguardX509CertGuard]
|
238
238
|
# @param [Hash] opts the optional parameters
|
239
|
-
# @return [Array<(
|
239
|
+
# @return [Array<(CertguardX509CertGuard, Integer, Hash)>] CertguardX509CertGuard data, response status code and response headers
|
240
240
|
def partial_update_with_http_info(x509_cert_guard_href, data, opts = {})
|
241
241
|
if @api_client.config.debugging
|
242
242
|
@api_client.config.logger.debug 'Calling API: ContentguardsX509Api.partial_update ...'
|
@@ -269,7 +269,7 @@ module PulpCertguardClient
|
|
269
269
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
270
270
|
|
271
271
|
# return_type
|
272
|
-
return_type = opts[:return_type] || '
|
272
|
+
return_type = opts[:return_type] || 'CertguardX509CertGuard'
|
273
273
|
|
274
274
|
# auth_names
|
275
275
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -296,7 +296,7 @@ module PulpCertguardClient
|
|
296
296
|
# @param [Hash] opts the optional parameters
|
297
297
|
# @option opts [String] :fields A list of fields to include in the response.
|
298
298
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
299
|
-
# @return [
|
299
|
+
# @return [CertguardX509CertGuard]
|
300
300
|
def read(x509_cert_guard_href, opts = {})
|
301
301
|
data, _status_code, _headers = read_with_http_info(x509_cert_guard_href, opts)
|
302
302
|
data
|
@@ -308,7 +308,7 @@ module PulpCertguardClient
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
309
|
# @option opts [String] :fields A list of fields to include in the response.
|
310
310
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
311
|
-
# @return [Array<(
|
311
|
+
# @return [Array<(CertguardX509CertGuard, Integer, Hash)>] CertguardX509CertGuard data, response status code and response headers
|
312
312
|
def read_with_http_info(x509_cert_guard_href, opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: ContentguardsX509Api.read ...'
|
@@ -337,7 +337,7 @@ module PulpCertguardClient
|
|
337
337
|
post_body = opts[:body]
|
338
338
|
|
339
339
|
# return_type
|
340
|
-
return_type = opts[:return_type] || '
|
340
|
+
return_type = opts[:return_type] || 'CertguardX509CertGuard'
|
341
341
|
|
342
342
|
# auth_names
|
343
343
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -363,7 +363,7 @@ module PulpCertguardClient
|
|
363
363
|
# @param x509_cert_guard_href [String] URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
364
364
|
# @param data [CertguardX509CertGuard]
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [
|
366
|
+
# @return [CertguardX509CertGuard]
|
367
367
|
def update(x509_cert_guard_href, data, opts = {})
|
368
368
|
data, _status_code, _headers = update_with_http_info(x509_cert_guard_href, data, opts)
|
369
369
|
data
|
@@ -374,7 +374,7 @@ module PulpCertguardClient
|
|
374
374
|
# @param x509_cert_guard_href [String] URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
375
375
|
# @param data [CertguardX509CertGuard]
|
376
376
|
# @param [Hash] opts the optional parameters
|
377
|
-
# @return [Array<(
|
377
|
+
# @return [Array<(CertguardX509CertGuard, Integer, Hash)>] CertguardX509CertGuard data, response status code and response headers
|
378
378
|
def update_with_http_info(x509_cert_guard_href, data, opts = {})
|
379
379
|
if @api_client.config.debugging
|
380
380
|
@api_client.config.logger.debug 'Calling API: ContentguardsX509Api.update ...'
|
@@ -407,7 +407,7 @@ module PulpCertguardClient
|
|
407
407
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
408
408
|
|
409
409
|
# return_type
|
410
|
-
return_type = opts[:return_type] || '
|
410
|
+
return_type = opts[:return_type] || 'CertguardX509CertGuard'
|
411
411
|
|
412
412
|
# auth_names
|
413
413
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -18,9 +18,7 @@ require 'pulp_certguard_client/configuration'
|
|
18
18
|
|
19
19
|
# Models
|
20
20
|
require 'pulp_certguard_client/models/certguard_rhsm_cert_guard'
|
21
|
-
require 'pulp_certguard_client/models/certguard_rhsm_cert_guard_read'
|
22
21
|
require 'pulp_certguard_client/models/certguard_x509_cert_guard'
|
23
|
-
require 'pulp_certguard_client/models/certguard_x509_cert_guard_read'
|
24
22
|
require 'pulp_certguard_client/models/inline_response200'
|
25
23
|
require 'pulp_certguard_client/models/inline_response2001'
|
26
24
|
|
@@ -37,7 +37,7 @@ describe 'ContentguardsRhsmApi' do
|
|
37
37
|
# RHSMCertGuard API Viewsets.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [CertguardRHSMCertGuard]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,7 +80,7 @@ describe 'ContentguardsRhsmApi' do
|
|
80
80
|
# @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
|
81
81
|
# @param data
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [CertguardRHSMCertGuard]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -94,7 +94,7 @@ describe 'ContentguardsRhsmApi' do
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [CertguardRHSMCertGuard]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -107,7 +107,7 @@ describe 'ContentguardsRhsmApi' do
|
|
107
107
|
# @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
|
108
108
|
# @param data
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [CertguardRHSMCertGuard]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -37,7 +37,7 @@ describe 'ContentguardsX509Api' do
|
|
37
37
|
# X509CertGuard API Viewsets.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [CertguardX509CertGuard]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,7 +80,7 @@ describe 'ContentguardsX509Api' do
|
|
80
80
|
# @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
81
81
|
# @param data
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [CertguardX509CertGuard]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -94,7 +94,7 @@ describe 'ContentguardsX509Api' do
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [CertguardX509CertGuard]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -107,7 +107,7 @@ describe 'ContentguardsX509Api' do
|
|
107
107
|
# @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
108
108
|
# @param data
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [CertguardX509CertGuard]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -75,9 +75,7 @@ files:
|
|
75
75
|
- README.md
|
76
76
|
- Rakefile
|
77
77
|
- docs/CertguardRHSMCertGuard.md
|
78
|
-
- docs/CertguardRHSMCertGuardRead.md
|
79
78
|
- docs/CertguardX509CertGuard.md
|
80
|
-
- docs/CertguardX509CertGuardRead.md
|
81
79
|
- docs/ContentguardsRhsmApi.md
|
82
80
|
- docs/ContentguardsX509Api.md
|
83
81
|
- docs/InlineResponse200.md
|
@@ -90,9 +88,7 @@ files:
|
|
90
88
|
- lib/pulp_certguard_client/api_error.rb
|
91
89
|
- lib/pulp_certguard_client/configuration.rb
|
92
90
|
- lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb
|
93
|
-
- lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_read.rb
|
94
91
|
- lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb
|
95
|
-
- lib/pulp_certguard_client/models/certguard_x509_cert_guard_read.rb
|
96
92
|
- lib/pulp_certguard_client/models/inline_response200.rb
|
97
93
|
- lib/pulp_certguard_client/models/inline_response2001.rb
|
98
94
|
- lib/pulp_certguard_client/version.rb
|
@@ -101,9 +97,7 @@ files:
|
|
101
97
|
- spec/api/contentguards_x509_api_spec.rb
|
102
98
|
- spec/api_client_spec.rb
|
103
99
|
- spec/configuration_spec.rb
|
104
|
-
- spec/models/certguard_rhsm_cert_guard_read_spec.rb
|
105
100
|
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
106
|
-
- spec/models/certguard_x509_cert_guard_read_spec.rb
|
107
101
|
- spec/models/certguard_x509_cert_guard_spec.rb
|
108
102
|
- spec/models/inline_response2001_spec.rb
|
109
103
|
- spec/models/inline_response200_spec.rb
|
@@ -136,10 +130,8 @@ test_files:
|
|
136
130
|
- spec/api/contentguards_rhsm_api_spec.rb
|
137
131
|
- spec/api_client_spec.rb
|
138
132
|
- spec/configuration_spec.rb
|
139
|
-
- spec/models/certguard_rhsm_cert_guard_read_spec.rb
|
140
133
|
- spec/models/inline_response2001_spec.rb
|
141
134
|
- spec/models/inline_response200_spec.rb
|
142
135
|
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
143
|
-
- spec/models/certguard_x509_cert_guard_read_spec.rb
|
144
136
|
- spec/models/certguard_x509_cert_guard_spec.rb
|
145
137
|
- spec/spec_helper.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# PulpCertguardClient::CertguardRHSMCertGuardRead
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**name** | **String** | The unique name. |
|
10
|
-
**description** | **String** | An optional description. | [optional]
|
11
|
-
**ca_certificate** | **String** | The Certificate Authority (CA) certificate. |
|
12
|
-
|
13
|
-
## Code Sample
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'PulpCertguardClient'
|
17
|
-
|
18
|
-
instance = PulpCertguardClient::CertguardRHSMCertGuardRead.new(pulp_href: null,
|
19
|
-
pulp_created: null,
|
20
|
-
name: null,
|
21
|
-
description: null,
|
22
|
-
ca_certificate: null)
|
23
|
-
```
|
24
|
-
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# PulpCertguardClient::CertguardX509CertGuardRead
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**name** | **String** | The unique name. |
|
10
|
-
**description** | **String** | An optional description. | [optional]
|
11
|
-
**ca_certificate** | **String** | The Certificate Authority (CA) certificate. |
|
12
|
-
|
13
|
-
## Code Sample
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'PulpCertguardClient'
|
17
|
-
|
18
|
-
instance = PulpCertguardClient::CertguardX509CertGuardRead.new(pulp_href: null,
|
19
|
-
pulp_created: null,
|
20
|
-
name: null,
|
21
|
-
description: null,
|
22
|
-
ca_certificate: null)
|
23
|
-
```
|
24
|
-
|
25
|
-
|