pulp_certguard_client 3.69.2 → 3.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/CertguardRHSMCertGuard.md +12 -11
- data/docs/CertguardRHSMCertGuardResponse.md +20 -19
- data/docs/CertguardX509CertGuard.md +12 -11
- data/docs/CertguardX509CertGuardResponse.md +20 -19
- data/docs/ContentguardsRhsmApi.md +195 -94
- data/docs/ContentguardsX509Api.md +195 -94
- data/docs/PaginatedcertguardRHSMCertGuardResponseList.md +14 -13
- data/docs/PaginatedcertguardX509CertGuardResponseList.md +14 -13
- data/docs/PatchedcertguardRHSMCertGuard.md +12 -11
- data/docs/PatchedcertguardX509CertGuard.md +12 -11
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +42 -27
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +42 -27
- data/lib/pulp_certguard_client/api_client.rb +137 -102
- data/lib/pulp_certguard_client/api_error.rb +2 -1
- data/lib/pulp_certguard_client/configuration.rb +162 -21
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb +34 -22
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_response.rb +36 -24
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb +34 -22
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_response.rb +36 -24
- data/lib/pulp_certguard_client/models/paginatedcertguard_rhsm_cert_guard_response_list.rb +34 -22
- data/lib/pulp_certguard_client/models/paginatedcertguard_x509_cert_guard_response_list.rb +34 -22
- data/lib/pulp_certguard_client/models/patchedcertguard_rhsm_cert_guard.rb +40 -24
- data/lib/pulp_certguard_client/models/patchedcertguard_x509_cert_guard.rb +40 -24
- data/lib/pulp_certguard_client/version.rb +2 -2
- data/lib/pulp_certguard_client.rb +1 -1
- data/pulp_certguard_client.gemspec +9 -6
- data/spec/api/contentguards_rhsm_api_spec.rb +7 -7
- data/spec/api/contentguards_x509_api_spec.rb +7 -7
- data/spec/models/certguard_rhsm_cert_guard_response_spec.rb +13 -18
- data/spec/models/certguard_rhsm_cert_guard_spec.rb +9 -14
- data/spec/models/certguard_x509_cert_guard_response_spec.rb +13 -18
- data/spec/models/certguard_x509_cert_guard_spec.rb +9 -14
- data/spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb +10 -15
- data/spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb +10 -15
- data/spec/models/patchedcertguard_rhsm_cert_guard_spec.rb +9 -14
- data/spec/models/patchedcertguard_x509_cert_guard_spec.rb +9 -14
- data/spec/spec_helper.rb +1 -1
- metadata +41 -17
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -51,23 +51,27 @@ module PulpCertguardClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
# HTTP header 'Content-Type'
|
56
|
-
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
|
+
if !content_type.nil?
|
58
|
+
header_params['Content-Type'] = content_type
|
59
|
+
end
|
57
60
|
|
58
61
|
# form parameters
|
59
62
|
form_params = opts[:form_params] || {}
|
60
63
|
|
61
64
|
# http body (model)
|
62
|
-
post_body = opts[:
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(certguard_rhsm_cert_guard)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'CertguardRHSMCertGuardResponse'
|
66
69
|
|
67
70
|
# auth_names
|
68
|
-
auth_names = opts[:
|
71
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
69
72
|
|
70
73
|
new_options = opts.merge(
|
74
|
+
:operation => :"ContentguardsRhsmApi.create",
|
71
75
|
:header_params => header_params,
|
72
76
|
:query_params => query_params,
|
73
77
|
:form_params => form_params,
|
@@ -119,15 +123,16 @@ module PulpCertguardClient
|
|
119
123
|
form_params = opts[:form_params] || {}
|
120
124
|
|
121
125
|
# http body (model)
|
122
|
-
post_body = opts[:
|
126
|
+
post_body = opts[:debug_body]
|
123
127
|
|
124
128
|
# return_type
|
125
|
-
return_type = opts[:
|
129
|
+
return_type = opts[:debug_return_type]
|
126
130
|
|
127
131
|
# auth_names
|
128
|
-
auth_names = opts[:
|
132
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
129
133
|
|
130
134
|
new_options = opts.merge(
|
135
|
+
:operation => :"ContentguardsRhsmApi.delete",
|
131
136
|
:header_params => header_params,
|
132
137
|
:query_params => query_params,
|
133
138
|
:form_params => form_params,
|
@@ -227,21 +232,22 @@ module PulpCertguardClient
|
|
227
232
|
# header parameters
|
228
233
|
header_params = opts[:header_params] || {}
|
229
234
|
# HTTP header 'Accept' (if needed)
|
230
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
235
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
231
236
|
|
232
237
|
# form parameters
|
233
238
|
form_params = opts[:form_params] || {}
|
234
239
|
|
235
240
|
# http body (model)
|
236
|
-
post_body = opts[:
|
241
|
+
post_body = opts[:debug_body]
|
237
242
|
|
238
243
|
# return_type
|
239
|
-
return_type = opts[:
|
244
|
+
return_type = opts[:debug_return_type] || 'PaginatedcertguardRHSMCertGuardResponseList'
|
240
245
|
|
241
246
|
# auth_names
|
242
|
-
auth_names = opts[:
|
247
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
243
248
|
|
244
249
|
new_options = opts.merge(
|
250
|
+
:operation => :"ContentguardsRhsmApi.list",
|
245
251
|
:header_params => header_params,
|
246
252
|
:query_params => query_params,
|
247
253
|
:form_params => form_params,
|
@@ -295,23 +301,27 @@ module PulpCertguardClient
|
|
295
301
|
# header parameters
|
296
302
|
header_params = opts[:header_params] || {}
|
297
303
|
# HTTP header 'Accept' (if needed)
|
298
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
299
305
|
# HTTP header 'Content-Type'
|
300
|
-
|
306
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
307
|
+
if !content_type.nil?
|
308
|
+
header_params['Content-Type'] = content_type
|
309
|
+
end
|
301
310
|
|
302
311
|
# form parameters
|
303
312
|
form_params = opts[:form_params] || {}
|
304
313
|
|
305
314
|
# http body (model)
|
306
|
-
post_body = opts[:
|
315
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedcertguard_rhsm_cert_guard)
|
307
316
|
|
308
317
|
# return_type
|
309
|
-
return_type = opts[:
|
318
|
+
return_type = opts[:debug_return_type] || 'CertguardRHSMCertGuardResponse'
|
310
319
|
|
311
320
|
# auth_names
|
312
|
-
auth_names = opts[:
|
321
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
313
322
|
|
314
323
|
new_options = opts.merge(
|
324
|
+
:operation => :"ContentguardsRhsmApi.partial_update",
|
315
325
|
:header_params => header_params,
|
316
326
|
:query_params => query_params,
|
317
327
|
:form_params => form_params,
|
@@ -365,21 +375,22 @@ module PulpCertguardClient
|
|
365
375
|
# header parameters
|
366
376
|
header_params = opts[:header_params] || {}
|
367
377
|
# HTTP header 'Accept' (if needed)
|
368
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
378
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
369
379
|
|
370
380
|
# form parameters
|
371
381
|
form_params = opts[:form_params] || {}
|
372
382
|
|
373
383
|
# http body (model)
|
374
|
-
post_body = opts[:
|
384
|
+
post_body = opts[:debug_body]
|
375
385
|
|
376
386
|
# return_type
|
377
|
-
return_type = opts[:
|
387
|
+
return_type = opts[:debug_return_type] || 'CertguardRHSMCertGuardResponse'
|
378
388
|
|
379
389
|
# auth_names
|
380
|
-
auth_names = opts[:
|
390
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
381
391
|
|
382
392
|
new_options = opts.merge(
|
393
|
+
:operation => :"ContentguardsRhsmApi.read",
|
383
394
|
:header_params => header_params,
|
384
395
|
:query_params => query_params,
|
385
396
|
:form_params => form_params,
|
@@ -433,23 +444,27 @@ module PulpCertguardClient
|
|
433
444
|
# header parameters
|
434
445
|
header_params = opts[:header_params] || {}
|
435
446
|
# HTTP header 'Accept' (if needed)
|
436
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
447
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
437
448
|
# HTTP header 'Content-Type'
|
438
|
-
|
449
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
450
|
+
if !content_type.nil?
|
451
|
+
header_params['Content-Type'] = content_type
|
452
|
+
end
|
439
453
|
|
440
454
|
# form parameters
|
441
455
|
form_params = opts[:form_params] || {}
|
442
456
|
|
443
457
|
# http body (model)
|
444
|
-
post_body = opts[:
|
458
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(certguard_rhsm_cert_guard)
|
445
459
|
|
446
460
|
# return_type
|
447
|
-
return_type = opts[:
|
461
|
+
return_type = opts[:debug_return_type] || 'CertguardRHSMCertGuardResponse'
|
448
462
|
|
449
463
|
# auth_names
|
450
|
-
auth_names = opts[:
|
464
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
451
465
|
|
452
466
|
new_options = opts.merge(
|
467
|
+
:operation => :"ContentguardsRhsmApi.update",
|
453
468
|
:header_params => header_params,
|
454
469
|
:query_params => query_params,
|
455
470
|
:form_params => form_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -51,23 +51,27 @@ module PulpCertguardClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
# HTTP header 'Content-Type'
|
56
|
-
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
|
+
if !content_type.nil?
|
58
|
+
header_params['Content-Type'] = content_type
|
59
|
+
end
|
57
60
|
|
58
61
|
# form parameters
|
59
62
|
form_params = opts[:form_params] || {}
|
60
63
|
|
61
64
|
# http body (model)
|
62
|
-
post_body = opts[:
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(certguard_x509_cert_guard)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'CertguardX509CertGuardResponse'
|
66
69
|
|
67
70
|
# auth_names
|
68
|
-
auth_names = opts[:
|
71
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
69
72
|
|
70
73
|
new_options = opts.merge(
|
74
|
+
:operation => :"ContentguardsX509Api.create",
|
71
75
|
:header_params => header_params,
|
72
76
|
:query_params => query_params,
|
73
77
|
:form_params => form_params,
|
@@ -119,15 +123,16 @@ module PulpCertguardClient
|
|
119
123
|
form_params = opts[:form_params] || {}
|
120
124
|
|
121
125
|
# http body (model)
|
122
|
-
post_body = opts[:
|
126
|
+
post_body = opts[:debug_body]
|
123
127
|
|
124
128
|
# return_type
|
125
|
-
return_type = opts[:
|
129
|
+
return_type = opts[:debug_return_type]
|
126
130
|
|
127
131
|
# auth_names
|
128
|
-
auth_names = opts[:
|
132
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
129
133
|
|
130
134
|
new_options = opts.merge(
|
135
|
+
:operation => :"ContentguardsX509Api.delete",
|
131
136
|
:header_params => header_params,
|
132
137
|
:query_params => query_params,
|
133
138
|
:form_params => form_params,
|
@@ -227,21 +232,22 @@ module PulpCertguardClient
|
|
227
232
|
# header parameters
|
228
233
|
header_params = opts[:header_params] || {}
|
229
234
|
# HTTP header 'Accept' (if needed)
|
230
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
235
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
231
236
|
|
232
237
|
# form parameters
|
233
238
|
form_params = opts[:form_params] || {}
|
234
239
|
|
235
240
|
# http body (model)
|
236
|
-
post_body = opts[:
|
241
|
+
post_body = opts[:debug_body]
|
237
242
|
|
238
243
|
# return_type
|
239
|
-
return_type = opts[:
|
244
|
+
return_type = opts[:debug_return_type] || 'PaginatedcertguardX509CertGuardResponseList'
|
240
245
|
|
241
246
|
# auth_names
|
242
|
-
auth_names = opts[:
|
247
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
243
248
|
|
244
249
|
new_options = opts.merge(
|
250
|
+
:operation => :"ContentguardsX509Api.list",
|
245
251
|
:header_params => header_params,
|
246
252
|
:query_params => query_params,
|
247
253
|
:form_params => form_params,
|
@@ -295,23 +301,27 @@ module PulpCertguardClient
|
|
295
301
|
# header parameters
|
296
302
|
header_params = opts[:header_params] || {}
|
297
303
|
# HTTP header 'Accept' (if needed)
|
298
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
299
305
|
# HTTP header 'Content-Type'
|
300
|
-
|
306
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
307
|
+
if !content_type.nil?
|
308
|
+
header_params['Content-Type'] = content_type
|
309
|
+
end
|
301
310
|
|
302
311
|
# form parameters
|
303
312
|
form_params = opts[:form_params] || {}
|
304
313
|
|
305
314
|
# http body (model)
|
306
|
-
post_body = opts[:
|
315
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedcertguard_x509_cert_guard)
|
307
316
|
|
308
317
|
# return_type
|
309
|
-
return_type = opts[:
|
318
|
+
return_type = opts[:debug_return_type] || 'CertguardX509CertGuardResponse'
|
310
319
|
|
311
320
|
# auth_names
|
312
|
-
auth_names = opts[:
|
321
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
313
322
|
|
314
323
|
new_options = opts.merge(
|
324
|
+
:operation => :"ContentguardsX509Api.partial_update",
|
315
325
|
:header_params => header_params,
|
316
326
|
:query_params => query_params,
|
317
327
|
:form_params => form_params,
|
@@ -365,21 +375,22 @@ module PulpCertguardClient
|
|
365
375
|
# header parameters
|
366
376
|
header_params = opts[:header_params] || {}
|
367
377
|
# HTTP header 'Accept' (if needed)
|
368
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
378
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
369
379
|
|
370
380
|
# form parameters
|
371
381
|
form_params = opts[:form_params] || {}
|
372
382
|
|
373
383
|
# http body (model)
|
374
|
-
post_body = opts[:
|
384
|
+
post_body = opts[:debug_body]
|
375
385
|
|
376
386
|
# return_type
|
377
|
-
return_type = opts[:
|
387
|
+
return_type = opts[:debug_return_type] || 'CertguardX509CertGuardResponse'
|
378
388
|
|
379
389
|
# auth_names
|
380
|
-
auth_names = opts[:
|
390
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
381
391
|
|
382
392
|
new_options = opts.merge(
|
393
|
+
:operation => :"ContentguardsX509Api.read",
|
383
394
|
:header_params => header_params,
|
384
395
|
:query_params => query_params,
|
385
396
|
:form_params => form_params,
|
@@ -433,23 +444,27 @@ module PulpCertguardClient
|
|
433
444
|
# header parameters
|
434
445
|
header_params = opts[:header_params] || {}
|
435
446
|
# HTTP header 'Accept' (if needed)
|
436
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
447
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
437
448
|
# HTTP header 'Content-Type'
|
438
|
-
|
449
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
450
|
+
if !content_type.nil?
|
451
|
+
header_params['Content-Type'] = content_type
|
452
|
+
end
|
439
453
|
|
440
454
|
# form parameters
|
441
455
|
form_params = opts[:form_params] || {}
|
442
456
|
|
443
457
|
# http body (model)
|
444
|
-
post_body = opts[:
|
458
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(certguard_x509_cert_guard)
|
445
459
|
|
446
460
|
# return_type
|
447
|
-
return_type = opts[:
|
461
|
+
return_type = opts[:debug_return_type] || 'CertguardX509CertGuardResponse'
|
448
462
|
|
449
463
|
# auth_names
|
450
|
-
auth_names = opts[:
|
464
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
451
465
|
|
452
466
|
new_options = opts.merge(
|
467
|
+
:operation => :"ContentguardsX509Api.update",
|
453
468
|
:header_params => header_params,
|
454
469
|
:query_params => query_params,
|
455
470
|
:form_params => form_params,
|