vault/ui/api-client/dist/models/PkiConfigureUrlsResponse.js
Jordan Reimer 3cc24fbecb
[UI] API Client Update (#30380)
* 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
2025-04-25 10:36:23 -06:00

57 lines
2.4 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.instanceOfPkiConfigureUrlsResponse = instanceOfPkiConfigureUrlsResponse;
exports.PkiConfigureUrlsResponseFromJSON = PkiConfigureUrlsResponseFromJSON;
exports.PkiConfigureUrlsResponseFromJSONTyped = PkiConfigureUrlsResponseFromJSONTyped;
exports.PkiConfigureUrlsResponseToJSON = PkiConfigureUrlsResponseToJSON;
exports.PkiConfigureUrlsResponseToJSONTyped = PkiConfigureUrlsResponseToJSONTyped;
/**
* Check if a given object implements the PkiConfigureUrlsResponse interface.
*/
function instanceOfPkiConfigureUrlsResponse(value) {
return true;
}
function PkiConfigureUrlsResponseFromJSON(json) {
return PkiConfigureUrlsResponseFromJSONTyped(json, false);
}
function PkiConfigureUrlsResponseFromJSONTyped(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 PkiConfigureUrlsResponseToJSON(json) {
return PkiConfigureUrlsResponseToJSONTyped(json, false);
}
function PkiConfigureUrlsResponseToJSONTyped(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'],
};
}