pulp_certguard_client 1.5.9 → 1.6.0.dev1667878424
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_certguard_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentguardsRhsmApi.md +12 -16
- data/docs/ContentguardsX509Api.md +12 -16
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +17 -23
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +17 -23
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/spec/api/contentguards_rhsm_api_spec.rb +6 -8
- data/spec/api/contentguards_x509_api_spec.rb +6 -8
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20d68e2cd50fc015d1e24bba88b176a098215059fbbf2e1b827c08578df57d98
|
4
|
+
data.tar.gz: 955ba31c4c678119e268eb7ae800832b656e993febfd7cce6817e4dd25c9f860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51561925e4f250dbec68f3713bb6b0b4f18b93bb79157e0fdbbfc7e0f28ecbdf597987239726c9a80116d70c8fc4f3461761e589bc75622dba3e7dc3aff32aac
|
7
|
+
data.tar.gz: 8a620c69b9448d8c87af15450d5ec1ae49ddc3e02925bc731b4ca14cf877cf6f487fa6d9f40f6a2c42d6eb0ea1f47b587a4c86252ccd08371b35bc00ebbc093e
|
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.
|
10
|
+
- Package version: 1.6.0.dev1667878424
|
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.
|
27
|
+
gem install ./pulp_certguard_client-1.6.0.dev1667878424.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_certguard_client-1.
|
30
|
+
(for development, run `gem install --dev ./pulp_certguard_client-1.6.0.dev1667878424.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.
|
36
|
+
gem 'pulp_certguard_client', '~> 1.6.0.dev1667878424'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -141,17 +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 |
|
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
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
151
|
-
|
152
|
-
|
153
|
-
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
154
|
-
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
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.
|
155
153
|
}
|
156
154
|
|
157
155
|
begin
|
@@ -169,17 +167,15 @@ end
|
|
169
167
|
Name | Type | Description | Notes
|
170
168
|
------------- | ------------- | ------------- | -------------
|
171
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
172
|
-
**name** | **String**|
|
170
|
+
**name** | **String**| | [optional]
|
173
171
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
174
172
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
175
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
176
174
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
177
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
178
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
179
|
-
**
|
180
|
-
**
|
181
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
182
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
177
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
178
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
179
|
|
184
180
|
### Return type
|
185
181
|
|
@@ -273,8 +269,8 @@ end
|
|
273
269
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
274
270
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
275
271
|
opts = {
|
276
|
-
fields:
|
277
|
-
exclude_fields:
|
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.
|
278
274
|
}
|
279
275
|
|
280
276
|
begin
|
@@ -292,8 +288,8 @@ end
|
|
292
288
|
Name | Type | Description | Notes
|
293
289
|
------------- | ------------- | ------------- | -------------
|
294
290
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
295
|
-
**fields** |
|
296
|
-
**exclude_fields** |
|
291
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
292
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
297
293
|
|
298
294
|
### Return type
|
299
295
|
|
@@ -141,17 +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 |
|
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
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
151
|
-
|
152
|
-
|
153
|
-
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
154
|
-
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
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.
|
155
153
|
}
|
156
154
|
|
157
155
|
begin
|
@@ -169,17 +167,15 @@ end
|
|
169
167
|
Name | Type | Description | Notes
|
170
168
|
------------- | ------------- | ------------- | -------------
|
171
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
172
|
-
**name** | **String**|
|
170
|
+
**name** | **String**| | [optional]
|
173
171
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
174
172
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
175
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
176
174
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
177
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
178
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
179
|
-
**
|
180
|
-
**
|
181
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
182
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
177
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
178
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
179
|
|
184
180
|
### Return type
|
185
181
|
|
@@ -273,8 +269,8 @@ end
|
|
273
269
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
274
270
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
275
271
|
opts = {
|
276
|
-
fields:
|
277
|
-
exclude_fields:
|
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.
|
278
274
|
}
|
279
275
|
|
280
276
|
begin
|
@@ -292,8 +288,8 @@ end
|
|
292
288
|
Name | Type | Description | Notes
|
293
289
|
------------- | ------------- | ------------- | -------------
|
294
290
|
**certguard_x509_cert_guard_href** | **String**| |
|
295
|
-
**fields** |
|
296
|
-
**exclude_fields** |
|
291
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
292
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
297
293
|
|
298
294
|
### Return type
|
299
295
|
|
@@ -147,17 +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
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [
|
159
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
160
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
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.
|
161
159
|
# @return [PaginatedcertguardRHSMCertGuardResponseList]
|
162
160
|
def list(opts = {})
|
163
161
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -168,23 +166,21 @@ module PulpCertguardClient
|
|
168
166
|
# RHSMCertGuard API Viewsets.
|
169
167
|
# @param [Hash] opts the optional parameters
|
170
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
|
-
# @option opts [String] :name
|
169
|
+
# @option opts [String] :name
|
172
170
|
# @option opts [String] :name__contains Filter results where name contains value
|
173
171
|
# @option opts [String] :name__icontains Filter results where name contains value
|
174
172
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
175
173
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
176
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
|
-
# @option opts [Array<String>] :ordering Ordering
|
178
|
-
# @option opts [
|
179
|
-
# @option opts [
|
180
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
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.
|
182
178
|
# @return [Array<(PaginatedcertguardRHSMCertGuardResponseList, Integer, Hash)>] PaginatedcertguardRHSMCertGuardResponseList data, response status code and response headers
|
183
179
|
def list_with_http_info(opts = {})
|
184
180
|
if @api_client.config.debugging
|
185
181
|
@api_client.config.logger.debug 'Calling API: ContentguardsRhsmApi.list ...'
|
186
182
|
end
|
187
|
-
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"]
|
183
|
+
allowable_values = ["-basedistribution", "-certguard_rhsmcertguard", "-certguard_x509certguard", "-core_contentredirectcontentguard", "-core_rbaccontentguard", "-description", "-distribution", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "basedistribution", "certguard_rhsmcertguard", "certguard_x509certguard", "core_contentredirectcontentguard", "core_rbaccontentguard", "description", "distribution", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
|
188
184
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
189
185
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
190
186
|
end
|
@@ -201,10 +197,8 @@ module PulpCertguardClient
|
|
201
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
202
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
203
199
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
204
|
-
query_params[:'
|
205
|
-
query_params[:'
|
206
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
207
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
200
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
201
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
208
202
|
|
209
203
|
# header parameters
|
210
204
|
header_params = opts[:header_params] || {}
|
@@ -313,8 +307,8 @@ module PulpCertguardClient
|
|
313
307
|
# RHSMCertGuard API Viewsets.
|
314
308
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
315
309
|
# @param [Hash] opts the optional parameters
|
316
|
-
# @option opts [
|
317
|
-
# @option opts [
|
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.
|
318
312
|
# @return [CertguardRHSMCertGuardResponse]
|
319
313
|
def read(certguard_r_h_s_m_cert_guard_href, opts = {})
|
320
314
|
data, _status_code, _headers = read_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
@@ -325,8 +319,8 @@ module PulpCertguardClient
|
|
325
319
|
# RHSMCertGuard API Viewsets.
|
326
320
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
327
321
|
# @param [Hash] opts the optional parameters
|
328
|
-
# @option opts [
|
329
|
-
# @option opts [
|
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.
|
330
324
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
331
325
|
def read_with_http_info(certguard_r_h_s_m_cert_guard_href, opts = {})
|
332
326
|
if @api_client.config.debugging
|
@@ -341,8 +335,8 @@ module PulpCertguardClient
|
|
341
335
|
|
342
336
|
# query parameters
|
343
337
|
query_params = opts[:query_params] || {}
|
344
|
-
query_params[:'fields'] =
|
345
|
-
query_params[:'exclude_fields'] =
|
338
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
339
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
346
340
|
|
347
341
|
# header parameters
|
348
342
|
header_params = opts[:header_params] || {}
|
@@ -147,17 +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
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [
|
159
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
160
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
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.
|
161
159
|
# @return [PaginatedcertguardX509CertGuardResponseList]
|
162
160
|
def list(opts = {})
|
163
161
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -168,23 +166,21 @@ module PulpCertguardClient
|
|
168
166
|
# X509CertGuard API Viewsets.
|
169
167
|
# @param [Hash] opts the optional parameters
|
170
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
|
-
# @option opts [String] :name
|
169
|
+
# @option opts [String] :name
|
172
170
|
# @option opts [String] :name__contains Filter results where name contains value
|
173
171
|
# @option opts [String] :name__icontains Filter results where name contains value
|
174
172
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
175
173
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
176
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
|
-
# @option opts [Array<String>] :ordering Ordering
|
178
|
-
# @option opts [
|
179
|
-
# @option opts [
|
180
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
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.
|
182
178
|
# @return [Array<(PaginatedcertguardX509CertGuardResponseList, Integer, Hash)>] PaginatedcertguardX509CertGuardResponseList data, response status code and response headers
|
183
179
|
def list_with_http_info(opts = {})
|
184
180
|
if @api_client.config.debugging
|
185
181
|
@api_client.config.logger.debug 'Calling API: ContentguardsX509Api.list ...'
|
186
182
|
end
|
187
|
-
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"]
|
183
|
+
allowable_values = ["-basedistribution", "-certguard_rhsmcertguard", "-certguard_x509certguard", "-core_contentredirectcontentguard", "-core_rbaccontentguard", "-description", "-distribution", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "basedistribution", "certguard_rhsmcertguard", "certguard_x509certguard", "core_contentredirectcontentguard", "core_rbaccontentguard", "description", "distribution", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
|
188
184
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
189
185
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
190
186
|
end
|
@@ -201,10 +197,8 @@ module PulpCertguardClient
|
|
201
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
202
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
203
199
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
204
|
-
query_params[:'
|
205
|
-
query_params[:'
|
206
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
207
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
200
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
201
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
208
202
|
|
209
203
|
# header parameters
|
210
204
|
header_params = opts[:header_params] || {}
|
@@ -313,8 +307,8 @@ module PulpCertguardClient
|
|
313
307
|
# X509CertGuard API Viewsets.
|
314
308
|
# @param certguard_x509_cert_guard_href [String]
|
315
309
|
# @param [Hash] opts the optional parameters
|
316
|
-
# @option opts [
|
317
|
-
# @option opts [
|
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.
|
318
312
|
# @return [CertguardX509CertGuardResponse]
|
319
313
|
def read(certguard_x509_cert_guard_href, opts = {})
|
320
314
|
data, _status_code, _headers = read_with_http_info(certguard_x509_cert_guard_href, opts)
|
@@ -325,8 +319,8 @@ module PulpCertguardClient
|
|
325
319
|
# X509CertGuard API Viewsets.
|
326
320
|
# @param certguard_x509_cert_guard_href [String]
|
327
321
|
# @param [Hash] opts the optional parameters
|
328
|
-
# @option opts [
|
329
|
-
# @option opts [
|
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.
|
330
324
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
331
325
|
def read_with_http_info(certguard_x509_cert_guard_href, opts = {})
|
332
326
|
if @api_client.config.debugging
|
@@ -341,8 +335,8 @@ module PulpCertguardClient
|
|
341
335
|
|
342
336
|
# query parameters
|
343
337
|
query_params = opts[:query_params] || {}
|
344
|
-
query_params[:'fields'] =
|
345
|
-
query_params[:'exclude_fields'] =
|
338
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
339
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
346
340
|
|
347
341
|
# header parameters
|
348
342
|
header_params = opts[:header_params] || {}
|
@@ -61,17 +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
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
71
|
-
# @option opts [
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
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.
|
75
73
|
# @return [PaginatedcertguardRHSMCertGuardResponseList]
|
76
74
|
describe 'list test' do
|
77
75
|
it 'should work' do
|
@@ -97,8 +95,8 @@ describe 'ContentguardsRhsmApi' do
|
|
97
95
|
# RHSMCertGuard API Viewsets.
|
98
96
|
# @param certguard_r_h_s_m_cert_guard_href
|
99
97
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
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.
|
102
100
|
# @return [CertguardRHSMCertGuardResponse]
|
103
101
|
describe 'read test' do
|
104
102
|
it 'should work' do
|
@@ -61,17 +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
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
71
|
-
# @option opts [
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
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.
|
75
73
|
# @return [PaginatedcertguardX509CertGuardResponseList]
|
76
74
|
describe 'list test' do
|
77
75
|
it 'should work' do
|
@@ -97,8 +95,8 @@ describe 'ContentguardsX509Api' do
|
|
97
95
|
# X509CertGuard API Viewsets.
|
98
96
|
# @param certguard_x509_cert_guard_href
|
99
97
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
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.
|
102
100
|
# @return [CertguardX509CertGuardResponse]
|
103
101
|
describe 'read test' do
|
104
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.
|
4
|
+
version: 1.6.0.dev1667878424
|
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: 2022-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -134,25 +134,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '1.9'
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - ">"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: 1.3.1
|
140
140
|
requirements: []
|
141
141
|
rubygems_version: 3.0.3.1
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Pulp 3 API Ruby Gem
|
145
145
|
test_files:
|
146
|
-
- spec/api/contentguards_rhsm_api_spec.rb
|
147
146
|
- spec/api/contentguards_x509_api_spec.rb
|
147
|
+
- spec/api/contentguards_rhsm_api_spec.rb
|
148
148
|
- spec/api_client_spec.rb
|
149
149
|
- spec/configuration_spec.rb
|
150
|
-
- spec/models/certguard_x509_cert_guard_spec.rb
|
151
|
-
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
152
|
-
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
153
150
|
- spec/models/certguard_x509_cert_guard_response_spec.rb
|
154
|
-
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
155
151
|
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
152
|
+
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
153
|
+
- spec/models/certguard_x509_cert_guard_spec.rb
|
156
154
|
- spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb
|
157
155
|
- spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb
|
156
|
+
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
157
|
+
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
158
158
|
- spec/spec_helper.rb
|