mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 08:31:09 +02:00
* regenerates api client * updates systemReadUtilizationReport api method to generateUtilizationReport * updates VoidResponse interface to camelCase keys * fixes issue in api-client VoidApiResponse * updates tools components and tests to camel api response keys * test fixes * fixes more tests
57 lines
2.3 KiB
JavaScript
57 lines
2.3 KiB
JavaScript
"use strict";
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* HashiCorp Vault API
|
|
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
|
|
*
|
|
* The version of the OpenAPI document: 1.20.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.instanceOfPkiConfigureUrlsRequest = instanceOfPkiConfigureUrlsRequest;
|
|
exports.PkiConfigureUrlsRequestFromJSON = PkiConfigureUrlsRequestFromJSON;
|
|
exports.PkiConfigureUrlsRequestFromJSONTyped = PkiConfigureUrlsRequestFromJSONTyped;
|
|
exports.PkiConfigureUrlsRequestToJSON = PkiConfigureUrlsRequestToJSON;
|
|
exports.PkiConfigureUrlsRequestToJSONTyped = PkiConfigureUrlsRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the PkiConfigureUrlsRequest interface.
|
|
*/
|
|
function instanceOfPkiConfigureUrlsRequest(value) {
|
|
return true;
|
|
}
|
|
function PkiConfigureUrlsRequestFromJSON(json) {
|
|
return PkiConfigureUrlsRequestFromJSONTyped(json, false);
|
|
}
|
|
function PkiConfigureUrlsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'crlDistributionPoints': json['crl_distribution_points'] == null ? undefined : json['crl_distribution_points'],
|
|
'deltaCrlDistributionPoints': json['delta_crl_distribution_points'] == null ? undefined : json['delta_crl_distribution_points'],
|
|
'enableTemplating': json['enable_templating'] == null ? undefined : json['enable_templating'],
|
|
'issuingCertificates': json['issuing_certificates'] == null ? undefined : json['issuing_certificates'],
|
|
'ocspServers': json['ocsp_servers'] == null ? undefined : json['ocsp_servers'],
|
|
};
|
|
}
|
|
function PkiConfigureUrlsRequestToJSON(json) {
|
|
return PkiConfigureUrlsRequestToJSONTyped(json, false);
|
|
}
|
|
function PkiConfigureUrlsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'crl_distribution_points': value['crlDistributionPoints'],
|
|
'delta_crl_distribution_points': value['deltaCrlDistributionPoints'],
|
|
'enable_templating': value['enableTemplating'],
|
|
'issuing_certificates': value['issuingCertificates'],
|
|
'ocsp_servers': value['ocspServers'],
|
|
};
|
|
}
|