mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 14:47:01 +02:00
50 lines
2.0 KiB
JavaScript
50 lines
2.0 KiB
JavaScript
/* 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.21.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
/**
|
|
* Check if a given object implements the PkiReadUrlsConfigurationResponse interface.
|
|
*/
|
|
export function instanceOfPkiReadUrlsConfigurationResponse(value) {
|
|
return true;
|
|
}
|
|
export function PkiReadUrlsConfigurationResponseFromJSON(json) {
|
|
return PkiReadUrlsConfigurationResponseFromJSONTyped(json, false);
|
|
}
|
|
export function PkiReadUrlsConfigurationResponseFromJSONTyped(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'],
|
|
};
|
|
}
|
|
export function PkiReadUrlsConfigurationResponseToJSON(json) {
|
|
return PkiReadUrlsConfigurationResponseToJSONTyped(json, false);
|
|
}
|
|
export function PkiReadUrlsConfigurationResponseToJSONTyped(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'],
|
|
};
|
|
}
|