pulp_certguard_client 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -17
- data/docs/CertguardRHSMCertGuard.md +1 -5
- data/docs/CertguardRHSMCertGuardResponse.md +25 -0
- data/docs/CertguardX509CertGuard.md +1 -5
- data/docs/CertguardX509CertGuardResponse.md +25 -0
- data/docs/ContentguardsRhsmApi.md +55 -55
- data/docs/ContentguardsX509Api.md +55 -55
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/PatchedcertguardRHSMCertGuard.md +21 -0
- data/docs/PatchedcertguardX509CertGuard.md +21 -0
- data/lib/pulp_certguard_client.rb +6 -2
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +90 -90
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +90 -90
- data/lib/pulp_certguard_client/api_client.rb +2 -2
- data/lib/pulp_certguard_client/api_error.rb +2 -2
- data/lib/pulp_certguard_client/configuration.rb +3 -3
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb +4 -75
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_response.rb +258 -0
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb +4 -75
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_response.rb +258 -0
- data/lib/pulp_certguard_client/models/inline_response200.rb +3 -13
- data/lib/pulp_certguard_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_certguard_client/models/patchedcertguard_rhsm_cert_guard.rb +229 -0
- data/lib/pulp_certguard_client/models/patchedcertguard_x509_cert_guard.rb +229 -0
- data/lib/pulp_certguard_client/version.rb +3 -3
- data/pulp_certguard_client.gemspec +4 -4
- data/spec/api/contentguards_rhsm_api_spec.rb +17 -17
- data/spec/api/contentguards_x509_api_spec.rb +17 -17
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/certguard_rhsm_cert_guard_response_spec.rb +65 -0
- data/spec/models/certguard_rhsm_cert_guard_spec.rb +2 -14
- data/spec/models/certguard_x509_cert_guard_response_spec.rb +65 -0
- data/spec/models/certguard_x509_cert_guard_spec.rb +2 -14
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedcertguard_rhsm_cert_guard_spec.rb +53 -0
- data/spec/models/patchedcertguard_x509_cert_guard_spec.rb +53 -0
- data/spec/spec_helper.rb +2 -2
- metadata +23 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73472424a65cfd3f0b48f971bdcd598b573930f39bfd7866bb3e805ae387435a
|
4
|
+
data.tar.gz: 28ea3c1d70d49a4b0ad5e2b7cc453e703dcd9a25a6000ea41d7a61a3eeb4875c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9f030fbadb37f8c8bf1270a5a53d0be595476327bfb13dc1b490427df5da1d2210d8d93f55b03f052224f0024509797b60993d357756934f266ab2d16482349
|
7
|
+
data.tar.gz: dc538709dff186303a6373e087d2316ce6041ada5b3acfddab29b6cb4c3c29586f6d36b1ffa3d71497b37f6ca18e79d068e69c66da0f0427cc79296c36b6785a
|
data/README.md
CHANGED
@@ -2,13 +2,14 @@
|
|
2
2
|
|
3
3
|
PulpCertguardClient - the Ruby gem for the Pulp 3 API
|
4
4
|
|
5
|
-
|
5
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
6
6
|
|
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.2
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
12
13
|
|
13
14
|
## Installation
|
14
15
|
|
@@ -23,16 +24,16 @@ gem build pulp_certguard_client.gemspec
|
|
23
24
|
Then either install the gem locally:
|
24
25
|
|
25
26
|
```shell
|
26
|
-
gem install ./pulp_certguard_client-1.0.
|
27
|
+
gem install ./pulp_certguard_client-1.0.2.gem
|
27
28
|
```
|
28
29
|
|
29
|
-
(for development, run `gem install --dev ./pulp_certguard_client-1.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_certguard_client-1.0.2.gem` to install the development dependencies)
|
30
31
|
|
31
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
33
|
|
33
34
|
Finally add this to the Gemfile:
|
34
35
|
|
35
|
-
gem 'pulp_certguard_client', '~> 1.0.
|
36
|
+
gem 'pulp_certguard_client', '~> 1.0.2'
|
36
37
|
|
37
38
|
### Install from Git
|
38
39
|
|
@@ -58,17 +59,17 @@ require 'pulp_certguard_client'
|
|
58
59
|
|
59
60
|
# Setup authorization
|
60
61
|
PulpCertguardClient.configure do |config|
|
61
|
-
# Configure HTTP basic authorization:
|
62
|
+
# Configure HTTP basic authorization: basicAuth
|
62
63
|
config.username = 'YOUR_USERNAME'
|
63
64
|
config.password = 'YOUR_PASSWORD'
|
64
65
|
end
|
65
66
|
|
66
67
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
67
|
-
|
68
|
+
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
68
69
|
|
69
70
|
begin
|
70
71
|
#Create a rhsm cert guard
|
71
|
-
result = api_instance.create(
|
72
|
+
result = api_instance.create(certguard_rhsm_cert_guard)
|
72
73
|
p result
|
73
74
|
rescue PulpCertguardClient::ApiError => e
|
74
75
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
@@ -83,31 +84,35 @@ All URIs are relative to *http://pulp*
|
|
83
84
|
Class | Method | HTTP request | Description
|
84
85
|
------------ | ------------- | ------------- | -------------
|
85
86
|
*PulpCertguardClient::ContentguardsRhsmApi* | [**create**](docs/ContentguardsRhsmApi.md#create) | **POST** /pulp/api/v3/contentguards/certguard/rhsm/ | Create a rhsm cert guard
|
86
|
-
*PulpCertguardClient::ContentguardsRhsmApi* | [**delete**](docs/ContentguardsRhsmApi.md#delete) | **DELETE** {
|
87
|
+
*PulpCertguardClient::ContentguardsRhsmApi* | [**delete**](docs/ContentguardsRhsmApi.md#delete) | **DELETE** {certguard_r_h_s_m_cert_guard_href} | Delete a rhsm cert guard
|
87
88
|
*PulpCertguardClient::ContentguardsRhsmApi* | [**list**](docs/ContentguardsRhsmApi.md#list) | **GET** /pulp/api/v3/contentguards/certguard/rhsm/ | List rhsm cert guards
|
88
|
-
*PulpCertguardClient::ContentguardsRhsmApi* | [**partial_update**](docs/ContentguardsRhsmApi.md#partial_update) | **PATCH** {
|
89
|
-
*PulpCertguardClient::ContentguardsRhsmApi* | [**read**](docs/ContentguardsRhsmApi.md#read) | **GET** {
|
90
|
-
*PulpCertguardClient::ContentguardsRhsmApi* | [**update**](docs/ContentguardsRhsmApi.md#update) | **PUT** {
|
89
|
+
*PulpCertguardClient::ContentguardsRhsmApi* | [**partial_update**](docs/ContentguardsRhsmApi.md#partial_update) | **PATCH** {certguard_r_h_s_m_cert_guard_href} | Update a rhsm cert guard
|
90
|
+
*PulpCertguardClient::ContentguardsRhsmApi* | [**read**](docs/ContentguardsRhsmApi.md#read) | **GET** {certguard_r_h_s_m_cert_guard_href} | Inspect a rhsm cert guard
|
91
|
+
*PulpCertguardClient::ContentguardsRhsmApi* | [**update**](docs/ContentguardsRhsmApi.md#update) | **PUT** {certguard_r_h_s_m_cert_guard_href} | Update a rhsm cert guard
|
91
92
|
*PulpCertguardClient::ContentguardsX509Api* | [**create**](docs/ContentguardsX509Api.md#create) | **POST** /pulp/api/v3/contentguards/certguard/x509/ | Create a x509 cert guard
|
92
|
-
*PulpCertguardClient::ContentguardsX509Api* | [**delete**](docs/ContentguardsX509Api.md#delete) | **DELETE** {
|
93
|
+
*PulpCertguardClient::ContentguardsX509Api* | [**delete**](docs/ContentguardsX509Api.md#delete) | **DELETE** {certguard_x509_cert_guard_href} | Delete a x509 cert guard
|
93
94
|
*PulpCertguardClient::ContentguardsX509Api* | [**list**](docs/ContentguardsX509Api.md#list) | **GET** /pulp/api/v3/contentguards/certguard/x509/ | List x509 cert guards
|
94
|
-
*PulpCertguardClient::ContentguardsX509Api* | [**partial_update**](docs/ContentguardsX509Api.md#partial_update) | **PATCH** {
|
95
|
-
*PulpCertguardClient::ContentguardsX509Api* | [**read**](docs/ContentguardsX509Api.md#read) | **GET** {
|
96
|
-
*PulpCertguardClient::ContentguardsX509Api* | [**update**](docs/ContentguardsX509Api.md#update) | **PUT** {
|
95
|
+
*PulpCertguardClient::ContentguardsX509Api* | [**partial_update**](docs/ContentguardsX509Api.md#partial_update) | **PATCH** {certguard_x509_cert_guard_href} | Update a x509 cert guard
|
96
|
+
*PulpCertguardClient::ContentguardsX509Api* | [**read**](docs/ContentguardsX509Api.md#read) | **GET** {certguard_x509_cert_guard_href} | Inspect a x509 cert guard
|
97
|
+
*PulpCertguardClient::ContentguardsX509Api* | [**update**](docs/ContentguardsX509Api.md#update) | **PUT** {certguard_x509_cert_guard_href} | Update a x509 cert guard
|
97
98
|
|
98
99
|
|
99
100
|
## Documentation for Models
|
100
101
|
|
101
102
|
- [PulpCertguardClient::CertguardRHSMCertGuard](docs/CertguardRHSMCertGuard.md)
|
103
|
+
- [PulpCertguardClient::CertguardRHSMCertGuardResponse](docs/CertguardRHSMCertGuardResponse.md)
|
102
104
|
- [PulpCertguardClient::CertguardX509CertGuard](docs/CertguardX509CertGuard.md)
|
105
|
+
- [PulpCertguardClient::CertguardX509CertGuardResponse](docs/CertguardX509CertGuardResponse.md)
|
103
106
|
- [PulpCertguardClient::InlineResponse200](docs/InlineResponse200.md)
|
104
107
|
- [PulpCertguardClient::InlineResponse2001](docs/InlineResponse2001.md)
|
108
|
+
- [PulpCertguardClient::PatchedcertguardRHSMCertGuard](docs/PatchedcertguardRHSMCertGuard.md)
|
109
|
+
- [PulpCertguardClient::PatchedcertguardX509CertGuard](docs/PatchedcertguardX509CertGuard.md)
|
105
110
|
|
106
111
|
|
107
112
|
## Documentation for Authorization
|
108
113
|
|
109
114
|
|
110
|
-
###
|
115
|
+
### basicAuth
|
111
116
|
|
112
117
|
- **Type**: HTTP basic authentication
|
113
118
|
|
@@ -4,8 +4,6 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**name** | **String** | The unique name. |
|
10
8
|
**description** | **String** | An optional description. | [optional]
|
11
9
|
**ca_certificate** | **String** | The Certificate Authority (CA) certificate. |
|
@@ -15,9 +13,7 @@ Name | Type | Description | Notes
|
|
15
13
|
```ruby
|
16
14
|
require 'PulpCertguardClient'
|
17
15
|
|
18
|
-
instance = PulpCertguardClient::CertguardRHSMCertGuard.new(
|
19
|
-
pulp_created: null,
|
20
|
-
name: null,
|
16
|
+
instance = PulpCertguardClient::CertguardRHSMCertGuard.new(name: null,
|
21
17
|
description: null,
|
22
18
|
ca_certificate: null)
|
23
19
|
```
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpCertguardClient::CertguardRHSMCertGuardResponse
|
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::CertguardRHSMCertGuardResponse.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
name: null,
|
21
|
+
description: null,
|
22
|
+
ca_certificate: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -4,8 +4,6 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**name** | **String** | The unique name. |
|
10
8
|
**description** | **String** | An optional description. | [optional]
|
11
9
|
**ca_certificate** | **String** | The Certificate Authority (CA) certificate. |
|
@@ -15,9 +13,7 @@ Name | Type | Description | Notes
|
|
15
13
|
```ruby
|
16
14
|
require 'PulpCertguardClient'
|
17
15
|
|
18
|
-
instance = PulpCertguardClient::CertguardX509CertGuard.new(
|
19
|
-
pulp_created: null,
|
20
|
-
name: null,
|
16
|
+
instance = PulpCertguardClient::CertguardX509CertGuard.new(name: null,
|
21
17
|
description: null,
|
22
18
|
ca_certificate: null)
|
23
19
|
```
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpCertguardClient::CertguardX509CertGuardResponse
|
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::CertguardX509CertGuardResponse.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
name: null,
|
21
|
+
description: null,
|
22
|
+
ca_certificate: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](ContentguardsRhsmApi.md#create) | **POST** /pulp/api/v3/contentguards/certguard/rhsm/ | Create a rhsm cert guard
|
8
|
-
[**delete**](ContentguardsRhsmApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](ContentguardsRhsmApi.md#delete) | **DELETE** {certguard_r_h_s_m_cert_guard_href} | Delete a rhsm cert guard
|
9
9
|
[**list**](ContentguardsRhsmApi.md#list) | **GET** /pulp/api/v3/contentguards/certguard/rhsm/ | List rhsm cert guards
|
10
|
-
[**partial_update**](ContentguardsRhsmApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](ContentguardsRhsmApi.md#read) | **GET** {
|
12
|
-
[**update**](ContentguardsRhsmApi.md#update) | **PUT** {
|
10
|
+
[**partial_update**](ContentguardsRhsmApi.md#partial_update) | **PATCH** {certguard_r_h_s_m_cert_guard_href} | Update a rhsm cert guard
|
11
|
+
[**read**](ContentguardsRhsmApi.md#read) | **GET** {certguard_r_h_s_m_cert_guard_href} | Inspect a rhsm cert guard
|
12
|
+
[**update**](ContentguardsRhsmApi.md#update) | **PUT** {certguard_r_h_s_m_cert_guard_href} | Update a rhsm cert guard
|
13
13
|
|
14
14
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
>
|
18
|
+
> CertguardRHSMCertGuardResponse create(certguard_rhsm_cert_guard)
|
19
19
|
|
20
20
|
Create a rhsm cert guard
|
21
21
|
|
@@ -28,17 +28,17 @@ RHSMCertGuard API Viewsets.
|
|
28
28
|
require 'pulp_certguard_client'
|
29
29
|
# setup authorization
|
30
30
|
PulpCertguardClient.configure do |config|
|
31
|
-
# Configure HTTP basic authorization:
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
32
32
|
config.username = 'YOUR USERNAME'
|
33
33
|
config.password = 'YOUR PASSWORD'
|
34
34
|
end
|
35
35
|
|
36
36
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
37
|
-
|
37
|
+
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a rhsm cert guard
|
41
|
-
result = api_instance.create(
|
41
|
+
result = api_instance.create(certguard_rhsm_cert_guard)
|
42
42
|
p result
|
43
43
|
rescue PulpCertguardClient::ApiError => e
|
44
44
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
@@ -50,25 +50,25 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**
|
53
|
+
**certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**CertguardRHSMCertGuardResponse**](CertguardRHSMCertGuardResponse.md)
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
61
|
-
[
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
62
62
|
|
63
63
|
### HTTP request headers
|
64
64
|
|
65
|
-
- **Content-Type**: application/json
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> delete(
|
71
|
+
> delete(certguard_r_h_s_m_cert_guard_href)
|
72
72
|
|
73
73
|
Delete a rhsm cert guard
|
74
74
|
|
@@ -81,17 +81,17 @@ RHSMCertGuard API Viewsets.
|
|
81
81
|
require 'pulp_certguard_client'
|
82
82
|
# setup authorization
|
83
83
|
PulpCertguardClient.configure do |config|
|
84
|
-
# Configure HTTP basic authorization:
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
85
85
|
config.username = 'YOUR USERNAME'
|
86
86
|
config.password = 'YOUR PASSWORD'
|
87
87
|
end
|
88
88
|
|
89
89
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
90
|
-
|
90
|
+
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a rhsm cert guard
|
94
|
-
api_instance.delete(
|
94
|
+
api_instance.delete(certguard_r_h_s_m_cert_guard_href)
|
95
95
|
rescue PulpCertguardClient::ApiError => e
|
96
96
|
puts "Exception when calling ContentguardsRhsmApi->delete: #{e}"
|
97
97
|
end
|
@@ -102,7 +102,7 @@ end
|
|
102
102
|
|
103
103
|
Name | Type | Description | Notes
|
104
104
|
------------- | ------------- | ------------- | -------------
|
105
|
-
**
|
105
|
+
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
106
106
|
|
107
107
|
### Return type
|
108
108
|
|
@@ -110,7 +110,7 @@ nil (empty response body)
|
|
110
110
|
|
111
111
|
### Authorization
|
112
112
|
|
113
|
-
[
|
113
|
+
[basicAuth](../README.md#basicAuth)
|
114
114
|
|
115
115
|
### HTTP request headers
|
116
116
|
|
@@ -133,18 +133,18 @@ RHSMCertGuard API Viewsets.
|
|
133
133
|
require 'pulp_certguard_client'
|
134
134
|
# setup authorization
|
135
135
|
PulpCertguardClient.configure do |config|
|
136
|
-
# Configure HTTP basic authorization:
|
136
|
+
# Configure HTTP basic authorization: basicAuth
|
137
137
|
config.username = 'YOUR USERNAME'
|
138
138
|
config.password = 'YOUR PASSWORD'
|
139
139
|
end
|
140
140
|
|
141
141
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
142
142
|
opts = {
|
143
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
|
-
name: 'name_example', # String |
|
145
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
146
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
|
+
name: 'name_example', # String | name
|
145
|
+
name__in: 'name__in_example', # String | name__in
|
147
146
|
offset: 56, # Integer | The initial index from which to return the results.
|
147
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
148
148
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
149
149
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
150
150
|
}
|
@@ -163,11 +163,11 @@ end
|
|
163
163
|
|
164
164
|
Name | Type | Description | Notes
|
165
165
|
------------- | ------------- | ------------- | -------------
|
166
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
167
|
-
**name** | **String**| | [optional]
|
168
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
169
166
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
|
+
**name** | **String**| name | [optional]
|
168
|
+
**name__in** | **String**| name__in | [optional]
|
170
169
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
170
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
171
171
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
172
172
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
173
173
|
|
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
|
|
177
177
|
|
178
178
|
### Authorization
|
179
179
|
|
180
|
-
[
|
180
|
+
[basicAuth](../README.md#basicAuth)
|
181
181
|
|
182
182
|
### HTTP request headers
|
183
183
|
|
@@ -187,9 +187,9 @@ Name | Type | Description | Notes
|
|
187
187
|
|
188
188
|
## partial_update
|
189
189
|
|
190
|
-
>
|
190
|
+
> CertguardRHSMCertGuardResponse partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
191
191
|
|
192
|
-
|
192
|
+
Update a rhsm cert guard
|
193
193
|
|
194
194
|
RHSMCertGuard API Viewsets.
|
195
195
|
|
@@ -200,18 +200,18 @@ RHSMCertGuard API Viewsets.
|
|
200
200
|
require 'pulp_certguard_client'
|
201
201
|
# setup authorization
|
202
202
|
PulpCertguardClient.configure do |config|
|
203
|
-
# Configure HTTP basic authorization:
|
203
|
+
# Configure HTTP basic authorization: basicAuth
|
204
204
|
config.username = 'YOUR USERNAME'
|
205
205
|
config.password = 'YOUR PASSWORD'
|
206
206
|
end
|
207
207
|
|
208
208
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
209
|
-
|
210
|
-
|
209
|
+
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
210
|
+
patchedcertguard_rhsm_cert_guard = PulpCertguardClient::PatchedcertguardRHSMCertGuard.new # PatchedcertguardRHSMCertGuard |
|
211
211
|
|
212
212
|
begin
|
213
|
-
#
|
214
|
-
result = api_instance.partial_update(
|
213
|
+
#Update a rhsm cert guard
|
214
|
+
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
215
215
|
p result
|
216
216
|
rescue PulpCertguardClient::ApiError => e
|
217
217
|
puts "Exception when calling ContentguardsRhsmApi->partial_update: #{e}"
|
@@ -223,26 +223,26 @@ end
|
|
223
223
|
|
224
224
|
Name | Type | Description | Notes
|
225
225
|
------------- | ------------- | ------------- | -------------
|
226
|
-
**
|
227
|
-
**
|
226
|
+
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
227
|
+
**patchedcertguard_rhsm_cert_guard** | [**PatchedcertguardRHSMCertGuard**](PatchedcertguardRHSMCertGuard.md)| |
|
228
228
|
|
229
229
|
### Return type
|
230
230
|
|
231
|
-
[**
|
231
|
+
[**CertguardRHSMCertGuardResponse**](CertguardRHSMCertGuardResponse.md)
|
232
232
|
|
233
233
|
### Authorization
|
234
234
|
|
235
|
-
[
|
235
|
+
[basicAuth](../README.md#basicAuth)
|
236
236
|
|
237
237
|
### HTTP request headers
|
238
238
|
|
239
|
-
- **Content-Type**: application/json
|
239
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
240
240
|
- **Accept**: application/json
|
241
241
|
|
242
242
|
|
243
243
|
## read
|
244
244
|
|
245
|
-
>
|
245
|
+
> CertguardRHSMCertGuardResponse read(certguard_r_h_s_m_cert_guard_href, opts)
|
246
246
|
|
247
247
|
Inspect a rhsm cert guard
|
248
248
|
|
@@ -255,13 +255,13 @@ RHSMCertGuard API Viewsets.
|
|
255
255
|
require 'pulp_certguard_client'
|
256
256
|
# setup authorization
|
257
257
|
PulpCertguardClient.configure do |config|
|
258
|
-
# Configure HTTP basic authorization:
|
258
|
+
# Configure HTTP basic authorization: basicAuth
|
259
259
|
config.username = 'YOUR USERNAME'
|
260
260
|
config.password = 'YOUR PASSWORD'
|
261
261
|
end
|
262
262
|
|
263
263
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
264
|
-
|
264
|
+
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
265
265
|
opts = {
|
266
266
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
267
267
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -269,7 +269,7 @@ opts = {
|
|
269
269
|
|
270
270
|
begin
|
271
271
|
#Inspect a rhsm cert guard
|
272
|
-
result = api_instance.read(
|
272
|
+
result = api_instance.read(certguard_r_h_s_m_cert_guard_href, opts)
|
273
273
|
p result
|
274
274
|
rescue PulpCertguardClient::ApiError => e
|
275
275
|
puts "Exception when calling ContentguardsRhsmApi->read: #{e}"
|
@@ -281,17 +281,17 @@ end
|
|
281
281
|
|
282
282
|
Name | Type | Description | Notes
|
283
283
|
------------- | ------------- | ------------- | -------------
|
284
|
-
**
|
284
|
+
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
285
285
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
286
286
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
287
287
|
|
288
288
|
### Return type
|
289
289
|
|
290
|
-
[**
|
290
|
+
[**CertguardRHSMCertGuardResponse**](CertguardRHSMCertGuardResponse.md)
|
291
291
|
|
292
292
|
### Authorization
|
293
293
|
|
294
|
-
[
|
294
|
+
[basicAuth](../README.md#basicAuth)
|
295
295
|
|
296
296
|
### HTTP request headers
|
297
297
|
|
@@ -301,7 +301,7 @@ Name | Type | Description | Notes
|
|
301
301
|
|
302
302
|
## update
|
303
303
|
|
304
|
-
>
|
304
|
+
> CertguardRHSMCertGuardResponse update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
305
305
|
|
306
306
|
Update a rhsm cert guard
|
307
307
|
|
@@ -314,18 +314,18 @@ RHSMCertGuard API Viewsets.
|
|
314
314
|
require 'pulp_certguard_client'
|
315
315
|
# setup authorization
|
316
316
|
PulpCertguardClient.configure do |config|
|
317
|
-
# Configure HTTP basic authorization:
|
317
|
+
# Configure HTTP basic authorization: basicAuth
|
318
318
|
config.username = 'YOUR USERNAME'
|
319
319
|
config.password = 'YOUR PASSWORD'
|
320
320
|
end
|
321
321
|
|
322
322
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
323
|
-
|
324
|
-
|
323
|
+
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
324
|
+
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
325
325
|
|
326
326
|
begin
|
327
327
|
#Update a rhsm cert guard
|
328
|
-
result = api_instance.update(
|
328
|
+
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
329
329
|
p result
|
330
330
|
rescue PulpCertguardClient::ApiError => e
|
331
331
|
puts "Exception when calling ContentguardsRhsmApi->update: #{e}"
|
@@ -337,19 +337,19 @@ end
|
|
337
337
|
|
338
338
|
Name | Type | Description | Notes
|
339
339
|
------------- | ------------- | ------------- | -------------
|
340
|
-
**
|
341
|
-
**
|
340
|
+
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
341
|
+
**certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)| |
|
342
342
|
|
343
343
|
### Return type
|
344
344
|
|
345
|
-
[**
|
345
|
+
[**CertguardRHSMCertGuardResponse**](CertguardRHSMCertGuardResponse.md)
|
346
346
|
|
347
347
|
### Authorization
|
348
348
|
|
349
|
-
[
|
349
|
+
[basicAuth](../README.md#basicAuth)
|
350
350
|
|
351
351
|
### HTTP request headers
|
352
352
|
|
353
|
-
- **Content-Type**: application/json
|
353
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
354
354
|
- **Accept**: application/json
|
355
355
|
|