pulp_certguard_client 1.5.5 → 1.5.6
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 +4 -4
- data/docs/ContentguardsRhsmApi.md +10 -10
- data/docs/ContentguardsX509Api.md +10 -10
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +15 -15
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +15 -15
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/spec/api/contentguards_rhsm_api_spec.rb +5 -5
- data/spec/api/contentguards_x509_api_spec.rb +5 -5
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93e60979a3771a4bdc7554e56911212412b41975c3dbf3f897313db21ca3f375
|
|
4
|
+
data.tar.gz: 075b8996fc8fae978db08b31ae06e1d1dcf4795e6b64a0f231875c7c9103328b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f612acca51fef1c476fdb318e303fc1e613f72f8f089830660126af0205fdb1ff5ce6425b2c3702da36140cc95dc68faa46409859a1eb3867ae74ea163ff45a
|
|
7
|
+
data.tar.gz: c55002d5d7dede61b1db37da3bb49b4dd60fad9dbe08f8c1ee4a63c19216e62846dae1d7d8aa1ed44d15ef23702bc86617eaeaf1fbb2ca0642dd15e2113e48a1
|
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: 1.5.
|
|
10
|
+
- Package version: 1.5.6
|
|
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-1.5.
|
|
27
|
+
gem install ./pulp_certguard_client-1.5.6.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_certguard_client-1.5.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_certguard_client-1.5.6.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', '~> 1.5.
|
|
36
|
+
gem 'pulp_certguard_client', '~> 1.5.6'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -141,15 +141,15 @@ end
|
|
|
141
141
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
142
142
|
opts = {
|
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
|
-
name: 'name_example', # String |
|
|
144
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
145
145
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
146
146
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
147
147
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
148
148
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
149
149
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
150
150
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
151
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
152
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
151
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
152
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
begin
|
|
@@ -167,15 +167,15 @@ end
|
|
|
167
167
|
Name | Type | Description | Notes
|
|
168
168
|
------------- | ------------- | ------------- | -------------
|
|
169
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
170
|
-
**name** | **String**|
|
|
170
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
171
171
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
172
172
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
173
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
174
174
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
175
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
176
176
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
177
|
-
**fields** | **String
|
|
178
|
-
**exclude_fields** | **String
|
|
177
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
178
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
179
179
|
|
|
180
180
|
### Return type
|
|
181
181
|
|
|
@@ -269,8 +269,8 @@ end
|
|
|
269
269
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
270
270
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
271
271
|
opts = {
|
|
272
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
273
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
272
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
273
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
begin
|
|
@@ -288,8 +288,8 @@ end
|
|
|
288
288
|
Name | Type | Description | Notes
|
|
289
289
|
------------- | ------------- | ------------- | -------------
|
|
290
290
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
291
|
-
**fields** | **String
|
|
292
|
-
**exclude_fields** | **String
|
|
291
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
292
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
293
293
|
|
|
294
294
|
### Return type
|
|
295
295
|
|
|
@@ -141,15 +141,15 @@ end
|
|
|
141
141
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
142
142
|
opts = {
|
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
|
-
name: 'name_example', # String |
|
|
144
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
145
145
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
146
146
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
147
147
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
148
148
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
149
149
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
150
150
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
151
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
152
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
151
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
152
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
begin
|
|
@@ -167,15 +167,15 @@ end
|
|
|
167
167
|
Name | Type | Description | Notes
|
|
168
168
|
------------- | ------------- | ------------- | -------------
|
|
169
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
170
|
-
**name** | **String**|
|
|
170
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
171
171
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
172
172
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
173
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
174
174
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
175
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
176
176
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
177
|
-
**fields** | **String
|
|
178
|
-
**exclude_fields** | **String
|
|
177
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
178
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
179
179
|
|
|
180
180
|
### Return type
|
|
181
181
|
|
|
@@ -269,8 +269,8 @@ end
|
|
|
269
269
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
270
270
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
271
271
|
opts = {
|
|
272
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
273
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
272
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
273
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
begin
|
|
@@ -288,8 +288,8 @@ end
|
|
|
288
288
|
Name | Type | Description | Notes
|
|
289
289
|
------------- | ------------- | ------------- | -------------
|
|
290
290
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
291
|
-
**fields** | **String
|
|
292
|
-
**exclude_fields** | **String
|
|
291
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
292
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
293
293
|
|
|
294
294
|
### Return type
|
|
295
295
|
|
|
@@ -147,15 +147,15 @@ module PulpCertguardClient
|
|
|
147
147
|
# RHSMCertGuard API Viewsets.
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
150
|
-
# @option opts [String] :name
|
|
150
|
+
# @option opts [String] :name Filter results where name matches value
|
|
151
151
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
152
152
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
153
153
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
154
154
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
155
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
156
156
|
# @option opts [Array<String>] :ordering Ordering
|
|
157
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
158
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
157
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
158
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
159
159
|
# @return [PaginatedcertguardRHSMCertGuardResponseList]
|
|
160
160
|
def list(opts = {})
|
|
161
161
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -166,21 +166,21 @@ module PulpCertguardClient
|
|
|
166
166
|
# RHSMCertGuard API Viewsets.
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
169
|
-
# @option opts [String] :name
|
|
169
|
+
# @option opts [String] :name Filter results where name matches value
|
|
170
170
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
171
171
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
172
172
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
173
173
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
174
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
175
175
|
# @option opts [Array<String>] :ordering Ordering
|
|
176
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
177
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
177
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
178
178
|
# @return [Array<(PaginatedcertguardRHSMCertGuardResponseList, Integer, Hash)>] PaginatedcertguardRHSMCertGuardResponseList data, response status code and response headers
|
|
179
179
|
def list_with_http_info(opts = {})
|
|
180
180
|
if @api_client.config.debugging
|
|
181
181
|
@api_client.config.logger.debug 'Calling API: ContentguardsRhsmApi.list ...'
|
|
182
182
|
end
|
|
183
|
-
allowable_values = ["-
|
|
183
|
+
allowable_values = ["-description", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "description", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
|
184
184
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
185
185
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
186
186
|
end
|
|
@@ -197,8 +197,8 @@ module PulpCertguardClient
|
|
|
197
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
198
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
199
199
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
200
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
201
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
200
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
201
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
202
202
|
|
|
203
203
|
# header parameters
|
|
204
204
|
header_params = opts[:header_params] || {}
|
|
@@ -307,8 +307,8 @@ module PulpCertguardClient
|
|
|
307
307
|
# RHSMCertGuard API Viewsets.
|
|
308
308
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
309
309
|
# @param [Hash] opts the optional parameters
|
|
310
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
311
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
310
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
311
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
312
312
|
# @return [CertguardRHSMCertGuardResponse]
|
|
313
313
|
def read(certguard_r_h_s_m_cert_guard_href, opts = {})
|
|
314
314
|
data, _status_code, _headers = read_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
|
@@ -319,8 +319,8 @@ module PulpCertguardClient
|
|
|
319
319
|
# RHSMCertGuard API Viewsets.
|
|
320
320
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
321
321
|
# @param [Hash] opts the optional parameters
|
|
322
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
323
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
322
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
323
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
324
324
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
325
325
|
def read_with_http_info(certguard_r_h_s_m_cert_guard_href, opts = {})
|
|
326
326
|
if @api_client.config.debugging
|
|
@@ -335,8 +335,8 @@ module PulpCertguardClient
|
|
|
335
335
|
|
|
336
336
|
# query parameters
|
|
337
337
|
query_params = opts[:query_params] || {}
|
|
338
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
339
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
338
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
339
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
340
340
|
|
|
341
341
|
# header parameters
|
|
342
342
|
header_params = opts[:header_params] || {}
|
|
@@ -147,15 +147,15 @@ module PulpCertguardClient
|
|
|
147
147
|
# X509CertGuard API Viewsets.
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
150
|
-
# @option opts [String] :name
|
|
150
|
+
# @option opts [String] :name Filter results where name matches value
|
|
151
151
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
152
152
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
153
153
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
154
154
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
155
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
156
156
|
# @option opts [Array<String>] :ordering Ordering
|
|
157
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
158
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
157
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
158
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
159
159
|
# @return [PaginatedcertguardX509CertGuardResponseList]
|
|
160
160
|
def list(opts = {})
|
|
161
161
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -166,21 +166,21 @@ module PulpCertguardClient
|
|
|
166
166
|
# X509CertGuard API Viewsets.
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
169
|
-
# @option opts [String] :name
|
|
169
|
+
# @option opts [String] :name Filter results where name matches value
|
|
170
170
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
171
171
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
172
172
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
173
173
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
174
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
175
175
|
# @option opts [Array<String>] :ordering Ordering
|
|
176
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
177
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
177
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
178
178
|
# @return [Array<(PaginatedcertguardX509CertGuardResponseList, Integer, Hash)>] PaginatedcertguardX509CertGuardResponseList data, response status code and response headers
|
|
179
179
|
def list_with_http_info(opts = {})
|
|
180
180
|
if @api_client.config.debugging
|
|
181
181
|
@api_client.config.logger.debug 'Calling API: ContentguardsX509Api.list ...'
|
|
182
182
|
end
|
|
183
|
-
allowable_values = ["-
|
|
183
|
+
allowable_values = ["-description", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "description", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
|
184
184
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
185
185
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
186
186
|
end
|
|
@@ -197,8 +197,8 @@ module PulpCertguardClient
|
|
|
197
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
198
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
199
199
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
200
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
201
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
200
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
201
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
202
202
|
|
|
203
203
|
# header parameters
|
|
204
204
|
header_params = opts[:header_params] || {}
|
|
@@ -307,8 +307,8 @@ module PulpCertguardClient
|
|
|
307
307
|
# X509CertGuard API Viewsets.
|
|
308
308
|
# @param certguard_x509_cert_guard_href [String]
|
|
309
309
|
# @param [Hash] opts the optional parameters
|
|
310
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
311
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
310
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
311
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
312
312
|
# @return [CertguardX509CertGuardResponse]
|
|
313
313
|
def read(certguard_x509_cert_guard_href, opts = {})
|
|
314
314
|
data, _status_code, _headers = read_with_http_info(certguard_x509_cert_guard_href, opts)
|
|
@@ -319,8 +319,8 @@ module PulpCertguardClient
|
|
|
319
319
|
# X509CertGuard API Viewsets.
|
|
320
320
|
# @param certguard_x509_cert_guard_href [String]
|
|
321
321
|
# @param [Hash] opts the optional parameters
|
|
322
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
323
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
322
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
323
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
324
324
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
325
325
|
def read_with_http_info(certguard_x509_cert_guard_href, opts = {})
|
|
326
326
|
if @api_client.config.debugging
|
|
@@ -335,8 +335,8 @@ module PulpCertguardClient
|
|
|
335
335
|
|
|
336
336
|
# query parameters
|
|
337
337
|
query_params = opts[:query_params] || {}
|
|
338
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
339
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
338
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
339
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
340
340
|
|
|
341
341
|
# header parameters
|
|
342
342
|
header_params = opts[:header_params] || {}
|
|
@@ -61,15 +61,15 @@ describe 'ContentguardsRhsmApi' do
|
|
|
61
61
|
# RHSMCertGuard API Viewsets.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
-
# @option opts [String] :name
|
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
|
71
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
71
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
72
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
73
73
|
# @return [PaginatedcertguardRHSMCertGuardResponseList]
|
|
74
74
|
describe 'list test' do
|
|
75
75
|
it 'should work' do
|
|
@@ -95,8 +95,8 @@ describe 'ContentguardsRhsmApi' do
|
|
|
95
95
|
# RHSMCertGuard API Viewsets.
|
|
96
96
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
99
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
98
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
100
|
# @return [CertguardRHSMCertGuardResponse]
|
|
101
101
|
describe 'read test' do
|
|
102
102
|
it 'should work' do
|
|
@@ -61,15 +61,15 @@ describe 'ContentguardsX509Api' do
|
|
|
61
61
|
# X509CertGuard API Viewsets.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
-
# @option opts [String] :name
|
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
|
71
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
71
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
72
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
73
73
|
# @return [PaginatedcertguardX509CertGuardResponseList]
|
|
74
74
|
describe 'list test' do
|
|
75
75
|
it 'should work' do
|
|
@@ -95,8 +95,8 @@ describe 'ContentguardsX509Api' do
|
|
|
95
95
|
# X509CertGuard API Viewsets.
|
|
96
96
|
# @param certguard_x509_cert_guard_href
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
99
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
98
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
100
|
# @return [CertguardX509CertGuardResponse]
|
|
101
101
|
describe 'read test' do
|
|
102
102
|
it 'should work' do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_certguard_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -143,16 +143,16 @@ signing_key:
|
|
|
143
143
|
specification_version: 4
|
|
144
144
|
summary: Pulp 3 API Ruby Gem
|
|
145
145
|
test_files:
|
|
146
|
-
- spec/api/contentguards_x509_api_spec.rb
|
|
147
146
|
- spec/api/contentguards_rhsm_api_spec.rb
|
|
147
|
+
- spec/api/contentguards_x509_api_spec.rb
|
|
148
148
|
- spec/api_client_spec.rb
|
|
149
149
|
- spec/configuration_spec.rb
|
|
150
|
-
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
|
151
|
-
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
|
152
150
|
- spec/models/certguard_x509_cert_guard_response_spec.rb
|
|
153
|
-
- spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb
|
|
154
|
-
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
|
155
151
|
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
|
156
|
-
- spec/models/
|
|
152
|
+
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
|
157
153
|
- spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb
|
|
154
|
+
- spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb
|
|
155
|
+
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
|
156
|
+
- spec/models/certguard_x509_cert_guard_spec.rb
|
|
157
|
+
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
|
158
158
|
- spec/spec_helper.rb
|