pulp_certguard_client 0.1.0rc5 → 1.0.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 -4
- data/docs/CertguardRHSMCertGuardRead.md +25 -0
- data/docs/CertguardX509CertGuardRead.md +25 -0
- 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/certguard_rhsm_cert_guard_read.rb +310 -0
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_read.rb +310 -0
- 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 +2 -0
- data/spec/api/contentguards_rhsm_api_spec.rb +4 -4
- data/spec/api/contentguards_x509_api_spec.rb +4 -4
- data/spec/models/certguard_rhsm_cert_guard_read_spec.rb +65 -0
- data/spec/models/certguard_x509_cert_guard_read_spec.rb +65 -0
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f776c1f6bf8840fa5a31e0d9c0fb642f3a08975171717993dd367eeffc091c45
|
4
|
+
data.tar.gz: c5a98011b4c3862d46931485587c22991b856e924da5a2f0b4777a7b55722a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4197a9ffd3bab4e8a39a702bd586d506e03dd865c2836383dc8fb385ad7c33ba970681cf232945bfa5e54a2e05b7009425dcf62f9bd32254d6250c617fc3c5a
|
7
|
+
data.tar.gz: 5b5f5f8110b9234d25a1e08e96c0a790e648a0e98950d877105536488698e7a78449868997f1238c561f006e4d623aa9375275d83e57ce458e4952cb779e2097
|
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: 0.
|
10
|
+
- Package version: 1.0.0
|
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-0.
|
26
|
+
gem install ./pulp_certguard_client-1.0.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_certguard_client-0.
|
29
|
+
(for development, run `gem install --dev ./pulp_certguard_client-1.0.0.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', '~> 0.
|
35
|
+
gem 'pulp_certguard_client', '~> 1.0.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -99,7 +99,9 @@ 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)
|
102
103
|
- [PulpCertguardClient::CertguardX509CertGuard](docs/CertguardX509CertGuard.md)
|
104
|
+
- [PulpCertguardClient::CertguardX509CertGuardRead](docs/CertguardX509CertGuardRead.md)
|
103
105
|
- [PulpCertguardClient::InlineResponse200](docs/InlineResponse200.md)
|
104
106
|
- [PulpCertguardClient::InlineResponse2001](docs/InlineResponse2001.md)
|
105
107
|
|
@@ -0,0 +1,25 @@
|
|
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
|
+
|
@@ -0,0 +1,25 @@
|
|
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
|
+
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
>
|
18
|
+
> CertguardRHSMCertGuardRead 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
|
+
[**CertguardRHSMCertGuardRead**](CertguardRHSMCertGuardRead.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
|
+
> CertguardRHSMCertGuardRead 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
|
+
[**CertguardRHSMCertGuardRead**](CertguardRHSMCertGuardRead.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
|
+
> CertguardRHSMCertGuardRead 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
|
+
[**CertguardRHSMCertGuardRead**](CertguardRHSMCertGuardRead.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
|
+
> CertguardRHSMCertGuardRead 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
|
+
[**CertguardRHSMCertGuardRead**](CertguardRHSMCertGuardRead.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
|
+
> CertguardX509CertGuardRead 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
|
+
[**CertguardX509CertGuardRead**](CertguardX509CertGuardRead.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
|
+
> CertguardX509CertGuardRead 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
|
+
[**CertguardX509CertGuardRead**](CertguardX509CertGuardRead.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
|
+
> CertguardX509CertGuardRead 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
|
+
[**CertguardX509CertGuardRead**](CertguardX509CertGuardRead.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
|
+
> CertguardX509CertGuardRead 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
|
+
[**CertguardX509CertGuardRead**](CertguardX509CertGuardRead.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<CertguardRHSMCertGuardRead>**](CertguardRHSMCertGuardRead.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<CertguardX509CertGuardRead>**](CertguardX509CertGuardRead.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 [CertguardRHSMCertGuardRead]
|
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<(CertguardRHSMCertGuardRead, Integer, Hash)>] CertguardRHSMCertGuardRead 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] || 'CertguardRHSMCertGuardRead'
|
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 [CertguardRHSMCertGuardRead]
|
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<(CertguardRHSMCertGuardRead, Integer, Hash)>] CertguardRHSMCertGuardRead 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] || 'CertguardRHSMCertGuardRead'
|
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 [CertguardRHSMCertGuardRead]
|
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<(CertguardRHSMCertGuardRead, Integer, Hash)>] CertguardRHSMCertGuardRead 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] || 'CertguardRHSMCertGuardRead'
|
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 [CertguardRHSMCertGuardRead]
|
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<(CertguardRHSMCertGuardRead, Integer, Hash)>] CertguardRHSMCertGuardRead 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] || 'CertguardRHSMCertGuardRead'
|
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 [CertguardX509CertGuardRead]
|
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<(CertguardX509CertGuardRead, Integer, Hash)>] CertguardX509CertGuardRead 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] || 'CertguardX509CertGuardRead'
|
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 [CertguardX509CertGuardRead]
|
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<(CertguardX509CertGuardRead, Integer, Hash)>] CertguardX509CertGuardRead 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] || 'CertguardX509CertGuardRead'
|
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 [CertguardX509CertGuardRead]
|
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<(CertguardX509CertGuardRead, Integer, Hash)>] CertguardX509CertGuardRead 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] || 'CertguardX509CertGuardRead'
|
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 [CertguardX509CertGuardRead]
|
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<(CertguardX509CertGuardRead, Integer, Hash)>] CertguardX509CertGuardRead 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] || 'CertguardX509CertGuardRead'
|
411
411
|
|
412
412
|
# auth_names
|
413
413
|
auth_names = opts[:auth_names] || ['Basic']
|